Skip to main content
Back

Cyber Monday Deal: Get 20% off all AlphaSignal Pro subscriptions. Subscribe here. Use discount code LAUNCH2026. Ends soon.

Max Planck's CFM Breaks Open CLIP's Black Box With Named Visual Concepts

A new vision model from Max Planck researchers decomposes CLIP features into named, spatially localized concepts that explain classification, segmentation, and captioning decisions.

Pro

  • CFM wraps a frozen CLIP backbone with a DINOising layer and Matryoshka sparse autoencoder to extract spatially grounded concepts.
  • It is the first concept-based foundation model that explains classification, segmentation and captioning from one shared concept set.
  • Concept relations are mined from patch-level co-occurrences and fed into a Matryoshka-aware naming step against a label vocabulary.
  • On ImageNet and Places365, linear probes on CFM concepts are competitive with opaque CLIP baselines while adding per-patch grounding.
  • Captions become steerable: named concepts can be suppressed to remove specific objects from the generated text.
  • Code at github.com/kawi19/CFM, interactive demo at concept-foundation-model.mpi-inf.mpg.de.

Researchers at the Max Planck Institute for Informatics have introduced CFM, the Concept Foundation Model, which decomposes a frozen vision encoder into human-readable concepts tied to specific image patches. Those concepts can explain and steer downstream systems for classification, segmentation, and captioning.

The paper was accepted as an ECCV spotlight. The authors describe CFM as the first concept-based foundation model designed to explain multiple vision tasks through one shared representation. Existing approaches have focused largely on image-level classification, leaving developers with separate or weakly localized explanations for other tasks.

Why CLIP features resist inspection

CLIP-style encoders learn from hundreds of millions of image-text pairs by aligning images with their corresponding language descriptions. This training produces features that transfer well to new tasks, although each image remains encoded as a dense vector whose individual dimensions carry no clear human meaning.

Concept bottleneck models and sparse autoencoder probes expose parts of these representations, yet their concepts are often global, weakly localized, or restricted to classification. Those limitations make it difficult to identify which image region caused a captioner to mention an object or which visual cue drove a scene classifier.

CFM learns a shared concept bank with three properties:

  • Spatial grounding: Each concept activates on particular image patches.
  • Natural-language labels: Concepts receive short names that describe their likely visual meaning.
  • Hierarchical structure: Parent concepts connect to more specific children, such as “motor car” and individual vehicle types.

Inside the concept pipeline

Diagram showing the CFM pipeline from CLIP patch features to localized, named concepts
CFM transforms frozen CLIP patch features into sparse concepts, relations, and natural-language names.

The pipeline keeps the pretrained CLIP encoder frozen and trains additional components over its patch features. A patch is a small image region represented by one token inside a vision transformer.

  1. DINOising layer: A learned transformation converts raw CLIP patch tokens into semantically smoother representations, helping related regions produce more consistent features.
  2. Matryoshka sparse autoencoder: The autoencoder represents each patch with a small set of active concepts. Training at nested dictionary sizes yields coarse and fine concepts within the same model.
  3. Relation and naming stage: CFM measures which concepts co-occur across patches, builds a relation graph, and matches concepts to candidate names while respecting the learned hierarchy.

The graph improves naming by giving the matcher contextual constraints. A candidate label for a child concept should remain compatible with the label assigned to its parent, reducing isolated matches that conflict with the surrounding hierarchy.

The resulting representation can feed different task heads built on the same backbone. Classification uses pooled concept activations, segmentation retains their spatial maps, and captioning can condition generation on named concepts. Each task still requires an appropriate probe or head, while the underlying CLIP encoder remains unchanged.

Testing whether concepts hold together

The evaluation combines region annotations, label-free consistency tests, human judgments, and an LLM-based presence check because each method captures a different interpretability failure mode.

Evaluation methods reported for CFM
Test Setup What it measures
Localization and impurity Part ImageNet and COCO-Stuff annotations Whether concepts activate in the correct regions and avoid unrelated parts
Cross-image consistency Repeated labeled parts across images Whether the same concept localizes comparable regions in different examples
C2-Score ImageNet without human concept labels Whether attributions remain consistent across images
Human study About 1,000 learned features, judged by five workers each Concept consistency and the validity of parent-child relations
Naming study Human labels of one or two words, compared with CFM names through SBERT cosine similarity Semantic agreement between generated and human-assigned names
Concept presence gpt-5-mini checks the ten highest-ranked concepts for each image Whether predicted concepts are visibly present

The paper reports stronger naming similarity than a random baseline. In the LLM-based evaluation, CFM produced the largest separation from the random baseline among the compared methods. The human study also examined whether the discovered hierarchy matched annotators’ judgments, extending the evaluation beyond localization scores.

Accuracy survives the concept layer

The authors evaluate classification on ImageNet and Places365 using linear probes trained over mean-pooled and max-pooled concept activations. They retrained CFM with the same OpenAI CLIP backbone used by the reference results from Prasse et al., allowing a closer comparison with standard CLIP linear-probe and zero-shot baselines.

CFM achieved competitive classification performance while retaining patch-level concept maps. The comparison is significant for implementation because concept bottlenecks can discard predictive information when they compress features into a small human-defined vocabulary. CFM learns its sparse concepts from the backbone features and names them afterward, preserving more of the original representation.

Named concepts enable targeted edits

Captioning example showing how suppressing individual CFM concepts changes the generated description
Suppressing localized concepts changes selected parts of a generated caption.

The captioning experiment shows how concept activations can support targeted interventions. Suppressing the “cake” concept removes cake from the generated caption while preserving mention of a drink in the same image. Suppressing the drink concept produces the complementary change.

This example provides a concrete form of causal testing: developers can alter one concept and inspect the resulting output. The paper demonstrates this behavior on selected examples, while broader reliability across prompts, datasets, and captioning architectures remains unevaluated.

Where CFM helps, and where evidence stops

CFM can help teams inspect which regions and concepts drive a model’s output. In a Places365 example involving the “swimming hole” class, its patch maps identify scene elements associated with the prediction, while competing methods surface spurious concepts. Similar inspections could support dataset audits, failure analysis, and checks for reliance on background cues.

Several constraints define the current scope:

  • Backbone dependence: CFM can expose only information encoded by the frozen CLIP model, including its omissions and biases.
  • Approximate names: Labels depend on the candidate vocabulary and matching procedure, so they remain summaries of learned activation patterns.
  • Limited domains: The reported evidence centers on CLIP, ImageNet, Part ImageNet, COCO-Stuff, and Places365. Medical, satellite, and other specialized imagery remain untested.
  • Task integration: The claim of broad downstream support covers tasks whose heads consume the decomposed CLIP features. Other backbone families and model architectures fall outside the reported evaluation.
  • Additional computation: The encoder stays frozen, although teams must still train or load the DINOising layer and sparse autoencoder, compute patch activations, and connect suitable task heads.

Version 4 of the paper corrects the definition of the Consistency metric and adds evaluation and probe-training details to the supplementary material. Those revisions matter for reproducing the reported comparisons.

Inspect the code and concept graph

The researchers have published the source code and an interactive concept demo. The demo lets developers browse learned concepts, inspect parent-child relations, and view the images and regions that activate each feature most strongly.

Teams already using CLIP can add CFM above the existing encoder and retain their frozen backbone. The practical integration work lies in generating concept activations, fitting the relevant downstream head, and validating that the learned names and spatial maps remain reliable on the target data.