English

Training Agents with Weakly Supervised Feedback from Large Language Models

Computation and Language 2024-12-02 v1 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2411.19547,
  title  = {Training Agents with Weakly Supervised Feedback from Large Language Models},
  author = {Dihong Gong and Pu Lu and Zelong Wang and Meng Zhou and Xiuqiang He},
  journal= {arXiv preprint arXiv:2411.19547},
  year   = {2024}
}
R2 v1 2026-06-28T20:16:33.924Z