Where Should LLM Agents Adapt at Test Time? In Context, in Weights, or Both
Provides empirical comparison of test-time adaptation methods for ML engineers and researchers building autonomous agents.
AI Summary
Research paper compares 14 adaptation mechanisms for LLM agents, finding in-context learning provides the largest standalone gain (28.8% to 49.4% success) with GRPO reinforcement learning achieving the highest overall mean success of 51.6%.
Excerpt
LLM agents operating repeatedly in the same environment, such as a code repository, a database, or an application suite, encounter tasks that share latent structure. Experience can reveal this structure, allowing agents to reuse environment knowledge and learn from environmental feedback. Agents can adapt at test-time using this experience through two channels: retaining it in context and updating their weights. These channels are usually studied separately, leaving unclear what each contributes
