NeurIPS 2026QuestionsPapersAreasAboutMarkdown

When LLMs Know but Fail to Reason: Injecting Memory for Reasoning Enhancement

Tian Wang, Shiyu Hu, Ruiyang Qin, Hanyue Zhang, Qingzhuo Wang, Shuhan Yu, Dongrui Liu, Zhihua Wei, Wen Shen

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › LLM Reasoning Enhancement · Type: new method · Keywords: LLM reasoning, memory engagement, knowledge injection, MGAI, benchmark evaluation

Areas: LLM Reasoning › Language Model Reasoning › LLM reasoning; Memory › Agent Memory Systems › Memory Augmentation

Summary

The paper introduces a training-free Memory-Guided Activation Injection (MGAI) method that injects memory information into LLM reasoning representations to improve performance on knowledge-intensive reasoning tasks.

Explained to a 5-year-old

Big computer programs called language models know a lot of facts but sometimes forget them when they try to solve tricky puzzles. To help them remember, researchers added a special trick that gives the puzzles a little extra hint. This trick looks at how well the program uses its memory and decides when it needs a boost. By giving the right hint at the right time, the program solves more puzzles correctly. This makes the programs smarter at thinking without losing the knowledge they already have.

Explained to a 5-year-old, longer

Language models are computer programs that can talk and answer questions. They learn many facts while being trained, like a big memory bank. When they are asked to solve a hard problem that needs those facts, they sometimes forget to use them. Researchers noticed this problem and wanted to help the models remember better. They created a way to check how well the model is using its memory during a problem. If the model seems to need help, they add a small extra piece of information to the problem. This extra piece is like a gentle reminder that tells the model which facts to think about. The system decides automatically when to add this reminder and how strong it should be. By giving the reminder at the right moments, the model can solve more difficult problems correctly. This helps the model get better at thinking without losing the knowledge it already has. The new method works on many different kinds of problems and keeps the model's normal abilities intact. In simple terms, it is like giving a student a quick note when they seem stuck on a tough question.

For a technical reader

The paper identifies that large language models often fail to retrieve stored knowledge when solving complex reasoning tasks. It proposes a metric to measure how well the model aligns its internal memory with reasoning queries. The proposed Memory-Guided Activation Injection (MGAI) method generates an intervention vector and injects it into the model's reasoning representation to boost memory usage. An adaptive strategy decides when and how strongly to apply the injection, improving performance across multiple benchmarks while preserving existing capabilities.

Problem

LLMs often fail to effectively use the knowledge they have acquired during pre-training when solving knowledge-intensive reasoning tasks, leading to degraded performance.

Method

The approach measures memory engagement using a metric that quantifies how well an LLM aligns its internal knowledge with reasoning queries, detects insufficient engagement, and then injects memory by adding an intervention vector to the LLM's reasoning representation. An adaptive strategy controls the timing and magnitude of the injection.

Results

The approach yields consistent performance gains on reasoning benchmarks while preserving memory and general capabilities.

Contributions

It introduces a metric to assess memory engagement in reasoning and a training-free technique that injects memory information adaptively to improve reasoning performance while preserving existing capabilities.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction