PLACE: Patch-Level Agnostic Concept Extraction

Gabriele Onorato, Fabrizio Silvestri, Nathaniel D. Bastian, Francesco RestucciaNeurIPS 2026

TL;DR

Vision Foundation Models (like DINOv2) are notoriously opaque because individual neurons get tangled up representing multiple unrelated ideas at once. PLACE is a fast, label-free framework that untangles these internal representations directly at the image-patch level—giving us crisp visual heatmaps of what the model actually "sees" and relies on, about 11× faster than Sparse Autoencoders and without needing a single class label.

What Problem Does This Paper Address?

When you look at a church, you naturally break it down into distinct, isolated features: a steeple, an arched window, stone walls. Humans reason monosemantically (one concept per mental slot). Vision Foundation Models (VFMs), however, compress massive amounts of visual data into a limited number of neurons, leading to polysemanticity—where a single neuron fires for a bizarrely unrelated mix of patterns (say, gothic windows, dog ears, and car tires).

To trust VFMs in high-stakes fields like medical imaging, we have to extract human-understandable concepts from their activation spaces, and ensure those concepts are faithful (meaning the model actually uses them to make decisions).

Existing concept-extraction tools were mostly built for older convolutional networks (CNNs) and hit three brick walls when applied to modern Vision Transformers (ViTs):

  1. The "Crop-and-Resize" Distortion: Older methods chop images into tiny sub-patches, blow them up to full size, and feed them back into the model. In ViTs, this shatters global self-attention, stripping away context and creating pixelated, out-of-distribution artifacts.
  2. No Classifier Head: Prior methods rely on task-specific classification labels to check if a concept is faithful. Pre-trained VFMs are general-purpose backbones—they don't have a classifier head attached.
  3. Compute Overhead: Workarounds like Sparse Autoencoders (SAEs) don't need labels, but require training heavy auxiliary neural networks on top of the frozen model.
PLACE produces fine-grained spatial heatmaps across the whole image, whereas prior crop-and-resize methods like CRAFT and FACE yield distorted, isolated image crops.

Methods

PLACE (Patch-Level Agnostic Concept Extraction) skips image cropping and auxiliary networks altogether, operating directly on the native patch-token activations inside a frozen ViT.

  • Localized Semi-NMF (Standard + Adaptation): Standard Non-Negative Matrix Factorization breaks data into additive parts, which fails on Transformers because activations (via GELU and LayerNorm) contain negative numbers. PLACE uses Semi-NMF via gradient descent (AdamW): it allows the learned "concept bank" directions ($W$) to have mixed signs, while forcing the spatial activation coefficients ($U$) to be strictly non-negative ($\ge 0$). Because every row in $U$ is anchored to a specific image patch, reshaping $U$ gives you an instant, cost-free spatial heatmap showing exactly where and how strongly a concept appears—no gradient attribution required.
  • Token Grouping: To keep matrix math fast on dense ViT grids, PLACE pools adjacent $s \times s$ patch tokens before factorization, then upsamples the resulting coefficients back to full resolution.
  • Geometric Gram-Matrix Alignment (Novel): How do you guarantee extracted concepts actually matter to the rest of the network without a classifier head? Alongside standard reconstruction error, the authors introduce a Gram-matrix alignment loss ($L_{\text{gram}}$), which preserves the pairwise inner products (global correlation structure) among all tokens. They prove mathematically that minimizing reconstruction error plus Gram deviation upper-bounds the predictive divergence (KL-divergence) of any downstream linear classifier—giving you a label-free proxy for faithfulness without ever backpropagating through the rest of the model.

Datasets

Following prior interpretability benchmarks (specifically FACE), the authors evaluate PLACE on matched subsets—with no new benchmarks introduced:

  • ImageNet: 10 diverse classes (including church, chainsaw, english_springer, parachute, and tench, with $\ge 800$ images per class).
  • COCO: 5 classes (hot_dog, teddy_bear, train, umbrella, zebra).
  • They also test a task-agnostic multi-class setting by randomly sampling 200 unlabeled images pooled across classes.

Key Insights and Ideas

  • Geometry substitutes for supervision: Preserving both individual token reconstructions and global token-to-token relationships ($AA^\top$) prevents errors from snowballing in downstream self-attention layers. You don't need labels to extract task-relevant features if you preserve the activation geometry.
  • Why sliding-window baselines "cheat" on ViTs: Adapted crop-and-resize methods appear to score well on certain causal metrics, but PLACE exposes this as an artifact: factorizing the final CLS token right before the classifier shortcuts the prediction, while feeding resized crops forces the CLS token to hallucinate global scene statistics, resulting in massive reconstruction errors (MSE of 3.489 vs. PLACE's 0.292 on ViT-B/16).
  • Gram loss shines in the wild: When learning from clean, single-class buckets, reconstruction alone already aligns well with supervised concepts. However, when given messy, unlabeled multi-class data, adding the Gram loss dramatically boosts concept dictionary stability and alignment with supervised "gold-standard" concepts.

Key Results

Evaluated across DINOv2, ViT-MAE, and supervised ViT-B/16:

  • Massive Speedups: On a single GPU, PLACE (+Gram) extracts concepts in 5.6 seconds per class—about 20× faster than KL-supervised extraction (118.0s) and 11× faster than training SAEs (62.5s) or Gated SAEs (71.4s).
  • Superior Sparsity (Monosemanticity): PLACE beats SAEs on Gini sparsity in 4 out of 6 configurations, reaching up to 0.933 on DINOv2/ImageNet (vs. 0.865 for SAE) and 0.678 on ViT-MAE/ImageNet (vs. 0.276 for Gated SAE). (Note: Gated SAEs trade this off for slightly lower MSE on DINOv2).
  • Supervised Alignment Without Labels: Unsupervised PLACE concepts match KL-supervised concepts with up to 0.923 Maximum Cosine Similarity (MCS). In the unlabeled multi-class setting, the Gram loss boosts MCS over reconstruction alone by +0.124 to +0.552.

Limitations and Future Work

  • Loose Theoretical Bound: Because Lipschitz constants compound multiplicatively across Transformer layers, the theoretical KL bound is worst-case and numerically loose—serving to explain why the mechanism works rather than providing a tight numerical guarantee.
  • Small-Data & Rank Constraints: Semi-NMF struggles when sample sizes drop below ~50 images (explaining lower performance on smaller COCO subsets) and requires manually picking the number of concepts ($r$) upfront. Adaptive rank selection is left for future work.
  • Quantization & Human Evaluation: Spatial token grouping ($s > 1$) blurs fine-grained intra-block variations, heatmaps are evaluated qualitatively rather than via human user studies, and PLACE does not automatically generate text labels for the visual concepts it discovers. Testing alternative ViT architectures (like Swin or JEPA) is a natural next step.

Summary updated

Abstract

While Vision Foundation Models (VFMs) are increasingly used in several computer vision tasks, their internal representations remain substantially opaque. This mostly stems from *polysemanticity*, i.e., individual neurons encode mixtures of unrelated visual patterns. In stark contrast, human reasoning is inherently *monosemantic*, i.e., it naturally relies on distinct, isolated features to process information. Therefore, monosemanticity needs to be implemented within the model's activation space to obtain *interpretable concept representations*. Existing methods mostly operate on convolutional networks, so when applied to VFMs their ``crop-and-resize'' approach distorts the model's representations by disrupting global self-attention mechanisms and discarding spatial geometry. Furthermore, prior work requires downstream classification labels and is based on KL-divergence, which requires propagating gradients back from the classifier head, ultimately incurring excessive concept extraction time and making it hardly applicable to extract task-agnostic concepts. To overcome these issues, we propose **PLACE**, a *label-free* concept extraction framework that operates directly on the native patch-token activations of a VFM. We introduce a geometric Gram-matrix alignment loss that, jointly with reconstruction, upper-bounds the downstream KL divergence of any linear classifier, providing a label-free proxy for *faithfulness*, i.e., the notion that extracted concepts, although obtained without labels, are relevant to downstream classification tasks. Evaluations on image classification tasks (ImageNet and COCO) on DINOv2, ViT-MAE and ViT-B/16 show that **PLACE** (i) extracts concepts about $20\times$ faster than KL-supervised extraction and $11\times$ faster than Sparse Autoencoders (SAEs) using our Gram alignment loss. Moreover, **PLACE** yields (ii) sparser concepts than SAEs in four of six backbone and dataset configurations (up to 0.678 vs. 0.276 Gini sparsity score), and (iii) concepts that align with those obtained under classifier supervision (maximum cosine similarity of $0.923$ on ViT-MAE). Finally, when a single concept bank is learned from unlabeled multi-class data, the Gram loss improves this alignment over reconstruction loss alone.
BibTeX
@inproceedings{onorato2026place,
  author = {Gabriele Onorato and Fabrizio Silvestri and Nathaniel D. Bastian and Francesco Restuccia},
  title = {{PLACE: Patch-Level Agnostic Concept Extraction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=8QlhKxCYSB},
}
Figure