arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.18528cs.AI
收藏

PRACT:优化 LLM 智能体的原则性推理与行动

PRACT: Optimizing Principled Reasoning and Acting of LLM Agent

Salesforce AI Research(Salesforce AI研究院)
Zhiwei Liu, Weiran Yao, Jianguo Zhang, Rithesh Murthy, Liangwei Yang, Zuxin Liu, Tian Lan, Ming Zhu, Juntao Tan, Shirley Kokane, Thai Hoang, Juan Carlos Niebles… 展开作者

Zhiwei Liu, Weiran Yao, Jianguo Zhang, Rithesh Murthy, Liangwei Yang, Zuxin Liu, Tian Lan, Ming Zhu, Juntao Tan, Shirley Kokane, Thai Hoang, Juan Carlos Niebles, Shelby Heinecke, Huan Wang, Silvio Savarese, Caiming Xiong

AI总结:

提出 PRAct 框架,通过 RPO 从轨迹中反思、优化并执行行动原则,在四种环境中提升 LLM 智能体性能。

摘要:

我们提出了 Principled Reasoning and Acting(PRAct)框架,这是一种用于从轨迹数据中学习并执行行动原则的新颖方法。我们方法的核心是利用来自反思与优化引擎的文本梯度来推导这些行动原则。为了使行动原则适应特定任务需求,我们提出了一个新的优化框架 Reflective Principle Optimization(RPO)。在执行之后,RPO 使用一个反思器来批评当前的行动原则,并使用一个优化器据此更新它们。我们在两种场景下开发了 RPO 框架:使用环境奖励进行反思的 Reward-RPO,以及在没有外部奖励的情况下进行自我反思的 Self-RPO。此外,还引入了两种 RPO 方法 RPO-Traj 和 RPO-Batch,以适应不同设置。跨四个环境的实验结果表明,借助 RPO 框架的 PRAct 智能体能够有效学习并应用行动原则来提升性能。

英文摘要:

We introduce the Principled Reasoning and Acting (PRAct) framework, a novel method for learning and enforcing action principles from trajectory data. Central to our approach is the use of text gradients from a reflection and optimization engine to derive these action principles. To adapt action principles to specific task requirements, we propose a new optimization framework, Reflective Principle Optimization (RPO). After execution, RPO employs a reflector to critique current action principles and an optimizer to update them accordingly. We develop the RPO framework under two scenarios: Reward-RPO, which uses environmental rewards for reflection, and Self-RPO, which conducts self-reflection without external rewards. Additionally, two RPO methods, RPO-Traj and RPO-Batch, is introduced to adapt to different settings. Experimental results across four environments demonstrate that the PRAct agent, leveraging the RPO framework, effectively learns and applies action principles to enhance performance.

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

↑