arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.18127cs.LGcs.AIcs.CL
收藏

多问方能更知:用于大型语言模型决策的强化学习提示问题

Ask more, know better: Reinforce-Learned Prompt Questions for Decision Making with Large Language Models

Institute of Automation, Chinese Academy of Science(中国科学院自动化研究所);Huawei Technologies(华为技术有限公司);Queen Mary University(玛丽女王大学);University College London(伦敦大学学院)

Xue Yan, Yan Song, Xinyu Cui, Filippos Christianos, Haifeng Zhang, David Henry Mguni, Jun Wang

AI总结:

针对 LLM 决策中手工提示难泛化、接地函数依赖人工的问题,提出领导者—跟随者双层强化框架,自动学习提示问题与动作策略,并在 5 个任务上超过主流方法。

摘要:

大型语言模型(LLM)通过将基于动作的策略与思维链(CoT)推理相结合,在应对复杂实际挑战方面展现出前景。然而,手头拥有高质量提示对于该框架的有效性至关重要。目前,这些提示依赖大量人工手工制作,导致 CoT 策略往往无法泛化。此外,还需要人工干预来设计接地函数,以确保低层控制器能够恰当地处理 CoT 推理。本文提出一个用于复杂任务求解的综合训练框架,将人类先验知识纳入动作策略的学习中。为此,我们给出一种新的领导者—跟随者双层框架,能够学习提出相关问题(提示),随后进行推理以指导动作学习。提示策略根据历史结果进行内省式修正,使 CoT 过程考虑预期目标,并生成能够带来果断、高性能动作的输出。随后,动作策略学习理解并整合 CoT 输出以采取行动。我们的实证数据表明,在 Overcooked 和 FourRoom 等 5 个决策任务中,该框架优于主流方法。

英文摘要:

Large language models (LLMs) demonstrate their promise in tackling complicated practical challenges by combining action-based policies with chain of thought (CoT) reasoning. Having high-quality prompts on hand, however, is vital to the framework's effectiveness. Currently, these prompts are handcrafted utilising extensive human labor, resulting in CoT policies that frequently fail to generalise. Human intervention is also required to develop grounding functions that ensure low-level controllers appropriately process CoT reasoning. In this paper, we propose a comprehensive training framework for complex task-solving, incorporating human prior knowledge into the learning of action policies. To that purpose, we offer a new leader-follower bilevel framework that is capable of learning to ask relevant questions (prompts) and subsequently undertaking reasoning to guide the learning of actions. The prompt policy is employed to make introspective revisions based on historical findings, leading the CoT process to consider the anticipated goals and generate outputs that lead to decisive, high-performing actions. The action policy subsequently learns to comprehend and integrate the CoT outputs to take actions. Our empirical data reveal that our framework outperforms leading methods in $5$ decision-making tasks such as Overcooked and FourRoom.

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

↑