NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Not All Gap Correction Helps: A Geometric View of External Information in LLM Inference

Dingzirui Wang, Xuanliang Zhang, Keyan Xu, Qingfu Zhu, Wanxiang Che, Yang Deng

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Retrieval-Augmented LLM and Search Systems · Type: theory · Keywords: gap correction, LLM inference, external information, reasoning error, theoretical analysis

Areas: LLM Reasoning › Language Model Reasoning › Knowledge Conflict and Hallucination

Summary

The paper shows that excessive gap correction can harm LLM inference and proposes a theory-guided information selection method to choose properly corrective external information.

Explained to a 5-year-old

People sometimes give extra facts to help big computer language models answer questions. They think that giving more helpful facts always makes the model better. However, this paper shows that too many facts can confuse the model and make it give wrong answers. The researchers looked at how the model works and found rules for when extra facts help or hurt. They created a simple guide to pick the right facts so the model works well.

Explained to a 5-year-old, longer

When we ask a big computer program that reads words to answer a question, it sometimes needs extra help. This extra help can be like giving it a story, a picture, or a fact that is not in the original question. Many scientists think that giving more helpful facts always makes the computer answer better. However, this new study shows that sometimes giving too many facts can make the computer confused. The researchers looked at how the computer thinks by measuring the difference between its answer and the correct answer. They discovered that extra facts can be either not enough to help, or too strong, which hurts the answer. The computer’s attention and how the new fact matches the question decide whether the fact is good or bad. By studying these ideas, they found rules that tell us when a fact will help and when it will hurt. They tested their ideas on several big language models and many different tests. The results show that following these rules makes the models give better answers. This gives us a simple way to choose which extra facts to give to the computer. In short, we can now be smarter about what we feed to language models to get the right answers.

For a technical reader

The paper investigates why adding external information to large language models sometimes degrades performance instead of improving it. By modeling the correction effect as a vector in the transformer’s hidden space, they show that external data can be under- or over-corrective depending on its alignment with the query. They derive analytical conditions that characterize when the correction is beneficial in both direction and magnitude, linking it to attention patterns and complementarity. Empirical evaluations on four popular LLMs across seven reasoning benchmarks confirm the theoretical predictions and demonstrate the effectiveness of a theory-guided information selection method. The work provides practical guidance for designing retrieval, in-context, and memory components that avoid harmful over-correction.

Problem

A common assumption is that external information that better corrects the gap between LLMs and user queries improves inference, yet stronger correction can increase reasoning errors.

Method

The authors analyze Transformers using a reasoning error metric, revealing that external information can be under- or over-corrective, and derive conditions for proper correction based on attention and complementarity.

Contributions

The paper provides a geometric analysis showing external information can be over-corrective, derives conditions for proper correction, and proposes a theory-guided selection method for external information.

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