NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning a Task-Adaptive Low-Dimensional Semantic Space for Improved Visual Classification

Nikalal Kaldera, Wanqing Li, Chris Bunn, Philip Olurotimi OgunbonaNeurIPS 2026

TL;DR

When classifying images or videos using text supervision (like CLIP), mapping visual features directly into a raw language-model embedding space often creates messy, overlapping clusters for similar concepts. The authors introduce TaSS (Task-Adaptive Semantic Space), a method that geometrically reshapes text embeddings to push crowded classes apart while preserving their semantic relationships. By aligning frozen visual encoders to this cleaner target space via a tiny neural network, classification accuracy jumps significantly without any expensive backbone fine-tuning.

What Problem Does This Paper Address?

Modern computer vision leans heavily on aligning visual data with semantic spaces generated by pretrained text encoders. While great for zero-shot generalization, raw language spaces aren't built for sharp visual classification.

First, text embeddings are often high-dimensional and geometrically mismatched with compact visual features. Second—and more importantly—linguistic closeness doesn't equal visual separability. In a text encoder's mind, "put object into bag" and "take object out of bag" (or "California gull" and "Herring gull") live right next to each other because they share words and context. If you force a vision model to map images into that crowded linguistic neighborhood, the visual representations blur together. Standard dimensionality reduction tools (like PCA, UMAP, or LDA) either ruin the global semantic relationships or fail to separate classes cleanly. The authors ask: Can we sculpt a semantic space that keeps meaningful relationships intact, matches visual feature dimensions, and actively pushes similar classes apart?

Methods

Instead of taking text embeddings as gospel or fine-tuning massive vision models, the authors decouple the problem: first build a better target map (TaSS), then train a lightweight adapter to project frozen visual features onto it.

Figure 1: Overview of text-guided visual classification. (a) Alignment to the original text-encoder semantic space that is dimensionally mismatched with visual features is not optimized for discrimina- tion, limiting class separability. (b) Our method aligns frozen visual features to TaSS constructed from the text-encoder space, with controllable dimensionality, enhanced inter-class separation, multi- prototype compactness, and semantic preservation.
  1. Generating Rich Text Embeddings (Standard): Using an LLM (like GPT-5, Gemini, or Claude), they generate multiple descriptive sentences per class to capture intra-class variations, encoding them with a frozen text model (e.g., CLIP, BERT).
  2. Concave Distance Reshaping (Novel): To fix crowding, TaSS calculates pairwise distances between class centroids and applies an increasing concave power transformation ($t = \delta_{\max}(\delta/\delta_{\max})^a$, with $a < 1$). Intuitively, this acts like a selective magnifying glass: it stretches small distances between nearby, confusable classes much more than large distances between unrelated ones. Because the function is strictly increasing, the exact relative ordering of class similarities (semantic fidelity) is preserved.
  3. Multi-Prototype Compactness (Novel): Classes aren't monoliths—an action or bird species has stylistic variations. Using $k$-means ($K=4$ works best), TaSS groups each class's text descriptions into $K$ prototypes, constraining embeddings to stay tight around their prototype, and keeping prototypes within a safe radius of the class centroid so neighboring classes don't bleed into one another.
  4. Lightweight Visual Alignment: Finally, features from a frozen visual encoder are mapped to TaSS's exact dimensionality using a 3-layer MLP trained with an InfoNCE contrastive loss, matching visual inputs to their closest positive class prototype.

Datasets

No new datasets were introduced; instead, the authors tested TaSS across three distinct visual modalities using established benchmarks:

  • Skeleton-based Human Action Recognition (HAR): NTU RGB+D (60 classes) and NTU RGB+D 120 (120 classes) of 3D human motion.
  • Video Classification: HMDB51 (51 action categories) and Aridv1.5 (11 action categories, often used for low-light/challenging video recognition).
  • Image Classification: CIFAR-10 (general coarse objects), plus fine-grained benchmarks CUB-200 (200 bird species) and Oxford-IIIT Pet (37 dog and cat breeds).

Key Insights and Ideas

  • Stretch locally, preserve globally: By using a concave curve to reshape target distances, you don't have to choose between discriminative margins and semantic meaning. On CUB-200, TaSS achieved a Spearman rank correlation of 1.00 (zero ordinal violations) relative to the original text space while dramatically opening up margins between sibling bird species.
  • Semantics beat pure label supervision: When tested against classic metric-learning losses (like ArcFace, SupCon, and Circle Loss) that push visual classes apart using only class IDs, TaSS still won. Knowing how classes relate semantically gives the visual projector a better geometric blueprint than blind repulsion.
  • Multi-modal variations matter: Representing a class as 4 distinct semantic sub-clusters (prototypes) rather than a single point prevented intra-class diversity from collapsing and boosted accuracy across tasks.

Key Results

Across 16 combinations of datasets and frozen backbones (including DINOv3, MAE, VideoMAEv2, and MAMP), aligning to TaSS beat both linear probing and MLP alignment to the raw text-encoder space every single time.

Table 2: TaSS alignment improves visual classification across HAR, video, and image classification tasks, datasets, encoder architectures. Each row evaluates a frozen encoder under four settings: linear probing, linear projection to TaSS, MLP alignment to the original text-encoder semantic space, and MLP alignment to TaSS. The final column reports the TaSS gain over MLP alignment to the original text-encoder semantic space on the hardest 30% of classes. Here SSL, SL, Trans., GCN, and Align. denote self-supervised learning, supervised learning, Transformer, graph convolutional network, and alignment, respectively. For Text-Enc. MLP Align. and TaSS MLP Align., results are reported as mean ± standard deviation over three independent seeds.
  • Overall Accuracy: TaSS improved Top-1 accuracy over raw text-space MLP alignment by up to 3.0 percentage points on NTU60 (85.2% $\rightarrow$ 88.2% with MAMP) and 4.6 points on CUB-200 (35.5% $\rightarrow$ 40.1% with MAE; 85.4% $\rightarrow$ 88.2% with DINOv3).
  • Hardest Classes Shine: Looking specifically at the hardest 30% of classes (like fine-grained gulls, terns, or opposing hand gestures), TaSS delivered massive gains over standard text alignment—up to +6.3 points on HAR and +8.5 points on CUB-200.
  • Better Retrieval: In text-to-motion and text-to-image retrieval, TaSS outperformed raw text spaces across the board (e.g., lifting mAP@top-50% from 0.85 to 0.93 on CUB-200), proving the reshaped space generalizes beyond mere classification.

Limitations and Future Work

  • Garbage in, garbage out: Because TaSS reshapes existing text embeddings, its quality is fundamentally bottlenecked by how well the underlying LLM and text encoder understand the classes in the first place.
  • Relative vs. Exact Geometry: The theoretical guarantees preserve the rank order of class distances, not exact metric ratios. Pushing the concavity parameter too far ($a \rightarrow 0$) forces everything toward a uniform distribution and degrades performance.
  • Closed-world assumption: Currently, TaSS requires knowing the fixed set of classes upfront to compute global distance transformations. Adapting this geometric reshaping to incremental learning and open-vocabulary recognition—as well as exploring adaptive higher-dimensional target spaces—are highlighted as prime directions for future work.

Summary updated

BibTeX
@inproceedings{kaldera2026learning,
  author = {Nikalal Kaldera and Wanqing Li and Chris Bunn and Philip Olurotimi Ogunbona},
  title = {{Learning a Task-Adaptive Low-Dimensional Semantic Space for Improved Visual Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Yzl6jqkOM4},
}
Figure