Hypergraph Modeling of Transformer Attention for Hallucination Detection
Mark Junjie Li, Zhishun Liu, Wei Wang, Yuanshan Lu, yangjingxi, Xianyu Bao, Jun Li, Sunjie Huang
NeurIPS 2026
Abstract. Large Language Models (LLMs) often generate factually unsupported content known as hallucination. However, existing detection approaches rely on handcrafted heuristics or isolated attention signals, limiting their ability to capture higher-order dependencies. In this work, we propose , a framework that represents a Transformer's attention patterns as a hypergraph for hallucination detection. Tokens are treated as nodes, while hyperedges connect groups of tokens that co-occur across heads and layers, with features derived from attention weights to preserve higher-order interactions beyond pairwise graphs. Based on this representation, the method formulates hallucination detection as a hypergraph learning problem and employs a hypergraph neural network (HGNN) to extract structural cues. It consistently outperforms state-of-the-art methods on the RAGTruth benchmark, achieving an average gain of +5.08% AUROC over the strongest baseline across diverse settings and architectures, while also demonstrating strong zero-shot transfer. Importantly, it incurs minimal overhead at inference time, enabling efficient deployment. Our results demonstrate that hypergraph-based attention modeling provides a more expressive and reliable signal for hallucination detection.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This manuscript proposes HyperAtt to detect hallucination in LLMs by modeling the attention map as a hypergraph. The reviewers agree that AttnHyper addresses an important problem and presents an intuitive hypergraph formulation for capturing higher-order attention interactions in token-level hallucination detection. The empirical results are consistently strong, and the paper is generally viewed as clear and reproducible. The reviewers also identify several limitations: the evaluation is restricted to RAGTruth and two relatively dated 7B models, the comparison set could better cover recent hallucination-detection methods, and the analysis would benefit from more metrics and more detailed error analysis. Concerns were also raised about the reliance on costly token-level supervision and the method’s applicability beyond retrieval-augmented settings. Overall, the paper appears technically solid and promising, but the scope of validation limits the strength of its claims about generalization. I lean toward accept, provided the authors clearly acknowledge these limitations and address the metric, baseline, and evaluation-scope questions in the rebuttal.
Final justification
During the rebuttal, the authors have adequately addressed the concerns from the reviewers. Thus, I recommend acceptance.
Read meta-review
Meta-review
This manuscript proposes HyperAtt to detect hallucination in LLMs by modeling the attention map as a hypergraph. The reviewers agree that AttnHyper addresses an important problem and presents an intuitive hypergraph formulation for capturing higher-order attention interactions in token-level hallucination detection. The empirical results are consistently strong, and the paper is generally viewed as clear and reproducible. The reviewers also identify several limitations: the evaluation is restricted to RAGTruth and two relatively dated 7B models, the comparison set could better cover recent hallucination-detection methods, and the analysis would benefit from more metrics and more detailed error analysis. Concerns were also raised about the reliance on costly token-level supervision and the method’s applicability beyond retrieval-augmented settings. Overall, the paper appears technically solid and promising, but the scope of validation limits the strength of its claims about generalization. I lean toward accept, provided the authors clearly acknowledge these limitations and address the metric, baseline, and evaluation-scope questions in the rebuttal.
Final justification
During the rebuttal, the authors have adequately addressed the concerns from the reviewers. Thus, I recommend acceptance.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces a novel approach to detect hallucination via hypergraph modeling over transformer attention. The authors propose a strategy to construct a hypergraph and features from the attention map and learn a token-level hallucination detector on it. Experiments on RAGTruth show that the proposed approach outperforms other baselines and has stable cross-dataset performance.
Strengths and weaknesses
Strengths
- The paper proposes a novel approach to detect hallucination through hypergraph modeling, which has not yet been explored before.
- The authors conduct extensive experiments to show that their proposed approach outperforms all baselines and has a stable cross-dataset performance.
- The paper provides extensive implementation and experimental details, which is valuable for deployment and reproducing the result.
- The paper is clearly written and easy to follow.
Weaknesses
- The proposed approach requires token-level supervision. However, token-level hallucination annotation is costly to obtain and usually noisy. Although the paper shows promising cross-dataset transferability, this requirement may still be a limitation in real-world deployment when token-level annotation is inaccessible. The paper would have a greater contribution if the proposed approach could be generalized to response-level supervised learning.
- The prompt of RAGTruth consists of external context (e.g., retrieved documents). In this case, using the attention map as a feature to detect hallucination makes sense, as it correlates to how LLMs utilize contextual information to generate the response. However, it is unclear to me whether the attention-based approach would maintain the same level of effectiveness when the prompt is simply a short query. The authors can conduct further experiments on other hallucination detection datasets, such as TruthfulQA [1] and NQ [2], to verify it.
[1]: TruthfulQA: Measuring How Models Mimic Human Falsehoods
[2]: Natural Questions: A Benchmark for Question Answering Research (TACL'19)
Questions
- The notation is quite confusing. In Line 177, it makes me think that is a matrix at first glance. Maybe changing to . (I saw that you used in Table 6. Please use the same one in the main paper.)
- To my understanding, TSV [1] is a response-level hallucination detection approach. How do you obtain token-level prediction from it?
- In Appendix F.3, how do you aggregate the token-level score of AttnHyper to the response level?
- In Table 2, you forgot to bold the best results.
- In Eq 11, why use both mean and max pooling? Have you tried using only one of them?
[1]: Steer LLM Latents for Hallucination Detection (ICML'25)
Limitations
yes
Final justification
The authors have addressed all my concerns and I'll keep my positive score.
Formatting concerns
NA
3 comments
Thanks the authors for addressing all my concerns. I've already given a fair score and I'll keep it.
Acknowledgement
We sincerely appreciate your positive feedback. We are pleased that our response has addressed your concerns, and we are grateful for your recognition and support of our work.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, the authors point out that the self-attention mechanism of Transformers is inherently multi-dimensional and high-order. Since Softmax performs joint normalization across all key nodes, there is a strong interplay of cooperation and competition among the keys. Using a simple graph (where each edge connects only two nodes) to abstract attention would fundamentally sever and lose these high-order contextual dependencies formed by multiple tokens. Therefore, the authors propose the concept of AttnHyper, which uses the attention mechanism to model a hypergraph. By leveraging the bidirectional information flow characteristic of hypergraphs, they achieve the modeling of higher-order relational dependencies among tokens across different levels.
Strengths and weaknesses
Strengths
The ideas presented in this paper are highly innovative. For the first time, it maps the Transformer’s self-attention graph to a “hypergraph” for hallucination detection, which is both theoretically and model-wise elegant. (1) It successfully applies hypergraphs: a form of higher-order modeling—to the highly challenging task of token-level hallucination detection, providing a high-precision, fine-grained tool for processing the streaming output of large models and enabling real-time interception. (2) It replaces the design of attention metrics—which previously relied heavily on human expertise: with a learnable end-to-end HGNN, thereby automating feature extraction and enabling generalization.
Weakness
The foundation models are slightly behind the times; the experiments were primarily based on Llama-2-7B and Mistral-7B.
Questions
-
Can the authors provide some representative experimental results using Llama3, Qwen2.5, or Qwen3 as base models to demonstrate the universality of hypergraph modeling on these new base models?
-
This paper omits some important baselines. Currently, there are numerous RAG-based or contrastive decoding methods for addressing hallucinations in large models. It is necessary to select some representative methods for comparison to assess the strengths and weaknesses of the hypergraph-based higher-order modeling approach relative to mainstream methods.
Limitations
yes
Final justification
As I pointed out in the discussion phase, the author has already addressed my questions.
Formatting concerns
N/A
3 comments
Rebuttal
Dear Reviewer eRKj,
Thanks for your valuable feedback. We sincerely thank all reviewers for acknowledging that this paper is novel.Below we address your questions:
Q1 & W1: Can the authors provide some representative experimental results using Llama3, Qwen2.5, or Qwen3 as base models to demonstrate the universality of hypergraph modeling on these new base models?
We further evaluate on recent models, Llama-3.1-8B-Instruct and Qwen3-8B. Results show consistent superiority and stable performance across modern LLM architectures, demonstrating the robustness and scalability of AttnHyper beyond specific model families. Results are summarized below(You can also refer to Table 12 in Appendix F.2 of the main paper).
AUROC results on Recent Models:
| Models | Methods | QA | Summary | Data2txt |
|---|---|---|---|---|
| Llama-3.1-8B-Instruct | TSV | 59.05 | 60.62 | 68.82 |
| ICR Probe | 65.70 | 64.49 | 66.43 | |
| Lookback Lens | 87.23 | 76.39 | 87.18 | |
| AttnHyper | 91.31 | 78.33 | 90.57 | |
| Qwen3-8B | TSV | 60.25 | 52.28 | 53.30 |
| ICR Probe | 65.09 | 53.42 | 67.18 | |
| Lookback Lens | 86.36 | 74.55 | 87.57 | |
| AttnHyper | 91.61 | 76.23 | 90.44 |
Furthermore, we extend our evaluation to a larger model, Qwen3-14B, and evaluate AttnHyper against the same set of baselines. AttnHyper continues to achieve the strongest performance on this larger-scale model, demonstrating its scalability and robustness across models with different parameter sizes.
AUROC results on a larger model:
| Models | Methods | QA | Summary | Data2txt |
|---|---|---|---|---|
| Qwen3-14B | TSV | 61.10 | 53.85 | 55.63 |
| ICR Probe | 66.43 | 55.18 | 68.72 | |
| Lookback Lens | 87.42 | 74.69 | 87.77 | |
| AttnHyper | 90.95 | 77.63 | 91.71 |
Q2: This paper omits some important baselines. Currently, there are numerous RAG-based or contrastive decoding methods for addressing hallucinations in large models. It is necessary to select some representative methods for comparison to assess the strengths and weaknesses of the hypergraph-based higher-order modeling approach relative to mainstream methods.
The additional results below demonstrate that AttnHyper remains competitive and achieves the best performance among the evaluated methods. We report ReDeEP [1] and LUMINA [2] as additional comparisons, covering recent RAG-based hallucination detection methods and context–knowledge contrastive approaches, respectively.
AUROC results on Recent Methods:
| Models | Methods | QA | Summary | Data2txt |
|---|---|---|---|---|
| Llama-3.1-8B-Instruct | ReDeEP-Token | 63.77 | 56.70 | 57.09 |
| LUMINA-Token | 63.03 | 53.70 | 51.11 | |
| AttnHyper | 91.31 | 78.33 | 90.57 | |
| Qwen3-8B | ReDeEP-Token | 59.45 | 52.69 | 56.13 |
| LUMINA-Token | 61.18 | 53.72 | 57.90 | |
| AttnHyper | 91.61 | 76.23 | 90.44 |
ReDeEP and LUMINA provide effective token-level hallucination signals by analyzing the interaction between retrieved context and parametric knowledge, with advantages in interpretability and training efficiency. However, these approaches derive token-wise summary statistics from contextual and knowledge signals, without explicitly modeling the structural dependencies among tokens. AttnHyper instead preserves head-specific co-attention groups and models the relations through hypergraph structures. This additional structural modeling requires training but enables more expressive representations, leading to consistent improvements across all evaluated settings.
[1] Zhongxiang Sun et al. ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretability. ICLR, 2025.
[2] Samuel Yeh et al. LUMINA: Detecting Hallucinations in RAG System with Context–Knowledge Signals. ICLR, 2026.
I'm pleased to see the authors have incorporated an updated model and baselines, which effectively solved my problem, and I will maintain my positive score.
Acknowledgement
We sincerely thank the reviewer for the positive feedback and continued support. We are glad that the updated model and additional baselines have addressed the concerns raised in the previous review. The reviewer’s valuable comments have helped us improve the completeness and effectiveness of our work. We greatly appreciate the recognition of our efforts and will continue to further enhance the quality of our research.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes AttnHyper, a supervised framework for token-level hallucination detection by modeling Transformer attention patterns as hypergraphs. Tokens are treated as nodes, and attention-induced multi-token groups are represented as hyperedges. A hypergraph neural network is then used to aggregate higher-order attention signals for hallucination prediction. The method reports strong AUROC results on RAGTruth across QA, summarization, and data-to-text tasks, with additional ablations showing the usefulness of hypergraph message passing. However, the novelty is somewhat limited, and the evaluation scope could be broader.
Strengths and weaknesses
Strengths
- The paper studies an important and practical problem: fine-grained token-level hallucination detection.
- The hypergraph formulation is intuitive and better captures higher-order attention interactions than pairwise attention graphs.
- The experiments show consistent improvements over several representative baselines, with useful ablation studies.
Weaknesses
- The methodological novelty is moderate, as the approach mainly combines attention extraction with a standard HGNN-style architecture.
- The evaluation is mostly limited to RAGTruth and two 7B-scale open-source models, which weakens generalization claims.
- The experimental analysis relies mainly on AUROC and lacks AUPRC, span-level metrics, calibration, and detailed error analysis.
Questions
- How does AttnHyper perform on newer and larger model families beyond LLaMA-2-7B-chat and Mistral-7B-Instruct?
- Can the authors provide span-level F1, AUPRC, and threshold-based results to better reflect performance under token-level label imbalance?
Limitations
It should discuss limited evaluation across model families, dependence on open-source models, scalability to longer contexts, sensitivity to threshold choices, and practical deployment constraints.
Final justification
The authors’ response adequately addresses my main concerns by providing additional experiments on newer and larger model families, a pairwise-graph ablation, and span-level F1/AUPRC results under severe label imbalance. While the methodological novelty remains somewhat incremental, the new evidence suggests that the proposed hypergraph modeling contributes consistent empirical gains; therefore, I am inclined to raise my score accordingly.
Formatting concerns
I did not notice any major formatting or anonymity violations.
3 comments
Rebuttal
Dear Reviewer CVjB,
Thanks for your valuable feedback. We appreciate the reviewers' comments and provide additional experiments and clarifications below.
W1: The methodological novelty is moderate, as the approach mainly combines attention extraction with a standard HGNN-style architecture.
We agree that directly applying a standard HGNN to arbitrary features would provide limited methodological novelty. Accordingly, AttnHyper is designed to capture and exploit the structural properties of LLM internal states to further introduce learnable refinement of the induced hypergraph topology. The main contribution lies in constructing a hypergraph representation that captures hallucination-related structural patterns in LLM internal states. Rather than treating attention as independent token-level features, AttnHyper organizes attention interactions into hyperedges, where each hyperedge models higher-order dependencies among multiple tokens and preserves the collective information encoded by Transformer attention. Furthermore, AttnHyper introduces learnable hyperedge refinement and hypergraph-specific message passing to adaptively improve the initial attention-derived topology, enabling the model to capture informative interaction patterns beyond fixed graph structures. Therefore, AttnHyper is not merely an application of existing HGNN architectures, but a framework that explores higher-order structural modeling for LLM hallucination detection.
Our ablation studies further support this design choice: replacing the hypergraph representation with a conventional pairwise graph consistently reduces performance across all models and tasks. The corresponding results are summarized in the ablation table below(You can also refer to Table 18 in Appendix G.3 of the main paper). Specifically, AttnHyper improves over the pairwise graph variant by 7.81, 5.42, and 4.43 AUROC points on QA, Summary, and Data2txt on average, respectively, highlighting the benefit of capturing higher-order token interactions.
AUROC results with pairwise-edge ablation:
| Models | Methods | QA | Summary | Data2txt |
|---|---|---|---|---|
| Llama-3.1-8B-Instruct | Pairwise Graph (=0.5) | 85.61 | 74.68 | 86.7 |
| AttnHyper | 91.31 | 78.33 | 90.57 | |
| Qwen3-8B | Pairwise Graph (=0.5) | 81.69 | 69.04 | 85.45 |
| AttnHyper | 91.61 | 76.23 | 90.44 |
Q1 & W2: How does AttnHyper perform on newer and larger model families beyond LLaMA-2-7B-chat and Mistral-7B-Instruct?
We further evaluate on recent models, Llama-3.1-8B-Instruct and Qwen3-8B. Results show consistent superiority and stable performance across modern LLM architectures, demonstrating the robustness and scalability of AttnHyper beyond specific model families. Results are summarized below (You can also refer to Table 12 in Appendix F.2 of the main paper).
AUROC results on recent models:
| Models | Methods | QA | Summary | Data2txt |
|---|---|---|---|---|
| Llama-3.1-8B-Instruct | TSV | 59.05 | 60.62 | 68.82 |
| ICR Probe | 65.70 | 64.49 | 66.43 | |
| Lookback Lens | 87.23 | 76.39 | 87.18 | |
| AttnHyper | 91.31 | 78.33 | 90.57 | |
| Qwen3-8B | TSV | 60.25 | 52.28 | 53.30 |
| ICR Probe | 65.09 | 53.42 | 67.18 | |
| Lookback Lens | 86.36 | 74.55 | 87.57 | |
| AttnHyper | 91.61 | 76.23 | 90.44 |
Furthermore, we extend our evaluation to a larger model, Qwen3-14B, and evaluate AttnHyper against the same set of baselines. AttnHyper continues to achieve the strongest performance on this larger-scale model, demonstrating its scalability and robustness across models with different parameter sizes.
AUROC results on a larger model:
| Models | Methods | QA | Summary | Data2txt |
|---|---|---|---|---|
| Qwen3-14B | TSV | 61.10 | 53.85 | 55.63 |
| ICR Probe | 66.43 | 55.18 | 68.72 | |
| Lookback Lens | 87.42 | 74.69 | 87.77 | |
| AttnHyper | 90.95 | 77.63 | 91.71 |
Q2 & W3: Can the authors provide span-level F1, AUPRC, and threshold-based results to better reflect performance under token-level label imbalance?
As pointed out, token-level hallucination detection suffers severe label imbalance, and AUROC alone cannot reliably reflect practical detection capability. Following your suggestion, we supplement threshold-dependent span-level F1, as well as both span-level and token-level AUPRC for comprehensive evaluation.
AUPRC serves as a threshold-agnostic metric suitable for imbalanced classification, while threshold-based span-level precision, recall and F1 simulate real-world deployment scenarios where practitioners can select a proper operating threshold.
The corresponding results are summarized in the table below, which presents span-level detection performance under different decision thresholds. Generally, higher thresholds yield higher precision at the cost of slightly reduced recall. Within the evaluated thresholds {0.3, 0.5, 0.7}, our method obtains the highest span-level F1 on all three tasks at threshold 0.7, reaching 59.03%, 45.61% and 57.60% for QA, Summary and Data2txt respectively.
Span-level threshold-based performance:
| Task | Threshold | Precision | Recall | F1 |
|---|---|---|---|---|
| QA | 0.3 | 0.1840 | 0.8519 | 0.3026 |
| 0.5 | 0.3036 | 0.8195 | 0.4431 | |
| 0.7 | 0.4659 | 0.8056 | 0.5903 | |
| Summary | 0.3 | 0.2007 | 0.7297 | 0.3149 |
| 0.5 | 0.2769 | 0.7200 | 0.4000 | |
| 0.7 | 0.3444 | 0.6753 | 0.4561 | |
| Data2txt | 0.3 | 0.2704 | 0.7822 | 0.4018 |
| 0.5 | 0.3872 | 0.7948 | 0.5207 | |
| 0.7 | 0.4663 | 0.7531 | 0.5760 |
The corresponding results are summarized in the table below, which reports AUPRC metrics together with the optimal span-level F1 selected from the results presented in the table above. The token-level hallucination ratio ranges from 4.45% to 7.27%, confirming the extreme label imbalance. Our method achieves span-level AUPRC of 0.7140 (QA), 0.6392 (Summary) and 0.7414 (Data2txt). We notice a noticeable gap between token-level and span-level AUPRC, especially on the Summary task. This phenomenon arises because isolated hallucinated tokens are difficult to identify at token granularity, whereas span-level evaluation targets continuous hallucination segments and aligns better with practical application demands. Combined results demonstrate that our method achieves robust hallucination identification under severe token-level class imbalance.
AUPRC and best span-level performance under imbalanced hallucination detection:
| Task | Hallucination Ratio | Span-level AUPRC | Token-level AUPRC | Best Threshold | Best Span-level F1 |
|---|---|---|---|---|---|
| QA | 7.27% | 0.7140 | 0.6055 | 0.7 | 0.5903 |
| Summary | 4.45% | 0.6392 | 0.3054 | 0.7 | 0.4561 |
| Data2txt | 6.16% | 0.7414 | 0.4917 | 0.7 | 0.5760 |
Thanks for your response. Most of my concerns have been addressed, so I will raise my score.
Acknowledgement
We sincerely appreciate the reviewer’s positive feedback and recognition of our revisions. We are glad that our responses have addressed the major concerns and clarified the key points. Thank you very much for reconsidering the evaluation and for increasing the score of our submission.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Dear Reviewer pZyE,
Thanks for your valuable feedback. We appreciate the reviewers' thoughtful comments and suggestions, which help us improve the clarity and completeness of the paper. Below we address your questions.
W1: Response-level detection
We agree that response-level hallucination detection is a common deployment setting. AttnHyper naturally supports response-level prediction without changing hypergraph construction or HGNN message passing. we compute token scores on response tokens and aggregate them into one response score, e.g. sresp=maxi∈R(y^i) .We use max pooling because response-level hallucination detection aims to identify whether a response contains any hallucinated span, where a single strong hallucination signal is sufficient to mark the response as hallucinated.
New response-level evaluation. Following your suggestion, we evaluate AttnHyper in a response-level setting on TriviaQA [1],which differs from RAGTruth in both domain and task characteristics:
AUROC results on resposne-level and token-level:
We observe a moderate performance drop when moving from token-level to response-level, which is expected because response-level decision compresses fine-grained token signals into a single global label. Importantly, AttnHyper still achieves strong response-level performance, demonstrating that the learned hypergraph features capture global consistency/grounding cues beyond purely local token heuristics.
In the revised manuscript, we will additionally include response-level results on our primary benchmark (RAGTruth) using the same pooling readout, to further strengthen the practicality and generalization evidence.
W2: Generalization beyond RAGTruth
We agree that evaluation solely within RAGTruth may raise concerns about benchmark-specific artifacts. To strengthen the evidence for generalization, we conducted supplementary experiments on TriviaQA[1], a short-form question answering dataset that differs substantially from RAGTruth in data source, response length, and QA distribution.
We then report AUROC consistently across methods under the same setting.The results below show that AttnHyper continues to achieve the best performance on TriviaQA[1] under two recent backbones (Llama-3.1-8B-Instruct and Qwen3-8B), which provides additional evidence that the improvements are not limited to the RAGTruth benchmark. (You can also refer to Table 13 in Appendix F.3 of the main paper).
AUROC results on a short-form question answering dataset:
Q1: The notation L×H is quite confusing. In Line 177, it makes me think that xv∈RL×H is a matrix at first glance. Maybe changing L×H to L⋅H. (I saw that you used L⋅H in Table 6. Please use the same one in the main paper.)
We agree that the notation L×H could cause confusion by implying a matrix shape. We will revise it to L⋅H throughout the main paper, consistent with Table 6, to make the notation clearer and more consistent.
Q2: To my understanding, TSV [2] is a response-level hallucination detection approach. How do you obtain token-level prediction from it?
We agree that the original TSV [2] is designed for response-level hallucination detection, where the steering vector and vMF classifier are trained and evaluated using response-level labels. In our experiments, we extend TSV to token-level detection by applying its original steering and classification mechanism to each response-token hidden state.
Specifically, we retain TSV's shared Truthfulness Separator Vector, normalized representation, vMF prototype classifier, and prototype update mechanism. The same position-independent scoring function is applied to each response token t:
where pi,t(hallucinated) serves as the token-level detection score. When applied to the final response position, this formulation is equivalent to the original TSV response-level inference.
To enable token-level training, we replace TSV's response-level supervision with token-level labels, pairing each response-token hidden state with its corresponding hallucination label. The steering vector and vMF prototypes are then optimized over token-level training instances. This preserves TSV's original latent-space separation mechanism while enabling fine-grained hallucination detection at the token level.
Q3: In Appendix F.3, how do you aggregate the token-level score of AttnHyper to the response level?
We would like to clarify that the comparison reported in Appendix F.3 of our paper is conducted at the token-level. For completeness, AttnHyper naturally supports response-level prediction without changing hypergraph construction or HGNN message passing. We compute token scores on response tokens and aggregate them into one response score, e.g., sresp=maxi∈Ry^i.
Q4: In Table 2, you forgot to bold the best results.
We apologize for the oversight. We will revise Table 2 in the main paper by highlighting the best results in bold to improve clarity and readability. We appreciate your careful review and helpful suggestion.
Q5: In Eq 11, why use both mean and max pooling? Have you tried using only one of them?
We use both mean and max pooling in Eq. 11 because they capture complementary properties of hyperedge attention distributions. Mean pooling reflects the overall aggregation strength among hyperedge members, while max pooling preserves the most salient token interaction. Combining them enables hyperedge attributes to encode both overall attention distribution and salient token interactions.
We further conduct ablations by removing each component. As shown below, the full model consistently achieves the best performance, while removing either mean or max pooling causes clear degradation. For example, on QA, AUROC drops from 91.31% to 87.56% without mean pooling and to 86.08% without max pooling. Similar trends are observed on Summary and Data2txt, confirming that both pooling operations provide complementary information for hyperedge representation.
AUROC results of mean and max pooling ablation:
[1] Joshi et al. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. ACL, 2017.
[2] Seongheon Park et al. Steer LLM latents for hallucination detection. ICML, 2025.