arXiv:2611.02258cs.AINov 2026

Manuscript Offprint

arXiv:2611.02258

Beyond Binary Detection: Type-Aware Hallucination Analysis and Hierarchical Detection in Financial Question Answering

Xiongyu Chen, Sizhen Zhu, Zhuoer Wang

Xiongyu Chen★1^{★1}[0009-0006-6542-0147], Sizhen Zhu2^{2}[0009-0000-5366-1257], and Zhuoer Wang3^{3}[0009-0005-3596-1391]

1^{1} Carnegie Mellon University chen22mail@gmail.com

2^{2} North Carolina State University szhu13@alumni.ncsu.edu

3^{3} University of Illinois Urbana-Champaign zhuoerwang709@gmail.com

Abstract. Large language models are increasingly used to answer questions over financial filings, where an unfaithful answer can mislead investment, compliance, or client decisions. Hallucination detectors are a common safeguard, but they are usually evaluated with a single binary score that reveals neither which kinds of errors analysed nor why. This paper studies hallucination detection on PHANTOM, a long-context benchmark built from SEC filings, at the level of hallucination type. We first analyze 15,443 paired hallucinated and faithful answers without any detector and find that hallucinated answers are more than twice as long as faithful ones, and that lexical grounding separates the two classes only because faithful answers are bimodal. We then generate hallucinations in nine financially motivated categories, confirm each with a separate verification pass, and diagnose an LLM-based detector on 4,086 usable examples. Generation success varies from 66.3% to 100% across categories. The detector reaches 80.2% binary accuracy but only 44.7% subtype accuracy, never assigns two of the nine categories, and misses between 5.3% and 46.8% of hallucinations depending on category; these misses are unrelated to input length but rise with how far an answer departs from the correct one. Guided by this diagnosis, we propose a two-stage hierarchical detector that first decides whether an answer is hallucinated and then assigns a subtype, raising binary accuracy to 95.6% and subtype accuracy to 56.1%. The results show that type-level evaluation exposes detector weaknesses that aggregate metrics conceal.

Keywords: Hallucination detection · Large language models · Financial question answering · SEC filings · Hallucination taxonomy · Long-context evaluation · LLM-based evaluation

1 Introduction

Large language models (LLMs) are increasingly used to answer questions over financial documents such as annual reports, current reports, and proxy statements. In this setting, an answer that reads fluently but is unfaithful to the source filing – a misstated figure, a

∗^{*} All authors contributed equally to this work.

X. Chen et al.

wrong reporting period, an invented regulatory requirement – can propagate into investment research, compliance review, or client communication. Because such errors cannot be fully prevented at generation time, a common safeguard is a separate hallucination detector, typically an LLM prompted to judge whether a candidate answer is supported by the source context, placed between the generator and the end user.

The quality of such detectors is usually summarised by a single binary accuracy or F1 score on a benchmark. PHANTOM [9] is the most directly relevant benchmark for financial documents: it pairs queries over SEC filings with faithful and hallucinated answers, and expands each seed context to as many as 30,000 tokens with the supporting evidence placed at different positions. Two properties of this setting limit what an aggregate score can reveal. First, the benchmark's hallucinations are dominated by one kind of error: its authors classify 81.3% of them as misrepresentations of the source, 17.9% as unverifiable information, and only 0.8% as contradictions [9]. Second, a binary score does not show which kinds of error a detector misses, or whether its decisions rest on the evidence rather than on surface properties of the answer. Both questions matter in finance, where a detector that reliably catches altered numbers but misses a fabricated regulatory obligation gives a false sense of coverage.

This paper studies hallucination detection on PHANTOM at the level of hallucination type, in three steps. First, independently of any detector, we analyse 15,443 pairs of hallucinated and faithful answers to identify surface traits that separate the two classes (Section 3). Second, we generate hallucinations in nine target categories, ranging from entity, numerical, temporal, and regulatory hallucinations to reasoning errors, unsupported inferences, instruction drift, and PHANTOM-style hallucinations, confirm each generated answer with a separate verification pass, and characterise where and why an LLM-based detector succeeds or fails on the resulting 4,086 usable examples (Section 5). Third, guided by this diagnosis, we propose a two-stage hierarchical detector that first decides whether an answer is hallucinated and only then assigns a subtype (Section 4).

The analysis surfaces several effects that an aggregate score hides. Hallucinated answers in PHANTOM are on average more than twice as long as faithful ones (76.5 vs. 35.0 words), a surface cue that a detector could exploit without consulting the evidence. The generator itself is unreliable for some categories, with landing rates ranging from 66.3% to 100%, so subtype accuracy must be computed against verified rather than nominal category counts. The baseline detector reaches 80.2% binary accuracy but only 44.7% subtype accuracy, and it never assigns two of the nine categories, which points to a gap in the label space exposed by its prompt rather than to graded difficulty. Its miss rate ranges from 5.3% to 46.8% across categories and is unrelated to context or query length, but it increases with how far a hallucinated answer departs from the correct one: the detector catches subtle edits more reliably than large rewrites. The two-stage detector raises binary accuracy to 95.6% and subtype accuracy to 56.1%.

This paper makes four contributions. First, it provides a detector-independent analysis of PHANTOM showing that answer length and lexical grounding both carry label information, and that faithful answers are bimodal in lexical grounding, so a single grounding threshold misclassifies loosely paraphrased faithful answers. Second, it introduces a type-controlled generate–verify–detect protocol over nine financial hallucination categories that separates generator failure from detector failure. Third, it offers a per-category diagnosis of an LLM-based detector that identifies a label-space gap, rules out input length as a driver of missed detections, and shows that larger departures from the correct answer are harder, not easier, to detect. Finally, it proposes a two-stage hierarchical detector that substantially improves both binary and subtype accuracy over the original detector.

The remainder of the paper is organised as follows. Section 2 reviews related work. Section 3 analyzes the dataset, Section 5 diagnoses the baseline detector, and Section 4 presents and evaluates the two-stage detector.

References (25)