mlsanityData to 7 Oct 2026

Layer Importance and Hallucination Analysis in Large Language Models via Enhanced Activation Variance-Sparsity

arXiv 2411.10069 ↗First posted 15 Nov 2024cs.CL cs.PFcited by 4

Not on the map. Why?

Abstract (arXiv)

Evaluating the importance of different layers in large language models (LLMs) is crucial for optimizing model performance and interpretability. This paper first explores layer importance using the Activation Variance-Sparsity Score (AVSS), which combines normalized activation variance and sparsity to quantify each layer's contribution to overall model performance. By ranking layers based on AVSS and pruning the least impactful 25%, our experiments on tasks such as question answering, language modeling, and sentiment classification show that over 90% of the original performance is retained, highlighting potential redundancies in LLM architectures. Building on AVSS, we propose an enhanced version tailored to assess hallucination propensity across layers (EAVSS). This improved approach introduces Hallucination-Specific Activation Variance (HSAV) and Hallucination-Specific Sparsity (HSS) metrics, allowing precise identification of hallucination-prone layers. By incorporating contrastive learning on these layers, we effectively mitigate hallucination generation, contributing to more robust and efficient LLMs(The maximum performance improvement is 12%). Our results on the NQ, SciQ, TriviaQA, TruthfulQA, and WikiQA datasets demonstrate the efficacy of this method, offering a comprehensive framework for both layer importance evaluation and hallucination mitigation in LLMs.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 43 references that are in the map. First posted on arXiv 15 Nov 2024.

Builds on

20 of 43 references.

References · 20

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2017On Calibration of Modern Neural Networkscited by 4,860
  5. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  6. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  7. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  8. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  9. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  10. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
  11. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  12. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
8 more
  1. 2022Self-critiquing models for assisting human evaluatorscited by 372
  2. 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 367
  3. 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
  4. 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Modelscited by 84
  5. 2022Datasheet for the Pilecited by 41
  6. 2020Uncertainty Estimation in Autoregressive Structured Predictioncited by 21
  7. 2023Enhancing Large Language Models Against Inductive Instructions with Dual-critique Promptingcited by 21
  8. 2023AlpaGasus: Training A Better Alpaca with Fewer Datacited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.