菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-04-07
📄 Abstract - LatentAudit: Real-Time White-Box Faithfulness Monitoring for Retrieval-Augmented Generation with Verifiable Deployment

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 model families (Llama-2/3, Qwen-2.5/3, Mistral), the monitor remains stable; under a four-way stress test with contradictions, retrieval misses, and partial-support noise, it reaches 0.9566--0.9815 AUROC on PubMedQA and 0.9142--0.9315 on HotpotQA. At 16-bit fixed-point precision, the audit rule preserves 99.8% of the FP16 AUROC, enabling Groth16-based public verification without revealing model weights or activations. Together, these results position residual-stream geometry as a practical basis for real-time RAG faithfulness monitoring and optional verifiable deployment.

顶级标签: llm model evaluation systems
详细标签: retrieval-augmented generation faithfulness monitoring white-box auditing real-time verification residual stream analysis 或 搜索:

LatentAudit:一种用于检索增强生成的可验证部署实时白盒忠实度监控方法 / LatentAudit: Real-Time White-Box Faithfulness Monitoring for Retrieval-Augmented Generation with Verifiable Deployment


1️⃣ 一句话总结

这篇论文提出了一种名为LatentAudit的新方法,它通过直接分析大型语言模型内部激活状态的几何特征,在生成答案的同时实时判断其是否忠实于检索到的外部证据,无需额外模型,速度快且支持公开验证,有效提升了检索增强生成系统的可靠性。

源自 arXiv: 2604.05358