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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Pan, Lihang, Li, Yuxuan, Yu, Chun, Shi, Yuanchun
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929326562213888
author Pan, Lihang
Li, Yuxuan
Yu, Chun
Shi, Yuanchun
author_facet Pan, Lihang
Li, Yuxuan
Yu, Chun
Shi, Yuanchun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_15974
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Human-Computer Collaborative Tool for Training a Single Large Language Model Agent into a Network through Few Examples
Pan, Lihang
Li, Yuxuan
Yu, Chun
Shi, Yuanchun
Human-Computer Interaction
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.
title A Human-Computer Collaborative Tool for Training a Single Large Language Model Agent into a Network through Few Examples
topic Human-Computer Interaction
url https://arxiv.org/abs/2404.15974