Geometry-Aware Hallucination Detection in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) frequently generate factually incorrect or unsupported content, commonly referred to as hallucinations. Prior work has explored decoding strategies, retrieval augmentation, and supervised fine-tuning for hallucination detection, while recent studies show that in-context learning (ICL) can substantially influence factual reliability. However, existing ICL demonstration selection methods often rely on surface-level similarity heuristics and exhibit limited robustness across tasks and models. We propose GA-ICL, a geometry-aware demonstration sampling framework for selecting in-context demonstrations that leverages latent representations extracted from frozen LLMs. By jointly modeling local manifold structure and class-aware prototype geometry, GA-ICL selects demonstrations based on their proximity to learned prototypes rather than lexical or embedding similarity alone. Across factual verification (FEVER) and hallucination detection (HaluEval) benchmarks, GA-ICL outperforms standard ICL selection baselines in the majority of evaluated settings, with particularly strong gains on dialogue and summarization tasks. The method remains robust under temperature perturbations and model variation, indicating improved stability compared to heuristic retrieval strategies. While lexical retrieval can remain competitive in certain question-answering regimes at smaller model scales, our results demonstrate that geometry-aware prototype selection provides a reliable and training-light approach for hallucination detection without modifying LLM parameters. Extended evaluations on Phi-14B and Qwen3-32B confirm that GA-ICL scales effectively to larger models, outperforming all compared baselines including on QA tasks where smaller models show boundary-condition limitations, offering a principled direction for improved ICL demonstration selection.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 44 references that are in the map. First posted on arXiv 8 Jan 2026.
Builds on
31 of 44 references.
References · 31
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2022A Survey on In-context Learningcited by 717
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2023A Stitch in Time Saves Nine: Detecting and Mitigating Hallucinations of LLMs by Validating Low-Confidence Generationcited by 202
- 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
- 2022Active Example Selection for In-Context Learningcited by 195
19 more
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
- 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2023Generating Benchmarks for Factuality Evaluation of Language Modelscited by 103
- 2024A Comprehensive Survey of Hallucination in Large Language, Image, Video and Audio Foundation Modelscited by 98
- 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 88
- 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
- 2024Revisiting Demonstration Selection Strategies in In-Context Learningcited by 57
- 2023PURR: Efficiently Editing Language Model Hallucinations by Denoising Language Model Corruptionscited by 53
- 2024Beyond Examples: High-level Automated Reasoning Paradigm in In-Context Learning via MCTScited by 52
- 2023Large Language Model-Aware In-Context Learning for Code Generationcited by 42
- 2023Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selectioncited by 36
- 2023Zero-Resource Hallucination Prevention for Large Language Modelscited by 19
- 2023MMHQA-ICL: Multimodal In-context Learning for Hybrid Question Answering over Text, Tables and Imagescited by 18
- 2024FACTOID: FACtual enTailment fOr hallucInation Detectioncited by 10
- 2023Nonlinear dimensionality reduction then and now: AIMs for dissipative PDEs in the ML eracited by 7
- 2025Protocode: Prototype-Driven Interpretability for Code Generation in LLMscited by 1
Built on by
Not cited yet.