Agent Lumos: Unified and Modular Training for Open-Source Language Agents

Da Yin, Faeze Brahman, Abhilasha Ravichander, Khyathi Chandu, Kai-Wei Chang +2 more
11/9/2023
cs.AIcs.CLcs.LG

No official code found. Best implementation: allenai/lumos (477 stars, MIT, last commit 2024-03-19).

Abstract

Closed-source agents suffer from several issues such as a lack of affordability, transparency, and reproducibility, particularly on complex interactive tasks. This motivates the development of open-source alternatives. We introduce LUMOS, one of the first frameworks for training open-source LLM-based agents. LUMOS features a learnable, unified, and modular architecture with a planning module that learns high-level subgoal generation, and a grounding module trained to translate these into actions using various tools in the execution module. The design allows for modular upgrades and wider applicability to diverse interactive tasks. To foster generalizable agent learning, we collect large-scale, unified, and high-quality training annotations derived from diverse ground-truth reasoning rationales across various complex interactive tasks. On 9 datasets, LUMOS exhibits several key advantages: (1) LUMOS excels multiple larger open-source agents on the held-out datasets (unused for training) for each task type. LUMOS even surpasses GPT agents on QA and web tasks; (2) LUMOS outperforms open-source agents produced by chain-of-thoughts and unmodularized integrated training; and (3) LUMOS effectively generalizes to unseen tasks, outperforming 33B-scale agents and domain-specific agents.

View on arXivView PDF

Code Implementations(1)

allenai/lumosCommunity100%
MIT

Code and data for "Lumos: Learning Agents with Unified Data, Modular Design, and Open-Source LLMs"

47734CSS, HTMLOct 1, 20232 years agoMIT
decision-makinggroundinglanguage-agentmathsplanning+3 more

Similar Papers

Cite this paper

@article{yin2023agent,
  title  = {Agent Lumos: Unified and Modular Training for Open-Source Language Agents},
  author = {Da Yin and Faeze Brahman and Abhilasha Ravichander and Khyathi Chandu and Kai-Wei Chang and Yejin Choi and Bill Yuchen Lin},
  year   = {2023},
  eprint = {2311.05657},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.05657v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.05657.svg)](https://codeofpaper.com/paper/2311.05657)

Discussion