Shared Subspace Correction for Multi-Label Classification with Vision-Language Encoders

Jayaraman J. ThiagarajanarXiv 2026

TL;DR

Vision-language models like CLIP are great at matching whole captions to images, but they stumble when asked to detect multiple distinct concepts in a single image—especially in specialized domains like radiology. This paper discovers that the "compass needles" these models use to separate concepts are systematically misaligned, and crucially, their errors share a low-dimensional geometric structure. By learning a compact correction in this shared subspace, the authors fix all concept detectors simultaneously—and even correct detectors for brand-new concepts the model has never seen labeled examples of.

What Problem Does This Paper Address?

When you use a frozen vision-language encoder (like CLIP or SigLIP) for multi-label classification (MLC)—say, spotting a dog, a frisbee, and a tree in one photo, or multiple pathologies on a chest X-ray—you can't just run a simple softmax over classes. Instead, you make an independent yes/no decision for each concept along its discrimination axis: the vector direction pointing from a negative text prompt ("a photo without a dog") to a positive one ("a photo of a dog").

Here is the catch: contrastive pre-training optimizes global image–caption matching, not per-concept separation. As a result, text-derived discrimination axes often point in the wrong direction compared to the true boundary separating positive and negative images. Existing methods dance around this—tweaking text prompts, aggregating image patches, or shifting overall modality distributions—while leaving the underlying axis geometry untouched. Often, training naive, independent linear classifiers per class beats these clever zero-shot adaptations, though linear probes lose all ability to generalize to unseen classes.

Methods

First, the author diagnoses the geometry using Singular Value Decomposition (SVD) on a small labeled calibration set, comparing text-derived axes to empirical logistic regression separators. Finding that the gaps concentrate in a shared low-rank subspace, the paper introduces Shared Subspace Correction (SSC).

Instead of relying on differentiable surrogates (which struggle under heavy class imbalance), SSC uses a derivative-free Evolution Strategy (ES) to directly optimize mean Average Precision (mAP), a non-differentiable ranking metric:

  • Sequential Rank-1 Updates: Across $T$ generations, SSC samples candidate shared directions in embedding space and evaluates a population of perturbed axes to estimate gradients over per-concept scalar weights.
  • Rank Self-Regulation: Unlike gradient methods that force you to guess the subspace rank $k$ upfront, SSC lets the effective rank emerge naturally—useful shared directions get strong weights, while unhelpful ones decay toward zero.
  • Zero-Overhead Inference: Once calibrated, SSC reconstructs corrected positive text prototypes on the unit sphere. At test time, these simply replace the original prototypes, adding zero latency.
  • Zero-Shot Transfer: For completely unseen concepts (where only text prompts exist), ridge/OLS regression predicts their correction weights by projecting their text axes onto the learned subspace.

Datasets

The paper evaluates across familiar and novel visual domains:

  • MS-COCO (80 everyday object classes; in-domain).
  • HomeObjects-3K $\rightarrow$ OpenImages (calibrated on 12 indoor object classes, tested across distribution shift on 10,000 OpenImages samples).
  • MLRSNet (109K aerial/remote sensing images across 60 classes; novel imagery, familiar concepts).
  • MIMIC-CXR (chest radiographs with 14 CheXpert pathology labels; novel imagery and novel concepts).
  • New Cross-Task Radiology Suite: Built from MIMIC-CXR free-text reports, introducing 8 distinct clinical diagnostic categories (12 fine-grained concepts each, such as tubes/lines/hardware or vascular findings). Unlike standard benchmarks that vary images while keeping labels fixed, this tests transfer across entirely held-out concept groups.

Key Insights and Ideas

  • Encoder blind spots are shared and low-rank: Because contrastive pre-training uses one global objective, its blind spots aren't random quirks—they are correlated across concepts. The more unfamiliar the visual domain, the more systematic (and lower-rank) the misalignment becomes (effective rank of 5–7 on chest X-rays vs. 47–56 on MS-COCO).
Figure 1: Per-concept corrections share low-rank structure. mAP as a function of SVD correction rank k across three encoders (rows) and three datasets (columns). A few shared directions capture most of the achievable gain, and the effective rank decreases as the embeddings become more systematically misaligned.
  • Corrections naturally track label co-occurrence: Without any dedicated co-occurrence module, concepts whose correction vectors align strongly tend to co-occur in the real world (Mantel test $r = 0.46$ on MIMIC-CXR).
  • Low rank prevents overfitting during transfer: When transferring corrections to unseen concepts, low-rank components capture genuine modality-level geometry, whereas high-rank components overfit to the calibration classes and hurt generalization.
Figure 2: Zero-shot transfer analysis on MIMIC-CXR (SigLIP). (a) mAP on held-out classes as a function of correction rank r, for K = 3 and K = 5 held-out classes. Performance peaks at low rank and degrades at higher rank, showing that high-rank components overfit to seen classes and do not transfer. (b) Absolute mAP on held-out classes at K = 1, 3, 5, 7, with correction rank fixed at r = 5. The transferred correction (no labels for held-out classes) consistently sits between ZSL and full SSC (with labels), confirming that the shared subspace generalizes to unseen concepts.
  • Direct metric optimization beats smooth surrogates: Optimizing a differentiable proxy (Smooth-AP with Adam) over the exact same parameterization trails SSC by 1.5 mAP points and is brittle to rank selection, because abundant easy negatives drown out rare positive gradients.

Key Results

  • Outperforms Baselines Everywhere: On MS-COCO, SSC beats prompt-tuning baselines by 2.3–3.6 mAP points, and combining it with patch-level aggregation (SSC + TagCLIP) achieves the top result across all encoders (0.719–0.738 mAP).
  • Beats Linear Probes with Less Data: On MIMIC-CXR, SSC beats per-class linear probes trained on the exact same calibration data by 1.4–2.3 mAP points, with an even wider lead when calibration data shrinks to just 1%.
  • Boosts Domain-Adapted Models: Even encoders explicitly pre-trained on medical data benefit substantially—MedSigLIP jumps from 0.767 (zero-shot) to 0.894 mAP (+0.127) in about 6 minutes of calibration on a single A100 GPU.
  • Cross-Task Clinical Transfer: In leave-one-task-out radiology tests—predicting 12 unseen diagnostic concepts with zero labeled examples—transferred SSC improves macro ROC-AUC from 0.60 to 0.69, recovering 43% of the supervised oracle gain from text descriptions alone.

Limitations and Future Work

  • Requires Calibration Labels: In-domain SSC is calibration-based, not purely zero-shot, as it needs a small labeled set to find the subspace.
  • Frozen Image Features: SSC rotates discrimination axes in the output space; if the frozen visual encoder fundamentally fails to extract a subtle visual feature, axis correction cannot conjure it.
  • Diminishing Returns at High Rank: When misalignments are mostly concept-specific rather than systematic (e.g., MLRSNet, rank 41–46 for 60 classes), pooling across concepts offers smaller gains (0.1–1.0 mAP) over independent linear probes.
  • Future Directions: Extending unseen-concept transfer across different image domains (beyond MIMIC-CXR) and developing a rigorous theoretical proof for why contrastive misalignments compress into low-rank subspaces remain open avenues.

Summary updated

BibTeX
@misc{thiagarajan2026shared,
  author = {Jayaraman J. Thiagarajan},
  title = {{Shared Subspace Correction for Multi-Label Classification with Vision-Language Encoders}},
  year = {2026},
  eprint = {2611.35132},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35132},
}
Figure