TL;DR
Vision models process the world across multiple scales—seeing both individual feathers and the whole bird—yet our tools for interpreting them usually zoom in on just one scale at a time. This paper introduces Local–Global Sparse Autoencoders (LG-SAE), a framework that explicitly maps how localized image parts assemble into global, whole-image concepts. Beyond clearer explanations, this cross-scale "bridge" lets you steer a model's final decision simply by turning up or down specific concepts inside targeted regions of an image.
What Problem Does This Paper Address?
When we look at a busy street, we recognize the overarching scene because we spot localized details: crosswalks, cars, and pedestrians. Vision Transformers (ViTs) naturally mirror this hierarchy, maintaining localized "patch tokens" alongside a global "CLS token" that summarizes the whole image.
However, popular interpretability tools—like Sparse Autoencoders (SAEs), which untangle messy neural activations into clean concepts, and Concept Bottleneck Models (CBMs), which route predictions through human-readable labels—typically operate at a single scale. They might tell you the model detected "street" globally, or highlight a patch containing a "wheel," without ever explaining how the local pieces compose the global whole. Recovering this part-to-whole wiring without human supervision is tough because objects appear partially, inconsistently, and in shifting contexts across different images.
Methods
Instead of training one autoencoder, the authors pair two—one for local patch embeddings and one for global image embeddings—and connect them with a sparse, non-negative compositional bridge (matrix $\mathcal{C}$). This bridge learns to approximate global concepts as a sparse combination of spatially pooled local concepts, forming an interpretable bipartite graph.
Training everything at once creates an unstable "moving target" problem, so the authors introduce a clever three-stage training recipe:
- Independent Discovery: Train standard local and global SAEs separately to establish stable feature dictionaries.
- Bridge Learning: Freeze both SAEs and train the bridge $\mathcal{C}$ so that pooled local features both match global activations and accurately reconstruct the original global representation.
- Iterative Refinement: Alternate between fine-tuning the local SAE (encouraging local features to support the global hierarchy) and updating the bridge.
On top of this representation, the authors build three practical tools:
- LG-CBM: A multiscale Concept Bottleneck Model that predicts classes from global concepts while tracing each global concept back to its spatial activation maps.
- Spatially Aware Naming: Standard automated naming (like CLIP-Dissect) matches features against whole-image captions, often mislabeling a "license plate" feature as "car" due to context. The authors fix this by matching local activations against dense, patch-level embeddings from CLIP-DINOiser.
- Multiscale Model Steering: Users can mask a specific region in an image, dial a local concept's activation up or down, and propagate that edit across the bridge to alter the global classification.
Datasets
No new benchmarks are introduced; instead, the authors use established vision datasets across different tasks:
- ImageNet & Places365: Used for training LG-SAEs and evaluating downstream image classification.
- Part-ImageNet & COCO-Stuff: Hierarchical datasets with pixel-level part/stuff masks alongside object labels, used to evaluate zero-shot spatial grounding, part–whole graph recovery, and localized steering.
- Broden Vocabulary: Used as the candidate text dictionary for automated concept naming.
Key Insights and Ideas
- Learning beats counting: You might assume you could link local parts to global objects just by counting how often they fire together (co-occurrence or mutual information). In practice, actively learning the bridge alongside a reconstruction loss recovers far cleaner part-whole hierarchies and avoids missing subtle, valid connections.
- Cross-scale pressure sharpens local vision: During Stage 3 refinement, nudging local patch features to better predict global concepts doesn't blur them—it actually makes them more spatially precise and consistent across images.
- Surgical steering works: Because the bridge is causal within the bottleneck, you don't have to edit global ideas blindly. Amplifying a single "Flask" concept strictly inside the pixels of a bicycle's water bottle is enough to flip a misclassified "disk brake" prediction back to "water bottle."
Key Results
Comparison of compositional graphs showing LG-SAE closely matching ground truth compared to statistical baselines, alongside visual heatmaps for bird legs, body, and tail.
- Compositional Recovery: On Part-ImageNet (using BatchTopK SAEs on CLIP ViT-B/16), LG-SAE achieves an F1 score of 0.893 in recovering ground-truth part-whole links, substantially outperforming post-hoc Co-occurrence (0.714) and PPMI (0.453).
- Spatial Grounding & Accuracy: LG-CBM beats prior spatial concept models (like CFM and PatchSAE) across all grounding metrics—boosting Locality on COCO-Stuff from 44.5 to 50.7 and Consistency from 13.1 to 21.1—while maintaining competitive classification accuracy (78.4% on ImageNet, 54.5% on Places365).
- Targeted Steering: Suppressing a single anchored local concept (out of 8,192!) inside its ground-truth mask reliably drops predicted class probabilities (e.g., up to a 16.7% mean drop for "snake body"), whereas suppressing the exact same concept outside the mask or suppressing random concepts has virtually zero effect.
- Human Validation: In a 32-person user study, participants rated LG-SAE's part-whole links significantly more valid than co-occurrence ($\mu = 0.89$ vs. $0.63$) and preferred the spatially aware concept names 69.1% of the time over CLIP-Dissect's 21.6%.
Limitations and Future Work
The authors note that the bridge is only as trustworthy as the foundation it sits on: if the underlying SAE features are "polysemantic" (entangling multiple unrelated concepts into one neuron), the bridge connections become less reliable. Future work aims to pair this framework with stronger feature disentanglement techniques and adaptive bridge-pruning methods to clean up noisy cross-scale links.
Summary updated