ZeroDiff: Solidified Visual-semantic Correlation in Zero-Shot Learning

Zihan Ye, Shreyank N Gowda, Shiming Chen, Xiaowei Huang, Haotian Xu, Fahad Shahbaz Khan, Yaochu Jin, Kaizhu Huang, Xiaobo Jin

Zero-Shot Learning (ZSL) is the art of teaching a model to recognize an object it has never seen before—for example, identifying a "Zebra" after only seeing "Horses" and being told that a Zebra is essentially a "Horse with stripes." Most current ZSL models are generative; they learn the relationship between visual features and semantic attributes (like "stripes" or "four legs") from "seen" classes to synthesize fake visual features for "unseen" classes.

However, these models suffer from a severe "data hunger" problem. When the number of samples for seen classes is limited, generative models don't just perform slightly worse; they collapse. This paper, accepted to ICLR 2025, introduces ZeroDiff, a new generative framework that prevents ZSL models from failing when training data is scarce.

Overview of the ZeroDiff framework compared to standard GAN-based ZSL.

The Problem: Spurious Visual-Semantic Correlations

The authors discovered that in low-data regimes, generative models overfit to the specific noise or unique quirks of the few available training images. The model mistakenly believes those quirks are the defining characteristics of the class attributes, leading to spurious visual-semantic correlations.

By quantifying this using a "critic score" ($\Delta_{adv}$), the researchers proved that as data decreases, discriminators become increasingly unable to generalize beyond the exact samples they've memorized. Standard models begin to classify real validation images as "fake" because they don't perfectly match the memorized training noise.

The ZeroDiff Solution

To address this, the authors introduce ZeroDiff, a framework designed to "solidify" the connection between what a model sees and what it knows. It eliminates spurious correlations and maintains high accuracy even when trained on only 10% of the usual dataset.

Detailed architecture of the ZeroDiff framework.

ZeroDiff consists of three main innovations:

  1. Diffusion Augmentation (DFG): Instead of relying on a standard Generative Adversarial Network (GAN), ZeroDiff uses a diffusion mechanism. This allows the model to take a single clean image and "unfold" it into an infinite variety of noised versions. This acts as a massive, natural data augmentation strategy that forces the generator to learn the true manifold of the data rather than just memorizing isolated points.
  2. Dynamic SC-based Representations (DRG): Traditional ZSL uses static, class-level attributes (e.g., "all foxes are red"). But what about a white arctic fox? ZeroDiff uses Supervised Contrastive (SC) learning to generate instance-level semantics. This allows the model to understand that different images of the same class can emphasize different attributes, leading to much more flexible and accurate feature generation.
  3. Multi-view Mutual Learning: The framework employs three different discriminators that judge generated features from different "views": predefined semantics, the diffusion process, and the contrastive representations. They use a Wasserstein-distance-based mutual learning loss to allow these discriminators to share knowledge, making the entire system significantly more robust against overfitting.

Key Results and Insights

The authors evaluated ZeroDiff on three gold-standard ZSL benchmarks: AWA2 (Animals with Attributes 2), CUB (fine-grained bird species), and SUN (scene understanding). Crucially, they introduced a new evaluation protocol where they artificially restricted the training data to 30% and 10% of the original size to test the models' "data efficiency."

  • Unmatched Robustness: On the AWA2 dataset with only 10% training data, ZeroDiff achieved an impressive 83.3% accuracy. In comparison, the popular f-VAEGAN dropped to 73.1%, and f-CLSWGAN plummeted to 54.0%.
  • New State-of-the-Art: Even with full data, ZeroDiff set new records, achieving 87.3% on AWA2 and 87.5% on CUB for Zero-Shot Learning.
  • Qualitative Success: As seen in the t-SNE visualizations of the overview figure, while other models' generated features turn into an undifferentiated "blob" as data decreases, ZeroDiff maintains clear, distinct clusters for unseen classes.

Limitations and Future Work

While ZeroDiff is highly effective, the authors note a few areas for future growth. Training three discriminators alongside a diffusion-based generator is more computationally intensive than traditional GAN-based ZSL. Additionally, the model still relies on high-quality, pre-defined semantic attributes. Future work could explore using raw text descriptions or self-supervised attributes to remove this dependency.

Ultimately, ZeroDiff proves that diffusion models can act as powerful regularizers in data-scarce environments. The authors suggest that these principles could eventually be integrated into larger vision-language models (like CLIP) to improve their fine-grained classification abilities in niche domains where data is hard to find.

Summary updated

BibTeX
@inproceedings{ye2025zerodiff,
  author = {Zihan Ye and Shreyank N Gowda and Shiming Chen and Xiaowei Huang and Haotian Xu and Fahad Shahbaz Khan and Yaochu Jin and Kaizhu Huang and Xiaobo Jin},
  title = {{ZeroDiff: Solidified Visual-semantic Correlation in Zero-Shot Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=wy9FRV8O5s},
}
Figure