cs.CLDec 3, 2026

Learning to Learn Experiential Knowledge

Authors: Tong Chen, Teng Xiao, Mohan Cao, Chuanyang Jin, Faeze Brahman, Akari Asai, Hannaneh Hajishirzi, Luke Zettlemoyer

Organizations: University of Washington · The Allen Institute for AI (AI2) · Johns Hopkins University · Carnegie Mellon University

Abstract

Language models remain limited at improving across a stream of tasks by learning from experience. We study experiential knowledge accumulation: converting earlier task trajectories into reusable knowledge in free-form text that improves performance on later tasks. Although memory harnesses and workflows are effective, they are insufficient alone: models often fail to abstract rules or procedures that are salient for reuse, and instead record task-specific details that do not generalize to future tasks. We therefore propose to learn the memory update policy from outcomes on later tasks, using a minimal harness that leaves the model free to decide what to retain. Our method, NoteTaker, trains a notebook model that rewrites a persistent notebook after each task, in two stages: SFT on teacher-generated notebook updates, followed by RL on short task streams, where each update receives credit only from the rewards of subsequent tasks it can influence. On 40-task streams from AppWorld, ALFWorld, and MiniGrid, with Qwen3.5-9B solving the tasks, our trained 9B notebook model raises average held-out success from 33.6 to 53.8, outperforming prior memory harnesses paired with the untrained model, as well as several much larger notebook models. These gains also transfer to held-out tools and environments, to trajectories from other task models, to streams longer than those seen in training, and to other benchmarks in most cases. Our analysis shows that our causal accumulated reward learns more efficiently than the trajectory-outcome and next-task rewards used in prior work, since knowledge often pays off several tasks later.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 7, 2026

Learning to Accumulate Knowledge with Mutual Information

Large language model (LLM) agents can improve their performance by reusing knowledge distilled from past interactions. However, curating new experiences into a knowledge bank that becomes more useful as it grows remains challenging. Effective knowledge accumulation should limit redundant overlap among entries and ensure that new knowledge contributes beyond what the bank already provides. Yet training a curator with Group Relative Policy Optimization (GRPO) on standalone task success can reinforce general guidance even when it duplicates existing knowledge. Therefore, we propose Knowledge Weaver, a reinforcement learning framework that trains a language model to curate reusable knowledge from agent trajectories. We couple feedback inspired by token-wise mutual information (MI) with marginal success rewards to guide knowledge accumulation. Together, these signals encourage the curator to preserve distinct information from experience and produce entries that improve task success when added to existing knowledge. Standalone success rewards also favor entries that are useful on their own. On ALFWorld and WebShop, Knowledge Weaver achieves mean success rates of 54.0% and 42.0% with k=10 retrieved entries, exceeding GRPO by 16.9 and 18.7 percentage points, respectively. Its knowledge banks also outperform the evaluated prompt-based and established banks, including human-written banks, in overall ALFWorld success rate and WebShop score with the executor frozen. Our codebase is available at https://github.com/LaoKuiZe/Knowledge-Weaver.
Oct 15, 2026

Reliable Knowledge Acquisition for Continual Learning Agents

As agents powered by foundation models move into open-ended environments, continual learning from experience becomes essential. For agents built on models with fixed parameters, this learning requires reusing prior task experience in context to improve performance and efficiency on future tasks. Existing memory and experience-learning systems typically focus on either retained facts or procedures, and lack a mechanism for establishing the reliability of claims extracted from the ongoing task stream. Indeed, we find that approximately 12--33% of entries produced by representative systems harm future task performance when reused. To address these limitations, we propose RIKA (Reliable Knowledge Acquisition), which combines hierarchical extraction of factual, conceptual, procedural, and metacognitive knowledge with Evidence-based Knowledge Admission, which uses source evidence and subsequent experience to govern which claims enter the task agent's context, without additional validation tasks. Across six task streams from Continual Learning Bench and four model backbones, RIKA achieves the highest aggregate score on every backbone.
Nov 30, 2026

Continuous Learning from Executable Environments: Autonomous Skill Acquisition, Retention, and Transfer in Language Models

A language model does not keep the experience of a task it completes. Where an attempt can be checked by executing it, that experience can become training data without human-written tasks or labels. We present and evaluate a framework that generates practice tasks, verifies attempts by execution, trains a small adapter (added weights; the base model remains fixed) on the verified records, and repeats, one generation per repetition, evaluating every model on a held-out examination that no stage of the pipeline reads. In predicting the output of Lua programs, using an interpreter as the sole source of labels, a 4-billion-parameter (4B) model's examination accuracy rises from 5.05% to 13.24% over four generations. In editing files with Vim, a larger teacher model writes tasks from the user manual and supplies most verified solutions. Trained on these records, the 4B model solves hand-written examination tasks its base never solves (up to 3.50% of attempts, versus 62.25% for the teacher), whereas a control trained with mismatched task requests solves none. On 228 easier hand-written course exercises, the pass rate rises from 15-16% to 37-41% (exploratory). An iterative protocol then ran three generations with 4B and 8B models, governing every release by a fixed rule. In the first generation, examination gains were one-tenth to one-fifth of the gains on held-out generated tasks. Across training seeds, later candidates averaged 1.2 to 6.1 percentage points above their baselines on generated tasks, implying an expected examination gain of 0.1 to 1.3 points, below the 100-task examination's 2.8-point detection threshold. Consequently, no later examination gain was established, and because outcomes were recorded per attempt rather than per task, whether transfer, acquisition, or retention stalled remains undecided.