paper-with-me

홈 › Papers

PRewrite: Prompt Rewriting with Reinforcement Learning

2024-01-16 · Weize Kong, Spurthi Amba Hombaiah, Mingyang Zhang, Qiaozhu Mei, Michael Bendersky

Prompt engineering is critical for the development of LLM-based applications. However, it is usually done manually in a "trial and error" fashion that can be time consuming, ineffective, and sub-optimal. Even for the prompts which seemingly work well, there is always a lingering question: can the prompts be made better with further modifications? To address these problems, we investigate automated prompt engineering in this paper. Specifically, we propose PRewrite, an automated method to rewrite an under-optimized prompt to a more effective prompt. We instantiate the prompt rewriter using a LLM. The rewriter LLM is trained using reinforcement learning to optimize the performance on a given downstream task. We conduct experiments on diverse benchmark datasets, which demonstrates the effectiveness of PRewrite.

📄 PDF Abstract BibTeX arXiv:2401.08189

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineeringreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

Rewrite to Translate, Translate to Reward: Reinforcement Learning for Source Rewriting in Machine Translation

2026-06-06 · Boxuan Lyu, Haiyue Song, Zhi Qu, Hidetaka Kamigaito 외 arxiv

Prior work has explored prompting large language models (LLMs) to rewrite source text before translation, with the goal of improving machine translation (MT) quality. However, we find that such prompt-based rewriting can…

Reinforcement LearningMachine Translation

Rewrite-to-Rank: Optimizing Ad Visibility via Retrieval-Aware Text Rewriting

2025-07-03 · Chloe Ho, Ishneet Sukhvinder Singh, Diya Sharma, Tanvi Reddy Anumandla 외 arxiv

Search algorithms and user query relevance have given LLMs the ability to return relevant information, but the effect of content phrasing on ad visibility remains underexplored. We investigate how LLM-based rewriting of …

Reinforcement LearningPrompt Engineering

Incorporating Self-Rewriting into Large Language Model Reasoning Reinforcement

2025-11-20 · Jiashu Yao, Heyan Huang, Shuang Zeng, Chuwei Luo 외 arxiv

Through reinforcement learning (RL) with outcome correctness rewards, large reasoning models (LRMs) with scaled inference computation have demonstrated substantial success on complex reasoning tasks. However, the one-sid…

Reinforcement Learning

RewriteLM: An Instruction-Tuned Large Language Model for Text Rewriting

2023-05-25 · Lei Shu, Liangchen Luo, Jayakumar Hoskere, Yun Zhu 외

Large Language Models (LLMs) have demonstrated impressive capabilities in creative tasks such as storytelling and E-mail generation. However, as LLMs are primarily trained on final text results rather than intermediate r…

Language ModelingLanguage ModellingLarge Language ModelSentence+2

LLM-based Rewriting of Inappropriate Argumentation using Reinforcement Learning from Machine Feedback

2024-06-05 · Timon Ziegenbein, Gabriella Skitalinskaya, Alireza Bayat Makou, Henning Wachsmuth

Ensuring that online discussions are civil and productive is a major challenge for social media platforms. Such platforms usually rely both on users and on automated detection tools to flag inappropriate arguments of oth…

Few-Shot LearningLanguage ModelingLanguage ModellingLarge Language Model+2