arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.11598cs.AIcs.CL
收藏

内省提示:用于上下文决策的大语言模型

Introspective Tips: Large Language Model for In-Context Decision Making

Microsoft(微软);The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳))

Liting Chen, Lu Wang, Hang Dong, Yali Du, Jie Yan, Fangkai Yang, Shuang Li, Pu Zhao, Si Qin, Saravan Rajmohan, Qingwei Lin, Dongmei Zhang

AI总结:

本研究提出“内省提示”方法,通过检查轨迹生成提示,在不微调参数的情况下提升LLM在少样本和零样本上下文决策中的性能,并在TextWorld超100个游戏中展现优越表现。

摘要:

大语言模型(LLM)的出现极大地影响了自然语言处理,在各种任务中展现出卓越的成果。在本研究中,我们采用“内省提示”来促进LLM自我优化其决策能力。通过内省地检查轨迹,LLM通过生成简洁且有价值的提示来改进其策略。我们的方法通过考虑三个基本场景来提升智能体在少样本和零样本学习场景下的性能:从智能体过往经验中学习、整合专家演示以及在多样化游戏间泛化。重要的是,我们在不微调LLM参数的情况下实现了这些改进;相反,我们调整提示以泛化从上述三种场景中获得的见解。我们的框架不仅支持而且强调了在上下文决策中采用LLM的优势。在TextWorld中涉及超过100个游戏的实验展示了我们方法的优越性能。

英文摘要:

The emergence of large language models (LLMs) has substantially influenced natural language processing, demonstrating exceptional results across various tasks. In this study, we employ ``Introspective Tips" to facilitate LLMs in self-optimizing their decision-making. By introspectively examining trajectories, LLM refines its policy by generating succinct and valuable tips. Our method enhances the agent's performance in both few-shot and zero-shot learning situations by considering three essential scenarios: learning from the agent's past experiences, integrating expert demonstrations, and generalizing across diverse games. Importantly, we accomplish these improvements without fine-tuning the LLM parameters; rather, we adjust the prompt to generalize insights from the three aforementioned situations. Our framework not only supports but also emphasizes the advantage of employing LLM in in-contxt decision-making. Experiments involving over 100 games in TextWorld illustrate the superior performance of our approach.

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

↑