COMPASS: Context-Modulated PID Attention Steering System for Hallucination Mitigation
Kenji Sahay, Snigdha Pandya, Rohan Nagale, Anna Lin, Shikhar Shiromani, Kevin Zhu, Dev Sunishchal

TL;DR
COMPASS is a control framework that dynamically steers attention in large language models to reduce hallucinations and improve factual accuracy during decoding.
Contribution
It introduces a novel, interpretable feedback control system with a Context Reliance Score to modulate attention without retraining.
Findings
Reduces hallucination rates by 2.8 to 5.8 percent across benchmarks.
Provides insights into attention head contributions to evidence grounding.
Demonstrates effectiveness without additional training or multi-pass decoding.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsExplainable Artificial Intelligence (XAI) · Adversarial Robustness in Machine Learning · Big Data and Digital Economy
