Manuscript Offprint

arXiv:2610.07979

Learning from Revision Consequences: Hindsight Meta-Experience Distillation for Self-Improving Agents

Qianhan Feng, Zhongzhen Huang, Yakun Zhu, Xiaofan Zhang, Qi Dou

ABSTRACT

As agents continuously improve by generating and revising Skills, the process that discovers and refines those Skills becomes a learnable object in its own right. Task-Skills directly act on task execution, whereas Meta-Skills govern how agents discover and improve future Skills; their value therefore emerges through the subsequent search processes they induce. Existing approaches improve Meta-Skills from observed raw Skill-search trajectories and branch outcomes. However, branch performance entangles the effects of the initial discovery state and the Meta-Skill revision that generated the search process, making it difficult to characterize what a particular revision actually changed, and pushing updates toward revisions that benefit from favorable states rather than those that improve the process. We introduce HMED (Hindsight Meta-Experience Distillation), a mechanism for constructing Meta-Experience for self-improving agents. HMED revisits the completed event from which a revision originates and re-executes the incumbent and revised Meta-Skills from the same restored discovery state, so that the changes associated with the revision can be observed under a shared condition. Each comparison is distilled into a Meta-Experience, a structured record that can be reused by future updates, so that even revisions that are not ultimately retained still contribute a learning signal. Across three interactive agent benchmarks and both open-source and closed-source models, HMED consistently improves Skill discovery performance over strong baselines, shifting Meta-Skill learning beyond branch outcomes toward the consequences of changing the improvement process.

1 INTRODUCTION

Agents increasingly improve by turning interaction into reusable capabilities. A household agent that repeatedly has to locate objects can accumulate a Skill for finding them, so that a lesson learned once is available later without being rediscovered (Shinn et al., 2023; Zhao et al., 2023; Wang et al., 2023). As agents operate in increasingly open environments, however, improvement is no longer limited to acquiring individual capabilities. An agent must also improve the process through which it discovers, evaluates, and refines those capabilities. We refer to the policy governing Skill discovery and evolution as a Meta-Skill, and to the capabilities it produces as Task-Skills. A Task-Skill determines how an agent performs a task and can usually be evaluated through task outcomes. A Meta-Skill instead shapes how future capabilities are generated. Its value is realized only through the search processes it subsequently guides.

Existing approaches improve Meta-Skills using signals derived from Skill-search trajectories, descendant outcomes, and accumulated evolution histories (Fernando et al., 2023; Agrawal et al., 2025; Wang et al., 2026). These signals are attached to complete search branches rather than to the consequences of individual Meta-Skill revisions. A search branch reflects the combined influence of where the search started and how the improvement policy guided it. As a result, its final outcome does not directly reveal the contribution of a particular Meta-Skill revision: a favorable discovery state may make a weak revision appear effective, while a useful revision may appear ineffective when evaluated from a difficult starting point. In other words, a good branch is not necessarily a good improver.

(a) Task-Skill Evolution Learning what skill works

Figure

Experience: Task traces and feedback

Updated object: Task-Skill

(b) Meta-Skill Evolution Learning how to improve

Observed outcomes depend on both the policy and its starting state

Experience: Search processes and outcomes

Updated object: Meta-Skill

(c) HMED (Ours) Learning from revision comparisons

Experience: Matched revision comparisons

Updated object: Meta-Skill

Figure 1: Learning signals in Skill evolution. Task-Skill methods update from task outcomes; existing Meta-Skill evolution updates from branch-level search signals, where the starting discovery state and the Meta-Skill are mixed; HMED updates from matched revision consequences, where the same discovery state is restored and only the Meta-Skill is varied.

This limitation comes from a mismatch between the experience collected by existing Skill evolution methods and the experience required for learning a reusable improvement policy. A trajectory records what happened during one improvement process, whereas it does not characterize what consequences are associated with a particular revision. What Meta-Skill learning needs is an experience unit centered on the revision itself: what changed in the improvement process, and what followed from that change. We call this unit Meta-Experience. Conceptually, it links four aspects of a revision: the completed event that motivated it, the modification to the Meta-Skill, the changes observed in the subsequent search process, and the resulting changes in discovered capabilities. For example, a revision that adjusts the retrieval component of the Meta-Skill may show which prior experience was consulted differently and whether that change led to different discoveries. Unlike Task-level Experience, which describes whether an existing capability can solve a task, Meta-Experience describes what a change to the improvement process produced.

We introduce Hindsight Meta-Experience Distillation (HMED) to construct and reuse this experience. HMED anchors each Meta-Skill revision to the completed improvement event that motivated it, restores the discovery state from which that event began, and re-runs the search under both the incumbent and revised Meta-Skills from that shared starting point. The resulting paired traces are distilled into a compact Meta-Experience record. This record enters the next round of Meta-Skill updates, where it can inform how future revisions are proposed. A comparison therefore serves two roles: it decides whether to retain the current revision, and it contributes a record that shapes later revisions. Because the record is kept regardless of whether the revision is adopted, even a rejected revision leaves a reusable learning signal.

We evaluate HMED on three interactive agent benchmarks, using DeepSeek-v4-Flash and Qwen3-32B. HMED achieves the highest mean downstream performance in all six model–benchmark configurations, and an ALFWorld ablation shows that returning revision consequences to later updates provides additional gains over using comparison only for selection. When the learned Meta-Skill is frozen and the Task-Skill library is reset, it continues to guide effective discovery at new origins, indicating that HMED learns a reusable improvement policy rather than fitting the trajectories that produced it. Together, these results suggest that learning an improvement policy benefits from an experience representation aligned with the object being learned. Our contributions are threefold:

• Meta-Experience for Self-Improving Agents. We identify the mismatch between branch-level Skill-evolution outcomes and the revision-level experience required for learning reusable improvement policies, and introduce Meta-Experience as a distinct experience unit that links the completed event, the revision, the observed process changes, and the resulting discovery outcomes of a Meta-Skill update.

• Hindsight Meta-Experience Distillation. We introduce HMED, a mechanism that constructs Meta-Experience by grounding Meta-Skill revisions in completed improvement events, re-running the incumbent and revised Meta-Skills from matched discovery states, and distilling the resulting comparison into records that future updates can read.

• Empirical Evidence for Learning from Revision Consequences. We evaluate HMED across interactive agent environments and distinguish the value of consequence feedback from comparison-based selection, showing that learned Meta-Skills remain effective beyond the trajectories that produced them.

References (31)