Stability-Aware Self-Training for CLIP under Cross-Modal Anchoring Mismatch

Siyuan Liu, Xinyang Chen, Xiucheng Li, Weili Guan, Liqiang NieNeurIPS 2026

TL;DR

When adapting CLIP to new domains using unlabeled data, the model often suffers from "prediction flip-flopping"—changing its mind about what an image is from one epoch to the next because pre-trained text embeddings don't neatly line up with the new visual data. By tracking which samples stay temporally stable over time and using them to build visual "anchors," this paper turns a frustrating training quirk into a powerful self-supervision signal, dramatically boosting accuracy without needing extra human labels.

What Problem Does This Paper Address?

Imagine trying to sort a pile of exotic flowers using only a generic dictionary. Vision-language models like CLIP do something similar: they classify images by seeing which text prompt ("a photo of a rose") lands closest to the image in a shared mathematical space.

To adapt CLIP to specialized domains (like satellite imagery or fine-grained aircraft) without paying for thousands of labels, researchers use self-training: the model guesses labels for unlabeled images ("pseudo-labels"), keeps the confident ones, and trains on its own guesses.

Here is the catch: Cross-Modal Anchoring Mismatch. Pre-trained text prompts act as fixed anchors, but their geometry often doesn't match how target-domain images naturally cluster. Images sitting near awkward decision boundaries repeatedly flip their predicted labels across training epochs. Standard methods only check if a prediction is confident at a single snapshot in time, completely missing whether that prediction is temporally unstable—poisoning the training loop with flip-flopping supervision.

Figure 1: Training dynamics under SSL setting. We compare three variants: a text anchor adaptation, a target-aligned visual anchor reference and our SAST. For detailed protocol, refer to Appendix A.2.

Methods

The authors introduce Stability-Aware Self-Training (SAST). CLIP’s main encoders stay frozen while lightweight, learnable prompts (via the standard MaPLe framework) are tuned. What is new is how SAST constructs better targets and combines predictions:

  • Stability-Weighted Image Prototypes (SWIP): Instead of trusting fixed text anchors alone, SAST builds visual class prototypes directly from target images. It maintains a lightweight memory bank tracking each sample's prediction history across epochs. Samples that rarely flip their predictions earn a high stability score (with a slight penalty if they drift too far from the original text anchor) and are averaged to form reliable, target-aligned visual anchors.
  • Confusion-Aware Text Prompt Augmentation (CTPA): Prediction flips happen most often between semantically similar classes (e.g., fire lily vs. sword lily). Offline, before training begins, an LLM generates descriptive attributes from class names. CTPA greedily injects attributes into prompts only for confusing neighbor classes, selecting traits least similar to the neighbors to push their text embeddings apart.
  • Dynamic Reliability Fusion: Because SAST has both a visual prototype stream (SWIP) and a refined text stream (CTPA), it normalizes their outputs and blends them per-sample. During training, whichever branch has been historically more stable for that specific image gets a louder vote; at test time, prediction confidence steps in as a fast stand-in.
Figure 2: Our SAST framework. Green: SWIP selects class-wise image prototypes from temporally stable samples to provide visual anchors. Yellow: CTPA augments confusion-prone class prompts with discriminative attributes to enlarge local text-side separation. Blue: The rule to obtain a fused prediction. The CLIP encoders are frozen; only the learnable prompts (following MaPLe) are trained.

Datasets

No new benchmarks are introduced; the authors evaluate on six standard datasets spanning diverse visual shifts:

  • Fine-grained recognition: CUB (birds), FGVC-Aircraft, and Flowers102.
  • Satellite & Scenes: EuroSAT and RESISC45.
  • Textures: DTD (Describable Textures Dataset).

Each is tested across three adaptation regimes: Unsupervised Learning (100% unlabeled), Semi-Supervised Learning (2 labeled examples per class + unlabeled data), and Transductive Zero-Shot Learning (full labels for 62% "seen" classes, unlabeled data for 38% "unseen" classes).

Key Insights and Ideas

  • Stability is not just confidence in disguise: You might assume high confidence equals high stability. Not quite! On the CUB dataset, among samples with low confidence (< 0.9) but high temporal stability ($\ge 0.8$), pseudo-label accuracy was a remarkable 82.6%—nearly identical to high-confidence samples (84.2%). Stability rescues reliable, hard-to-classify examples that confidence filters throw away.
  • Precision vs. Coverage: High-confidence samples are abundant (great for broad training coverage), while high-stability samples are rarer but ultra-reliable (ideal for building structural class anchors).
  • Visual prototypes heal the modality gap: On RESISC45, initial pre-trained anchors only aligned with true target visual clusters at a cosine similarity of 0.64. As SWIP refreshed prototypes using stable samples, alignment climbed steadily to 0.93.
Figure 3: Analysis on the effects of the components of SAST.

Key Results

Using a ViT-B/32 backbone, SAST beats recent state-of-the-art pseudo-label baselines (FPL, GRIP, CPL, and CAP) across all 18 dataset-and-setting combinations:

  • Unsupervised leaps: Without a single label on EuroSAT, SAST hits 95.30% accuracy, leaping over +20% past the strongest baseline (CAP at 75.01%) and nearly tripling zero-shot CLIP (32.88%).
  • Crushing fine-grained ambiguity: On CUB, SAST improves over CAP by +4.96% in Unsupervised (60.72%), +8.08% in Semi-Supervised (66.12%), and +10.95% in Transductive Zero-Shot Learning (72.30%).
  • Scales cleanly: Swapping to a larger ViT-L/14 backbone preserves the gains (e.g., reaching 91.16% SSL and 93.02% TRZSL on RESISC45).

Limitations and Future Work

  • Compositional class overlap: CTPA struggled slightly on RESISC45 (-0.9% ablation dip). Categories like railway vs. railway station share the exact same physical objects, meaning an LLM's candidate pool of attributes still overlaps heavily. Because CTPA only selects from generated attributes, its power is bounded by how distinguishable those attributes are in text.
  • Inductive test-time fallback: Temporal stability requires seeing an unlabeled training image across multiple epochs. For brand-new test images seen only once, SAST must fall back to standard branch confidence as a surrogate for fusion weighting.
  • (Explicit future work directions are not discussed in the main body of the paper.)

Summary updated

Abstract

Self-training is a practical way to adapt CLIP with limited supervision, but its performance is highly sensitive to pseudo-label reliability. We identify an important failure mode in CLIP adaptation: temporal prediction instability, where a target sample repeatedly flips its prediction across epochs. We provide a perspective based on cross-modal anchoring mismatch: the decision geometry induced by pretrained text anchors can deviate from the local visual cluster structure of the target domain. This mismatch can make ambiguous target samples susceptible to prediction flips during adaptation, whereas target-aligned anchoring produces more stable pseudo-labels. Motivated by this observation, we propose Stability-Aware Self-Training (SAST), centered on Stability-Weighted Image Prototypes (SWIP). SWIP builds class-wise visual anchors from temporally stable target samples to provide more reliable adaptation references. We further add a lightweight text-side refinement to reduce confusion-induced instability, and combine the two streams with an adaptive fusion rule. Across six standard benchmarks and three adaptation settings, SAST consistently outperforms strong baselines. The results suggest that explicitly modeling temporal stability is an effective route to more robust CLIP adaptation under self-training.
BibTeX
@inproceedings{liu2026stability,
  author = {Siyuan Liu and Xinyang Chen and Xiucheng Li and Weili Guan and Liqiang Nie},
  title = {{Stability-Aware Self-Training for CLIP under Cross-Modal Anchoring Mismatch}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=sKdtoMZXRC},
}
Figure