cs.CLApr 15, 2026

Applied Explainability for Large Language Models: A Comparative Study

Authors: Venkata Abhinandan Kancharla

Organizations: NRI Institute of Technology

Abstract

Large language models (LLMs) achieve strong performance across many natural language processing tasks, yet their decision processes remain difficult to interpret. This lack of transparency creates challenges for trust, debugging, and deployment in real-world systems. This paper presents an applied comparative study of three explainability techniques: Integrated Gradients, Attention Rollout, and SHAP, on a fine-tuned DistilBERT model for SST-2 sentiment classification. Rather than proposing new methods, the focus is on evaluating the practical behavior of existing approaches under a consistent and reproducible setup. The results show that gradient-based attribution provides more stable and intuitive explanations, while attention-based methods are computationally efficient but less aligned with prediction-relevant features. Model-agnostic approaches offer flexibility but introduce higher computational cost and variability. This work highlights key trade-offs between explainability methods and emphasizes their role as diagnostic tools rather than definitive explanations. The findings provide practical insights for researchers and engineers working with transformer-based NLP systems. This is a preprint and has not undergone peer review.

Explore similar work

CardsList
  1. Truth as a Trajectory: What Internal Representations Reveal About Large Language Model Reasoning

    Mar 1, 2026Hamed Damirchi, Ignacio Meza De la Jara, Ehsan Abbasnejad +3LLM InterpretabilityRepresentation Geometry in Language Models

  2. Towards Intrinsic Interpretability of Large Language Models:A Survey of Design Principles and Architectures

    Apr 17, 2026Yutong Gao, Qinglin Meng, Yuan Zhou +1Transformer InterpretabilityLLM Interpretability

  3. ABLE: Representing and Mapping LLMs via Attribution-Based Large-model Embedding

    Apr 20, 2026Zirui Wang, Yusen Hou, Shaofeng Liang +4LLM AuditingLanguage Model Fingerprinting