Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Researchers Introduce Experience Distillation: Retaining 64.8% of In-Context Learning Gains Without Context

AI By Crimson AI Hugging Face Papers 26 July 2026 · 00:00 30 views
Share: X Telegram

A new method called Experience Distillation allows agents to internalize interaction histories into model weights without additional environment interactions, retaining 64.8% of in-context learning gains across software engineering and text-adventure tasks.

Hugging Face Researchers Introduce Experience Distillation: Retaining 64.8% of In-Context Learning Gains Without Context

Key points

Researchers from Hugging Face have published a paper on Experience Distillation, a method that enables agents to learn from their own interaction histories without requiring additional environment interactions. The work addresses a key limitation of in-context learning: while it is highly sample-efficient, its benefits vanish once the experience is removed from the context window.

The team proposes distilling the agent's collected experience directly into model weights, a process they term Experience Distillation. Unlike context distillation, which typically requires further environment interaction, their implementation operates solely on already-collected data. Experiments were conducted on 749 curated software-engineering tasks and six text-adventure games.

Results show that Experience Distillation retains at least 64.8% of the performance gains from in-context learning across both domains. In contrast, direct supervised fine-tuning on the same experience recovers only 3.8% of those gains. Compared to classical reinforcement-learning baselines, in-context learning followed by Experience Distillation matches performance while requiring at least 9.6× fewer environment samples.

The paper highlights that the approach is particularly valuable when environment interactions are costly, such as running time-consuming experiments or obtaining human feedback. By internalizing experience into weights, agents can maintain learned behaviors without carrying large context windows.

Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

18
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

20
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

21