ExpeL: LLM Agents Are Experiential Learners

Authors

  • Andrew Zhao Department of Automation, BNRist, Tsinghua University
  • Daniel Huang Department of Computer Science, BNRist, Tsinghua University
  • Quentin Xu Department of Computer Science, BNRist, Tsinghua University
  • Matthieu Lin Department of Computer Science, BNRist, Tsinghua University
  • Yong-Jin Liu Department of Computer Science, BNRist, Tsinghua University
  • Gao Huang Department of Automation, BNRist, Tsinghua University

DOI:

https://doi.org/10.1609/aaai.v38i17.29936

Keywords:

NLP: (Large) Language Models, CMS: Agent Architectures, ML: Reinforcement Learning, PRS: Planning with Language Models

Abstract

The recent surge in research interest in applying large language models (LLMs) to decision-making tasks has flourished by leveraging the extensive world knowledge embedded in LLMs. While there is a growing demand to tailor LLMs for custom decision-making tasks, finetuning them for specific tasks is resource-intensive and may diminish the model's generalization capabilities. Moreover, state-of-the-art language models like GPT-4 and Claude are primarily accessible through API calls, with their parametric weights remaining proprietary and unavailable to the public. This scenario emphasizes the growing need for new methodologies that allow learning from agent experiences without requiring parametric updates. To address these problems, we introduce the Experiential Learning (ExpeL) agent. Our agent autonomously gathers experiences and extracts knowledge using natural language from a collection of training tasks. At inference, the agent recalls its extracted insights and past experiences to make informed decisions. Our empirical results highlight the robust learning efficacy of the ExpeL agent, indicating a consistent enhancement in its performance as it accumulates experiences. We further explore the emerging capabilities and transfer learning potential of the ExpeL agent through qualitative observations and additional experiments.

Published

2024-03-24

How to Cite

Zhao, A., Huang, D., Xu, Q., Lin, M., Liu, Y.-J., & Huang, G. (2024). ExpeL: LLM Agents Are Experiential Learners. Proceedings of the AAAI Conference on Artificial Intelligence, 38(17), 19632-19642. https://doi.org/10.1609/aaai.v38i17.29936

Issue

Section

AAAI Technical Track on Natural Language Processing II