arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.05921cs.CLcs.LG
收藏

通过提示强化实现大语言模型的长期规划

Prompt reinforcing for long-term planning of large language models

Heinrich-Heine-Universität Düsseldorf(杜伊斯堡-埃森大学)

Hsien-Chin Lin, Benjamin Matthias Ruppik, Carel van Niekerk, Chia-Hao Shen, Michael Heck, Nurul Lubis, Renato Vukovic, Shutong Feng, Milica Gašić

AI总结:

本文提出了一种基于强化学习的提示优化框架,通过修改LLM代理的任务指令提示来实现长期规划,提升了多轮交互任务如文本到SQL和任务导向对话的表现,并能泛化到不同LLM代理和多种LLM作为元提示代理。

摘要:

大型语言模型(LLMs)在广泛自然语言处理任务中取得了显著成功,并可通过提示进行适应。然而,它们在多轮交互中仍表现不足,常依赖错误的早期假设,无法随时间跟踪用户目标,使此类任务尤其具有挑战性。先前对话系统的工作表明,长期规划对于处理交互任务至关重要。在本工作中,我们提出了一种受强化学习启发的提示优化框架,仅通过修改LLM代理的任务指令提示即可实现此类规划。通过生成回合间的反馈并利用经验回放进行提示重写,我们的方法在文本到SQL和任务导向对话等多轮任务中显示出显著改进。此外,该方法能跨不同LLM代理泛化,并可利用多种LLM作为元提示代理。这促使未来在受强化学习启发的无参数优化方法上的研究。

英文摘要:

Large language models (LLMs) have achieved remarkable success in a wide range of natural language processing tasks and can be adapted through prompting. However, they remain suboptimal in multi-turn interactions, often relying on incorrect early assumptions and failing to track user goals over time, which makes such tasks particularly challenging. Prior works in dialogue systems have shown that long-term planning is essential for handling interactive tasks. In this work, we propose a prompt optimisation framework inspired by reinforcement learning, which enables such planning to take place by only modifying the task instruction prompt of the LLM-based agent. By generating turn-by-turn feedback and leveraging experience replay for prompt rewriting, our proposed method shows significant improvement in multi-turn tasks such as text-to-SQL and task-oriented dialogue. Moreover, it generalises across different LLM-based agents and can leverage diverse LLMs as meta-prompting agents. This warrants future research in reinforcement learning-inspired parameter-free optimisation methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑