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

基于大语言模型代理的优化综述

A Survey on the Optimization of Large Language Model-based Agents

Shanghai Institute of Artificial Intelligence for Education, East China Normal University(上海人工智能教育研究院,东华大学);School of Computer Science and Technology, East China Normal University(计算机科学与技术学院,东华大学);School of Computer Science and Technology, Donghua University(计算机科学与技术学院,东华大学)

Shangheng Du, Jiabao Zhao, Jinxin Shi, Zhentao Xie, Xin Jiang, Yanhong Bai, Liang He

AI总结:

本文综述了基于大语言模型的代理优化方法,分类讨论参数驱动与参数无关策略,分析关键技术和挑战,提出未来研究方向。

摘要:

随着大语言模型(LLMs)的快速发展,基于LLMs的代理已被广泛应用于各个领域,成为自主决策和交互任务中的关键要素。然而,当前的工作通常依赖于对基础LLMs进行提示设计或微调策略,这往往导致在复杂代理相关环境中效果有限或性能不佳。尽管LLM优化技术可以提高模型在许多通用任务上的表现,但缺乏针对关键代理功能(如长期规划、动态环境交互和复杂决策)的专门优化。虽然最近有许多研究探索了各种策略来优化基于LLM的代理以应对复杂代理任务,但缺乏从整体视角总结和比较这些方法的系统性综述。在本次综述中,我们提供了对基于LLM的代理优化方法的全面回顾,将其分为参数驱动型和参数无关型方法。我们首先聚焦于参数驱动型优化,涵盖基于微调的优化、基于强化学习的优化以及混合策略,分析轨迹数据构建、微调技术、奖励函数设计和优化算法等关键方面。此外,我们简要讨论了通过提示工程和外部知识检索优化代理行为的参数无关策略。最后,我们总结了用于评估和调优的 datasets 和基准,回顾了基于LLM的代理的关键应用,并讨论了主要挑战和有前景的未来方向。我们的相关参考文献仓库可在 https://github.com/YoungDubbyDu/LLM-Agent-Optimization 上获取。

英文摘要:

With the rapid development of Large Language Models (LLMs), LLM-based agents have been widely adopted in various fields, becoming essential for autonomous decision-making and interactive tasks. However, current work typically relies on prompt design or fine-tuning strategies applied to vanilla LLMs, which often leads to limited effectiveness or suboptimal performance in complex agent-related environments. Although LLM optimization techniques can improve model performance across many general tasks, they lack specialized optimization towards critical agent functionalities such as long-term planning, dynamic environmental interaction, and complex decision-making. Although numerous recent studies have explored various strategies to optimize LLM-based agents for complex agent tasks, a systematic review summarizing and comparing these methods from a holistic perspective is still lacking. In this survey, we provide a comprehensive review of LLM-based agent optimization approaches, categorizing them into parameter-driven and parameter-free methods. We first focus on parameter-driven optimization, covering fine-tuning-based optimization, reinforcement learning-based optimization, and hybrid strategies, analyzing key aspects such as trajectory data construction, fine-tuning techniques, reward function design, and optimization algorithms. Additionally, we briefly discuss parameter-free strategies that optimize agent behavior through prompt engineering and external knowledge retrieval. Finally, we summarize the datasets and benchmarks used for evaluation and tuning, review key applications of LLM-based agents, and discuss major challenges and promising future directions. Our repository for related references is available at https://github.com/YoungDubbyDu/LLM-Agent-Optimization.

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

↑