New Training-Free Framework Enables Continual Learning in LLM Agents Without Gradient Updates

JitRL achieves state-of-the-art performance while reducing costs by over 30x compared to fine-tuning methods, according to new research.

Researchers have introduced Just-In-Time Reinforcement Learning (JitRL), a training-free framework that enables large language model agents to continuously adapt without gradient updates, according to a paper published on arxiv.org.

According to the research, while LLM agents excel at general tasks, they struggle with continual adaptation due to frozen weights after deployment. Conventional reinforcement learning offers a solution but incurs “prohibitive computational costs and the risk of catastrophic forgetting,” the paper states.

JitRL addresses this by maintaining a dynamic, non-parametric memory of experiences and retrieving relevant trajectories to estimate action advantages on-the-fly, which are then used to directly modulate the LLM’s output logits. According to the researchers, they “theoretically prove that this additive update rule is the exact closed-form solution to the KL-constrained policy optimization objective.”

In experiments on WebArena and Jericho benchmarks, JitRL “establishes a new state-of-the-art among training-free methods,” according to arxiv.org. The framework outperformed computationally expensive fine-tuning methods such as WebRL “while reducing monetary costs by over 30 times,” the paper reports. The researchers describe JitRL as offering “a scalable path for continual learning agents.” Code for the framework is available on GitHub.