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

Prompt-Driven Feature Diffusion for Open-World Semi-Supervised Learning

Marzi Heidari, Hanping Zhang, Yuhong GuoarXiv 2024

Introduction

Traditional Semi-Supervised Learning (SSL) typically assumes a "closed-world" scenario where the classes in labeled and unlabeled data are identical. However, real-world applications—from autonomous drones to medical imaging—often encounter "novel" categories not present in the initial training set. This challenge, known as Open-World Semi-Supervised Learning (OW-SSL), requires models to simultaneously classify known "seen" classes and discover/cluster "unseen" classes within unlabeled data.

Current approaches often struggle with the lack of labeled data for novel classes, leading to poor generalization or failure to distinguish between similar-looking seen and unseen categories. This paper introduces Prompt-Driven Feature Diffusion (PDFD), a framework that leverages the generative power of diffusion models in the latent feature space to bridge this gap.

Methodology

The PDFD framework moves beyond standard discriminative losses by employing feature-level diffusion guided by class prototypes. By operating in the latent space rather than on raw pixels, the model focuses on abstract semantic information, making it more scalable and efficient.

The PDFD architecture overview, showcasing the integration of feature-level diffusion, class-conditional adversarial alignment, and dynamic pseudo-label selection.

The approach consists of four primary components:

  1. Feature-Level Diffusion: PDFD diffuses and denoises high-level latent features. This avoids the computational overhead of image-level generation while focusing on semantic representations.
  2. Class Prototypes as Prompts: The model uses "class prototypes" (average feature vectors) as prompts to guide the diffusion process. For seen classes, prototypes are derived from labeled data; for unseen classes, they are estimated using high-confidence pseudo-labels from the unlabeled set.
  3. Class-Conditional Adversarial Alignment: To ensure generated features are realistic, a GAN-style adversarial loss is integrated. A discriminator tries to distinguish between real features from the encoder and generated features, forcing the model to align its internal representations with the true data distribution.
  4. Distribution-Aware Pseudo-Labeling: To mitigate bias toward "easy" classes, a selection strategy ensures proportionate representation of all classes during training.

Experimental Results

The researchers evaluated PDFD on three major image classification benchmarks adapted for the Open-World setup: CIFAR-10, CIFAR-100, and ImageNet-100. In these experiments, 50% of the classes were treated as "seen" and the remaining 50% as "novel."

Performance comparison of PDFD against state-of-the-art methods across CIFAR-10, CIFAR-100, and ImageNet-100 datasets.

As shown in the results table, PDFD consistently outperforms existing state-of-the-art methods such as ORCA and NACH across all metrics:

  • Overall Accuracy: On CIFAR-100, PDFD achieved an overall accuracy of 52.9%, surpassing NACH (52.1%) and ORCA (48.1%).
  • Novel Class Discovery: The framework is particularly robust at identifying unseen classes. On ImageNet-100, it reached 76.1% accuracy for novel classes, outperforming the previous best of 75.5%.
  • Ablation Success: Removing the "prototype prompt" caused a significant drop in performance, confirming that the prompt-driven nature of the diffusion is the critical component for handling open-world data.

Discussion and Conclusion

PDFD demonstrates that generative denoising in the latent space is a powerful proxy for class understanding. By using class prototypes as semantic anchors, the model effectively transfers knowledge from seen to unseen classes.

While the model currently relies on initial K-means clustering for pseudo-labeling and requires careful hyperparameter tuning, it represents a significant advancement in OW-SSL. Future work may involve integrating multi-modal prompts (e.g., text-based prompts from CLIP) to further enhance semantic generalization and reduce reliance on initial clustering for novel class discovery.

Summary updated

BibTeX
@misc{heidari2024prompt,
  author = {Marzi Heidari and Hanping Zhang and Yuhong Guo},
  title = {{Prompt-Driven Feature Diffusion for Open-World Semi-Supervised Learning}},
  year = {2024},
  eprint = {2404.11795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.11795},
}
Figure