LLM Hallucination Detection via Low-rank Multilinear Decomposition
Organizations: Department of Electrical & Computer Engineering, University of Central Florida
Abstract
Large language models (LLMs) frequently generate fluent yet factually incorrect responses, raising concerns about their reliability. Recent hallucination detectors increasingly exploit internal representations, but extracting informative signals from high-dimensional hidden states remains challenging. Existing approaches often rely on selected activations or pooling-based compression, potentially overlooking discriminative information distributed across Transformer layers, feature modes, and tokens. We propose LOTUS (Low-rank Order-statistic TUcker-based Subspace learning), a multilinear low-rank decomposition framework for hallucination detection that extracts compact representations from LLM hidden states while reducing dependence on labeled data. Our approach first summarizes variable-length token representations using complementary statistical descriptors that capture peak activations, activation distributions, and cross-layer changes. We then leverage low-rank multilinear decomposition to extract compact representations that capture the underlying structure of LLM hidden states, which are subsequently used to train a lightweight hallucination classifier. Experiments across multiple LLMs and question-answering benchmarks demonstrate improved hallucination detection performance over recent state-of-the-art baselines.
Figures & tables
| Method | NQ-Open | TruthfulQA | TriviaQA | TyDiQA-GP |
|---|---|---|---|---|
| Qwen2.5-7B-Instruct | ||||
| Perplexity | ||||
| LN-Entropy | ||||
| Semantic Entropy | ||||
| Lexical Similarity | ||||
| EigenScore | ||||
| Qwen2.5-7B-Instruct | LLaMA-3.1-8B | |||
|---|---|---|---|---|
| Method | TruthfulQA | TyDiQA-GP | TruthfulQA | TyDiQA-GP |
| HARP | ||||
| ACT-ViT | ||||
| LOTUS (Ours) | ||||
| AUROC / vs. LOTUS | |||||
| Configuration | Summaries | NQ-Open | TruthfulQA | TriviaQA | TyDiQA-GP |
| Qwen2.5-7B-Instruct | |||||
| LOTUS (full) | |||||
| Ablated variants | |||||
| w/o | |||||
| Peak only | |||||
| TruthfulQA | TyDiQA-GP | |||
| Method | Pooled | Within | Pooled | Within |
| Qwen2.5-7B-Instruct LLaMA-3.1-8B | ||||
| Target-trained LOTUS | ||||
| Transfer + alignment | ||||
| Transfer w/o alignment | ||||
| LLaMA-3.1-8B Qwen2.5-7B-Instruct | ||||
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Window (blocks) | TruthfulQA | TyDiQA-GP |
|---|---|---|
| Qwen2.5-7B-Instruct | ||
| – | ||
| – | ||
| – | ||
| – | ||
| – (reported) | ||
| TyDiQA-GP | TruthfulQA | |||
| Block | Peak | Range | Peak | Range |
| Embedding | 76.5 | 77.3 | 82.3 | 82.3 |
| 0 | 77.5 | 78.1 | 83.9 | 85.0 |
| 1 | 75.3 | 79.5 | 83.7 | 84.9 |
| 2 | 77.2 | 78.9 | 85.4 | 86.3 |
| 3 | 77.3 | 80.0 | 85.8 | 86.5 |
| NQ-Open | TruthfulQA | TriviaQA | TyDiQA-GP | |||||
| Method | Ans. | Ans. | Ans. | Ans. | ||||
| Qwen2.5-7B-Instruct | ||||||||
| HARP | 81.03 | 85.16 | 92.50 | 91.75 | ||||
| LOTUS | 91.14 | 94.03 | 94.05 | 94.72 | ||||
| LLaMA-3.1-8B | ||||||||
| HARP | 86.56 | 84.84 | 88.08 | 85.65 | ||||
| Qwen2.5-7B | LLaMA-3.1-8B | ||||||
|---|---|---|---|---|---|---|---|
| Reduction | Features | Parameters | Multiply-adds | TQA | TyDi | TQA | TyDi |
| Tucker-2 (LOTUS) | / | / | 87.76 | 87.82 | 89.22 | 82.47 | |
| Tucker-3, 2 bins, | / | / | 87.86 | 87.96 | 89.51 | 82.67 | |
| Tucker-3, 8 bins, | / | / | 86.84 | 87.28 | 89.20 | 80.96 | |
| Flat PCA | / | / | 88.09 | 87.45 | 88.42 | 81.96 | |
| Random projection | none | / | 82.87 | 85.38 | 84.32 | 77.24 | |
| Qwen2.5-7B-Instruct | LLaMA-3.1-8B | ||||
|---|---|---|---|---|---|
| Reduction | Parameters | TruthfulQA | TyDiQA-GP | TruthfulQA | TyDiQA-GP |
| Tucker-2 (LOTUS) | 1.15M / 1.31M | 87.76 | 87.82 | 89.22 | 82.47 |
| Best layer | 5.28M / 6.03M | 88.05 | 86.54 | 89.11 | 83.12 |
| Layer average | 5.28M / 6.03M | 87.87 | 86.97 | 88.28 | 80.92 |
| Qwen2.5-7B-Instruct | LLaMA-3.1-8B | |||||
| Features | TruthfulQA | TyDiQA-GP | TruthfulQA | TyDiQA-GP | ||
| Order statistics within bins (peak, range, update) | ||||||
| ( ) | ( ) | ( ) | ( ) | |||
| ( ) | ( ) | ( ) | ( ) | |||
| ( ) | ( ) | ( ) | ( ) | |||
| Setting | ||||||
|---|---|---|---|---|---|---|
| Qwen2.5-7B-Instruct | ||||||
| TruthfulQA | Tucker-2 | |||||
| flat PCA | ||||||
| TyDiQA-GP | Tucker-2 | |||||
| flat PCA | ||||||
| LLaMA-3.1-8B | ||||||
| Configuration | Summaries | Features | NQ-Open | TruthfulQA | TriviaQA | TyDiQA-GP |
| Qwen2.5-7B-Instruct | ||||||
| LOTUS (full) | ||||||
| Ablated variants | ||||||
| w/o | ||||||
| Peak only | ||||||
| Quantile only | ||||||
| Qwen2.5-7B-Instruct | LLaMA-3.1-8B | ||||
| Ranks | Width | TruthfulQA | TyDiQA-GP | TruthfulQA | TyDiQA-GP |
| , | 192 | 88.04 | 87.41 | 89.07 | 81.32 |
| , | 320 | 87.88 | 87.36 | 89.82 | 82.75 |
| , | 512 | 87.63 | 87.78 | 89.45 | 82.81 |
| , | 704 | 87.89 | 88.03 | 89.33 | 82.59 |
| , | 896 | 87.76 | 87.82 | 89.22 | 82.47 |
| Detector | TruthfulQA | TyDiQA-GP | NQ-Open | TriviaQA |
|---|---|---|---|---|
| HARP | none: the last layer’s states are recomputed in its own script | |||
| ACT-ViT, | – | – | – | – |
| ACT-ViT, | – | – | – | – |
| LOTUS | – | – | – | – |
| Model, dataset | Pooled, Q | Pooled, A | Within, Q | |
|---|---|---|---|---|
| Qwen2.5-7B-Instruct, TruthfulQA | ||||
| Qwen2.5-7B-Instruct, TruthfulQA | ||||
| Qwen2.5-7B-Instruct, TyDiQA-GP | ||||
| Qwen2.5-7B-Instruct, TyDiQA-GP | ||||
| LLaMA-3.1-8B, TruthfulQA | ||||
| LLaMA-3.1-8B, TyDiQA-GP |
| Method, split | NQ-Open | TruthfulQA | TriviaQA | TyDiQA-GP |
|---|---|---|---|---|
| Qwen2.5-7B-Instruct | ||||
| HARP, Q | ||||
| HARP, A | ||||
| LOTUS, Q | ||||
| LOTUS, A | ||||
| ACT-ViT, Q | ||||
| Qwen2.5-7B-Instruct | LLaMA-3.1-8B | |||
|---|---|---|---|---|
| Method, split | TruthfulQA | TyDiQA-GP | TruthfulQA | TyDiQA-GP |
| HARP, Q | ||||
| HARP, A | ||||
| ACT-ViT (joint), Q | ||||
| ACT-ViT (joint), A | ||||
| ACT-ViT, Q | ||||
| Qwen2.5-7B-Instruct | LLaMA-3.1-8B | |||
| Method | TruthfulQA | TyDiQA-GP | TruthfulQA | TyDiQA-GP |
| LOTUS | ||||
| HARP | ||||
| ACT-ViT | ||||
| Answer pairs per draw | 1,820–2,059 | 940–1,038 | 1,840–1,942 | 1,576–1,768 |
| HARP’s draws | 1,896–2,137 | 924–1,086 | 1,728–1,930 | 1,524–1,719 |
| Result | NQ-Open | TruthfulQA | TriviaQA | TyDiQA-GP |
|---|---|---|---|---|
| Qwen2.5-7B-Instruct | ||||
| Published | 84.0 | 88.1 | 92.8 | 88.4 |
| Released split, 1 run | 83.12 | 86.27 | 92.89 | 91.87 |
| Released split, 5 draws | ||||
| Question-level split, 5 draws | ||||
| LLaMA-3.1-8B | ||||
| Known questions | Agreement | |||||
|---|---|---|---|---|---|---|
| Dataset | Questions | Ours | HARP | Changed | Answers | Status |
| NQ-Open | ||||||
| TruthfulQA | ||||||
| TriviaQA | ||||||
| TyDiQA-GP | ||||||
| Total | ||||||
| Effective rank | Top-64 variance | |||||
|---|---|---|---|---|---|---|
| Draw | Layer | C | H | C | H | AUROC |
| Size-matched | Embedding | |||||
| Blocks – | ||||||
| Block (last) | ||||||
| Paired | Embedding | |||||
| Blocks – | ||||||
LLM Hallucination Detection
Large language model hallucination detection identifies unsupported, incorrect, or fabricated claims in model outputs and traces.
See all 208 papers