Metraipolis › archive › dc_d6f3d0ce1819

FlashAttention with Statistics: Low-Overhead Attention Features for Compact Hallucination Detectors — arXiv:2610.21483

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.21483
License (as archived)
CC0-1.0
Archived
2026-10-16T09:03:28.017Z
SHA-256 of the archived text
da7c72529cff50abe57cbdf32c2311be7de06adf86ce6a90280e4fbb8b46a211
Stable URL of this page
https://metraipolis.com/documento/dc_d6f3d0ce1819

How to cite

FlashAttention with Statistics: Low-Overhead Attention Features for Compact Hallucination Detectors — arXiv:2610.21483 — arXiv (en), https://arxiv.org/abs/2610.21483 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d6f3d0ce1819 (Metraipolis archive dc_d6f3d0ce1819, sha256 da7c72529cff50abe57cbdf32c2311be7de06adf86ce6a90280e4fbb8b46a211)
BibTeX
@misc{dcd6f3d0ce1819,
  title = {FlashAttention with Statistics: Low-Overhead Attention Features for Compact Hallucination Detectors — arXiv:2610.21483},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.21483},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d6f3d0ce1819; sha256 da7c72529cff50abe57cbdf32c2311be7de06adf86ce6a90280e4fbb8b46a211},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.21483. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models can produce fluent answers that the supplied context does not support. A compact frozen proxy model can detect such answers by reading the context and another model's response, even from a proprietary generator. Attention-based detectors use summary statistics of the proxy's attention weights, but standard pipelines materialize the attention matrix, whose memory grows quadratically with sequence length. We compute these statistics without materializing attention, by accumulation in the FlashAttention pass, sparse lookups after it, or a second tiled pass over the scores, and classify them by this path into nearly free and costlier ones. On an H100, the statistics of five published detectors add 16% to the latency of a Qwen3-8B forward at 2K tokens, falling to 1.4% at 35K, and store 22.5 KiB per response token. On three benchmarks, probes trained on frozen Qwen3 proxies of 0.6B to 8B parameters prove strong detectors: a 4B proxy outperforms the strongest of nine zero-shot 4-9B LLM judges in F1 on two of the three, the proxies match or outperform specialized grounding checkers of up to 7B parameters, probing each proxy beats prompting it as a judge, and adding attention features significantly improves F1 in half of the 12 benchmark-proxy pairs, never significantly lowering it.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.21483 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T08:44:17.750Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).