Standard agentic reinforcement learning assumes single-session trajectories with continuously accumulated context, clashing with production agent techniques like context compaction and subagent forking. Researchers introduce Mosaic (arXiv:2610.22174), a critic-free hierarchical optimization framework for Multi-Session Agentic RL. By incorporating session-usage signals at the trajectory level and shaping per-session advantages by marginal contribution, Mosaic outperforms trajectory-level broadcasting on BrowseComp across both compaction and subagent scenarios while using fewer sessions.

Key Takeaways

  • ✓Bridges single-session RL and multi-session inference: formalizes Multi-Session Agentic RL for context compaction and subagent forking workflows
  • ✓Critic-free hierarchical advantage shaping: combines trajectory-level session-usage signals with session-level marginal contribution estimation
  • ✓Higher accuracy with fewer sessions: outperforms trajectory-level broadcasting on BrowseComp across both compaction and subagent scenarios
Mosaic: Multi-Session Agentic Reinforcement Learning for Context Compaction and Subagent Forking
Official Media
Click to view high-res

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

In-Depth Technical Analysis

Background and the Problem

Production coding and deep-research agents rely heavily on context compaction (summarizing and resetting context windows) and subagent forking (spawning isolated worker sessions) to scale across long horizons. These techniques split a single task trajectory across multiple discrete context sessions. However, standard agentic RL assumes a single continuously accumulated session, and naively broadcasting trajectory-level rewards equally across all sessions fails to distinguish useful subagents from wasteful ones.

Architecture and How It Works

Researchers introduced Mosaic (arXiv:2610.22174), a critic-free hierarchical optimization framework for Multi-Session Agentic Reinforcement Learning:

  1. Trajectory-Level Session-Usage Signals: Integrates session allocation metrics directly into trajectory-level advantage estimation to discourage redundant session spawning;
  2. Session-Level Marginal Contribution Shaping: Estimates each individual session's marginal contribution to task completion and shapes session-specific advantages accordingly, without requiring a separate value critic.

Benchmarks and Measured Results

Evaluations on BrowseComp using Qwen3.5-4B demonstrate clear superiority over standard trajectory broadcasting:

  • Wins Across Both Compaction and Subagent Forking: Mosaic consistently achieves higher task resolution accuracy than trajectory-level advantage broadcasting in both context-compaction and subagent-forking regimes;
  • Higher Efficiency with Fewer Sessions: Agents trained with Mosaic use significantly fewer sessions on average while achieving higher single-Session utility.

Getting Started for Developers

The open-source codebase is available at https://github.com/LARK-AI-Lab/Mosaic:

  • Align RL Training with Multi-Session Harnesses: Use Mosaic to train models that natively decide when to invoke context compaction or fork subagents without wasting compute on low-utility branches.
Action HubWant to see how today's models and tools compare?

This story is not about one specific product. Compare leading models side by side, or see which coding plan fits your team.

Up NextZ.ai Opens GLM-5.4 to All GLM Coding Plan Users With New Vision Capabilities, Stronger All-Round Coding and 50% More Weekly Quota Than GLM-5.3
Read Now→