Everything K-culture — comebacks to K-beauty, straight to your inboxGet it in your inbox›
Temporal Multi-Signal Fusion for Token-Level Hallucination Detection
arXiv:2608.181152026-08-20
Catching AI's made-up facts works better when you read them as a stretch of text, not word by word
Existing tools that spot hallucinated (fabricated) text from AI language models score each word in isolation, so they miss cases where the model is confidently wrong. This paper treats hallucination as a span that unfolds over several tokens and reads it with a sequence model (BiGRU) fed 33 fused signals covering text statistics, natural language inference, and language-model surprisal. This approach hit an AUC of 0.840 on the RAGTruth benchmark, 11 points above a token-by-token baseline, with 44% of that gain traced to modeling word order itself.
METAL MEDIA explanatory visual
Catching AI's made-up facts works better when you read them as a stretch of text, not word by word
01Current token-level hallucination detectors score each word independently and fail exactly when the generating model is confidently wrong.
02The authors extract a 33-dimensional feature vector per token combining text statistics, Natural Language Inference (NLI) entailment scores, and language-model surprisal, then feed the whole sequence to a Bidirectional Gated Recurrent Unit (BiGRU) that reads context in both directions.
03Using only the generated text and external models (no access to the generating model's internals), BiGRU reached 0.840 AUC on RAGTruth versus 0.730 for an independent logistic-regression baseline (10 seeds, p=0.002) an 11-point gain.
04A controlled breakdown attributed the gain to temporal order (44%), sequence-wide aggregation (24%), and nonlinear model capacity (32%).
05Performance degraded by less than 4% when tested on text from language models unseen during training, and switching a CRF model's scoring method to forward-backward marginals recovered up to 17.9 AUC points.
An explanatory diagram made by METAL MEDIA, not a figure supplied by the paper's authors.
What they did
Current token-level hallucination detectors score each word independently and fail exactly when the generating model is confidently wrong.
The authors extract a 33-dimensional feature vector per token combining text statistics, Natural Language Inference (NLI) entailment scores, and language-model surprisal, then feed the whole sequence to a Bidirectional Gated Recurrent Unit (BiGRU) that reads context in both directions.
Using only the generated text and external models (no access to the generating model's internals), BiGRU reached 0.840 AUC on RAGTruth versus 0.730 for an independent logistic-regression baseline (10 seeds, p=0.002) an 11-point gain.
A controlled breakdown attributed the gain to temporal order (44%), sequence-wide aggregation (24%), and nonlinear model capacity (32%).
Performance degraded by less than 4% when tested on text from language models unseen during training, and switching a CRF model's scoring method to forward-backward marginals recovered up to 17.9 AUC points.
Table 1: Positioning on RAGTruth. †Span F1. ‡10 seeds. §0.73 = the published Lookback Lens (LogReg) classifier; 0.838 = the same attention features under our BiGRU sequence model. Both use a Qwen3-14B proxy on the open-LLM subset; see §5.9 for the full fair comparison.
Method
Access
Metric
Score
ReDeEP
Activations
AUC
0.733
RagtStacking
Activations
AUC
0.836
Lookback Lens§
Attention
AUC
0.73 / 0.838
LettuceDetect
Black-box
Span F1†
0.589
RL4HS
Black-box
Span F1†
0.583
HaluGate
Black-box
Token F1
0.590
Ours (BiGRU)
Black-box
AUC‡
0.840±.007
Table 2: Per-token feature groups.
Group
Signals
Dim
Text
Surface, overlap, running statistics
20
NLI
Entailment scores + temporal derivatives
7
LM
Surprisal, rank + fallback handling
6
Total
33
Table 3: Sequence labeling architectures. All models use h=64. CRF variants use forward-backward marginals for ranking (Section 5.10).
Model
Temporal scope
Params
LogReg
None (per-token)
34
MLP
None (per-token)
112K
1D-CNN
Local (kernel ≤7)
61K
BiGRU
Full sequence
121K
BiLSTM
Full sequence
121K
Transformer
Full sequence (attention)
106K
BiGRU-CRF
Full + transitions
121K
BiLSTM-CRF
Full + transitions
121K
Table 4: Research questions and corresponding experiments.
RQ
Experiments
RQ1: Temporal
Main ablation (Section 5.1),
dependencies
decomposition (5.3),
directional ablation (5.4)
RQ2: Multi-signal
Signal ablation (Section 5.1),
fusion
pointwise baselines (5.5),
Lookback comparison (5.9)
RQ3: General-
Cross-model (5.7),
ization
cross-dataset (5.8)
Table 5: Token-level AUC and F1 on RAGTruth test set. CRF models use softmax scoring; see Table 12 for forward-backward results.
Model
Text Only
All Signals
AUC
F1
AUC
F1
LogReg
0.702
0.133
0.730
0.141
1D-CNN
0.788
0.208
0.807
0.216
BiLSTM
0.826
0.227
0.843
0.247
BiGRU
0.832
0.232
0.845
0.242
Transformer
0.802
0.233
0.804
0.229
BiGRU-CRF
0.806
0.196
0.630
0.245
BiLSTM-CRF
0.603
0.188
0.781
0.164
Trans-CRF
0.668
0.235
0.691
0.227
Table 6: Mean ± std across 10 seeds (all signals). MLP is a capacity-matched token-independent baseline (112K parameters ≈ BiGRU’s 121K).
Model
AUC
F1
AP
LogReg
.730±.001
.141±.000
.093±.001
MLP
.765±.002
.176±.003
.127±.002
1D-CNN
.813±.002
.218±.004
.197±.005
BiLSTM
.835±.008
.242±.008
.270±.017
BiGRU
.840±.007
.257±.010
.282±.018
Transformer
.819±.008
.246±.009
.234±.012
Table 7: Controlled decomposition of BiGRU’s advantage over LogReg (10 seeds, all signals).
Model
Adds
AUC
Δ
LogReg
Per-token, linear
.730
–
MLP (112K)
Nonlinear capacity
.765
+3.5 (32%)
Shuffled BiGRU
Seq. aggregation
.791
+2.6 (24%)
BiGRU
Temporal order
.840
+4.9 (44%)
Table 8: Directional ablation (10 seeds, all signals).
Model
AUC
Avg Precision
ForwardGRU
.802±.008
.217±.014
BackwardGRU
.817±.005
.223±.015
BiGRU
.840±.007
.282±.018
Table 9: Individual features as standalone detectors.
Signal
Method class
AUC
AP
LM entropy
Token entropy
.551
.047
LM log-prob
Perplexity
.549
.046
NLI contradiction
NLI-based
.639
.087
NLI entailment drop
Entailment check
.641
.066
Context overlap
Lexical overlap
.597
.054
Running novelty
Novelty tracking
.616
.055
LogReg, all 33 features
.730
.103
BiGRU, all 33 features
.840
.282
Table 10: Cross-dataset transfer (mean ± std, 10 seeds, all signals).
Model
R → P
P → R
AUC
F1
AUC
F1
LogReg
.618
.712
.692
.161
BiGRU
.634
.709
.744
.185
Transformer
.624
.719
.703
.144
Table 11: Fair comparison on the open-LLM subset of RAGTruth (5 seeds). Combined = our 33-dim + Lookback features.
Features
Model
AUC
AP
Proxy: Qwen3-14B
Lookback only
BiGRU
.838±.015
.368
Combined (193-dim)
BiGRU
.866±.007
.425
No attention access
Ours only (33-dim)
BiGRU
.819±.013
.298
Table 12: CRF scoring: softmax vs. forward-backward (FB) marginals. Softmax values differ from Table 5 because CRF softmax scores are unstable across seeds (see text).
Model
Softmax
FB
Δ
BiGRU-CRF
0.666
0.845
+0.179
BiLSTM-CRF
0.785
0.807
+0.022
Trans-CRF
0.741
0.818
+0.077
Table 13: Complete list of 33 per-token features. The “Context” column indicates whether the feature encodes temporal information: point = depends only on the current token; cumul = cumulative statistic up to position t; window = sliding window average/max; delta = finite difference between adjacent positions; sent = sentence-level (projected to all tokens in the sentence).
#
Group
Feature
Context
1
Text
Word length (/20)
point
2
Text
Is numeric
point
3
Text
Is capitalized
point
4
Text
Absolute position t
point
5
Text
Relative position t/(T−1)
point
6
Text
Unigram overlap 𝟏[wt∈C]
point
7
Text
Bigram overlap
point
8
Text
Trigram overlap
point
9
Text
Entity indicator
point
10
Text
Cumulative overlap ratio
cumul
11
Text
Running novelty rate
cumul
12
Text
Consecutive novel count
cumul
13
Text
Windowed novelty (5 tok)
window
14
Text
Windowed novelty (10 tok)
window
15
Text
Windowed novelty (20 tok)
window
16
Text
Novelty velocity (1st diff)
delta
17
Text
Novelty accel. (2nd diff)
delta
18
Text
Sentence position index
point
19
Text
Sentence-relative position
point
20
Text
Running mean word length
cumul
21
NLI
P(contradiction∣C,s)
sent
22
NLI
P(entailment∣C,s)
sent
23
NLI
P(neutral∣C,s)
sent
24
NLI
Running mean contradiction
cumul
25
NLI
Contradiction delta
delta
26
NLI
Windowed max contr. (10 tok)
window
27
NLI
Entailment drop
sent
28
LM
Log-probability (sum subwords)
point
29
LM
Next-token entropy
point
30
LM
Mean subword rank (log)
point
Table 14: Token AUC by sequence length quartile. The BiGRU–LogReg gap grows from +8.1 (Q1) to +12.2 (Q4) as longer sequences provide more temporal context.
Quartile
Mean Len.
LogReg
BiGRU
Δ
Q1 (short)
62
0.781
0.863
+0.081
Q2
103
0.726
0.814
+0.087
Q3
135
0.708
0.824
+0.116
Q4 (long)
203
0.730
0.851
+0.122
Table 15: Onset detection metrics (all signals, tolerance k=3). 1D-CNN achieves the best F1 due to high recall; BiGRU has the best precision.
Model
Prec@3
Rec@3
F1@3
Early
LogReg
.100
.517
.155
.423
1D-CNN
.147
.520
.208
.412
BiGRU
.171
.298
.196
.279
Table 16: BiGRU hyperparameter sweep (mean ± std AUC, 10 seeds). Performance plateaus at h=64 and degrades for h≥128.
h
Layers
AUC
Params
32
1
.837±.005
15K
32
2
.842±.004
34K
32
3
.840±.007
53K
64
1
.841±.004
46K
64
2
.839±.005
121K
64
3
.843±.005
195K
128
1
.836±.006
158K
128
2
.832±.009
455K
128
3
.830±.011
751K
256
1
.831±.014
579K
256
2
.816±.006
1.8M
256
3
.826±.011
2.9M
Table 17: Training recipe ablation on BiGRU; the first row (BCE + constant) is the baseline. No recipe significantly outperforms it, suggesting the AUC ceiling is determined by the features rather than the optimization.
Recipe
AUC
F1
P
R
BCE + constant
.839±.005
.254
.158
.654
BCE + plateau
.837±.006
.249
.154
.661
BCE + cosine
.840±.006
.248
.154
.661
Focal + constant
.840±.006
.248
.152
.670
Focal + plateau
.839±.007
.249
.153
.663
Focal + cosine
.839±.007
.242
.148
.675
Table 18: Training recipe ablation on Transformer Pre-LN (10 seeds each).
Recipe
AUC
F1
BCE + constant
.805±.008
.204
BCE + plateau
.803±.011
.203
BCE + cosine
.796±.008
.198
Focal + constant
.799±.008
.209
Focal + plateau
.801±.010
.206
Focal + cosine
.797±.009
.201
Table 19: Full Lookback Lens comparison (open-LLM subset, 5 seeds).
Features
Model
AUC
F1
AP
TinyLlama-1.1B proxy
Lookback
LogReg
.699
.194
.173
Lookback
BiGRU
.822
.355
.344
Combined
BiGRU
.853
.355
.401
Qwen3-14B proxy
Lookback
LogReg
.726
.204
.187
Lookback
BiGRU
.838
.384
.368
Combined
BiGRU
.866
.391
.425
Ours only
BiGRU
.819
.297
.298
Table 20: Architecture comparison with cosine schedule (literature recipes, 5–10 seeds). BiGRU, Mamba, and BiGRU+Attention converge to ∼0.84.
Architecture
AUC
F1
Params
Seeds
BiGRU
.840±.007
.257
121K
10
BiGRU+Attention
.840±.005
.251
113K
10
Mamba
.838±.006
.244
203K
9
BiLSTM
.835±.008
.242
121K
10
BixLSTM
.827±.006
.233
125K
10
DilatedCNN
.826±.006
.244
61K
10
Transformer
.796±.008
.204
106K
10
Table 21: Same architectures with ReduceLROnPlateau + early stopping (max 50 epochs, patience 10, 5 seeds). Plateau scheduling raises the ceiling from 0.840 to 0.845 and eliminates most architecture differences.
Architecture
AUC
Δ
Best Ep
Params
BiLSTM
.845±.003
+.010
17
121K
Mamba
.844±.005
+.006
20
203K
BiGRU+Attn
.844±.002
+.004
12
113K
BiGRU
.843±.003
+.003
8
121K
BixLSTM
.843±.004
+.016
19
125K
DilatedCNN
.833±.002
+.007
13
61K
Transformer
.827±.002
+.031
46
106K
Table 22: Probing comparison: hidden states from the generating model vs. our 33-dim black-box features. Each generator is evaluated only on its own outputs. Hidden states are extracted from 4 evenly spaced layers (dim=16,384).
LLaMA-2-7B
Mistral-7B
Method
AUC
F1
AUC
F1
Linear probe on HS
.543
.118
.574
.142
BiGRU on HS
.637
.195
.631
.201
BiGRU on 33-dim (ours)
.770
.245
.833
.355
BiGRU on 33-dim + HS
.748
.215
.793
.282
Table 23: Per-task AUC for five architectures (3 seeds, plateau+ES). QA is easiest across all architectures; Data2txt shows the largest temporal advantage.
Architecture
QA
Data2txt
Summary
Mamba
.890±.007
.827±.009
.766±.005
BiGRU
.885±.002
.833±.006
.758±.017
BiGRU+Attn
.885±.004
.830±.008
.770±.010
BixLSTM
.884±.003
.815±.017
.771±.013
DilatedCNN
.883±.005
.795±.009
.760±.008
Why it matters
Because hallucinations tend to spread token by token once they start, catching that pattern lets this detector work on closed-source models where internal signals aren't available. That matters for real deployments -- like retrieval-augmented generation in healthcare, legal, or financial settings -- where a single fabricated claim can propagate downstream.
Terms in this paper
hallucination · fluent but factually wrong text generated by an AI language model
NLI (Natural Language Inference) · a technique that judges whether one sentence entails, contradicts, or is neutral toward another
surprisal · a measure of how unexpected a word is according to a language model's predictions
BiGRU (Bidirectional Gated Recurrent Unit) · a neural network that reads a sequence both forward and backward to capture context
AUC · a score measuring how well a model distinguishes correct from incorrect cases, higher is better
CRF (Conditional Random Field) · a structured prediction method that models dependencies between neighboring labels
Figures we cannot republish
Figure 2: Decomposition of BiGRU’s 11-point advantage over LogReg. Temporal order is the largest contributor (44%).
Figure 3: Feature dynamics aligned to hallucination span onset (1,136 spans). LM entropy spikes at onset; context overlap drops; NLI contradiction rises gradually; BiGRU probability accumulates monotonically.
Figure 4: AUC distribution across 10 seeds for key architectures. Temporal models (BiGRU, BiLSTM) consistently outperform non-temporal baselines (LogReg, MLP).
Figure 5: Token AUC across all architecture–signal combinations (single seed). Non-CRF temporal models (BiGRU, BiLSTM) consistently outperform baselines across all signal configurations.
Figure 6: Leave-one-out cross-model generalization (all signals, 10 seeds). GPT-4 is the hardest transfer target; LLaMA-2-70B is the easiest.
Figure 7: Waterfall decomposition of signal contributions to BiGRU’s AUC. NLI and LM features provide complementary gains beyond text features alone.
Figure 8: Precision-recall curves for all non-CRF architectures (all signals, seed 42). The low overall precision reflects RAGTruth’s 5.6% hallucination rate.
Figure 9: Per-task AUC comparison (all signals). The temporal advantage of BiGRU over LogReg is largest for Data2txt.
Figure 10: Token AUC by sequence length quartile. The BiGRU–LogReg gap grows from +8.1 (Q1) to +12.2 (Q4).
Figure 11: CRF scoring methods compared. Forward-backward marginals recover up to +17.9 AUC points over softmax scoring.
Figure 12: Natural counterfactual: same query, different LLMs, one hallucinating. NLI contradiction separates the two; LM entropy does not; BiGRU integrates both.
Figure 13: Bidirectional dataset transfer. Reverse transfer (PsiloQA to RAGTruth) outperforms forward despite fewer training examples.
Figure 14: Architecture comparison (cosine schedule). All temporal architectures with full-sequence scope converge to ∼0.84 AUC. With plateau scheduling (Table 21), the ceiling rises to 0.845.
Token-level hallucination detectors score each token independently from a single signal, and fail exactly when the generating model is confidently wrong. This paper instead treats hallucination as a temporally extended span and detects it by sequence labeling: each token is scored from a 33-dimensional feature stream that fuses text statistics, Natural Language Inference (NLI) entailment, and language model surprisal, with no access to model internals. A Bidirectional Gated Recurrent Unit (BiGRU) over these features reaches an AUC of 0.840 on RAGTruth (10 seeds), an 11-point gain over an independent logistic-regression baseline (p = 0.002, Wilcoxon signed-rank). A controlled decomposition attributes most of the gain to temporal order rather than model capacity: evidence propagates from confident positions to ambiguous neighbors within a span. The same 0.845 ceiling recurs across recurrent, state-space (Mamba), and attention architectures, locating the bottleneck in the feature set rather than the model. Because it reads only the generated text and external signals, the detector works on closed-source models, and it keeps working on text produced by language models it never saw during training, losing under 4% AUC.