← Latest papers
🤖 AI

Managing Procedural Memory in LLM Agents: Control, Adaptation, and Evaluation

This paper introduces AFTER, a comprehensive benchmark for evaluating procedural memory in LLM agents across diverse enterprise tasks, demonstrating that refined skills significantly boost performance and enable effective cross-model and cross-role transfer while highlighting the varying degrees of generalizability among different skills.

Original authors: Julia Belikova, Rauf Parchiev, Evgeny Egorov, Grigorii Davydenko, Gleb Gusev, Andrey Savchenko, Maksim Makarenko

Published 2026-06-23
📖 5 min read🧠 Deep dive

Original authors: Julia Belikova, Rauf Parchiev, Evgeny Egorov, Grigorii Davydenko, Gleb Gusev, Andrey Savchenko, Maksim Makarenko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are hiring a new employee to work in a busy office. You have two ways to train them:

  1. The "Blank Slate" Approach: You give them the task and hope they figure it out using their general intelligence.
  2. The "Procedural Memory" Approach: You give them a specific, reusable "cheat sheet" or "standard operating procedure" (SOP) based on how similar tasks were solved in the past.

This paper, titled "Managing Procedural Memory in LLM Agents," is about testing how good these "cheat sheets" really are for AI workers (LLM agents) and figuring out how to make them better.

Here is the breakdown of their findings using simple analogies:

1. The Problem: The "Over-Specialized Intern"

The authors noticed that while AI agents are getting smarter, they often struggle with repetitive office tasks (like processing documents, managing databases, or writing code).

They found a tricky problem: If you train an AI on a very specific set of tasks (like "how to process invoices for this specific company"), the AI becomes an expert at that one thing but fails miserably if you ask it to do a slightly different job or work for a different department.

  • The Analogy: Imagine a chef who learns to make a perfect pizza only in a specific kitchen with specific ovens. If you move that chef to a new kitchen with a different oven, they might burn the pizza because they memorized the specific oven's quirks rather than learning the general skill of "making pizza." This is called overfitting.

2. The Solution: The "AFTER" Benchmark

To solve this, the researchers built a giant testing ground called AFTER.

  • What it is: A collection of 382 realistic office tasks (like a data engineer fixing a pipeline or a project manager summarizing a report).
  • The Twist: They didn't just test if the AI could do the task; they tested if the AI could take a "skill" learned in one situation and use it in a different situation (a different role, a different type of task, or even a different AI model).

3. Key Findings: What Works and What Doesn't

A. "Cheat Sheets" Do Help (But Not Always)

When they gave the AI agents these procedural "cheat sheets" (skills), the AI got better at its job.

  • The Result: On average, adding these skills improved the AI's success rate by about 2.8 points.
  • The "Refinement" Trick: If they took a basic cheat sheet and let the AI look at its mistakes once to improve the sheet, the success rate jumped another 5.2 points. It's like giving the intern a quick "debrief" after their first day to fix their notes.

B. The "Diverse Experience" Secret

This is the most important discovery. The researchers asked: Where should the cheat sheet come from?

  • Scenario A: The cheat sheet is written based on the AI's own past attempts (Narrow experience).
  • Scenario B: The cheat sheet is written by combining attempts from many different AI models (Diverse experience).

The Winner: Scenario B.

  • The Analogy: If you want to learn how to drive, it's better to read a manual written by 100 different drivers (some fast, some slow, some in rain, some in snow) than to just memorize the exact path your one friend took to the grocery store.
  • The Data: Skills built from "diverse" experiences (many different AI models) achieved 73.1% accuracy when tested on new models. Skills built from just one model only got about 36–59%. Surprisingly, even "weaker" AI models provided useful lessons when mixed together!

C. The "Role Trap"

The study found that skills can become too specialized to a specific job title.

  • The Analogy: A "Document Processing" skill learned by a Project Manager (who uses PDFs to summarize meetings) is useless to a Data Scientist (who uses PDFs to extract raw numbers). If you give the Project Manager's cheat sheet to the Data Scientist, the Data Scientist actually performs worse than if they had no cheat sheet at all.
  • The Lesson: You cannot just copy-paste a skill from one department to another. The context matters.

D. Saving Money (Tokens)

Finally, using these evolved "cheat sheets" saves money.

  • The Result: Because the AI already knows how to do the task from the cheat sheet, it doesn't need to "think" as hard or ask as many questions. This reduced the amount of "computing power" (tokens) needed by up to 62% in some cases. It's like taking a shortcut that saves you gas money.

Summary

The paper concludes that the future of AI agents isn't just about making them "smarter" in general. It's about teaching them to build reusable, adaptable skills.

  • Don't just memorize one specific path (that leads to failure in new situations).
  • Do learn from a wide variety of experiences (different models, different roles).
  • Do be careful not to mix up skills between different job roles, as they might conflict.

The goal is to move from AI that just "guesses" to AI that has a reliable, evolving library of "how-to" guides that work in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →