atlas

Research map / Large language models / Language, safety and interpretability

Sparsity-Guided Holistic Explanation for LLMs with Interpretable Inference-Time Intervention

AAAI 2024 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 15 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SparseCBM, which applies concept-specific second-order unstructured pruning to LLM backbones within a concept bottleneck framework, yielding input-, subnetwork-, and concept-level explanations plus a sparsity-based inference-time intervention that edits concept masks.

Problem

Existing interpretability methods for LLMs give either local or global explanations within one dimension; concept bottleneck models for LLMs lack granular, token- and subnetwork-level reasoning and cannot correct backbone errors at inference time.

Approach

Prune the LLM backbone into a separate 0/1 weight-mask subnetwork per concept, using Hessian-based (dampened empirical Fisher) second-order pruning under a joint concept+task loss, and at test time drop/grow low/high-saliency weights in the mispredicted concept's mask while keeping the backbone frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace CBM with SparseCBM using the same OPT-1.3B backboneOPT-1.3B CBM · CEBaB concept predictionAccuracy / Macro F1: 90.0/91.5 -> 89.9/91.6Mixed
Replace CBM with SparseCBM using the same OPT-1.3B backboneOPT-1.3B CBM · CEBaB task predictionAccuracy / Macro F1: 73.6/82.1 -> 73.8/82.6Helped
Replace CBM with SparseCBM using the same OPT-1.3B backboneOPT-1.3B CBM · IMDB-C concept predictionAccuracy / Macro F1: 76.8/74.6 -> 76.4/74.7Mixed
Replace CBM with SparseCBM using the same OPT-1.3B backboneOPT-1.3B CBM · IMDB-C task predictionAccuracy / Macro F1: 85.7/83.3 -> 86.6/83.9Helped
Replace CBM with SparseCBM using the same DistilBERT backboneDistilBERT CBM · CEBaB concept predictionAccuracy / Macro F1: 81.1/83.5 -> 82.0/84.0Helped
Replace CBM with SparseCBM using the same DistilBERT backboneDistilBERT CBM · CEBaB task predictionAccuracy / Macro F1: 63.9/76.5 -> 64.7/77.1Helped
Replace CBM with SparseCBM using the same DistilBERT backboneDistilBERT CBM · IMDB-C concept predictionAccuracy / Macro F1: 67.5/63.8 -> 68.4/64.3Helped
Replace CBM with SparseCBM using the same DistilBERT backboneDistilBERT CBM · IMDB-C task predictionAccuracy / Macro F1: 76.5/69.8 -> 76.9/71.4Mixed
Apply sparsity-based inference-time intervention to correct a mispredicted concept by adapting its maskSparseCBM with DistilBERT · CEBaBConcept and task prediction accuracyHelped
Use a 1% weight adjustment proportion for sparsity-based interventionSparseCBM with DistilBERT · CEBaBPrediction accuracy: 1%Helped
Increase target sparsity beyond its suitable levelSparseCBM · CEBaBConcept and task prediction performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: CEBaB IMDB-C

Benchmarks: CEBaB IMDB-C

Metrics: accuracy macro F1

Baselines: GPT4 prompting Standard fine-tuning CBM (joint)

Builds on: Concept Bottleneck Models Optimal Brain Compression / second-order pruning joint CBM training

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy