FireAct: Toward Language Agent Finetuning

Baian Chen, Chang Shu, Ehsan Shareghi, Nigel Collier, Karthik R Narasimhan, Shunyu Yao · Submission to ICLR 2024 · Rejected

Abstract

Recent efforts have augmented language models (LMs) with external tools or environments, leading to the development of language agents that can reason and act. However, most of these agents rely on few-shot prompting techniques, which can result in a lack of robustness in agent performance due to the limited learning support. In this paper, we investigate the less explored direction of fine-tuning LMs to obtain language agents. With a simple, controlled setup that uses a Google search API for question answering (QA), we systematically explore a variety of base LMs, agent methods, fine-tuning data, and QA tasks. Our experiments reveal novel insights around the scaling effects of the base LM and fine-tuning data, combining trajectory data collected from different tasks and different agent methods, as well as robustness to different types of data perturbations. Overall, these findings illustrate overlooked advantages of fine-tuned language agents over existing prompting-based ones, provide empirical guidelines for fine-tuning, and indicate future directions in creating better tasks and methods for language agents.
BibTeX
@misc{chen2023fireact,
  author = {Baian Chen and Chang Shu and Ehsan Shareghi and Nigel Collier and Karthik R Narasimhan and Shunyu Yao},
  title = {{FireAct: Toward Language Agent Finetuning}},
  year = {2023},
  eprint = {2310.05915},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.05915},
}
Figure