mlsanityData to 14 Oct 2026

Grad Detect: Gradient-Based Hallucination Detection in LLMs

arXiv 2606.24790 ↗First posted 23 Jun 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated remarkable capabilities across diverse tasks, yet they remain prone to generating hallucinations. Detecting these hallucinations is critical for deploying LLMs reliably in high-stakes applications. We present Grad Detect, a gradient-based approach for predicting hallucinations by analyzing layer-wise gradient patterns from a single forward-backward pass during inference. Our method shows that the internal gradient structure of a model carries rich information about the correctness of its output. This information is not accessible through output-level signals alone. We evaluate Grad Detect on several Q&A benchmarks across both hallucination detection and model abstention prediction, where it consistently outperforms confidence-based and sampling-based baselines. Through comprehensive layer ablation studies across all eleven models from four architectural families, we find that the final five layers concentrate over 97% of the discriminative gradient signal, enabling efficient deployment with minimal performance loss. Grad Detect provides a unified framework for predicting multiple dimensions of LLM reliability, offering strong predictive performance alongside interpretable insights into where and how model failures originate.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 58 of its 69 references that are in the map. First posted on arXiv 23 Jun 2026.

Builds on

58 of 69 references.

References · 58

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  7. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  8. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  9. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  10. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  11. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  12. 2017On Calibration of Modern Neural Networkscited by 4,960
38 more
  1. 2024Qwen2.5 Technical Reportcited by 4,942
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  7. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  8. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  9. 2022Survey of Hallucination in Natural Language Generationcited by 2,075
  10. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  11. 2025Gemma 3 Technical Reportcited by 1,824
  12. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  13. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
  14. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  15. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  16. 2023GAIA: a benchmark for General AI Assistantscited by 1,128
  17. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  18. 2015Teaching Machines to Read and Comprehendcited by 1,049
  19. 2021Ethical and social risks of harm from Language Modelscited by 966
  20. 2017Selective Classification for Deep Neural Networkscited by 852
  21. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
  22. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  23. 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
  24. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
  25. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  26. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  27. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
  28. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
  29. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  30. 2018How Does Batch Normalization Help Optimization?cited by 357
  31. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 353
  32. 2022Large Language Models are Better Reasoners with Self-Verificationcited by 307
  33. 2023Generating with Confidence: Uncertainty Quantification for Black-box Large Language Modelscited by 293
  34. 2024Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMscited by 259
  35. 2025Why Language Models Hallucinatecited by 220
  36. 2024V-STaR: Training Verifiers for Self-Taught Reasonerscited by 217
  37. 2017The Shattered Gradients Problem: If resnets are the answer, then what is the question?cited by 157
  38. 2024HaloScope: Harnessing Unlabeled LLM Generations for Hallucination Detectioncited by 99

50 most cited of 58 All 58 (JSON)

Built on by

Not cited yet.