- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes TOKENHD, a framework for detecting hallucinations in reasoning tasks at the token level, rather than at the step level. It builds token-level labels using multiple critic models, combines their annotations with adaptive ensembling, and trains a lightweight detector with an importance-weighted loss. Experiments show that even small TOKENHD detectors can outperform much larger critic or reasoning models in locating hallucinated tokens, and the method also shows some generalization beyond math to STEM and code tasks.
Strengths and weaknesses
Strenghts
-
The paper addresses token-level hallucination detection, which is a meaningful direction.
Unlike PRM-based methods that depend on step segmentation, this work tries to locate errors directly at the token level in free-form reasoning outputs. This gives more fine-grained and flexible error localization.
-
The proposed detector is efficient and competitive.
TOKENHD directly outputs token-level hallucination scores without generating long critique text. The experiments show that even small detectors can outperform much larger critic or reasoning models, which makes the approach practical.
-
The paper evaluates generalization beyond the main training setting.
The authors test the detector on different STEM domains, code generation tasks, and outputs from different policy models. These experiments show that the method has some zero-shot generalization ability, although there is still room for improvement.
Weaknesses
-
The practical use case is not fully clear.
The paper shows that TOKENHD can detect hallucinated tokens, but it is less clear how these scores should be used in a real LLM system. The contribution would be stronger if the detector were connected to real-time hallucination mitigation, response correction, or generation control.
-
The definition of token-level hallucination can be ambiguous.
A reasoning error is often not caused by a single token. It may come from an earlier assumption, a wrong equation, or a multi-sentence reasoning chain. Therefore, deciding which exact tokens should be labeled as hallucinated can be subjective.
-
There are still practical costs for generalization and data construction.
The paper shows some generalization to STEM and code tasks, but the zero-shot performance on code is limited. Strong performance may require additional domain-specific data. Also, although the final detector is small and efficient, building the training data requires multiple critic models, text restoration, ensembling, and labeler-based validation, which makes the overall pipeline complex and costly.
Questions
-
More details about the detector architecture are needed.
The paper defines the detector as (H(x, y)), which takes the input query (x) and the generated response (y), and outputs token-level hallucination scores. However, the actual architecture is not explained in enough detail. Is the detector input simply the concatenation of the query and response, similar to a standard causal LM input? Are the token-level scores predicted by applying a linear or MLP classification head to the last hidden representation of each generated token? Clarifying this would make the method easier to understand and reproduce.
-
Can the method be applied to general QA tasks?
The paper mainly focuses on reasoning-intensive tasks such as math, STEM, and code generation. However, hallucinations in general open-domain QA or factual QA may be different, often involving unsupported factual claims or conflicts with external knowledge. It would be helpful to discuss whether TOKENHD can also work in these general QA settings, or whether it would require a different annotation or training strategy.
-
References
The related work section could include future-context-based hallucination detection methods, such as "Enhancing Hallucination Detection via Future Context". Since that work shows that past hallucinations can affect future generations, TOKENHD could also analyze whether earlier hallucinated tokens influence later token-level hallucination scores.
Limitations
N/A
Paper formatting concerns
N/A
We sincerely thank the reviewer for the constructive feedback and for recognizing the efficiency and competitiveness of our detector. We address each concern and question below.
W1: Response to the concern about practical uses of token-level hallucination scores
Thank you for raising this question. Appendices I.1 and I.2 demonstrate response correction and generation control. Providing the TokenHD span raises the three-round correction rate from 16.9% without an error hint to 19.9%. In best-of-10 selection, choosing the response with the lowest hallucination score raises accuracy from 25.8% with majority voting to 36.4% without using the ground-truth answer. TokenHD can also support real-time detection. It scores each token from the query and response prefix and can process streamed output as each token becomes available. Its small model size and fast inference speed allow it to run alongside the policy model during generation. A real-time system can use each new score to flag a possible hallucination or trigger verification without waiting for the complete response.
W2: Response to the concern that reasoning errors may span multiple tokens
Thank you for raising this question. Token-level refers to the output granularity of TokenHD, not the length of a hallucination. TokenHD scores every response token and can mark a multi-token span, such as an incorrect equation or assumption, as hallucinated. We thank you for pointing this out and will clarify this meaning in the revision.
W3: Response to the concerns about data-construction cost and new-domain adaptation
Thank you for raising this concern. For new-domain adaptation, TokenHD is a data-driven ML model, and its zero-shot generalization depends on whether the target domain shares hallucination patterns with the training data. The math-trained TokenHD shows strong zero-shot transfer to STEM benchmarks. This is likely due to similar hallucination patterns, as many STEM hallucinations involve errors in mathematical reasoning and formulas that also appear in our training data. In contrast, code contains different patterns, such as syntax and program logic errors, that the math-only detector has not seen during training. Its lower zero-shot performance on code is therefore expected. However, we can adapt TokenHD by continuing training the math checkpoint with relevant code data. This does not require rebuilding the full training set and therefore keeps the adaptation cost low. This approach reaches Sincor=66.88/63.38 on Code-Elo/LiveCodeBench-Lite.
Following your suggestion, we further evaluate TokenHD on factual QA. As detailed in Q2, the math-trained TokenHD performs strongly without using any factual QA training data, further supporting its zero-shot transfer beyond math and STEM.
For data-construction cost, although our pipeline contains several stages, each stage is necessary for improving annotation quality. This design also reduces the overall cost. We use lower-cost critic models for large-scale annotation and combine their labels through adaptive aggregation, which can approach the annotation quality of stronger and more expensive models. We also apply strict quality checks at every stage. If a response fails any check, we discard it before the next stage. These checks prevent low-quality annotations from entering detector training and make the pipeline robust and scalable. We will add the factual QA and continual-training results and clarify these cost and quality controls in the revision.
Q1: Response to the question about the detector architecture
Thank you for raising this question. TokenHD consists of a Qwen3 causal transformer backbone and one shared linear classification head. The input is the query followed by the response. For response token i, the backbone produces the hidden state hi, and the classification head outputs si=σ(w⊤hi+b), where w and b are the classification-head parameters and σ is the sigmoid function. The value si is the hallucination score for token i. Applying the same head to all response positions produces one score for every response token in a single forward pass. TokenHD therefore does not require sentence or reasoning-step segmentation. We will add this architecture description in the revision.
Q2: Response to the question about general QA and factual QA
Thank you for raising this question. Following your suggestion, we evaluate TokenHD-8B on three widely used factual hallucination benchmarks: TruthfulQA [1], HaluEval QA [2], and FACTOR [3]. TokenHD obtains 59.24% MC1 accuracy on TruthfulQA, compared with 34.64% for the Qwen3-8B backbone, and 78.50% paired accuracy on HaluEval QA. On Wiki/News/Expert FACTOR, TokenHD obtains 59.35%/67.95%/88.56% accuracy, compared with 58%/68%/55% for the largest model reported in the FACTOR paper. Notably, although we train TokenHD only on math data and use no factual QA data, it still performs strongly across these benchmarks. This result demonstrates strong zero-shot generalization to factual hallucination detection. We will add these experiments in the revision.
Q3: Response to the suggestion on future-context hallucination detection
Thank you for this valuable suggestion. Enhancing Hallucination Detection via Future Context [4] observes that hallucinations can persist in later generated sentences and uses sampled future context to help judge the current sentence. This direction is complementary to TokenHD because our causal backbone uses preceding response tokens to score each later token. This work is relevant to our analysis, and we will cite and discuss it in the related work section.
References
[1] TruthfulQA: Measuring How Models Mimic Human Falsehoods. 2022.
[2] HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models. 2023.
[3] Generating Benchmarks for Factuality Evaluation of Language Models. 2024.
[4] Enhancing Hallucination Detection via Future Context. 2026.