Procedural Knowledge at Scale Improves Reasoning (April 2026) logo

Procedural Knowledge at Scale Improves Reasoning (April 2026)

Free

Meta AI: RAG for reasoning — decomposes trajectories into 32M reusable subquestion-subroutine pairs; retrieves procedural "how-to" knowledge within reasoning traces; +19.2% across math/science/coding

FreeFree tier
Type
Open Source

About Procedural Knowledge at Scale Improves Reasoning (April 2026)

Reasoning Memory is a retrieval-augmented generation (RAG) framework designed to improve reasoning in language models. It decomposes step-by-step reasoning trajectories into 32 million self-contained subquestion-subroutine pairs, creating a large-scale datastore of procedural knowledge. At inference time, a lightweight in-thought prompt enables the model to retrieve relevant subroutines and apply them as implicit priors. Evaluated on math, science, and coding benchmarks, Reasoning Memory achieves up to 19.2% improvement over no retrieval and 7.9% over the strongest compute-matched baseline. Ablation studies confirm that gains come from broad procedural coverage of the source trajectories and the decomposition and retrieval design.

Key Features

Decomposes reasoning trajectories into 32 million self-contained subquestion-subroutine pairs
Retrieves procedural knowledge via an in-thought prompt during inference
Achieves up to 19.2% improvement over no retrieval and 7.9% over compute-matched baselines
Tested across math, science, and coding benchmarks
Lightweight retrieval integrated within the reasoning trace
Outperforms RAG with document, trajectory, and template knowledge

Pros & Cons

Pros
  • Reuses procedural knowledge across problems, avoiding isolated reasoning
  • Significant performance gains on challenging reasoning benchmarks
  • Scalable datastore of 32 million entries
  • Effective decomposition and retrieval design validated by ablation studies

Best For

Mathematical reasoningScientific reasoningCoding tasksComplex multi-step reasoning that benefits from reusable procedural knowledge