MOSAIC: Concept Bottlenecks via Text-Anchored Optimal Transport

Sannara Ek, Chong Tang, Dirk Koch, Alex S. Weddell, Jagmohan Chauhan, Robert D. MullinsNeurIPS 2026

TL;DR

Making vision models explain why they make a prediction usually forces an unpleasant trade-off: you either rely on hallucinated text checklists from LLMs, or you slap a supervised linear layer on top that quietly ruins the explanation's honesty. MOSAIC flips the script by discovering visual concepts directly from image data first, naming them afterward, and classifying via simple cosine similarity—matching opaque supervised accuracy while compressing representations by up to 40x.

What Problem Does This Paper Address?

Standard neural networks are black boxes: an image of a bird goes in, "Hummingbird" comes out, and nobody knows if the model looked at the beak or the background blur. Concept Bottleneck Models (CBMs) fix this by forcing predictions through a human-readable intermediate layer of concepts (e.g., needle-like beak, iridescent plumage).

Today's CBMs suffer from two major flaws. First, many ask an LLM to brainstorm concepts before ever looking at the dataset—meaning the concepts often miss the actual fine-grained visual signals in the images. Second, to get decent accuracy, almost all CBMs train a supervised "linear probe" (a weighted classification head) on top of the concepts. Those learned weights frequently cheat, collapsing the explanation onto a tiny handful of class-correlated proxies rather than offering a faithful inventory of visual features. How do you get data-driven, genuinely transparent concepts without needing a trained classifier head?

Methods

Instead of "describe first, train later," MOSAIC trains first, describes later on top of frozen CLIP image and text encoders.

Figure 1: MOSAIC overview. Step 1 solves a balanced-marginal Sinkhorn OT between image features and K concept directions, each blended toward its nearest class-text anchor. Step 2 sharp- ens the codebook by aligning each image’s top-k concept histogram with its class-text histogram via InfoNCE. Step 3 names every concept with a VLM prompted with nearest-neighbour images. Inference encodes an image as a sparse concept histogram and classifies by cosine similarity against per-class histograms.
  1. Text-Anchored Optimal Transport (Stage 1): MOSAIC learns a codebook of $K$ concept vectors. To prevent all concepts from collapsing onto class averages, it uses Sinkhorn Optimal Transport (OT) with uniform marginals—mathematically forcing every concept to claim an equal share of image evidence in each batch. To ensure these visual clusters don't drift into alien geometric directions that humans can't name, each centroid is gently blended ($\beta=0.3$) toward its nearest class-text embedding.
  2. Histogram Alignment (Stage 2): Both images and class names are projected onto the codebook to form soft probability distributions ("concept histograms"). An InfoNCE contrastive loss sharpens the codebook so an image's concept histogram aligns closely with its true class's histogram.
  3. Post-Hoc VLM Naming (Stage 3): Once the geometry is locked, a Vision-Language Model (Qwen3.5-35B-A3B) looks at the top-activating images across six different classes for a given concept—ensuring it names a shared visual primitive rather than a single object class.
  4. Head-Free Inference: At test time, MOSAIC takes a sparse top-$k$ concept histogram, applies TF-IDF weighting (down-weighting generic concepts that fire on almost every image), and classifies via a single cosine similarity between image and class histograms. Zero per-class weights are learned.

Datasets

MOSAIC is evaluated on five standard vision benchmarks (no new datasets are introduced):

  • CUB-200 (fine-grained bird species, also used for human-annotated attribute alignment)
  • CIFAR-100 (general object recognition)
  • ImageNet-1k and its 100-class subset ImageNet-100
  • Places365 (scene classification)

Key Insights and Ideas

  • Uniform Optimal Transport prevents "class collapse": Even when concept slots are initialized with exact class names, forcing equal assignment mass pulls them into the image manifold. Instead of acting as a detector for "schooner," a concept learns within-class and cross-class visual primitives like large triangular sail shape.
Figure 2: Example concepts. One concept per dataset with its top activating images and bold class labels, showing each concept captures a coherent visual feature across different object categories. Labels show each concept’s first-pass caption (App. E).
  • Explanations are genuinely load-bearing: In an intervention test, deleting just the top 5 active concepts for a test image causes accuracy on CUB-200 to plummet from 86.4% to 1.7% (well below zero-shot CLIP's 61.9%). Meanwhile, deleting the 64 globally most-frequent concepts barely dents accuracy—proving predictions rely on specific, faithful per-image evidence across the whole codebook.
  • Unsupervised human alignment: Without seeing a single attribute label during training, 60.9% of MOSAIC's active concepts on CUB-200 strongly correlate with hand-labeled human attributes (7–9$\times$ more often than competing data-driven CBMs).

Key Results

  • Classification: Across 5 datasets and 2 CLIP backbones, MOSAIC comes within 2.5 percentage points of the black-box supervised CLIP linear probe on 8 of 10 settings (even beating it by +0.3 pp on ImageNet-100 ViT-B/16). It beats raw zero-shot CLIP by +5.2 to +24.4 pp and outperforms every linear-probe-trained CBM baseline by +1.2 to +9.7 pp.
  • Retrieval: Because images and text live in the exact same concept basis, bidirectional retrieval shines—beating CLIP Recall@1 by +5.7 to +27.0 pp (hitting 98.5% text-to-image R@1 on CUB-200 vs. CLIP's 71.5%).
  • Efficiency & Compression: Inference takes 15.89 ms on a GH200 GPU—statistically indistinguishable from raw CLIP (15.81 ms) and 2$\times$ faster than optimization-heavy CBMs like SpLiCE. Sparse histograms compress storage down to as little as 2.5% of dense CLIP features.

Limitations and Future Work

  • Scene classification lags: Places365 is the sole outlier where MOSAIC trails the supervised linear probe by ~6.5 pp. Because head-free cosine uses a single global IDF weighting, it struggles when diagnostic features vary wildly from scene to scene (where a feature crucial for one class is noise for another).
  • Dataset-specific training & VLM reliance: Skipping massive external pretraining means spending ~60 minutes training a bespoke codebook per dataset. Additionally, while three independent VLM judges verified caption fidelity, individual concepts can still be miscaptioned by the frozen VLM.
  • Rigid priors: The uniform-mass assumption in Stage 1 may under-serve frequent concepts on heavily long-tailed datasets, and blending toward the nearest class text currently lacks a semantic-adequacy check. Future work is not explicitly detailed beyond addressing these structural constraints.

Summary updated

Abstract

Concept Bottleneck Models (CBMs) provide interpretability but typically incur a penalty in accuracy. Recent CBMs rely on LLM-supplied concept vocabularies that are misaligned with the underlying image evidence and obscure dataset-specific discriminative signals, and reach competitive accuracy only through a trained task-specific linear probe. Methods that instead learn concepts directly from data require sparse-autoencoder pretraining and also classify through a trained probe. We introduce MOSAIC (Mixtures Of Sparse Anchored Interpretable Concepts), a CBM whose concepts are discovered directly from image representations via text-anchored optimal transport, a balanced-marginal pass that softly assigns each image to a small set of learned concepts while keeping them tethered to class-text embeddings, and then named post-hoc by a VLM. Across 5 datasets, MOSAIC comes within 2.5 pp of the supervised CLIP linear probe on 8 of 10 dataset-backbone settings (exceeding it on one; scene classification remains the notable exception) and beats raw zero-shot CLIP by +5.2 to +24.4 top-1 and class-level retrieval R@1 by +5.7 to +27.0. Beyond classification, the discrete concept basis enables a sparse per-image decomposition that exposes which features drive each prediction and bottleneck compression to as little as 2.5% of dense CLIP.
BibTeX
@inproceedings{ek2026mosaic,
  author = {Sannara Ek and Chong Tang and Dirk Koch and Alex S. Weddell and Jagmohan Chauhan and Robert D. Mullins},
  title = {{MOSAIC: Concept Bottlenecks via Text-Anchored Optimal Transport}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=XFOk2Ero0V},
}
Figure