Abstract
Large language models (LLMs) integrated with retrieval-augmented generation (RAG) have improved factuality by grounding outputs in external evidence. However, they remain susceptible to unfaithful generation, where outputs contradict retrieved context despite its relevance and accuracy. Existing approaches primarily focus on enhancing the utilization of external context, often overlooking the persistent influence of internal parametric knowledge. We investigate the internal mechanisms behind unfaithful generation and identify a subset of mid-to-deep feed-forward networks (FFNs) that are disproportionately activated in such cases. We propose Parametric Knowledge Muting through FFN Suppression (ParamMute), a framework that improves contextual faithfulness by suppressing these FFNs and calibrating the model toward retrieved knowledge. Experimental results show that ParamMute significantly enhances faithfulness across both our new CoFaithfulQA benchmark and the established ConFiQA benchmark.
Introduction: The Challenge of Unfaithful Generation
While Retrieval-Augmented Generation (RAG) is designed to mitigate hallucinations by providing LLMs with external evidence, a persistent issue remains: unfaithful generation. This occurs when a model ignores the provided context in favor of its own internal, pre-trained "parametric knowledge." Even when the retrieved information is accurate and relevant, the model's internal memory can overpower the external grounding, leading to factual contradictions.
Existing solutions often attempt to address this through prompt engineering or decoding adjustments. However, ParamMute takes a different approach by investigating the internal neural mechanisms that cause this "stubbornness."
Methodology: Identifying and Muting Knowledge-Critical FFNs
The core of the ParamMute framework lies in identifying the specific components within the Transformer architecture responsible for injecting internal knowledge.
Identifying Unfaithfulness-Associated FFNs (UA-FFNs)
Through detailed analysis, the authors discovered that unfaithful responses are strongly correlated with the activation of specific Feed-Forward Networks (FFNs) in the middle-to-deep layers of the model. These "Unfaithfulness-Associated FFNs" (UA-FFNs) act as internal knowledge injectors that can override external context.
The ParamMute Framework
ParamMute operates in two primary stages:
- FFN Suppression: A scaling factor is applied to the activations of identified UA-FFNs during the generation process. By "muting" these pathways, the model's reliance on its internal memory is physically reduced.
- Preference Calibration: To further align the model with external evidence, a lightweight adaptation module (using LoRA) is employed. This module uses preference optimization to train the model to prioritize answers derived from the retrieved context over its internal parametric guesses.
Experimental Setup and Datasets
To evaluate faithfulness in high-conflict scenarios, the authors introduced CoFaithfulQA. This benchmark is curated from six standard QA datasets (including HotpotQA and SQuAD) and specifically filters for instances where the model's internal confident answer conflicts with the correct external evidence. Additionally, the ConFiQA benchmark was used to test the framework's generalization to counterfactual scenarios.
Key Results and Insights
ParamMute demonstrates significant improvements in faithfulness across various model families, including LLaMA3 and Qwen2.5, and across different parameter scales.
- Enhanced Contextual Grounding: On CoFaithfulQA, ParamMute improved Context Recall by an average of 5% while reducing Memory Recall by 4% compared to standard RAG setups.
- The Scaling Paradox: Interestingly, larger models (e.g., 14B vs 1B) were found to be more prone to ignoring context in favor of internal memory. This suggests that as LLMs grow in capacity, internal knowledge suppression becomes increasingly vital for reliable RAG systems.
- Causal Intervention: By directly suppressing UA-FFNs, the researchers proved a causal link between these specific neural structures and the failure of models to remain faithful to provided evidence.
Conclusion and Future Directions
ParamMute offers a novel, internal-first approach to improving RAG faithfulness. By identifying and muting the specific FFNs that drive parametric dominance, the framework allows LLMs to better utilize external knowledge. Future work may explore finer-grained interventions at the individual neuron level and evaluate these mechanisms in even larger frontier models (70B+ parameters).
Summary updated