English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

JitRL: Continual Learning for LLM Agents Without Gradient Updates

Forum topic · QianXun · 2026-08-24

Summary

JitRL (Just-in-Time Reinforcement Learning), an ICML 2026 Spotlight paper, enables LLM agents to improve after deployment without any gradient updates. The method treats memory as a non-parameterized policy distribution: interactions are stored as state-action-reward triples with step-level rewards from an LLM evaluator, and value/advantage estimates are retrieved at test time via Jaccard similarity over structured text states. Crucially, JitRL modulates the base model's logits (z' = z + beta*A) and proves this is the exact closed-form solution to KL-constrained policy optimization, giving training-free adaptation the same mathematical guarantees as gradient RL. On Jericho text-adventure games and WebArena-Lite web tasks, JitRL improves success rates for GPT-4o, Claude-3.5, and Gemini-2.5, outperforming the fine-tuning framework WebRL on most domains at over 30x lower cost. The article situates JitRL within the training-free lineage of Reflexion, ExpeL, and Agent Workflow Memory, and in-context RL research, while noting limitations: unproven retrieval reliability, weakness on entirely novel tasks, and sensitivity to dynamic web pages.

A deployed LLM agent is like a new employee whose brain is frozen at the moment they start: mistakes don't make it smarter, and environment changes leave it lost. JitRL (Just-in-Time Reinforcement Learning) — an ICML 2026 Spotlight paper — proposes a way for agents to keep evolving at inference time without modifying any parameters.

The problem with existing approaches

  • Gradient-based RL (e.g., WebRL with PPO/GRPO): effective but expensive — fine-tuning Llama-3.1-70B costs $3,500+ per run, produces a static model, and risks catastrophic forgetting.
  • Training-free methods (Reflexion, ExpeL, Agent Workflow Memory): cheap, storing reflection, distilled insights, or reusable workflows as prompts — but heuristic, context-limited, and lacking formal optimization objectives.
  • JitRL's key insight: treat memory as a non-parameterized policy distribution and reframe policy optimization as a closed-form update in logit space.

    Key points

  • Memory construction: interactions stored as <state, action, reward> triples; an LLM evaluator assigns step-level rewards to solve credit assignment.
  • Test-time value estimation: retrieves k most similar historical states (Jaccard similarity on N-grams) to estimate V(s), Q(s,a), and advantage Â(s,a).
  • Logit modulation: applies z'(s,a) = z(s,a) + β·Â(s,a) — a learned-from-experience bonus/penalty applied directly to raw scores before softmax.
  • Theoretical guarantee: this additive rule is the exact closed-form solution to the KL-constrained policy objective max_π E[A(s,a)] s.t. D_KL(π‖π_base) ≤ ε, whose exponential-form optimum reduces to the logit addition when taking logs. Decades of gradient descent approximating this optimum are replaced by one logit addition at inference.
  • Structured text state summaries proved more stable than embedding vectors for retrieval.
  • Results

  • Jericho (text adventures): Zork1 +50% (35.2→52.8), Library +53%, Detective +47% at 50 turns.
  • WebArena-Lite success rates: GPT-4o 32.5%→41.2%, Claude-3.5 28.8%→38.5%, Gemini-2.5 25.3%→34.7%.
  • Sets a new SOTA among training-free methods and beats fine-tuned WebRL on most domains at >30x lower cost (~$98 inference vs ~$3,500 GPU training, per third-party estimates).
  • Limitations

  • Retrieval quality is assumed, not proven; bad neighbors distort advantage estimates.
  • Struggles on entirely novel tasks with no similar history to retrieve.
  • Performance fluctuates on highly dynamic, complex web pages.

Significance

JitRL welds together two research currents: prompt-based experiential memory (Reflexion, arXiv:2303.11366; ExpeL, arXiv:2308.10144; AWM, arXiv:2409.07429) and in-context RL (Monea et al., arXiv:2410.05362; "Reward Is Enough," arXiv:2506.06303; TR-ICRL, arXiv:2604.00438). It signals a paradigm shift from "train once" toward continual, in-place learning at deployment — test-time compute used not just to think deeper but to learn better, with mathematical guarantees. It complements rather than kills gradient RL.

Core references

1. Li Y. et al. *Just-In-Time Reinforcement Learning: Continual Learning in LLM Agents Without Gradient Updates.* ICML 2026. arXiv:2601.18510. 2. Shinn N. et al. *Reflexion.* NeurIPS 2023. arXiv:2303.11366. 3. Zhao A. et al. *ExpeL.* AAAI 2024. arXiv:2308.10144. 4. Wang Z. et al. *Agent Workflow Memory.* 2024. arXiv:2409.07429. 5. Qi Z. et al. *WebRL.* ICLR 2025. arXiv:2411.02337. 6. Monea G. et al. *LLMs Are In-Context Reinforcement Learners.* 2024. arXiv:2410.05362. 7. Song K. et al. *Reward Is Enough.* 2026. arXiv:2506.06303. 8. Jiang W. et al. *TR-ICRL.* 2026. arXiv:2604.00438.

*Based on the GitHub repository liushiliushi/JitRL and its associated paper; cost and performance figures come from the paper and official README; third-party conversions are noted as estimates.*

Tags

#jitrl#llm-agents#reinforcement-learning#test-time-compute#continual-learning#training-free#webarena#in-context-learning

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178633958