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

一种将单个大型语言模型智能体训练成网络的人机协作工具:基于少量示例

A Human-Computer Collaborative Tool for Training a Single Large Language Model Agent into a Network through Few Examples

Lihang Pan, Yuxuan Li, Chun Yu, Yuanchun Shi

AI总结:

提出人机协作工具EasyLAN,通过少量训练示例将单个LLM智能体逐步演化为多智能体网络,支持用户介入修改并有效提升复杂任务的整体性能。

摘要:

单个大型语言模型(LLM)智能体解决复杂任务的能力有限。将多个LLM智能体连接成网络可以有效提升整体性能。然而,构建LLM智能体网络(LAN)需要大量的时间和精力。本文介绍了EasyLAN,一种帮助开发者构建LAN的人机协作工具。EasyLAN首先根据目标任务描述生成一个仅包含单个智能体的LAN。随后,EasyLAN利用少量训练示例更新LAN。对于每个示例,EasyLAN对输出与真实值之间的差距进行建模以识别错误原因。这些错误通过精心设计的策略得到解决。用户可以介入EasyLAN的工作流程并直接修改LAN。最终,LAN从单个智能体演变为一个LLM智能体网络。实验结果表明,开发者可以利用EasyLAN快速构建出性能良好的LAN。

英文摘要:

The capabilities of a single large language model (LLM) agent for solving a complex task are limited. Connecting multiple LLM agents to a network can effectively improve overall performance. However, building an LLM agent network (LAN) requires a substantial amount of time and effort. In this paper, we introduce EasyLAN, a human-computer collaborative tool that helps developers construct LANs. EasyLAN initially generates a LAN containing only one agent based on the description of the desired task. Subsequently, EasyLAN leverages a few training examples to update the LAN. For each example, EasyLAN models the gap between the output and the ground truth and identifies the causes of the errors. These errors are addressed through carefully designed strategies. Users can intervene in EasyLAN's workflow or directly modify the LAN. Eventually, the LAN evolves from a single agent to a network of LLM agents. The experimental results indicate that developers can rapidly construct LANs with good performance.

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

↑