TL;DR
Experience Funnel is a novel self-evolving framework for LLM agents that combines the agility of explicit textual states (like skill libraries) with the efficiency of parametric policy updates. By alternating between fast state adaptation and a selective, transition-aware distillation process, the framework progressively internalizes useful behaviors directly into the model's weights. This dual-loop approach continuously improves autonomous agent competence while preventing the context bloat and retrieval overhead typical of long-lived agents.
What Problem Does This Paper Address?
When large language model (LLM) agents interact with environments, they generate a wealth of experience. To improve over time, self-evolving agents typically preserve this experience in one of two ways:
- Explicit Textual States: Storing memories, instructions, or skill libraries in the prompt context. This is fast and easily editable but suffers from "context bloat," high retrieval costs, and potential guidance conflicts as the history grows.
- Parametric Policies: Fine-tuning or using reinforcement learning (RL) to bake behaviors directly into the model's weights. This keeps inference fast and compact, but training is slow, expensive, and risks absorbing noisy, sample-specific behaviors.
Crucially, the value of textual guidance is policy-dependent—what helps a weak model might be redundant or confusing to a stronger, updated version. The authors address this fundamental challenge: how can an agent progressively transform raw, messy interaction experience into clean, autonomous model competence without losing the ability to adapt rapidly to new evidence?
Methods
The authors introduce the Experience Funnel, which couples fast state adaptation with slow policy consolidation in a continuous, alternating loop:
$$\dots \rightarrow S_k \rightarrow \pi_k \rightarrow S_{k+1} \rightarrow \pi_{k+1} \rightarrow \dots$$
The framework operates in two distinct phases:
Phase I: State Evolution (Fast Loop)
The agent collects interaction trajectories, freezing them into a "reflection batch." Instead of correcting individual errors piecemeal, it uses cross-trajectory reflection to extract high-level textual rules, common failure modes, and corrective strategies into a candidate state update ($S_{k+1}$). This update is only accepted if it passes a validation gate on a held-out dataset.
Phase II: Selective Policy Consolidation (Slow Loop)
To safely bake these validated text skills into the model parameters ($\pi_{k+1}$), the authors introduce Transition-Aware Skill Distillation:
- Transition-Aware Rollout Selection: The framework evaluates trajectories under three conditions: state-free, with the old state, and with the new state. It categorizes behaviors and selectively filters for those that are newly useful or persistently useful, discarding inactive or regressive behaviors.
- State-Responsive Token Attribution: To pinpoint exactly where the text state made a difference, it computes the Jensen-Shannon divergence between the action probabilities of the state-conditioned and state-free policy branches. This focuses the distillation loss strictly on decisions highly responsive to the text guidance.
- Optimization: The final training objective combines this selective distillation loss with state-free reward optimization using Group Relative Policy Optimization (GRPO).
Datasets
The framework was evaluated across three diverse, interactive agent benchmarks:
- SearchQA: Focused on question answering and information retrieval.
- ALFWorld: A text-based environment simulating embodied robotic interaction tasks.
- WebShop: A web navigation environment simulating e-commerce shopping interactions.
Key Insights and Ideas
- The Compatibility Gap: Textual guidance and model weights cannot be optimized in isolation. As a policy improves, its alignment with a static text state diverges. Jointly evolving them prevents explicit instructions from becoming redundant or conflicting.
- Selective Internalization is Mandatory: Indiscriminately training a model on all successful trajectories introduces weak or noisy supervision. Filtering trajectories based on cross-state transitions (the "funnel" effect) yields a significantly cleaner learning signal.
- Asymmetric Teacher-Student Dynamics: Interestingly, the distillation process benefits heavily from scale. A larger teacher model (e.g., Qwen3.5-27B) acts as an effective executor of the evolved state, providing high-quality privileged supervision to the smaller evolving student policy (Qwen3.5-4B).
Key Results
Experience Funnel consistently outperformed state-only evolution, policy-internalization baselines, and prior co-evolution methods across all environments.
- Overall Performance: The framework achieved the highest average score of 57.6% across the three benchmarks, outperforming the strongest policy-internalization baseline (OPID at 55.4%) and the closest state-policy co-evolution baseline (SkillRL at 56.2%).
- Autonomous Competence: On SearchQA, the state-free policy accuracy steadily rose from 58.1% to 61.3% across accepted consolidation rounds, proving that the model successfully absorbed the skills originally trapped in text prompts. Reintroducing the evolved state pushed the final performance to 62.4%.
Limitations and Future Work
- Task Constraints: The framework is explicitly designed for post-deployment settings where an agent repeatedly encounters related tasks and receives clear, verifiable environment feedback. It is less suited for one-shot tasks or domains with highly subjective or sparse rewards.
- Compute Trade-off: Running multi-condition rollouts (state-free vs. old state vs. new state) and iterative distillation loops demands substantial training-time compute.
- Future Directions: The authors note that these updates do not need to happen on the latency-critical serving path. Future work will focus on optimizing asynchronous online-offline scheduling, rollout reuse, and overall consolidation efficiency to make long-term deployment more practical.
Summary updated