- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper proposes a training-free hallucination detection method that leverages the geometry of token-level hidden representations across multiple sampled responses. The authors introduce two metrics: AvgWD, which measures the average pairwise transport cost between responses, and EigenWD, a spectral statistic computed from a kernelized distance matrix using a fractional norm. To extend the approach to black-box models, the paper further introduces a teacher-forcing variant that relies on an auxiliary teacher model. The method is evaluated on various LLMs and datasets in the white-box setting, and on two closed-source models with three teacher models across three datasets in the black-box setting, along with several ablation studies.
Strengths and weaknesses
Strengths
S1. Figure 2 clearly illustrates the core intuition, showing hallucinated responses as more dispersed while non-hallucinated responses form tighter clusters.
S2. Authors provide two interpretable signals, where AvgWD captures response disagreement magnitude, while EigenWD measures structural complexity.
S3. Experiments cover multiple model families, scales, and tasks, with additional validation using LLM-based relabeling.
Weaknesses
W1. Vague core hypothesis. The notions of “complexity” and “internal consistency” are not formally defined beyond the proposed metrics, making the central claim somewhat vague.
W2. Necessity of OT. The paper motivates OT as a distance between response representations, but it is unclear why OT is the most suitable choice for this problem.
W3. Limited ablations. Several design choices, including kernel bandwidth, diagonal shift, projection seed, and layer selection, are not thoroughly examined.
W4. Complementarity is underexplored. AvgWD and EigenWD exhibit different strengths across model families, suggesting they capture distinct aspects of hallucination. However, the paper does not investigate whether the two signals are complementary or whether a simple combination could yield more robust performance. Evaluating a combined variant would help clarify their relationship and practical value.
W5. Missing significance analysis. Many AUROC differences are small, and no confidence intervals or statistical tests are reported.
Questions
Q1. Why should hallucinated prompts produce more complex and less internally consistent response distributions? These concepts are central to the paper but are not defined independently of AvgWD and EigenWD. Can the authors provide a clearer theoretical or empirical justification for this hypothesis?
Q2. Why is Optimal Transport the appropriate distance metric? The paper relies on OT but does not explain why it is preferable to alternatives such as cosine distance, Euclidean distance, Frechet distance, MMD, or dynamic time warping. Is there a theoretical motivation or empirical comparison supporting this choice?
Q3. How sensitive is the method to its design choices? Current ablations mainly study projection dimension. Could the authors also evaluate the impact of kernel bandwidth, diagonal shift, projection seed, and layer selection? What is the most important design choice?
Q4.Do AvgWD and EigenWD provide complementary information? Since AvgWD and EigenWD perform differently across model families, have the authors analyzed their correlation or evaluated a simple combined variant (e.g., linear combination)? This would help clarify whether they capture distinct aspects of hallucination. Additionally, what factors explain the observed differences in their effectiveness across models?
Limitations
Yes
Paper formatting concerns
No
Final justification
The authors addressed my concerns, so I will maintain my original positive score.
We thank the reviewer for the constructive assessment and for identifying four focused questions that substantially improve the paper. We added controlled experiments on alternative distances, implementation choices, score selection, and statistical reliability. We also revise several claims: “distribution complexity” is replaced by representation-space dispersion and spectral diversity; AvgWD is adopted as one fixed white-box default; and EigenWD is retained as a structure-based summary rather than selected post hoc by model family.
Q1. Why should hallucinated outputs yield more complex and less internally consistent response distributions?
Our motivation builds on the multi-sample consistency principle established by SelfCheckGPT and semantic-entropy methods: reliable knowledge tends to yield mutually consistent sampled facts and meanings, whereas sampling-sensitive hallucinations or confabulations more often diverge semantically or contradict one another. INSIDE further suggests that this disagreement can be reflected in internal representation geometry.
We agree that this is not universal. A model may repeatedly produce the same incorrect answer, in which case any consistency-based method can assign low risk. More precisely, we study whether prompts whose fixed greedy evaluation output is incorrect tend to induce more dispersed auxiliary response sets under a fixed sampling policy.
For a sampled response Y, let μℓ(Y) denote the empirical distribution of generated-token hidden states at layer ℓ. We define representation-space dispersion as
C_disp(x) = E_{Y₁,Y₂ ∼ qτ(· | x)}[W₂(μℓ(Y₁), μℓ(Y₂))].
Under independent auxiliary draws,
AvgWD is its unbiased second-order U-statistic estimator. EigenWD measures the spectral diversity of the kernelized response-similarity graph: a concentrated spectrum indicates a coherent structure, whereas a broader spectrum indicates multiple or fragmented consistency modes. Prior work motivates multi-response semantic inconsistency; our contribution tests whether it is captured by token-level transport geometry. AvgWD and EigenWD achieve macro-average AUROCs of 0.726 and 0.724 over 20 settings. We will avoid treating either quantity as a universal intrinsic “complexity” and will explicitly retain consistently wrong generations as a limitation.
Q2. Why is optimal transport the appropriate discrepancy?
OT is not the only possible response discrepancy. Pooled Euclidean compresses all token states into one mean vector. Gaussian Fréchet retains only the first two moments of each token-state distribution. MMD compares full empirical distributions without a Gaussian assumption but depends on a kernel and bandwidth. OT compares variable-length empirical measures through mass-preserving soft alignment while retaining hidden-state ground geometry.
We kept responses, hidden states, layer, 128-dimensional projection, labels, and downstream summaries fixed and changed only the pairwise discrepancy. The alternatives cover single-vector compression, Gaussian moment matching, and nonparametric distribution matching. Each discrepancy used both the mean pairwise summary and the same median-bandwidth spectral summary.
Macro AUROC assigns equal weight to each of the 20 model-dataset settings.
The large gap over pooled Euclidean (+0.083/+0.072) shows that preserving token-level distributions is important. Gaussian Fréchet remains 0.024 lower for both summaries, suggesting that moment compression loses useful non-Gaussian or multimodal structure. MMD is only 0.006 lower, showing that distribution-level comparison itself is a major source of the gain. We therefore do not claim uniform OT superiority: OT has the strongest macro-average result and wins in a majority of settings, while MMD confirms the broader value of token-distribution geometry. We will report the fixed covariance regularization and label-free MMD bandwidth rule explicitly.
Q3. Sensitivity to bandwidth, diagonal shift, projection, and layer
We performed a one-factor-at-a-time analysis over all 20 settings, keeping responses, labels, decoding parameters, and preprocessing fixed. No hyperparameter was selected separately for a model or dataset.
For EigenWD, we set the bandwidth to c times the median of the positive off-diagonal entries of D.
The label-free median heuristic, c = 1, is best. Values c = 0.5 or 2 reduce AUROC by 0.005, while c = 0.25 reduces it by 0.014; we will report moderate bandwidth sensitivity. Diagonal shifts from 0 to 10⁻⁴ change AUROC by at most 0.002; only 10⁻² noticeably degrades it. We will report the default α = 10⁻⁶.
The submitted dimension ablation studied compression strength; the seed analysis tests dependence on a particular random matrix. At 128 dimensions, ten matrices give ranges 0.723–0.728 for AvgWD and 0.721–0.726 for EigenWD. The same matrix is shared across prompts and responses within each run. We will state the exact projection distribution, scaling, and default seed. The middle layer is best for AvgWD and only 0.001 below the best EigenWD layer, 0.75L, supporting one fixed shared middle-layer default rather than per-setting tuning.
Q4. Are AvgWD and EigenWD complementary, and can they be combined?
We agree that family-dependent point estimates alone do not prove complementarity. We compared the scores with paired stratified bootstrap and evaluated the fixed label-free combination
JointWD=AvgWD×EigenWD.
The scores are related but non-identical, and neither dominates overall because the all-setting CI crosses zero. The family-associated contrast is stable to prompt resampling within these evaluated settings, but we do not generalize it into an architecture-level rule. JointWD does not improve over AvgWD (−0.0002); relative to EigenWD its gain is +0.0014, with 95% CI [−0.0009, 0.0037], also not significant. JointWD is only a parameter-free within-setting ranking score; we do not claim raw-scale transfer across settings.
We will replace “complementary” with magnitude- and structure-based summaries and will not choose a score by model family. We adopt AvgWD as one fixed white-box default because it directly estimates transport dispersion and avoids EigenWD's bandwidth, diagonal-shift, and spectral-order choices. Its macro AUROC of 0.7258 and top-2 ranking in 19/20 settings further support this choice. EigenWD remains a secondary structural analysis.
Statistical reliability
We performed paired stratified bootstrap with 10,000 resamples. Correct and hallucinated prompts were resampled separately, with identical indices for AvgWD and each baseline. AUROC differences were computed within each setting and equally macro-averaged over 20 settings. Individual-setting tests used two-sided paired-bootstrap p-values and Holm correction separately for each baseline.
W/I/L denotes significant wins, statistically indistinguishable cases, and significant losses after Holm correction. All macro-average CIs exclude zero, and no comparison produces a corrected significant loss, although many individual differences are indistinguishable. We will therefore replace “consistently superior” with a statistically supported positive macro-average improvement without claiming uniform per-setting superiority.
These intervals quantify prompt-level sampling uncertainty conditional on the evaluated 20 settings; they do not establish generalization to unseen models, datasets, or OOD conditions. We will incorporate these definitions and ablations, use AvgWD as the single fixed white-box default, qualify the bandwidth and family-associated claims, and report confidence intervals and corrected tests.