paper-with-me

홈 › Papers

Offline Training of Language Model Agents with Functions as Learnable Weights

2024-02-17 · Shaokun Zhang, Jieyu Zhang, Jiale Liu, Linxin Song, Chi Wang, Ranjay Krishna, Qingyun Wu

Researchers and practitioners have recently reframed powerful Large Language Models (LLMs) as agents, enabling them to automate complex tasks largely via the use of specialized functions. To facilitate the development of LLM agents, we present a novel paradigm of training LLM agents without modifying the LLM weights, which is particularly useful when the LLMs are difficult or inaccessible for modifications. Inspired by how humans continuously forge tools to adapt to real-world tasks, rather than change our biological structure to fit a static set of tools, we propose to progressively forge agent's functions to better solve the downstream tasks instead of modifying the LLM weights. By treating the functions as learnable `agent parameters' and leveraging the fundamental idea of model training in artificial intelligence, we develop AgentOptimizer that employs the LLM to update agents' functions and devise an agent training algorithm with two strategies, roll-back, and early-stop, to streamline the training process. With extensive experiments, we showcase that the agent training paradigm could significantly improve the performance of representative LLM agents in various downstream tasks. We also study the behavior of the agent training regarding aspects like the learning curve and domain transferability.

📄 PDF Abstract BibTeX arXiv:2402.11359

Code (1)

qingyun-wu/autogen-eval pytorch

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Improving Zero-shot Generalization in Offline Reinforcement Learning using Generalized Similarity Functions

2021-11-29 · Bogdan Mazoure, Ilya Kostrikov, Ofir Nachum, Jonathan Tompson

Reinforcement learning (RL) agents are widely used for solving complex sequential decision making tasks, but still exhibit difficulty in generalizing to scenarios not seen during training. While prior online approaches d…

Contrastive LearningDecision MakingOffline RLreinforcement-learning+4

Learning to Control LLM Agent Harnesses with Offline Reinforcement Learning

2026-07-05 · Haiwen Yi, Xinyuan Song arxiv

Large language model (LLM) agents are usually improved by changing prompts, models, or hand-written workflows, while the execution harness around the model is treated as fixed infrastructure. We argue that this harness i…

Reinforcement Learning

Offline-to-Online Reinforcement Learning via Balanced Replay and Pessimistic Q-Ensemble

2021-07-01 · SeungHyun Lee, Younggyo Seo, Kimin Lee, Pieter Abbeel 외

Recent advance in deep offline reinforcement learning (RL) has made it possible to train strong robotic agents from offline datasets. However, depending on the quality of the trained agents and the application being cons…

Offline RLreinforcement-learningReinforcement Learning (RL)

Attention-Based Reward Shaping for Sparse and Delayed Rewards

2025-05-16 · Ian Holmes, Min Chi

Sparse and delayed reward functions pose a significant obstacle for real-world Reinforcement Learning (RL) applications. In this work, we propose Attention-based REward Shaping (ARES), a general and robust algorithm whic…

Reinforcement Learning (RL)

Improving Zero-Shot Offline RL via Behavioral Task Sampling

2026-04-28 · Nazim Bendib, Nicolas Perrin-Gilbert, Olivier Sigaud arxiv

Offline zero-shot reinforcement learning (RL) aims to learn agents that optimize unseen reward functions without additional environment interaction. The standard approach to this problem trains task-conditioned policies …

Zero-shot GeneralizationReinforcement LearningOffline RL