TL;DR
When Vision-Language Models (like CLIP) try to label new data on their own, their pre-training biases kick in, producing wildly imbalanced guesses. Standard fixes force every class to have the exact same number of samples—which inadvertently stuffs rare classes full of garbage labels. This paper introduces PPSB, a framework that gently caps over-predicted classes instead of artificially inflating rare ones, allowing the model's training set to organically balance and grow as its biases fade.
What Problem Does This Paper Address?
Vision-Language Models (VLMs) are great out of the box, but they still need fine-tuning to shine on specialized tasks. Because human-labeled data is expensive, researchers often use pseudo-labeling: let the VLM guess the labels on an unlabeled dataset, keep its most confident guesses, and train on those.
Here is the catch: VLMs play favorites. Even if a dataset is perfectly balanced, a VLM's zero-shot predictions will form a "long-tailed" distribution. It over-predicts classes it saw frequently during pre-training and under-predicts classes with vague names (like "747-300" instead of "Boeing 747-300").
Training on skewed guesses ruins performance. Standard methods fix this by picking the top-$k$ most confident guesses per class to force a uniform distribution. However, if a model barely predicts a rare ("tail") class to begin with, forcing it to find $k$ examples means scraping the bottom of the barrel and injecting noisy, incorrect labels into the training loop. Plus, VLM confidence scores aren't always trustworthy metrics for filtering in the first place.
Methods
Instead of standard full fine-tuning, the authors freeze the VLM's encoders and use prompt tuning (adjusting learnable text vectors) alongside LLM-enhanced class descriptions. On top of this standard setup, they introduce three novel mechanisms:
- Progressive Pseudo-label Self-Balancing (PPSB): Rather than forcing rare classes up, PPSB trims common classes down. It divides classes into pseudo-head (over-predicted), pseudo-middle, and pseudo-tail (under-predicted) based on prediction counts. It keeps all tail guesses, then calculates the average count of middle and tail labels to set an upper cap ($\mathcal{U}$) on head and middle classes. Early on, bias is high and $\mathcal{U}$ is small. As training fixes the bias, tail counts rise, $\mathcal{U}$ grows automatically, and the dataset scales up without needing manual iteration schedules.
- Image-Text Neighborhood Consistency Filtering (NCF): To filter out bad head-class labels without relying solely on raw confidence scores, the authors project images into a cross-modal space (solving a quick ridge regression to express each image as a linear combination of text class features). A sample's pseudo-label is only trusted if its $k$-nearest neighbors in this cross-modal space share the exact same pseudo-label.
- Visual Prototype Classifier: Text prompts carry semantic bias. To counter this, the authors average the image embeddings of reliable pseudo-labeled samples in each class to form "visual prototypes." By fusing predictions from this visual classifier with the original text classifier, the model regenerates much cleaner pseudo-labels.
Datasets
The authors evaluate PPSB on six standard image classification benchmarks spanning diverse domains—no new datasets are introduced:
- DTD (textures)
- FGVC-Aircraft (fine-grained aircraft)
- CUB (fine-grained birds)
- Flowers102 (floral species)
- OxfordPets (pet breeds)
- StanfordCars (car models)
They test these across three paradigms: Unsupervised Learning (unlabeled data only), Semi-Supervised Learning (a few labeled + many unlabeled), and Transductive Zero-Shot Learning (seen labeled classes + unseen unlabeled classes), plus artificially imbalanced versions of four datasets.
Key Insights and Ideas
- Don't pad the tail; cap the head: Trying to force strict class balance early in training backfires because the model simply doesn't know enough about rare classes yet. Letting the tail dictate the ceiling for the head prevents poison labels from entering the pool.
- Dataset size as an emergent property: Because the upper bound $\mathcal{U}$ is tied directly to middle- and tail-class volume, the training set size acts as a natural thermometer for model bias—growing autonomously only as the model becomes more equitable.
- Cross-modal neighborhoods beat visual ones: Clustering images using raw visual features plateaus quickly because the image encoder is frozen. Projecting images onto the evolving text prompts creates a representation space that actively sharpens as the prompts learn.
Key Results
Across all six benchmarks and three learning paradigms (using CLIP ViT-B/32), PPSB beats eight state-of-the-art baselines by an average of 3.84% in accuracy.
- Unsupervised: Huge leaps on fine-grained datasets, beating the next-best methods by 9.65% on Flowers102 (reaching 86.43%), 4.09% on FGVC-Aircraft, and 4.26% on CUB.
- Semi-Supervised & Transductive: Outperforms top baselines by an average of 2.62% and 3.85%, respectively.
- Component Ablations: On a 3-dataset subset, the PPSB balancing framework alone boosts accuracy by 11.25% over baseline. Adding neighborhood filtering and the visual classifier pushes the total gain to 14.76%.
- Scale & Imbalance: Switching to a larger ViT-L/14 backbone yields a 5.85% average lead; switching foundation models to OpenCLIP yields a 5.59% lead. Even when datasets are artificially skewed (imbalance ratios of 10 and 20), PPSB still takes top place (54.10% average).
Limitations and Future Work
Not discussed in the paper. (Note: Within the main text provided, the authors do not include a dedicated section discussing limitations or future research directions.)
Summary updated