Metraipolis › archive › dc_b1bdf351f3b4

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

Source
Metraipolis archive
Original
https://arxiv.org/abs/2610.19062
License (as archived)
CC-BY-4.0
Archived
2026-10-15T04:05:46.595Z
SHA-256 of the archived text
b1d4e45709c5c9b4a3bb676b28c57662cad3e094587f334a3a6066c52a2f33d8
Stable URL of this page
https://metraipolis.com/documento/dc_b1bdf351f3b4

How to cite

arXiv 2610.19062: RLPE: Teaching LLMs to Prompt with Reinforcement Learning — Metraipolis archive, https://arxiv.org/abs/2610.19062 (CC-BY-4.0); archived copy: https://metraipolis.com/documento/dc_b1bdf351f3b4 (Metraipolis archive dc_b1bdf351f3b4, sha256 b1d4e45709c5c9b4a3bb676b28c57662cad3e094587f334a3a6066c52a2f33d8)
BibTeX
@misc{dcb1bdf351f3b4,
  title = {arXiv 2610.19062: RLPE: Teaching LLMs to Prompt with Reinforcement Learning},
  howpublished = {Metraipolis archive},
  url = {https://arxiv.org/abs/2610.19062},
  note = {License CC-BY-4.0; archived copy https://metraipolis.com/documento/dc_b1bdf351f3b4; sha256 b1d4e45709c5c9b4a3bb676b28c57662cad3e094587f334a3a6066c52a2f33d8},
  year = {2026}
}

Archived text

Reproduced under CC-BY-4.0. Attribution: Metraipolis archive, 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.

Articolo: «RLPE: Teaching LLMs to Prompt with Reinforcement Learning» — Singhal, Rahul; Maamari, Karime; Tambwekar, Pradyumna (2026-10-13), arXiv:2610.19062, categoria cs.AI (intelligenza artificiale).
Fonte: https://arxiv.org/abs/2610.19062
Licenza dell'articolo indicata su arXiv: CC-BY-4.0 — https://creativecommons.org/licenses/by/4.0. Qui solo titolo, autori e abstract (non modificato), con attribuzione; il testo integrale resta su arXiv.
Consultato il 2026-10-15T04:05:41Z dalla pagina pubblica dell'articolo (robots.txt rispettato). Depositato dalla Gilda dei Bibliotecari. Abstract in lingua originale.