Skip to content
AI News HubLIVE
Original source2 min read

Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons

Summary

Yuval Kansal and coauthors introduce Self-Direction, a mechanism that lets agents reflect on failed trajectories, distill the lesson into a lightweight low-rank adapter of roughly 0.02% of base-model parameters, and store it in a persistent lesson library for automatic routing. On GAIA, Claw-Eval, and Terminal-Bench 2.1 with Qwen-family open-weight models, success rates improve by 8.9 to 17.0 percentage points, repeated mistakes drop, and a handful of adapters generalize to dozens of new tasks.

SourcearXiv AIAuthor: Yuval Kansal, Karen Ullrich, Polina Kirichenko, Ilia Kulikov, Niraj K. Jha, Mohammad Pezeshki, Mark Ibrahim
Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 22 Oct 2026]

Title:Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons

View a PDF of the paper titled Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons, by Yuval Kansal and 6 other authors

View PDF HTML (experimental)

Abstract:Intelligent agents should learn from their mistakes so that experience leads to continuous improvement. Yet today's agents recover from a mistake only temporarily: in-context reflections are easily forgotten across sessions and compete for limited context, while full-parameter fine-tuning is expensive and can interfere with existing capabilities. We introduce Self-Direction, a mechanism for agents to learn from mistakes that combines the benefits of temporary in-context retries and policy updates. When an agent fails a task, it reflects on its own trajectory in order to extract a lesson and immediately distills it into a lightweight low-rank adapter. By keeping the original weights frozen, Self-Direction prevents adapter training from overwriting base-model parameters while training additional parameters equivalent to ~0.02% of the base model's parameter count for each adapter. The agent then saves these adapters in a persistent library of lessons, automatically routing them to solve related problems later. Experiments with agents based on open-weight models from the Qwen family across open-ended research (GAIA), tool-use workflows (Claw-Eval), and terminal tasks (Terminal-Bench 2.1) show that our method improves overall success rates by 8.9 to 17.0 percentage points and performs competitively with frontier systems. We find that Self-Direction reduces repeated mistakes across future encounters of a task, nearly doubling the reliability of an agent's corrections. Learned lessons also transfer: a handful of adapters generalize to dozens of new tasks without additional training. Ultimately, this self-directed repair transforms everyday mistakes into lasting lessons.

Subjects:

Artificial Intelligence (cs.AI); Machine Learning (cs.LG)

Cite as: arXiv:2610.31846 [cs.AI]

(or arXiv:2610.31846v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2610.31846

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Yuval Kansal [view email] [v1] Thu, 22 Oct 2026 19:29:38 UTC (1,686 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Don't Forget What You Just Learned: Self-Directed Repair Turns Agent Mistakes Into Lasting Lessons, by Yuval Kansal and 6 other authors

View PDF

HTML (experimental)

TeX Source

view license

Additional Features

Audio Summary

Current browse context:

cs.AI

new | recent | 2026-10

Change to browse by:

cs cs.LG

References & Citations

SciX

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Agents reflect on failed trajectories and distill lessons into small low-rank adapters while base weights stay frozen
  • Each adapter trains about 0.02% of the base model's parameter count and is saved in a persistent library for automatic routing
  • Success rates rise by 8.9 to 17.0 percentage points across GAIA, Claw-Eval, and Terminal-Bench 2.1
  • Correction reliability nearly doubles, and a few adapters transfer to dozens of new tasks without extra training

Highlights and analysis are generated automatically and may contain errors. Check the original source.