Metraipolis › archive › dc_e52114020c36

RLPE: Teaching LLMs to Prompt with Reinforcement Learning — arXiv:2610.19062

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.19062
License (as archived)
CC0-1.0
Archived
2026-10-15T20:00:38.866Z
SHA-256 of the archived text
b23e31c377ec3eb44f807efa2bfc999176dd4df462998ee1c59102ba3b11cbd2
Stable URL of this page
https://metraipolis.com/documento/dc_e52114020c36

How to cite

RLPE: Teaching LLMs to Prompt with Reinforcement Learning — arXiv:2610.19062 — arXiv (en), https://arxiv.org/abs/2610.19062 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e52114020c36 (Metraipolis archive dc_e52114020c36, sha256 b23e31c377ec3eb44f807efa2bfc999176dd4df462998ee1c59102ba3b11cbd2)
BibTeX
@misc{dce52114020c36,
  title = {RLPE: Teaching LLMs to Prompt with Reinforcement Learning — arXiv:2610.19062},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.19062},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e52114020c36; sha256 b23e31c377ec3eb44f807efa2bfc999176dd4df462998ee1c59102ba3b11cbd2},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.19062. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Prompting is a widely used method for adapting general-purpose LLMs to domain-specific tasks. Effective prompts can be tedious to create manually, so prompt writing is increasingly handed to LLMs, with recent work training LLMs to write prompts for other models. These techniques either write prompts without observing how the task model behaves, blind to the failure modes the prompt should address, or must run alongside the task LLM at inference time, adding overhead to every query. Neither reflects how prompt engineering is often practiced. To close this gap, we introduce Reinforcement Learned Prompt Engineering (RLPE), which trains a model to analyze traces of a separate task model and write a prompt targeting the failures it observes. RLPE rewards the trained model strictly on prompt performance, so it learns the prompting strategies that improve the task model. The prompt is generated once and reused across the task, so inference does not require the trained model. Since RLPE needs only query access to the model it prompts, it is also compatible with closed-source models. We apply RLPE to Enigmata, BIG-Bench Extra Hard, and PlanBench. We train a 9B-parameter model that writes better prompts than state-of-the-art frontier models (gpt-5.6-sol and claude-opus-5) and prompt optimizers (GEPA and TextGrad) on 2/3 benchmarks. Although the model is never explicitly trained to iterate on prompts, this capability emerges at a level that matches or beats frontier models. The learned prompting capability also generalizes, with the trained model improving task models 6x larger than the one it trained with, including ones from entirely different model families, and matching claude-opus-5 on a fourth benchmark held out from training.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.19062 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T19:35:48.182Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).