Hallucination Span Detection with Input-Side Evidence Alignment

arXiv cs.CL Papers

Summary

This paper introduces a task for hallucination span detection in LLMs by aligning output tokens with input evidence, proposing an encoder-based model that uses prediction confidence to detect hallucinations without manual alignments.

arXiv:2608.15804v1 Announce Type: new Abstract: Hallucinations remain a major obstacle to the reliable use of large language models (LLMs) in conditional text generation. Existing methods primarily assess the factuality of an entire generated text, providing limited insight into which output spans are hallucinated or how they relate to the input. We introduce the task of hallucination span detection with input-side evidence alignment, which jointly identifies hallucinated spans and aligns output tokens with the corresponding input evidence. Our approach is based on the observation that faithful output tokens are predictable from the input, whereas hallucinated tokens are not. We therefore train an encoder-based model to predict masked output tokens from the input representation, using prediction confidence for hallucination detection while naturally producing alignments to the input. Experiments show that the proposed method effectively detects hallucinated spans and identifies meaningful input-side evidence. Human evaluation confirms the quality of the predicted alignments.
Original Article
View Cached Full Text

Cached at: 08/18/26, 10:14 AM

# Hallucination Span Detection with Input-Side Evidence Alignment
Source: [https://arxiv.org/html/2608.15804](https://arxiv.org/html/2608.15804)
Yuki AraseAffiliation:Institute of Science TokyoAffiliation:yamada\.m\.ee1b@m\.isct\.ac\.jp,arase@c\.titech\.ac\.jp

###### Abstract

Hallucinations remain a major obstacle to the reliable use of large language models \(LLMs\) in conditional text generation\. Existing methods primarily assess the factuality of an entire generated text, providing limited insight into which output spans are hallucinated or how they relate to the input\. We introduce the task of hallucination span detection with input\-side evidence alignment, which jointly identifies hallucinated spans and aligns output tokens with the corresponding input evidence\. Our approach is based on the observation that faithful output tokens are predictable from the input, whereas hallucinated tokens are not\. We therefore train an encoder\-based model to predict masked output tokens from the input representation, using prediction confidence for hallucination detection while naturally producing alignments to the input\. Experiments show that the proposed method effectively detects hallucinated spans and identifies meaningful input\-side evidence\. Human evaluation confirms the quality of the predicted alignments\.

## 1Introduction

Large language models \(LLMs\) have substantially advanced conditional text generation tasks, including text summarization and question answering\. Despite these remarkable improvements, they remain prone to hallucinations, generating content that is unsupported or contradicted by the input text[9](https://arxiv.org/html/2608.15804#bib.bib4);[16](https://arxiv.org/html/2608.15804#bib.bib13)\. Such hallucinations undermine the reliability of LLM\-generated outputs and limit their deployment in real\-world applications\. To facilitate the verification of generated content, it is important not only to detect hallucinated spans in the output but also to identify the relevant portions of the input that support or contradict them\. Such input–output alignment is particularly valuable for long documents, where manually tracing generated content back to its source is difficult\.

![Refer to caption](https://arxiv.org/html/2608.15804v1/overview_2.png)Figure 1:Example of hallucination span detection with input\-side evidence alignment\.Most existing studies have formalized hallucination detection as a binary classification problem at the sentence or document level[8](https://arxiv.org/html/2608.15804#bib.bib14);[5](https://arxiv.org/html/2608.15804#bib.bib6)\. Although effective for estimating the factuality of an entire output, these approaches neither localize hallucinated spans nor identify the input evidence associated with individual output spans\. This limits their usefulness for interpreting model predictions and assisting users in verifying generated content\. To address this limitation, we introduce the task of*hallucination span detection with input\-side evidence alignment*, which jointly identifies hallucinated spans in generated text and aligns output spans with their corresponding evidence in the input\. Figure[1](https://arxiv.org/html/2608.15804#S1.F1)illustrates the task using text summarization as an example\. In the output summary, the phrase of “ADA \[…\] to employers withtwentyor more employees” is hallucinated, because the source text states “four to fifteen” employees\. An ideal model should therefore detect the hallucinated word “twenty” while identifying the relevant input span of “four to fifteen”\.

Obtaining alignments between generated text and its input requires expensive manual annotation\. Moreover, because LLMs evolve rapidly, constructing such annotations for every new model or domain is impractical\. This motivates an approach that does not rely on manually aligned training data\. We formulate the task under distant supervision, avoiding the need for manually aligned input\-output pairs\. Specifically, we exploit the observation that faithful output tokens are generally predictable from their supporting context in the input text, whereas hallucinated tokens are not\. Based on this intuition, we cast hallucination span detection as an input\-grounded masked token prediction problem\. Specifically, an encoder model predicts masked output tokens conditioned solely on the input representation\. Intuitively, faithful tokens can be recovered with high confidence from the input, whereas hallucinated tokens cannot\. We therefore use prediction confidence to distinguish faithful tokens from hallucinated ones\. Because each prediction is retrieved from the input representation, the framework simultaneously produces token\-level evidence alignments\. Unlike recent approaches that rely on large decoder\-based LLMs for hallucination detection[20](https://arxiv.org/html/2608.15804#bib.bib11);[16](https://arxiv.org/html/2608.15804#bib.bib13);[14](https://arxiv.org/html/2608.15804#bib.bib9), our method employs a lightweight encoder model, making inference considerably more efficient\.

Experiments demonstrate that the proposed method effectively detects hallucinated spans while simultaneously identifying their supporting evidence in the input\. Human evaluation confirms the quality of the predicted alignments for both faithful and hallucinated words\. Our code is available at[https://github\.com/miyu\-y/HalluSpan\_EviAlign](https://github.com/miyu-y/HalluSpan_EviAlign)\.

## 2Related Work

### 2\.1Hallucination Detection

Hallucination detection has been conventionally formulated as text\-level classification, where the goal is to determine whether a generated text contains hallucination\. Representative approaches estimate consistency across multiple sampled responses[12](https://arxiv.org/html/2608.15804#bib.bib15)and LLM\-based fact\-checking against reference documents[5](https://arxiv.org/html/2608.15804#bib.bib6)\. More recently, several studies have addressed hallucination span detection\. CoT reasoning methods[1](https://arxiv.org/html/2608.15804#bib.bib16)and reasoning models[20](https://arxiv.org/html/2608.15804#bib.bib11)are employed to explain why particular spans are hallucinated\. However, they do not necessarily provide correspondences between output spans and input evidence\. Other studies use encoder\-based models to directly classify output tokens or spans[10](https://arxiv.org/html/2608.15804#bib.bib8);[3](https://arxiv.org/html/2608.15804#bib.bib17)\. None of these previous studies has considered alignments of faithful and hallucinated tokens between input and generated texts\.

### 2\.2Monolingual Word Alignment

Word alignment identifies correspondences between two sentences, and is therefore closely related to the alignment component of our task\. Most monolingual word alignment methods \(e\.g\.,[11](https://arxiv.org/html/2608.15804#bib.bib18)\) have relied on supervised learning\. However, human annotation of word alignment is expensive because it requires high expertise\. There are a few unsupervised monolingual word alignment methods[6](https://arxiv.org/html/2608.15804#bib.bib19);[2](https://arxiv.org/html/2608.15804#bib.bib20)\. Among them, OTAlign[2](https://arxiv.org/html/2608.15804#bib.bib20)formalizes word alignment as an optimal transport problem and models null\-alignments using unbalanced optimal transport\. This property is particularly relevant to our setting because hallucinated spans may not have corresponding evidence in the input\. Unlike monolingual word alignment, however, our objective is not to align semantically equivalent texts but to jointly detect hallucinated spans and ground generated content in the input texts\.

## 3Proposed Method

We assume that faithful output tokens are generally predictable from their supporting context in the input text, whereas hallucinated tokens are not\. Based on this assumption, we formulate hallucination span detection as an input\-grounded masked token prediction task\. The proposed method is inspired by the Non\-Parametric Masked Language Models \(NPM\)[13](https://arxiv.org/html/2608.15804#bib.bib21), which recover masked tokens by matching their contextual representations with those of a reference text\. As illustrated in Figure[2](https://arxiv.org/html/2608.15804#S3.F2), the proposed method masks a token in the generated text and predicts it by retrieving the most relevant representation from the input text\. Prediction confidence is then used to distinguish faithful tokens from hallucinated ones, while the retrieved input token provides the corresponding evidence alignment\.

![Refer to caption](https://arxiv.org/html/2608.15804v1/model_en_3.png)Figure 2:Proposed method### 3\.1Training

For efficient training, the model is optimized using span\-level masking, allowing multiple tokens to be predicted simultaneously\.

#### Span Segmentation

We first segment output texts into semantically meaningful spans based on semantic role labeling \(SRL\)\.[3](https://arxiv.org/html/2608.15804#bib.bib17)also employed SRL\-based spans for hallucination span detection\. The below shows an example of our segmentation:

OriginalKeonna Thomas was charged with attempting to travel to Syria\.

Segmented: \[Keonna Thomas\] \[was charged\] \[with attempting\] \[to travel\] \[to Syria\] \.

We extract predicates and their arguments using SRL, and segment them as spans\. When a sentence contains multiple verbs, we merge the SRL results for all predicates, and identify the finest possible spans\. Specifically, if a span identified by one predicate is further divided by another predicate, we adopt the smallest spans identified\. Words that are not included in any predicate or argument spans, such as conjunctions, are excluded from masking\. Finally, we merge two adjacent spans of predicates to handle passive or progressive constructions\.

#### Prediction Confidence

We then fine\-tune an encoder model using span\-level mask prediction\. Each masked spanssis replaced with two consecutive special tokens, namely,<mask\><mask\>\. The input and the masked output texts are concatenated and encoded;𝒎s∈ℝd\\bm\{m\}\_\{s\}\\in\\mathbb\{R\}^\{d\}and𝒎e∈ℝd\\bm\{m\}\_\{e\}\\in\\mathbb\{R\}^\{d\}denote thedd\-dimensional embeddings of the former and latter<mask\>token, respectively\. The embeddings of tokens of the input text,t1,t2,…,tnt\_\{1\},t\_\{2\},\\ldots,t\_\{n\}, are also extracted as the hidden representation of the final encoder layer:\(𝒅1,𝒅2,…,𝒅n\)\(\\bm\{d\}\_\{1\},\\bm\{d\}\_\{2\},\\ldots,\\bm\{d\}\_\{n\}\), where𝒅i∈ℝd\\bm\{d\}\_\{i\}\\in\\mathbb\{R\}^\{d\}\. The prediction confidence is defined as

c⁡\(s,i,j\):=sim⁡\(𝒎s,𝒅i\)\+sim⁡\(𝒎e,𝒅j\),c\(s,i,j\):=\\mathrm\{sim\}\(\\bm\{m\}\_\{s\},\\bm\{d\}\_\{i\}\)\+\\mathrm\{sim\}\(\\bm\{m\}\_\{e\},\\bm\{d\}\_\{j\}\),\(1\)whereiiandjjare index of input tokens \(i≤ji\\leq j\) andsim⁡\(\)\\mathrm\{sim\}\(\)function computes cosine similarity\. The output spanssis then regarded as corresponding to an input span\(k,ℓ\)\(k,\\ell\)whose confidence is highest:cmaxs=max\(k,ℓ\)⁡c⁡\(s,k,ℓ\)c^\{s\}\_\{\\mathrm\{max\}\}=\\max\_\{\(k,\\ell\)\}c\(s,k,\\ell\)\.

#### Loss Function

We design a loss function so that the model predicts input text tokens with higher confidence for faithful spans, while assigning lower confidence to hallucinated spans\.

ℒ\\displaystyle\\mathcal\{L\}=1M​∑i∈Mf⁡\(si\),\\displaystyle=\\frac\{1\}\{M\}\\sum\_\{i\\in M\}f\(s\_\{i\}\),\(2\)f⁡\(si\)\\displaystyle f\(s\_\{i\}\)=\{max⁡\(0,cmaxsi−γh\),if hallucination,max⁡\(0,γf−cmaxsi\),otherwise,\\displaystyle=\\begin\{cases\}\\max\(0,c^\{s\_\{i\}\}\_\{\\mathrm\{max\}\}\-\\gamma\_\{\\mathrm\{h\}\}\),&\\text\{if hallucination\},\\\\ \\max\(0,\\gamma\_\{\\mathrm\{f\}\}\-c^\{s\_\{i\}\}\_\{\\mathrm\{max\}\}\),&\\text\{otherwise\},\\end\{cases\}\(3\)wheresis\_\{i\}is theii\-th span in the total ofMMoutput spans,γh\\gamma\_\{\\mathrm\{h\}\}andγf\\gamma\_\{\\mathrm\{f\}\}are the higher and lower bounds of confidence for hallucinated and faithful spans, respectively\. We further add a loss weightwwto hard examples: hallucinated spans whose confidence is higher thanγf\\gamma\_\{\\mathrm\{f\}\}and faithful spans whose confidence are lower thanγh\\gamma\_\{\\mathrm\{h\}\}\.

### 3\.2Inference

While we use span\-level masking during training, we perform token\-level prediction for inference to obtain fine\-grained hallucination detection and evidence alignment\. Each output token is replaced with a single<mask\>token and encoded in the same way as training\. Finally, the input\-side token with the highest confidence, computed in the same way as Equation \([1](https://arxiv.org/html/2608.15804#S3.E1)\), is regarded as most strongly associated with the masked output token\.

We classify each output token as hallucinated or faithful using a simple thresholdλh\\lambda\_\{\\mathrm\{h\}\}on the maximum confidence scorecmaxsc^\{s\}\_\{\\mathrm\{max\}\}\. We regard the output token as hallucinated if its maximum confidence is lower thanλh\\lambda\_\{\\mathrm\{h\}\}, and as faithful otherwise\. As a tokenizer may split a word into multiple subwords, we aggregate token\-level predictions into word\-level predictions\. A word is judged as hallucinated only when all of its subword tokens are classified as hallucinated\.

## 4Experiment Settings

This section describes the common experiment settings and implementation details for the automatic and human evaluations\.

### 4\.1Dataset

QASummaryOverallTrain \(FT\)4,1344,134\(8\.68\.6%\)3,8583,858\(3\.03\.0%\)7,9927,992\(5\.95\.9%\)Dev400400\(9\.09\.0%\)400400\(3\.33\.3%\)800800\(6\.16\.1%\)Dev \(λ\\lambda\)500500\(9\.99\.9%\)500500\(3\.53\.5%\)1,0001,000\(6\.76\.7%\)Test900900\(5\.45\.4%\)900900\(2\.92\.9%\)1,8001,800\(4\.14\.1%\)Table 1:Number of samples in RAGTruth \(the parentheses indicate the proportion of hallucinated characters\)We use RAGTruth[16](https://arxiv.org/html/2608.15804#bib.bib13), which provides outputs by66different LLMs[17](https://arxiv.org/html/2608.15804#bib.bib1);[7](https://arxiv.org/html/2608.15804#bib.bib2);[21](https://arxiv.org/html/2608.15804#bib.bib3)on QA, data\-to\-text, and news summarization tasks\. In this study, we use the QA and news summarization tasks because the input of the data\-to\-text task is different from natural texts\. In the QA task, the input consists of a passage and a question from MS MARCO[15](https://arxiv.org/html/2608.15804#bib.bib5), and the output is an answer\. In the news summarization task, the input is a news article from datasets such as the CNN/Daily Mail dataset[18](https://arxiv.org/html/2608.15804#bib.bib22), and the output is its summary\. Human annotations are provided, which indicate hallucinated spans in the generated outputs\. However, alignment between input and generated outputs is unavailable\.

#### Data Split

Table[1](https://arxiv.org/html/2608.15804#S4.T1)shows the number of samples in RAGTruth with the proportion of hallucinated characters in each split\. Because RAGTruth does not provide an official development set, we randomly extracted800800examples \(400400examples for each task\) from the training set \(Dev\)\. We further randomly extracted1,0001,000examples \(500500examples for each task\) for tuning the thresholdλh\\lambda\_\{\\mathrm\{h\}\}\(Dev \(λ\\lambda\)\)\. The remaining examples were used for training\.

#### Evaluation Metrics

The official evaluation metrics of RAGTruth is character\-level precision, recall, and F1score\.

### 4\.2Implementation of the Proposed Method

We followed the training strategy of NPM, masking15\.015\.0% tokens of output texts\. We sampled the target mask sizes from the geometric distribution withp=0\.5p=0\.5, and selected SRL\-based spans whose lengths were closest to the sampled mask size\. If a selected span contained at least one hallucinated character, it was labeled as hallucinated; otherwise, it was labeled as faithful\. Because hallucinated spans are much fewer than faithful ones, we prioritized hallucinated spans on the mask\-span sampling\. We repeated this process until the masking budget was exhausted\. As a result, the masked spans for training consisted of35,57835,578faithful and13,26913,269hallucinated spans, respectively\.

For SRL\-based chunking, we used the off\-the\-shelf SRL model released by AllenNLP[19](https://arxiv.org/html/2608.15804#bib.bib7)\. As the base model, we employed ModernBERT\-large whose parameter size is0\.40\.4B[22](https://arxiv.org/html/2608.15804#bib.bib10)\. The ModernBERT model was fine\-tuned for55epochs with a learning rate of1\.01\.0e\-55\. We set the hyperparameters toγf=1\.4\\gamma\_\{\\mathrm\{f\}\}=1\.4,γh=0\.8\\gamma\_\{\\mathrm\{h\}\}=0\.8, andw=2\.0w=2\.0to maximize the F1score on Dev\. The thresholdλh\\lambda\_\{\\mathrm\{h\}\}was determined using Dev \(λ\\lambda\) to maximize the F1score of hallucination detection, resulting inλh=0\.68\\lambda\_\{\\mathrm\{h\}\}=0\.68\.

InstructionYour task is to determine whether the answer contains either or both of the following two types of hallucinations:
11\. conflict: instances where the answer presents direct contradiction or opposition to the passages;
22\. baseless info: instances where the answer includes information which is not substantiated by or inferred from the passages\.
Then, compile the labeled hallucinated spans into a JSON dict, with a key “hallucination list” and its value is a list of hallucinated spans\. If there exist potential hallucinations, the output should be in the following JSON format: \{\{“hallucination list”: \[hallucination span11, hallucination span22, …\]\}\}\. Otherwise, leave the value as a empty list as following: \{\{“hallucination list”: \[\]\}\}\.
Output:Table 2:Prompt for Llama\-SFT
### 4\.3Compared Methods

We compare the proposed method with the following baseline methods\.

#### Llama\-SFT\.

To compare the proposed method with a larger LLM, we fine\-tuned Llama\-3\.13\.1\-88B\-Instruct[4](https://arxiv.org/html/2608.15804#bib.bib12)for hallucination span detection\. Given an input text and an output text, the model is trained to generate hallucinated spans in the JSON format\. We adopted the same prompt as[16](https://arxiv.org/html/2608.15804#bib.bib13)\(Table[2](https://arxiv.org/html/2608.15804#S4.T2)\)\. We fine\-tuned the model for one epoch with a learning rate of2\.02\.0e\-55following[16](https://arxiv.org/html/2608.15804#bib.bib13)\.

#### LettuceDetect\.

As the state\-of\-the\-art in hallucination span detection models, we adopt LettuceDetect[10](https://arxiv.org/html/2608.15804#bib.bib8)\. It fine\-tunes an encoder\-based LLM as a token classifier: it takes the input text and the generated output as input, and predicts whether each output token is hallucinated or not\. As the base model, we used the same ModernBERT\-large as the proposed method\.

#### OTAlign\.

As the baseline that can align input and output texts, we employ a word alignment method, namely, OTAlign[2](https://arxiv.org/html/2608.15804#bib.bib20)\. It solves word alignment as the optimal transport problem\. For each word in a generated text, we extracted aligned input words associated with transport weights\. These aligned words are regarded as faithful while the null\-aligned words are regarded as hallucinated\. As input and generated texts in RAGTruth have significantly different lengths, we chose the unbalanced optimal transport on OTAlign for its robustness on null\-alginment\. Since RAGTruth does not provide gold\-standard alignment annotations across input and generated texts, we use the unsupervised version of OTAlign\. The hyperparameters in OTAlign were tuned using the Dev \(λ\\lambda\) to maximize the F1score of hallucination detection\. Namely, we setτ=0\.02\\tau=0\.02as the weight of the marginal relaxation term andλOT=0\.35\\lambda\_\{\\mathrm\{OT\}\}=0\.35as the threshold to decide null\-alignment\.

## 5Automatic Evaluation

MethodQASummaryPRF1PRF1Llama\-SFT45\.045\.035\.635\.639\.839\.864\.137\.937\.947\.6LettuceDetect66\.962\.162\.164\.460\.260\.235\.535\.544\.644\.6OTAlign8\.98\.945\.345\.314\.914\.94\.54\.534\.834\.87\.97\.9Proposed40\.940\.982\.754\.854\.842\.842\.838\.040\.340\.3

Table 3:Performance of each method in hallucination span detection \(P: Precision, R: Recall, F1: F1score\)We first conduct an automatic evaluation to investigate the capability of the proposed method to detect hallucinated spans\. Table[3](https://arxiv.org/html/2608.15804#S5.T3)shows the precision, recall, and F1scores of hallucination detection on QA and summarization tasks\. In terms of F1, LettuceDetect achieves the highest score on QA, while Llama\-SFT performs best on summarization\. In contrast, the proposed method achieved the best recall on both QA and summarization tasks, which is advantageous in a scenario where hallucination should not be missed\. OTAlign performed poorly on hallucination detection\. This is reasonable because OTAlign assumes alignment between a sentence pair, not the sets of sentences\. In addition, largely different lengths of generated and input texts make the alignment problem extremely unbalanced, thus even unbalanced optimal transport may not be able to model it well\.

ScoreCriterion33Predicted input token is exactly the evidence\.22Predicted input token is in the sentence where the evidence is described, or in the relevant sentence\.11Predicted input token is irrelevant to the true evidence\.00Hallucination judgment is incorrect \(false\-positive or false\-negative\)\.Table 4:Criteria for manual assessment of input\-side evidence alignmentMethodTop\-kkType\# of words33221100Avg\.OTAlignTop\-11Faithful588588255255575791911851851\.651\.65Top\-33Faithful588588295295545454541851851\.781\.78ProposedTop\-11Faithful588588188188267267595974741\.971\.97Baseless7171404000191912121\.961\.96Conflict414122334432320\.390\.39Top\-33Faithful588588268268216216303074742\.152\.15Baseless7171494900101012122\.212\.21Conflict414122552232320\.440\.44Table 5:Human evaluation results
## 6Human Evaluation

We conduct a human evaluation to manually evaluate the input\-side evidence alignment\.

### 6\.1Settings

We sampled7070output texts and randomly selected1010content words from each text, resulting in700700words for manual assessment\.111We chose input texts with at most3,0003,000characters to reduce the evaluator’s burden\. In addition, we avoided sampling words segmented into subwords to ensure word\-level assessment\.For each sampled word, one of the authors inspected top\-kk\(k=\{1,3\}k=\\\{1,3\\\}\) prediction of input\-side tokens and assessed the alignment quality based on the criteria in Table[4](https://arxiv.org/html/2608.15804#S5.T4)\. RAGTruth distinguishes hallucinations of “baseless” and “conflict”; the former fabricates unsupported information, and the latter generates conflicting information\. When the baseless hallucination does not have relevant information at all in the input, we allow such tokens to align with non\-informative tokens such as punctuations and function words and assign a score33\. We regard predictions with higher than score22as useful as evidence to interpret the hallucination and faithful generations\.

We compare the proposed method with OTAlign to evaluate the quality of input\-side evidence alignment\. Because OTAlign represents hallucinated words as null\-alignments rather than explicitly detecting them, we evaluate its alignment quality only on faithful output tokens\. For each output token, we select the top\-kkinput tokens according to the optimal transport weights produced by OTAlign\.

### 6\.2Results

Table[5](https://arxiv.org/html/2608.15804#S5.T5)shows the distributions of words per score for top\-11and33predictions\.

#### Input\-side alignments produced by the proposed method are judged to provide useful evidence for both faithful and baseless hallucinated tokens\.

For faithful and baseless hallucination words, their alignment to the input texts is assessed on average score around22, which means these input tokens are at least relevant evidence\. On faithful words, OTAlign has more alignment to exact evidence tokens \(i\.e, score33\) than our method, while it has more irrelevant alignment or prediction failures, too \(score11and00\)\. This should be again due to the OTAlign’s limitation on sentence\-set alignment\. In contrast, the alignments produced by the proposed method receive more score22judgments\. We attribute this tendency to the distantly supervised training objective\. As shown in Equation \([3](https://arxiv.org/html/2608.15804#S3.E3)\), the model is optimized to confidently predict masked output tokens from the input for faithful spans while assigning low confidence to hallucinated spans\. Because the objective does not directly supervise token\-level alignments, the ability to recover the exact masked token relies on the pre\-trained knowledge of ModernBERT\. Nevertheless, the model consistently retrieves semantically relevant input tokens, which are often judged as useful evidence despite not exactly matching the evidence\.

#### Conflict Hallucination is Challenging\.

Although the occurrence of conflict hallucination is rare, the proposed method struggles to detect hallucinations of this category, i\.e\., the majority of cases are scored00\. This is because, for conflicting hallucination cases, there should be highly relevant texts in the input\. These relevant texts may result in closer token embeddings, and thus confuse the similarity\-based confidence estimation of the proposed method\. As future work, we will explore a richer modeling of confidence prediction by, for example, employing non\-linear neural models\.

### 6\.3Case Study

TypeOutput TextInput TextConf\.Faithful\[…\] and a commemorative Fiesta de la Flor event is planned forApril1717and1818\.\[…\] The commemorative Fiesta de la Flor in Corpus Christi, Texas – which celebrates her life – is scheduled forApril1717and1818\[…\]0\.7820\.782Faithful\[…\] it drew the attention of multiple law enforcement agencies including Atlanta Police Department, FBI and Federal Homeland Security\. This led to her arrest on August99th, where a firearm and three computers werefoundin her home\. \[…\]\[…\] authorities obtained a search warrant for her residence\. They took her into custody while executing that warrant\. “A firearm along with three computers waslocatedduring the search,” East Point police said \[…\]0\.7230\.723Faithful\[…\] As you drive through tolls, the system deducts the toll amounts from your balance until it reaches a certainthreshold\($1010for the TX\-Tag\)\. \[…\]\[…\] They deduct the tolls from that balance till the balance goes belowacertainvalue\($1010for the TX\-Tag\) and they charge your credit card \[…\]0\.7670\.767Conflict\[…\] we can see that theFEHA \(Fair Employment and Housing Act\) applies to all employers with four to fifteen employees, while theADA \(Americans with Disabilities Act\) applies to employers withtwentyor more employees\.Additionally, the ADA distinguishes between private and public employers, whereas the FEHA does not\. \[…\]\[…\] One difference between the FEHA \(the Fair Employment and Housing Act\) and the ADA \(Americans with Disabilities Act\) is that the ADA applies to all employers in the private sector that havefourto fifteen employees, whereas the FEHA affects more employees, and it doesn’t distinguish between private and public employers like the ADA does\. \[…\]0\.4710\.471Conflict\[…\] The APhA has previously opposed the use of the term “drug” for chemicals used in lethal injection and hasurgedlawsprohibiting pharmacists from participating in such cases\. \[…\]\[…\] This bolsters the association’s previous positions to oppose the use of the term “drug” for chemicals used in lethal injection and toopposelaws that require or prohibit pharmacists from participation in lethal injection cases\. \[…\]0\.7870\.787

Table 6:Examples of input\-side evidence alignment by the proposed method\.Bold textindicates the gold hallucination span\.Cyanandredindicate maskedfaithfulandhallucinatedoutput words, respectively\.Green,orange, andpurpleindicate the top\-11, \-22, and \-33predicted input\-side words, respectively\. “Conf\.” colum shows the confidence values\.Table[6](https://arxiv.org/html/2608.15804#S6.T6)provides examples of input\-side evidence alignment by the proposed method, for faithful and hallucinated words\. In the first example, the masked faithful wordAprilis aligned to the same word in the input text, directly indicating the supporting evidence\. In the second example, the masked faithful wordfoundis aligned to a paraphrased word oflocated\. The third faithful example shows that the top\-33predictions can recover word to phrase alignment; the output wordthresholdis aligned to the correct evidence ofa certain valuein the input text\.

In the first conflict hallucination example, the output describes that the regulation applies to employers withtwentyor more employees\. This word is aligned tofourwith lower confidence, which reveals the evidence thattwentyis a hallucination\. In the second conflict example, the output states that the association hasurgedlaws, whereas the input states that the associationopposesthe laws\. Although the proposed method aligned these words, it failed to judge it as a hallucination due to the high confidence score, which was likely caused by highly similar surrounding contexts\.

## 7Analysis

We further analyze the performance of the proposed method from the perspectives of hallucination types and generation tasks\.

### 7\.1Effect of Hallucination Types

RAGTruth categorizes hallucinations into conflict and baseless types, each of them is further divided into evident and subtle hallucinations\. Evident cases are explicit errors such as generating unsupported entities or facts, whereas subtle cases involve more implicit or nuanced inconsistencies\. Table[7](https://arxiv.org/html/2608.15804#S7.T7)shows the numbers of hallucinated characters in each hallucination type\.

TypeQASumEvident Conflict2,3492,3495,8125,812Subtle Conflict00339339Evident Baseless Info23,44123,44110,82010,820Subtle Baseless Info5,5455,5451,0201,020Table 7:Number of hallucinated characters for each hallucination typeTypeQASumEvident Conflict14\.014\.016\.616\.6Subtle Conflict\-18\.318\.3Evident Baseless Info87\.687\.650\.150\.1Subtle Baseless Info91\.291\.237\.737\.7Table 8:Recall of hallucination detection by type![Refer to caption](https://arxiv.org/html/2608.15804v1/score_type_2.png)Figure 3:Distribution of maximum confidence values by hallucination type\. The red dashed line indicates the decision thresholdλh=0\.68\\lambda\_\{\\mathrm\{h\}\}=0\.68\.Table[8](https://arxiv.org/html/2608.15804#S7.T8)presents the recall of the proposed method to detect each hallucination type\.222Because we do not distinguish hallucination types for detection, precision and F1are not computable\.Our method achieves much higher recall for baseless hallucinations than for conflict hallucinations\. The overall recall is75\.875\.8and82\.982\.9for evident and subtle baseless hallucinations, but only15\.815\.8and18\.318\.3for evident and subtle conflict hallucinations\. Figure[3](https://arxiv.org/html/2608.15804#S7.F3)shows the distributions of maximum confidence values for each hallucination type\. Baseless hallucinations are concentrated in the lower value region, well below the thresholdλh\\lambda\_\{\\mathrm\{h\}\}\. We conjecture that this is because baseless hallucinations often contain information that does not appear in the input text, thus their representations are distinctive from those of input text tokens\. In contrast, the distribution of conflict hallucinations indicates their much higher confidence values, which makes it difficult to distinguish them from faithful tokens\.

### 7\.2Effects of Generation Tasks

Figures[4](https://arxiv.org/html/2608.15804#S7.F4)to[6](https://arxiv.org/html/2608.15804#S7.F6)reveal the shift of maximum confidence distributions before and after fine\-tuning\. In the original ModernBERT model, the confidence scores, i\.e\., representation similarities, of faithful and hallucinated words against input texts largely overlap \(Figure[4](https://arxiv.org/html/2608.15804#S7.F4)\)\. Figures[5](https://arxiv.org/html/2608.15804#S7.F5)and[6](https://arxiv.org/html/2608.15804#S7.F6)indicate that the training of the proposed method effectively shifts these distributions apart to be clearly distinguishable\. The distributions of confidence scores of hallucinated words are bimodal\. Our observation confirms that the baseless hallucinations concentrate on the first peak with lower confidence scores, and the conflict hallucinations occupy another peak\. This trend is more noticeable in the summarization task, as there are twice more conflict hallucinations than in the QA task while baseless hallucinations are only half of the QA task\.

![Refer to caption](https://arxiv.org/html/2608.15804v1/score_before_2.png)Figure 4:Original maximum confidence distributions\. Blue and orange correspond to faithful and hallucinated tokens, respectively\. The red dashed line represents the thresholdλh\\lambda\_\{\\mathrm\{h\}\}\.![Refer to caption](https://arxiv.org/html/2608.15804v1/score_qa_2.png)Figure 5:Maximum confidence distributions after fine\-tuning on QA![Refer to caption](https://arxiv.org/html/2608.15804v1/score_sum_2.png)Figure 6:Maximum confidence distributions after fine\-tuning on Summarization

## 8Conclusion

We introduced the task of hallucination span detection with input\-side evidence alignment, which aims to jointly identify hallucinated spans in generated text and align output tokens with the corresponding portions of the input\. Although the proposed method effectively detects baseless hallucinations, improving the detection of conflict hallucinations remains an important direction for future work\. We plan to address this limitation by developing more sophisticated confidence estimation methods for input\-grounded token prediction\.

## Limitations

The proposed method has several limitations\. First, inference is computationally expensive because the model processes each output token independently\. Specifically, the method masks one output token at a time and re\-encodes both the input text and the masked output for every prediction, resulting in inference cost that grows linearly with the output length\. Although the encoder model is lightweight, repeated forward passes can become expensive for long generated texts\. Improving inference efficiency, for example through more efficient masking strategies or shared representations across output tokens, is an important direction for future work\.

Second, our experiments are limited to question answering and news summarization using the RAGTruth benchmark\. The effectiveness of the proposed framework on other conditional generation tasks, domains, languages, and LLM families remains to be investigated\.

## Acknowledgments

This work was supported by JST K Program Grant Number JPMJKP2424C33, Japan\. This study was carried out using the TSUBAME4\.04\.0supercomputer at Institute of Science Tokyo\.

## References

- Akbaret al\.\(2024\)S\. A\. Akbar, M\. M\. Hossain, T\. Wood, S\. Chin, E\. M\. Salinas, V\. Alvarez, and E\. CornejoHalluMeasure: fine\-grained hallucination measurement using chain\-of\-thought reasoning\.InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing,Y\. Al\-Onaizan, M\. Bansal, and Y\. Chen \(Eds\.\),Miami, Florida, USA,pp\. 15020–15037\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2024.emnlp-main.837)Cited by:[§2\.1](https://arxiv.org/html/2608.15804#S2.SS1.p1.1)\.
- Araseet al\.\(2023\)Y\. Arase, H\. Bao, and S\. YokoiUnbalanced optimal transport for unbalanced word alignment\.InProceedings of the 61st Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),A\. Rogers, J\. Boyd\-Graber, and N\. Okazaki \(Eds\.\),Toronto, Canada,pp\. 3966–3986\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2023.acl-long.219)Cited by:[§2\.2](https://arxiv.org/html/2608.15804#S2.SS2.p1.1),[§4\.3](https://arxiv.org/html/2608.15804#S4.SS3.SSS0.Px3.p1.1)\.
- Elchafei and Abu \- Elkheir \(2025\)P\. Elchafei and M\. Abu \- ElkheirHallucination detectives at SemEval\-2025 task 3: span\-level hallucination detection for LLM\-generated answers\.InProceedings of the 19th International Workshop on Semantic Evaluation \(SemEval\-2025\),S\. Rosenthal, A\. Rosá, D\. Ghosh, and M\. Zampieri \(Eds\.\),Vienna, Austria,pp\. 601–606\.External Links:Link,ISBN 979\-8\-89176\-273\-2Cited by:[§2\.1](https://arxiv.org/html/2608.15804#S2.SS1.p1.1),[§3\.1](https://arxiv.org/html/2608.15804#S3.SS1.SSS0.Px1.p1.1)\.
- Grattafioriet al\.\(2024\)A\. Grattafiori, A\. Dubey, A\. Jauhri, A\. Pandey, A\. Kadian, A\. Al\-Dahle, A\. Letman, A\. Mathur, A\. Schelten, A\. Vaughan, A\. Yang, A\. Fan, A\. Goyal, A\. Hartshorn, A\. Yang, A\. Mitra, A\. Sravankumar, A\. Korenev, A\. Hinsvark, A\. Rao, A\. Zhang, A\. Rodriguez, A\. Gregerson, A\. Spataru, B\. Roziere, B\. Biron, B\. Tang, B\. Chern, C\. Caucheteux, C\. Nayak, C\. Bi, C\. Marra, C\. McConnell, C\. Keller, C\. Touret, C\. Wu, C\. Wong, C\. C\. Ferrer, C\. Nikolaidis, D\. Allonsius, D\. Song, D\. Pintz, D\. Livshits, D\. Wyatt, D\. Esiobu, D\. Choudhary, D\. Mahajan, D\. Garcia\-Olano, D\. Perino, D\. Hupkes, E\. Lakomkin, E\. AlBadawy, E\. Lobanova, E\. Dinan, E\. M\. Smith, F\. Radenovic, F\. Guzmán, F\. Zhang, G\. Synnaeve, G\. Lee, G\. L\. Anderson, G\. Thattai, G\. Nail, G\. Mialon, G\. Pang, G\. Cucurell, H\. Nguyen, H\. Korevaar, H\. Xu, H\. Touvron, I\. Zarov, I\. A\. Ibarra, I\. Kloumann, I\. Misra, I\. Evtimov, J\. Zhang, J\. Copet, J\. Lee, J\. Geffert, J\. Vranes, J\. Park, J\. Mahadeokar, J\. Shah, J\. van der Linde, J\. Billock, J\. Hong, J\. Lee, J\. Fu, J\. Chi, J\. Huang, J\. Liu, J\. Wang, J\. Yu, J\. Bitton, J\. Spisak, J\. Park, J\. Rocca, J\. Johnstun, J\. Saxe, J\. Jia, K\. V\. Alwala, K\. Prasad, K\. Upasani, K\. Plawiak, K\. Li, K\. Heafield, K\. Stone, K\. El\-Arini, K\. Iyer, K\. Malik, K\. Chiu, K\. Bhalla, K\. Lakhotia, L\. Rantala\-Yeary, L\. van der Maaten, L\. Chen, L\. Tan, L\. Jenkins, L\. Martin, L\. Madaan, L\. Malo, L\. Blecher, L\. Landzaat, L\. de Oliveira, M\. Muzzi, M\. Pasupuleti, M\. Singh, M\. Paluri, M\. Kardas, M\. Tsimpoukelli, M\. Oldham, M\. Rita, M\. Pavlova, M\. Kambadur, M\. Lewis, M\. Si, M\. K\. Singh, M\. Hassan, N\. Goyal, N\. Torabi, N\. Bashlykov, N\. Bogoychev, N\. Chatterji, N\. Zhang, O\. Duchenne, O\. Çelebi, P\. Alrassy, P\. Zhang, P\. Li, P\. Vasic, P\. Weng, P\. Bhargava, P\. Dubal, P\. Krishnan, P\. S\. Koura, P\. Xu, Q\. He, Q\. Dong, R\. Srinivasan, R\. Ganapathy, R\. Calderer, R\. S\. Cabral, R\. Stojnic, R\. Raileanu, R\. Maheswari, R\. Girdhar, R\. Patel, R\. Sauvestre, R\. Polidoro, R\. Sumbaly, R\. Taylor, R\. Silva, R\. Hou, R\. Wang, S\. Hosseini, S\. Chennabasappa, S\. Singh, S\. Bell, S\. S\. Kim, S\. Edunov, S\. Nie, S\. Narang, S\. Raparthy, S\. Shen, S\. Wan, S\. Bhosale, S\. Zhang, S\. Vandenhende, S\. Batra, S\. Whitman, S\. Sootla, S\. Collot, S\. Gururangan, S\. Borodinsky, T\. Herman, T\. Fowler, T\. Sheasha, T\. Georgiou, T\. Scialom, T\. Speckbacher, T\. Mihaylov, T\. Xiao, U\. Karn, V\. Goswami, V\. Gupta, V\. Ramanathan, V\. Kerkez, V\. Gonguet, V\. Do, V\. Vogeti, V\. Albiero, V\. Petrovic, W\. Chu, W\. Xiong, W\. Fu, W\. Meers, X\. Martinet, X\. Wang, X\. Wang, X\. E\. Tan, X\. Xia, X\. Xie, X\. Jia, X\. Wang, Y\. Goldschlag, Y\. Gaur, Y\. Babaei, Y\. Wen, Y\. Song, Y\. Zhang, Y\. Li, Y\. Mao, Z\. D\. Coudert, Z\. Yan, Z\. Chen, Z\. Papakipos, A\. Singh, A\. Srivastava, A\. Jain, A\. Kelsey, A\. Shajnfeld, A\. Gangidi, A\. Victoria, A\. Goldstand, A\. Menon, A\. Sharma, A\. Boesenberg, A\. Baevski, A\. Feinstein, A\. Kallet, A\. Sangani, A\. Teo, A\. Yunus, A\. Lupu, A\. Alvarado, A\. Caples, A\. Gu, A\. Ho, A\. Poulton, A\. Ryan, A\. Ramchandani, A\. Dong, A\. Franco, A\. Goyal, A\. Saraf, A\. Chowdhury, A\. Gabriel, A\. Bharambe, A\. Eisenman, A\. Yazdan, B\. James, B\. Maurer, B\. Leonhardi, B\. Huang, B\. Loyd, B\. D\. Paola, B\. Paranjape, B\. Liu, B\. Wu, B\. Ni, B\. Hancock, B\. Wasti, B\. Spence, B\. Stojkovic, B\. Gamido, B\. Montalvo, C\. Parker, C\. Burton, C\. Mejia, C\. Liu, C\. Wang, C\. Kim, C\. Zhou, C\. Hu, C\. Chu, C\. Cai, C\. Tindal, C\. Feichtenhofer, C\. Gao, D\. Civin, D\. Beaty, D\. Kreymer, D\. Li, D\. Adkins, D\. Xu, D\. Testuggine, D\. David, D\. Parikh, D\. Liskovich, D\. Foss, D\. Wang, D\. Le, D\. Holland, E\. Dowling, E\. Jamil, E\. Montgomery, E\. Presani, E\. Hahn, E\. Wood, E\. Le, E\. Brinkman, E\. Arcaute, E\. Dunbar, E\. Smothers, F\. Sun, F\. Kreuk, F\. Tian, F\. Kokkinos, F\. Ozgenel, F\. Caggioni, F\. Kanayet, F\. Seide, G\. M\. Florez, G\. Schwarz, G\. Badeer, G\. Swee, G\. Halpern, G\. Herman, G\. Sizov, Guangyi, Zhang, G\. Lakshminarayanan, H\. Inan, H\. Shojanazeri, H\. Zou, H\. Wang, H\. Zha, H\. Habeeb, H\. Rudolph, H\. Suk, H\. Aspegren, H\. Goldman, H\. Zhan, I\. Damlaj, I\. Molybog, I\. Tufanov, I\. Leontiadis, I\. Veliche, I\. Gat, J\. Weissman, J\. Geboski, J\. Kohli, J\. Lam, J\. Asher, J\. Gaya, J\. Marcus, J\. Tang, J\. Chan, J\. Zhen, J\. Reizenstein, J\. Teboul, J\. Zhong, J\. Jin, J\. Yang, J\. Cummings, J\. Carvill, J\. Shepard, J\. McPhie, J\. Torres, J\. Ginsburg, J\. Wang, K\. Wu, K\. H\. U, K\. Saxena, K\. Khandelwal, K\. Zand, K\. Matosich, K\. Veeraraghavan, K\. Michelena, K\. Li, K\. Jagadeesh, K\. Huang, K\. Chawla, K\. Huang, L\. Chen, L\. Garg, L\. A, L\. Silva, L\. Bell, L\. Zhang, L\. Guo, L\. Yu, L\. Moshkovich, L\. Wehrstedt, M\. Khabsa, M\. Avalani, M\. Bhatt, M\. Mankus, M\. Hasson, M\. Lennie, M\. Reso, M\. Groshev, M\. Naumov, M\. Lathi, M\. Keneally, M\. Liu, M\. L\. Seltzer, M\. Valko, M\. Restrepo, M\. Patel, M\. Vyatskov, M\. Samvelyan, M\. Clark, M\. Macey, M\. Wang, M\. J\. Hermoso, M\. Metanat, M\. Rastegari, M\. Bansal, N\. Santhanam, N\. Parks, N\. White, N\. Bawa, N\. Singhal, N\. Egebo, N\. Usunier, N\. Mehta, N\. P\. Laptev, N\. Dong, N\. Cheng, O\. Chernoguz, O\. Hart, O\. Salpekar, O\. Kalinli, P\. Kent, P\. Parekh, P\. Saab, P\. Balaji, P\. Rittner, P\. Bontrager, P\. Roux, P\. Dollar, P\. Zvyagina, P\. Ratanchandani, P\. Yuvraj, Q\. Liang, R\. Alao, R\. Rodriguez, R\. Ayub, R\. Murthy, R\. Nayani, R\. Mitra, R\. Parthasarathy, R\. Li, R\. Hogan, R\. Battey, R\. Wang, R\. Howes, R\. Rinott, S\. Mehta, S\. Siby, S\. J\. Bondu, S\. Datta, S\. Chugh, S\. Hunt, S\. Dhillon, S\. Sidorov, S\. Pan, S\. Mahajan, S\. Verma, S\. Yamamoto, S\. Ramaswamy, S\. Lindsay, S\. Lindsay, S\. Feng, S\. Lin, S\. C\. Zha, S\. Patil, S\. Shankar, S\. Zhang, S\. Zhang, S\. Wang, S\. Agarwal, S\. Sajuyigbe, S\. Chintala, S\. Max, S\. Chen, S\. Kehoe, S\. Satterfield, S\. Govindaprasad, S\. Gupta, S\. Deng, S\. Cho, S\. Virk, S\. Subramanian, S\. Choudhury, S\. Goldman, T\. Remez, T\. Glaser, T\. Best, T\. Koehler, T\. Robinson, T\. Li, T\. Zhang, T\. Matthews, T\. Chou, T\. Shaked, V\. Vontimitta, V\. Ajayi, V\. Montanez, V\. Mohan, V\. S\. Kumar, V\. Mangla, V\. Ionescu, V\. Poenaru, V\. T\. Mihailescu, V\. Ivanov, W\. Li, W\. Wang, W\. Jiang, W\. Bouaziz, W\. Constable, X\. Tang, X\. Wu, X\. Wang, X\. Wu, X\. Gao, Y\. Kleinman, Y\. Chen, Y\. Hu, Y\. Jia, Y\. Qi, Y\. Li, Y\. Zhang, Y\. Zhang, Y\. Adi, Y\. Nam, Yu, Wang, Y\. Zhao, Y\. Hao, Y\. Qian, Y\. Li, Y\. He, Z\. Rait, Z\. DeVito, Z\. Rosnbrick, Z\. Wen, Z\. Yang, Z\. Zhao, and Z\. MaThe llama 3 herd of models\.arXiv preprint arXiv:2407\.21783\.External Links:2407\.21783Cited by:[§4\.3](https://arxiv.org/html/2608.15804#S4.SS3.SSS0.Px1.p1.1)\.
- Huet al\.\(2024\)X\. Hu, D\. Ru, L\. Qiu, Q\. Guo, T\. Zhang, Y\. Xu, Y\. Luo, P\. Liu, Y\. Zhang, and Z\. ZhangRefChecker: reference\-based fine\-grained hallucination checker and benchmark for large language models\.arXiv preprint arXiv:2405\.14486\.Cited by:[§1](https://arxiv.org/html/2608.15804#S1.p2.1),[§2\.1](https://arxiv.org/html/2608.15804#S2.SS1.p1.1)\.
- Jalili Sabetet al\.\(2020\)M\. Jalili Sabet, P\. Dufter, F\. Yvon, and H\. SchützeSimAlign: high quality word alignments without parallel training data using static and contextualized embeddings\.InFindings of the Association for Computational Linguistics: EMNLP 2020,T\. Cohn, Y\. He, and Y\. Liu \(Eds\.\),Online,pp\. 1627–1643\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2020.findings-emnlp.147)Cited by:[§2\.2](https://arxiv.org/html/2608.15804#S2.SS2.p1.1)\.
- Jianget al\.\(2023\)A\. Q\. Jiang, A\. Sablayrolles, A\. Mensch, C\. Bamford, D\. S\. Chaplot, D\. de las Casas, F\. Bressand, G\. Lengyel, G\. Lample, L\. Saulnier, L\. R\. Lavaud, M\. Lachaux, P\. Stock, T\. L\. Scao, T\. Lavril, T\. Wang, T\. Lacroix, and W\. E\. SayedMistral 7b\.arXiv preprint arXiv:2310\.06825\.Cited by:[§4\.1](https://arxiv.org/html/2608.15804#S4.SS1.p1.1)\.
- Jianget al\.\(2024\)C\. Jiang, B\. Qi, X\. Hong, D\. Fu, Y\. Cheng, F\. Meng, M\. Yu, B\. Zhou, and J\. ZhouOn large language models’ hallucination with regard to known facts\.InProceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies \(Volume 1: Long Papers\),K\. Duh, H\. Gomez, and S\. Bethard \(Eds\.\),Mexico City, Mexico,pp\. 1041–1053\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2024.naacl-long.60)Cited by:[§1](https://arxiv.org/html/2608.15804#S1.p2.1)\.
- Kaddouret al\.\(2023\)J\. Kaddour, J\. Harris, M\. Mozes, H\. Bradley, R\. Raileanu, and R\. McHardyChallenges and applications of large language models\.arXiv preprint arXiv:2307\.10169\.Cited by:[§1](https://arxiv.org/html/2608.15804#S1.p1.1)\.
- Kovács and Recski \(2025\)Á\. Kovács and G\. RecskiLettuceDetect: a hallucination detection framework for rag applications\.arXiv preprint arXiv:2502\.17125\.Cited by:[§2\.1](https://arxiv.org/html/2608.15804#S2.SS1.p1.1),[§4\.3](https://arxiv.org/html/2608.15804#S4.SS3.SSS0.Px2.p1.1)\.
- Lanet al\.\(2021\)W\. Lan, C\. Jiang, and W\. XuNeural semi\-Markov CRF for monolingual word alignment\.InProceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing \(Volume 1: Long Papers\),C\. Zong, F\. Xia, W\. Li, and R\. Navigli \(Eds\.\),Online,pp\. 6815–6828\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2021.acl-long.531)Cited by:[§2\.2](https://arxiv.org/html/2608.15804#S2.SS2.p1.1)\.
- Manakulet al\.\(2023\)P\. Manakul, A\. Liusie, and M\. GalesSelfCheckGPT: zero\-resource black\-box hallucination detection for generative large language models\.InProceedings of the 2023 Conference on Empirical Methods in Natural Language Processing,H\. Bouamor, J\. Pino, and K\. Bali \(Eds\.\),Singapore,pp\. 9004–9017\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2023.emnlp-main.557)Cited by:[§2\.1](https://arxiv.org/html/2608.15804#S2.SS1.p1.1)\.
- Minet al\.\(2023\)S\. Min, W\. Shi, M\. Lewis, X\. Chen, W\. Yih, H\. Hajishirzi, and L\. ZettlemoyerNonparametric masked language modeling\.InFindings of the Association for Computational Linguistics: ACL 2023,A\. Rogers, J\. Boyd\-Graber, and N\. Okazaki \(Eds\.\),Toronto, Canada,pp\. 2097–2118\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2023.findings-acl.132)Cited by:[§3](https://arxiv.org/html/2608.15804#S3.p1.1)\.
- Mishraet al\.\(2024\)A\. Mishra, A\. Asai, V\. Balachandran, Y\. Wang, G\. Neubig, Y\. Tsvetkov, and H\. HajishirziFine\-grained hallucination detection and editing for language models\.InFirst Conference on Language Modeling,Cited by:[§1](https://arxiv.org/html/2608.15804#S1.p3.1)\.
- Nguyenet al\.\(2016\)T\. Nguyen, M\. Rosenberg, X\. Song, J\. Gao, S\. Tiwary, R\. Majumder, and L\. DengMS marco: a human generated machine reading comprehension dataset\.arXiv preprint arxiv:1611\.09268\.Cited by:[§4\.1](https://arxiv.org/html/2608.15804#S4.SS1.p1.1)\.
- Niuet al\.\(2024\)C\. Niu, Y\. Wu, J\. Zhu, S\. Xu, K\. Shum, R\. Zhong, J\. Song, and T\. ZhangRAGTruth: a hallucination corpus for developing trustworthy retrieval\-augmented language models\.InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),L\. Ku, A\. Martins, and V\. Srikumar \(Eds\.\),Bangkok, Thailand,pp\. 10862–10878\.External Links:Link,[Document](https://dx.doi.org/10.18653/v1/2024.acl-long.585)Cited by:[§1](https://arxiv.org/html/2608.15804#S1.p1.1),[§1](https://arxiv.org/html/2608.15804#S1.p3.1),[§4\.1](https://arxiv.org/html/2608.15804#S4.SS1.p1.1),[§4\.3](https://arxiv.org/html/2608.15804#S4.SS3.SSS0.Px1.p1.1)\.
- OpenAIet al\.\(2023\)OpenAI, J\. Achiam, S\. Adler, S\. Agarwal, L\. Ahmad, I\. Akkaya, F\. L\. Aleman, D\. Almeida, J\. Altenschmidt, S\. Altman, S\. Anadkat, R\. Avila, I\. Babuschkin, S\. Balaji, V\. Balcom, P\. Baltescu, H\. Bao, M\. Bavarian, J\. Belgum, I\. Bello, J\. Berdine, G\. Bernadett\-Shapiro, C\. Berner, L\. Bogdonoff, O\. Boiko, M\. Boyd, A\. Brakman, G\. Brockman, T\. Brooks, M\. Brundage, K\. Button, T\. Cai, R\. Campbell, A\. Cann, B\. Carey, C\. Carlson, R\. Carmichael, B\. Chan, C\. Chang, F\. Chantzis, D\. Chen, S\. Chen, R\. Chen, J\. Chen, M\. Chen, B\. Chess, C\. Cho, C\. Chu, H\. W\. Chung, D\. Cummings, J\. Currier, Y\. Dai, C\. Decareaux, T\. Degry, N\. Deutsch, D\. Deville, A\. Dhar, D\. Dohan, S\. Dowling, S\. Dunning, A\. Ecoffet, A\. Eleti, T\. Eloundou, D\. Farhi, L\. Fedus, N\. Felix, S\. P\. Fishman, J\. Forte, I\. Fulford, L\. Gao, E\. Georges, C\. Gibson, V\. Goel, T\. Gogineni, G\. Goh, R\. Gontijo\-Lopes, J\. Gordon, M\. Grafstein, S\. Gray, R\. Greene, J\. Gross, S\. S\. Gu, Y\. Guo, C\. Hallacy, J\. Han, J\. Harris, Y\. He, M\. Heaton, J\. Heidecke, C\. Hesse, A\. Hickey, W\. Hickey, P\. Hoeschele, B\. Houghton, K\. Hsu, S\. Hu, X\. Hu, J\. Huizinga, S\. Jain, S\. Jain, J\. Jang, A\. Jiang, R\. Jiang, H\. Jin, D\. Jin, S\. Jomoto, B\. Jonn, H\. Jun, T\. Kaftan, Ł\. Kaiser, A\. Kamali, I\. Kanitscheider, N\. S\. Keskar, T\. Khan, L\. Kilpatrick, J\. W\. Kim, C\. Kim, Y\. Kim, J\. H\. Kirchner, J\. Kiros, M\. Knight, D\. Kokotajlo, Ł\. Kondraciuk, A\. Kondrich, A\. Konstantinidis, K\. Kosic, G\. Krueger, V\. Kuo, M\. Lampe, I\. Lan, T\. Lee, J\. Leike, J\. Leung, D\. Levy, C\. M\. Li, R\. Lim, M\. Lin, S\. Lin, M\. Litwin, T\. Lopez, R\. Lowe, P\. Lue, A\. Makanju, K\. Malfacini, S\. Manning, T\. Markov, Y\. Markovski, B\. Martin, K\. Mayer, A\. Mayne, B\. McGrew, S\. M\. McKinney, C\. McLeavey, P\. McMillan, J\. McNeil, D\. Medina, A\. Mehta, J\. Menick, L\. Metz, A\. Mishchenko, P\. Mishkin, V\. Monaco, E\. Morikawa, D\. Mossing, T\. Mu, M\. Murati, O\. Murk, D\. Mély, A\. Nair, R\. Nakano, R\. Nayak, A\. Neelakantan, R\. Ngo, H\. Noh, L\. Ouyang, C\. O’Keefe, J\. Pachocki, A\. Paino, J\. Palermo, A\. Pantuliano, G\. Parascandolo, J\. Parish, E\. Parparita, A\. Passos, M\. Pavlov, A\. Peng, A\. Perelman, F\. de Avila Belbute Peres, M\. Petrov, H\. P\. de Oliveira Pinto, Michael, Pokorny, M\. Pokrass, V\. H\. Pong, T\. Powell, A\. Power, B\. Power, E\. Proehl, R\. Puri, A\. Radford, J\. Rae, A\. Ramesh, C\. Raymond, F\. Real, K\. Rimbach, C\. Ross, B\. Rotsted, H\. Roussez, N\. Ryder, M\. Saltarelli, T\. Sanders, S\. Santurkar, G\. Sastry, H\. Schmidt, D\. Schnurr, J\. Schulman, D\. Selsam, K\. Sheppard, T\. Sherbakov, J\. Shieh, S\. Shoker, P\. Shyam, S\. Sidor, E\. Sigler, M\. Simens, J\. Sitkin, K\. Slama, I\. Sohl, B\. Sokolowsky, Y\. Song, N\. Staudacher, F\. P\. Such, N\. Summers, I\. Sutskever, J\. Tang, N\. Tezak, M\. B\. Thompson, P\. Tillet, A\. Tootoonchian, E\. Tseng, P\. Tuggle, N\. Turley, J\. Tworek, J\. F\. C\. Uribe, A\. Vallone, A\. Vijayvergiya, C\. Voss, C\. Wainwright, J\. J\. Wang, A\. Wang, B\. Wang, J\. Ward, J\. Wei, C\. Weinmann, A\. Welihinda, P\. Welinder, J\. Weng, L\. Weng, M\. Wiethoff, D\. Willner, C\. Winter, S\. Wolrich, H\. Wong, L\. Workman, S\. Wu, J\. Wu, M\. Wu, K\. Xiao, T\. Xu, S\. Yoo, K\. Yu, Q\. Yuan, W\. Zaremba, R\. Zellers, C\. Zhang, M\. Zhang, S\. Zhao, T\. Zheng, J\. Zhuang, W\. Zhuk, and B\. ZophGpt\-4 technical report\.arXiv preprint arXiv:2303\.08774\.Cited by:[§4\.1](https://arxiv.org/html/2608.15804#S4.SS1.p1.1)\.
- Seeet al\.\(2017\)A\. See, P\. J\. Liu, and C\. D\. ManningGet to the point: summarization with pointer\-generator networks\.InProceedings of the 55th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),R\. Barzilay and M\. Kan \(Eds\.\),Vancouver, Canada,pp\. 1073–1083\.External Links:[Link](https://anthp17-1099/),[Document](https://dx.doi.org/10.18653/v1/P17-1099)Cited by:[§4\.1](https://arxiv.org/html/2608.15804#S4.SS1.p1.1)\.
- Shi and Lin \(2019\)P\. Shi and J\. LinSimple bert models for relation extraction and semantic role labeling\.arXiv preprint arXiv:1904\.05255\.Cited by:[§4\.2](https://arxiv.org/html/2608.15804#S4.SS2.p2.1)\.
- Suet al\.\(2025\)H\. Su, T\. Hu, H\. S\. Koppula, K\. Krishna, H\. Pouransari, C\. Hsieh, C\. Koc, J\. Y\. Cheng, O\. Tuzel, and R\. VemulapalliLearning to reason for hallucination span detection\.arXiv preprint arXiv:2510\.02173\.External Links:2510\.02173Cited by:[§1](https://arxiv.org/html/2608.15804#S1.p3.1),[§2\.1](https://arxiv.org/html/2608.15804#S2.SS1.p1.1)\.
- Touvronet al\.\(2023\)H\. Touvron, L\. Martin, K\. Stone, P\. Albert, A\. Almahairi, Y\. Babaei, N\. Bashlykov, S\. Batra, P\. Bhargava, S\. Bhosale, D\. Bikel, L\. Blecher, C\. C\. Ferrer, M\. Chen, G\. Cucurull, D\. Esiobu, J\. Fernandes, J\. Fu, W\. Fu, B\. Fuller, C\. Gao, V\. Goswami, N\. Goyal, A\. Hartshorn, S\. Hosseini, R\. Hou, H\. Inan, M\. Kardas, V\. Kerkez, M\. Khabsa, I\. Kloumann, A\. Korenev, P\. S\. Koura, M\. Lachaux, T\. Lavril, J\. Lee, D\. Liskovich, Y\. Lu, Y\. Mao, X\. Martinet, T\. Mihaylov, P\. Mishra, I\. Molybog, Y\. Nie, A\. Poulton, J\. Reizenstein, R\. Rungta, K\. Saladi, A\. Schelten, R\. Silva, E\. M\. Smith, R\. Subramanian, X\. E\. Tan, B\. Tang, R\. Taylor, A\. Williams, J\. X\. Kuan, P\. Xu, Z\. Yan, I\. Zarov, Y\. Zhang, A\. Fan, M\. Kambadur, S\. Narang, A\. Rodriguez, R\. Stojnic, S\. Edunov, and T\. ScialomLlama 2: open foundation and fine\-tuned chat models\.arXiv preprint arXiv:2307\.09288\.Cited by:[§4\.1](https://arxiv.org/html/2608.15804#S4.SS1.p1.1)\.
- Warneret al\.\(2024\)B\. Warner, A\. Chaffin, B\. Clavié, O\. Weller, O\. Hallström, S\. Taghadouini, A\. Gallagher, R\. Biswas, F\. Ladhak, T\. Aarsen, N\. Cooper, G\. Adams, J\. Howard, and I\. PoliSmarter, better, faster, longer: a modern bidirectional encoder for fast, memory efficient, and long context finetuning and inference\.arXiv preprint arXiv:2412\.13663\.External Links:2412\.13663Cited by:[§4\.2](https://arxiv.org/html/2608.15804#S4.SS2.p2.1)\.

Similar Articles

HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoders

arXiv cs.CL

Researchers from Beihang University and other institutions propose HalluSAE, a framework using sparse autoencoders and phase transition theory to detect hallucinations in LLMs by modeling generation as trajectories through a potential energy landscape and identifying critical transition zones where factual errors occur.

Automatic Layer Selection for Hallucination Detection

arXiv cs.AI

This paper proposes automatic layer selection for hallucination detection in LLMs and introduces First Effective Peak of Intrinsic Dimension (FEPoID), a training-free criterion that consistently identifies optimal intermediate layers, outperforming existing heuristics.