Training a Generally Curious Agent
Fahim Tajwar, Yiding Jiang, Abitha Thankaraj, Sumaita Sadia Rahman, J Zico Kolter, Jeff Schneider, Ruslan Salakhutdinov
TL;DR
Paprika presents a scalable fine-tuning framework that endows LLMs with general in-context sequential decision-making by training on diverse synthetic task groups that require strategic information gathering. The method combines SFT, multi-turn DPO, and a curriculum-driven data-sampling loop to maximize learning from trajectories while mitigating data-collection costs. Empirical results show robust zero-shot transfer to unseen task groups, improved data efficiency with curriculum learning, and no degradation on standard benchmarks, suggesting a practical path toward autonomous agents capable of solving novel sequential decision problems. These findings highlight the potential of amortized exploration and in-context RL as a route to general-purpose decision-making in interacting with the external world.
Abstract
Efficient exploration is essential for intelligent systems interacting with their environment, but existing language models often fall short in scenarios that require strategic information gathering. In this paper, we present Paprika, a fine-tuning approach that enables language models to develop general decision-making capabilities that are not confined to particular environments. By training on synthetic interaction data from different tasks that require diverse strategies, Paprika teaches models to explore and adapt their behavior on a new task based on environment feedback in-context without more gradient updates. Experimental results show that models fine-tuned with Paprika can effectively transfer their learned decision-making capabilities to entirely unseen tasks without additional training. Unlike traditional training, our approach's primary bottleneck lies in sampling useful interaction data instead of model updates. To improve sample efficiency, we propose a curriculum learning strategy that prioritizes sampling trajectories from tasks with high learning potential. These results suggest a promising path towards AI systems that can autonomously solve novel sequential decision-making problems that require interactions with the external world.
