[Paper Review] Sparsity-Guided Holistic Explanation for LLMs with Interpretable Inference-Time Intervention
This paper proposes SparseCBM, a sparsity-guided framework that provides holistic, interpretable explanations for LLMs by jointly pruning subnetworks at the token, subnetwork, and concept levels. It enables interpretable inference-time intervention, improving model interpretability and accuracy without fine-tuning, while maintaining state-of-the-art performance on benchmark tasks.
Large Language Models (LLMs) have achieved unprecedented breakthroughs in various natural language processing domains. However, the enigmatic ``black-box'' nature of LLMs remains a significant challenge for interpretability, hampering transparent and accountable applications. While past approaches, such as attention visualization, pivotal subnetwork extraction, and concept-based analyses, offer some insight, they often focus on either local or global explanations within a single dimension, occasionally falling short in providing comprehensive clarity. In response, we propose a novel methodology anchored in sparsity-guided techniques, aiming to provide a holistic interpretation of LLMs. Our framework, termed SparseCBM, innovatively integrates sparsity to elucidate three intertwined layers of interpretation: input, subnetwork, and concept levels. In addition, the newly introduced dimension of interpretable inference-time intervention facilitates dynamic adjustments to the model during deployment. Through rigorous empirical evaluations on real-world datasets, we demonstrate that SparseCBM delivers a profound understanding of LLM behaviors, setting it apart in both interpreting and ameliorating model inaccuracies. Codes are provided in supplements.
Motivation & Objective
- To address the interpretability gap in large language models (LLMs) by unifying local and global explanation methods.
- To develop a framework that provides interpretable, multi-level explanations across tokens, subnetworks, and concepts.
- To enable dynamic, interpretable model adjustments during inference without retraining.
- To maintain high model performance while enhancing transparency and trust in LLMs.
- To reduce reliance on costly fine-tuning by introducing efficient inference-time intervention.
Proposed method
- SparseCBM uses second-order pruning to iteratively prune the LLM backbone based on a joint objective optimizing for both concept and task labels.
- It constructs concept-specific sparse subnetworks that correspond to predefined, human-interpretable concepts.
- The method enforces sparsity across the model architecture to distill compact, interpretable decision pathways from input tokens to final predictions.
- Interpretable inference-time intervention is enabled by the sparse structure, allowing real-time adjustment of internal parameters based on input context.
- The framework integrates Concept Bottleneck Models (CBMs) with unstructured pruning to preserve performance while enhancing interpretability.
- Sparsity is guided by a joint optimization objective that balances concept-level and task-level prediction accuracy during pruning.
Experimental results
Research questions
- RQ1Can sparsity-guided pruning enable holistic, multi-level interpretability across tokens, subnetworks, and concepts in LLMs?
- RQ2How does the integration of interpretable inference-time intervention improve model robustness and accuracy during deployment?
- RQ3To what extent can sparse subnetworks maintain performance while significantly enhancing interpretability?
- RQ4How does the framework perform across different LLM backbones and sparsity levels?
- RQ5Can the method reduce reliance on fine-tuning while enabling dynamic, context-aware model adjustments?
Key findings
- SparseCBM achieves state-of-the-art performance on both concept and task label prediction benchmarks, matching full LLMs in accuracy.
- The framework enables interpretable inference-time intervention that improves prediction accuracy without requiring fine-tuning.
- Larger LLM backbones maintain high performance even at high sparsity levels, indicating scalability and robustness.
- Excessive pruning degrades performance across all models, confirming an optimal sparsity threshold exists.
- The method provides a synergistic interpretation pathway that integrates local (token/subnetwork) and global (concept) explanations effectively.
- The sparse structure allows dynamic, context-aware parameter adjustments during inference, enhancing model adaptability and interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.