TL;DR
Trying to figure out what individual neurons in a vision model actually "see" usually requires guessing from a fixed list of words or peering into the model's internal gradients. LINE turns this into an automated game of "hot and cold": an LLM guesses a visual concept, an image generator draws it, and the target neuron's activation tells the LLM whether it's getting warmer. By refining concepts in a closed loop without needing model weights or training, LINE uncovers nuanced, open-vocabulary explanations and clean visual examples of what makes vision models tick.
What Problem Does This Paper Address?
Deep vision networks are notoriously opaque—a major hurdle when deploying them in high-stakes fields like healthcare. Mechanistic interpretability tries to solve this by translating individual neural activations into human-readable concepts ("neuron labeling").
However, existing methods usually hit one of two walls. First, many rely on predefined vocabularies; if a neuron actually detects aquatic biomes (see below), a fixed word list lacking that phrase might awkwardly label it snorkeling or coelenterate. Second, generative methods that write free-form captions in a single pass often produce overly specific descriptions, missing the broader, higher-order concept. Meanwhile, visual explanation methods (Activation Maximization) optimize pixels or prompts using model gradients, which eats up memory, requires full white-box access, and often hallucinates psychedelic, unnatural artifacts.
Methods
LINE (LLM-based Iterative Neuron Explanations) is a training-free, gray-box pipeline—meaning it only observes a neuron's output activation numbers, requiring zero access to model weights or gradients.
While combining LLMs and Text-to-Image (T2I) models for interpretability has been tried in single-pass setups, LINE’s novelty lies in putting them in an iterative feedback loop guided by a "concept scoreboard":
- Initialization: To avoid starting blind, the scoreboard is seeded using natural images from ImageNet-1K, picking the top 5 highest-activating class labels (exploitation) and 5 random ones (exploration), re-scored on synthetic images for consistency.
- Concept Proposal: A lightweight LLM (Llama 3.1 8B) reads the scoreboard and reasons out a new candidate concept (e.g., noticing strawberry and cherry score well, it proposes red fruit).
- Image Synthesis & Extraction: A T2I model (SDXL) generates 5 diverse photos of that concept across varied angles and lighting, which are fed into the target vision model.
- Concept Scoring: LINE averages the neuron's raw activations across those 5 images and updates the scoreboard.
- Summary Step: After $N$ iterations (typically 10), the LLM reviews the top 3 concepts to propose and test one overarching, higher-order abstraction.
Datasets
Because LINE is training-free, datasets are strictly for initialization and evaluation:
- ImageNet-1K: Used to initialize the scoreboard and evaluate ImageNet-trained models (ResNet18/50, ViT-B/16).
- Places365 & LVD-1689M: Used to evaluate scene-recognition ResNets and self-supervised DINOv3, respectively (testing how LINE handles models trained on different or private data).
- CoSy (Concept Synthesis): A unified, architecture-agnostic benchmark used to quantitatively score neuron labels.
- Salient ImageNet: Used to evaluate how well LINE's synthetic images expose model biases compared to Activation Maximization baselines.
Key Insights and Ideas
- Fixed dictionaries leave concepts on the table: Even when initialized with 1,000 diverse ImageNet classes, LINE’s LLM invents a better, winning label 25% of the time on average (and up to 44% on Places365), proving single-pass vocabulary matching is suboptimal.
- Image cropping can mislead explainability: Baseline methods that crop highly activating image patches often feed confusing, out-of-context snippets to vision-language models, yielding vague labels like various perched creatures. Whole-image synthesis sidesteps this trap.
- Gradient-free visual explanations look human: Because LINE doesn't backpropagate gradients, you can drop in modern T2I generators (like SDXL or FLUX) to visualize model biases without generating trippy adversarial noise.
- Small LLMs are enough: You don't need massive, unconstrained multimodal agents to interpret neurons; an 8B-parameter LLM paired with a T2I generator in a tight loop achieves state-of-the-art results.
Key Results
Across ResNet18, ResNet50, ViT-B/16, and DINOv3, LINE achieves state-of-the-art neuron labeling:
- Quantitative Wins: On the CoSy benchmark, LINE hits an overall 0.95 AUC (vs. 0.84 for CLIP-Dissect, 0.82 for INVERT, and 0.76 for DnD), boosting AUC by up to 0.15 on ImageNet and 0.05 on Places365. On generator-free SigLIP correlation checks, LINE also ranks first overall (0.47 vs. 0.41 for DnD).
- Causal Validation: When an image-editing model surgically erases LINE's predicted concept from real scenes (like removing a volcano or steam train), neuron activations plummet by up to 90–97%, confirming the labels capture true causal triggers.
Limitations and Future Work
- Polysemanticity: Many neurons fire for multiple unrelated concepts. LINE’s greedy optimization tends to lock onto a single conceptual direction, though its transparent scoreboard history offers a natural starting point for multi-label extensions.
- Compute Bottleneck: Synthesizing images in a loop adds up when auditing thousands of neurons—the T2I generator alone consumes 88% of compute time. Swapping in smaller, distilled diffusion models or fewer steps is a practical path forward.
- Domain Boundaries: LINE is only as knowledgeable as its generative models. Auditing specialized networks in domains like medical X-rays or satellite imagery will struggle until high-fidelity, domain-specific T2I generators catch up.
Summary updated