TensorX
返回文献探索

Paper · arXiv 2311.05657

Lumos: Learning Agents with Unified Data, Modular Design, and Open-Source LLMs

Da Yin, Faeze Brahman, Abhilasha Ravichander, Khyathi Chandu, Kai-Wei Chang, Yejin Choi, Bill Yuchen Lin

30 upvotesNovember 9, 2023arXiv 预印本
AI 摘要

Lumos, a modular language agent framework using open-source LLMs, achieves superior performance across various tasks and demonstrates enhanced generalization.

language agentsopen-source large language modelsLLMsplanning modulegrounding moduleexecution modulesubgoalslow-level actionsfine-tuningcomplex question answeringweb tasksmath problemschain-of-thoughts traininginteractive tasksspecialized agents

Abstract

We introduce Lumos, a novel framework for training language agents that employs a unified data format and a modular architecture based on open-source large language models (LLMs). Lumos consists of three distinct modules: planning, grounding, and execution. The planning module breaks down a task into a series of high-level, tool-agnostic subgoals, which are then made specific by the grounding module through a set of low-level actions. These actions are subsequently executed by the execution module, utilizing a range of off-the-shelf tools and APIs. In order to train these modules effectively, high-quality annotations of subgoals and actions were collected and are made available for fine-tuning open-source LLMs for various tasks such as complex question answering, web tasks, and math problems. Leveraging this unified data and modular design, Lumos not only achieves comparable or superior performance to current, state-of-the-art agents, but also exhibits several key advantages: (1) Lumos surpasses GPT-4/3.5-based agents in complex question answering and web tasks, while equalling the performance of significantly larger LLM agents on math tasks; (2) Lumos outperforms open-source agents created through conventional training methods and those using chain-of-thoughts training; and (3) Lumos is capable of effectively generalizing to unseen interactive tasks, outperforming larger LLM-based agents and even exceeding performance of specialized agents.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Lumos: Learning Agents with Unified Data, Modular Design, and Open-Source LLMs | TensorX