LatentAudit: Real-Time White-Box Faithfulness Monitoring for Retrieval-Augmented Generation with Verifiable Deployment
Zhe Yu, Wenpeng Xing, Meng Han

TL;DR
LatentAudit is a real-time, white-box monitoring method for RAG systems that assesses faithfulness using residual-stream geometry, requiring no extra judge model and enabling public verification.
Contribution
Introduces LatentAudit, a simple quadratic rule that measures residual-stream activations to verify answer support in RAG systems without auxiliary models.
Findings
Achieves 0.942 AUROC on PubMedQA with minimal overhead.
Remains stable across multiple models and benchmarks.
Enables verifiable deployment with 99.8% AUROC preservation at 16-bit precision.
Abstract
Retrieval-augmented generation (RAG) mitigates hallucination but does not eliminate it: a deployed system must still decide, at inference time, whether its answer is actually supported by the retrieved evidence. We introduce LatentAudit, a white-box auditor that pools mid-to-late residual-stream activations from an open-weight generator and measures their Mahalanobis distance to the evidence representation. The resulting quadratic rule requires no auxiliary judge model, runs at generation time, and is simple enough to calibrate on a small held-out set. We show that residual-stream geometry carries a usable faithfulness signal, that this signal survives architecture changes and realistic retrieval failures, and that the same rule remains amenable to public verification. On PubMedQA with Llama-3-8B, LatentAudit reaches 0.942 AUROC with 0.77,ms overhead. Across three QA benchmarks and five…
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
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
