Abstract
Reliance on the inherent knowledge of Large Language Models (LLMs) can cause issues such as hallucinations, lack of control, and difficulties in integrating variable knowledge. To mitigate this, LLMs can be probed to generate responses by grounding on external context, often given as input (knowledge-augmented models). Yet, previous research is often confined to a narrow view of the term "grounding", often only focusing on whether the response contains the correct answer or not, which does not ensure the reliability of the entire response. To address this limitation, we introduce a strict definition of grounding: a model is considered truly grounded when its responses (1) fully utilize necessary knowledge from the provided context, and (2) don't exceed the knowledge within the contexts. We introduce a new dataset and a grounding metric to assess this new definition and perform experiments across 13 LLMs of different sizes and training methods to provide insights into the factors that influence grounding performance. Our findings contribute to a better understanding of how to improve grounding capabilities and suggest an area of improvement toward more reliable and controllable LLM applications.
Introduction: The Grounding Gap
While Large Language Models (LLMs) are increasingly used in Retrieval-Augmented Generation (RAG) systems, they often "cheat" by relying on their internal memory or ignoring key details. Current definitions of grounding are often too loose, typically only checking if the final answer is correct. This ignores two major failure modes: Omission (missing crucial supporting details) and Parametric Intrusion (bringing in outside knowledge not present in the context).
In high-stakes scenarios, such as HR resume screening, a model that "invents" a skill based on a candidate's university name is failing to ground, even if the overall summary seems plausible. True grounding requires models to use all necessary provided info and only that info.
Methodology: Measuring "Strict Grounding"
To measure this, the researchers move away from simple NLI scores and instead use Atomic Facts. Sentences are decomposed into the smallest units of information. A cross-encoder model is then used to calculate an F1 score based on these facts, measuring both Precision (is everything the model said in the text?) and Recall (did the model include all the "gold" facts from the text?).
To further test the limits of grounding, the study employs Conflict Testing. By manually editing contexts to contradict real-world knowledge (e.g., changing a well-known Chinese firearm to be "French"), the model is forced to choose between its internal parametric memory and the provided text.
Experimental Setup: The Dataset
The researchers curated a new dataset of 480 instances based on Wikipedia, featuring four distinct flavors:
- Original-Gold: Only the relevant "gold" context is provided.
- Original-Dist: Relevant context plus "distractor" documents.
- Conflict-Gold: Relevant context modified to be factually "wrong" compared to the real world.
- Conflict-Dist: Modified context plus distractors.
Key Results and Insights
The study evaluated 13 LLMs of varying sizes and training methods. Several counter-intuitive findings emerged regarding the factors that influence grounding performance.
- Tuning Beats Size: A well-tuned 7B parameter model can significantly outperform a 70B model in grounding. The way a model is trained to handle context is more important than the raw number of weights.
- The Instruction Tuning Paradox: Models tuned with RLHF or instruction following are actually more prone to being led astray by distractors. Because they are trained to be helpful, they often try to incorporate irrelevant "distractor" info into their responses, which hurts precision.
- Familiarity Breeds Contempt: Models are better at grounding when the topic is obscure. When a topic is highly popular, the model’s internal "parametric memory" is stronger, making it more likely to ignore the provided text in favor of what it already "knows."
- The Distractor Tax: Adding distractor contexts caused a massive performance drop—an average of 10.7 points for original datasets.
Conclusion
Accuracy is a poor proxy for grounding. A model can have high answer accuracy while having low grounding scores if it "hallucinates" the correct answer from its own parameters rather than reading the provided text. Future work should focus on private or truly novel data to further isolate grounding capabilities from parametric memory. Improving grounding is a critical step toward more reliable and controllable LLM applications.
Summary updated