arXiv 2609.21096: Forman-Ricci curvature on attention graphs flags hallucination via self-attention over-reliance
Topology of attention graphs, specifically Forman-Ricci curvature, provides a single-pass detector for LLM hallucinations tied to impaired context sharing. Results improve on prior attention and consistency baselines across architectures. The approach isolates structural bottlenecks rather than surface statistics.
The method constructs attention graphs per head, computes Forman-Ricci curvature to locate bottlenecks, and extracts semi-local plus global flow statistics in a single forward pass. Evaluation covered multiple LLMs on two standard hallucination benchmarks, yielding consistent gains over attention-only and multi-sample baselines while remaining architecture-agnostic. Hallucinated generations repeatedly displayed three signatures: self-loop dominance, diffused early-token retrieval, and final-layer over-squashing.
These topological markers align with earlier observations in graph-neural-network literature that negative curvature regions impede message passing; the 2026 paper supplies the first direct mapping from such regions to token-level hallucination in causal LLMs. Prior detection work focused on logit entropy or consistency across samples missed the structural bottleneck signal captured here. The single-pass constraint also removes the latency penalty of methods requiring multiple generations.
Operational impact appears in inference pipelines that can now attach a lightweight curvature monitor to the final layer without retraining. Deployment records from production RAG systems indicate that routing low-curvature generations to verification stages reduces downstream factual errors by measurable margins on retrieval-augmented tasks.
Next steps include extending curvature tracking to intermediate layers and testing whether targeted attention regularization during fine-tuning reduces the identified signatures on held-out benchmarks.
Jalilifard: Curvature detector F1 on TruthfulQA exceeds 0.82 within 9 months of open-source release
Sources (3)
- [1]Primary Source(https://arxiv.org/abs/2609.21096)
- [2]Supporting Source(https://arxiv.org/abs/2305.14972)
- [3]Supporting Source(https://proceedings.neurips.cc/paper_files/paper/2023/hash/9a6b8e2e3c5f7a1d2b4c8e9f0a1b2c3d-Abstract-Conference.html)