Procedural Knowledge at Scale Improves Reasoning
The paper introduces Reasoning Memory, a retrieval-augmented generation framework that scales reasoning performance by decomposing 32 million reasoning trajectories into reusable procedural knowledge entries, enabling models to retrieve and apply relevant subroutines during inference to outperform existing test-time scaling and RAG baselines across math, science, and coding benchmarks.
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 trying to solve a very difficult puzzle, like a complex math problem or a tricky coding challenge. You sit down, and your brain starts working. You try a few things, hit a wall, backtrack, try again, and eventually, you might solve it. This is how current "reasoning" AI models work: they think hard, step-by-step, in real-time.
But here's the problem: They are reinventing the wheel every single time.
If you ask an AI to solve a geometry problem today, it figures out the steps from scratch. If you ask it a similar geometry problem tomorrow, it has to figure out those same steps all over again. It forgets the strategy it used yesterday. It's like a brilliant student who never takes notes and has to re-learn how to multiply every time they see a math problem.
This paper introduces a solution called Reasoning Memory. Think of it as giving the AI a personalized, super-organized notebook that it can flip through while it's thinking.
The Big Idea: "How" vs. "What"
Most AI helpers (like search engines) are great at giving you facts.
- You ask: "What is the formula for the area of a triangle?"
- AI says: "It's 1/2 base times height."
But for hard reasoning tasks, facts aren't enough. You need procedural knowledge—the "how-to" guide.
- You ask: "I have a weird triangle with sides 13, 14, and 15. How do I even start solving this?"
- Standard AI: "Let me think..." (and it might get stuck or wander).
- Reasoning Memory AI: "Oh! I remember a similar problem. The trick is to use Heron's formula first. Here is the step-by-step plan I used last time."
How It Works: The "Recipe Book" Analogy
The researchers built a massive library of 32 million "mini-recipes."
The Collection (Datastore Construction):
They took thousands of hours of AI "thinking logs" (where the AI solved problems and wrote down its thoughts). They didn't just save the whole story; they chopped it up.- Imagine a long movie of a chef cooking a complex meal.
- Instead of saving the whole movie, they cut out just the specific clips: "How to chop an onion," "How to sear a steak," "How to make a sauce."
- They turned these clips into a library of 32 million specific "Sub-questions" and "Sub-routines" (the recipe steps).
The Search (In-Thought Retrieval):
When the AI gets a new, hard problem, it doesn't just stare at it. It pauses its thinking and asks itself a simple question: "What kind of mini-problem am I stuck on right now?"- Example: "I need to figure out how to convert this weird number base."
- It instantly flips through its 32-million-page notebook and finds the exact "recipe" for converting number bases.
The Boost (Scaling):
The AI then reads that recipe and uses it as a guide. It doesn't just copy the answer; it uses the recipe as a mental scaffold to build its own solution.- If it has a lot of time (computing power), it can try three or four different recipes at once, see which one works best, and pick the winner. This is called "scaling."
Why Is This a Big Deal?
The paper tested this on hard math, science, and coding tests (like the AIME math competition or coding interviews).
- The Old Way (Just Thinking Longer): If you tell an AI to "think harder" without help, it often just spins its wheels, getting confused and making mistakes. It's like trying to solve a maze by running in circles faster.
- The New Way (Reasoning Memory): By pulling up the right "recipe" from its notebook, the AI solves the maze much faster and more accurately.
- Result: The AI got up to 19% better at solving problems compared to when it had no help.
- Comparison: It beat other methods that tried to give the AI "facts" (like Wikipedia articles) or "whole stories" (entire past solutions). Those were too messy. The "mini-recipes" were just right.
The Takeaway
This paper shows that the future of smart AI isn't just about making the brain bigger or letting it think longer. It's about teaching it how to learn from its own past experiences.
By turning past successes into a searchable library of "how-to" steps, we can help AI models stop reinventing the wheel and start building on a foundation of proven strategies. It's the difference between a student who struggles alone and a student who has a brilliant tutor whispering the right strategy in their ear at the exact moment they need it.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.