Training Agents with Weakly Supervised Feedback from Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gong, Dihong, Lu, Pu, Wang, Zelong, Zhou, Meng, He, Xiuqiang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909408450052096
author Gong, Dihong
Lu, Pu
Wang, Zelong
Zhou, Meng
He, Xiuqiang
author_facet Gong, Dihong
Lu, Pu
Wang, Zelong
Zhou, Meng
He, Xiuqiang
contents Large Language Models (LLMs) offer a promising basis for creating agents that can tackle complex tasks through iterative environmental interaction. Existing methods either require these agents to mimic expert-provided trajectories or rely on definitive environmental feedback for reinforcement learning which limits their application to specific scenarios like gaming or code generation. This paper introduces a novel training method for LLM-based agents using weakly supervised signals from a critic LLM, bypassing the need for expert trajectories or definitive feedback. Our agents are trained in iterative manner, where they initially generate trajectories through environmental interaction. Subsequently, a critic LLM selects a subset of good trajectories, which are then used to update the agents, enabling them to generate improved trajectories in the next iteration. Extensive tests on the API-bank dataset show consistent improvement in our agents' capabilities and comparable performance to GPT-4, despite using open-source models with much fewer parameters.
format Preprint
id arxiv_https___arxiv_org_abs_2411_19547
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Training Agents with Weakly Supervised Feedback from Large Language Models
Gong, Dihong
Lu, Pu
Wang, Zelong
Zhou, Meng
He, Xiuqiang
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) offer a promising basis for creating agents that can tackle complex tasks through iterative environmental interaction. Existing methods either require these agents to mimic expert-provided trajectories or rely on definitive environmental feedback for reinforcement learning which limits their application to specific scenarios like gaming or code generation. This paper introduces a novel training method for LLM-based agents using weakly supervised signals from a critic LLM, bypassing the need for expert trajectories or definitive feedback. Our agents are trained in iterative manner, where they initially generate trajectories through environmental interaction. Subsequently, a critic LLM selects a subset of good trajectories, which are then used to update the agents, enabling them to generate improved trajectories in the next iteration. Extensive tests on the API-bank dataset show consistent improvement in our agents' capabilities and comparable performance to GPT-4, despite using open-source models with much fewer parameters.
title Training Agents with Weakly Supervised Feedback from Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2411.19547