COMPASS: Context-Modulated PID Attention Steering System for Hallucination Mitigation
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) often generate fluent but factually incorrect statements despite having access to relevant evidence, a failure mode rooted in how they allocate attention between contextual and parametric knowledge. Understanding and steering this internal behavior is key both for trustworthy deployment and for scientific interpretability of model mechanisms. We introduce COMPASS (Context-Modulated PID Attention Steering System), a lightweight, interpretable control framework that embeds a model-based feedback loop directly within decoding. COMPASS quantifies context reliance via a transparent metric, the Context Reliance Score (CRS), which serves as an online probe of how attention heads ground generation in evidence. Using this interpretable signal, a PID controller dynamically modulates attention heads to maintain factual consistency without retraining or multi-pass decoding. Across benchmarks (HotpotQA, XSum, HaluEval, RAGTruth), COMPASS consistently reduces contextual hallucination rates (2.8 to 5.8 percent absolute) while revealing how distinct attention heads contribute to evidence alignment. These results highlight feedback-driven interpretability as a pathway toward scientific understanding of LLM behavior.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 12 of its 18 references that are in the map. First posted on arXiv 5 Nov 2025.
Builds on
12 of 18 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
- 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
- 2024Enhancing Contextual Understanding in Large Language Models through Contrastive Decodingcited by 49
- 2025A Survey on Large Language Models with some Insights on their Capabilities and Limitationscited by 42
- 2025Taming Knowledge Conflicts in Language Modelscited by 30
- 2025Dynamic Attention-Guided Context Decoding for Mitigating Context Faithfulness Hallucinations in Large Language Modelscited by 9
- 2019A Control-Theoretic Perspective on Optimal High-Order Optimizationcited by 5
Built on by
Citing papers per year: 2026: 2.
2 papers.