Diffusion Feedback Helps CLIP See Better

Wenxuan Wang, Quan Sun, Fan Zhang, Yepeng Tang, Jing Liu, Xinlong Wang

TL;DR

CLIP models often struggle with fine-grained visual details like orientation, count, and structure because their training captions are too vague. DIVA (DIffusion model as a Visual Assistant) fixes this by using generative feedback from a pre-trained diffusion model to refine CLIP’s representations using only images. This significantly boosts fine-grained perception without sacrificing zero-shot performance.

What Problem Does This Paper Address?

Contrastive Language-Image Pre-training (CLIP) is the backbone of modern computer vision, but it has a "vision problem." While CLIP is excellent at high-level semantic abstraction (knowing an image contains a "dog"), it often fails at fine-grained details. It struggles to distinguish if a bus is facing toward or away from a camera, how many objects are in a scene, or the specific structural layout of a complex object.

The authors argue this stems from the training data: image-text pairs from the web are inherently noisy and biased. Captions are usually short and focus on primary subjects, ignoring "boring" details like orientation or background counts. Consequently, CLIP learns to ignore these details too. This bottleneck limits the performance of Multimodal Large Language Models (MLLMs), like LLaVA, which rely on CLIP to "see."

Methods

The researchers introduce DIVA, a post-training framework that treats a frozen text-to-image diffusion model as a "Visual Assistant" to provide generative feedback to CLIP.

The core idea is that diffusion models are masters of detail—to generate a realistic image from noise, they must understand texture, shape, and spatial relationships. DIVA leverages this "knowledge" to tune CLIP's visual encoder:

  1. Generative Guidance: An image is encoded by CLIP. These visual features are then used as a condition for a pre-trained diffusion model (like Stable Diffusion).
  2. Visual Dense Recap: Instead of just using CLIP’s global [CLS] token, DIVA incorporates local patch tokens. This provides the diffusion model with a "dense" representation of the image.
  3. Optimization: The diffusion model attempts to reconstruct the original image from noise, conditioned on these CLIP features. The reconstruction loss (the difference between predicted and actual noise) is backpropagated to update only the CLIP visual encoder.
  4. Self-Supervised: Crucially, this process requires only images and no captions. This allows the model to learn from vast amounts of unlabelled data.

Datasets

  • Training: The authors used a subset of the Conceptual-3M (CC3M) dataset, specifically utilizing only the images for their self-supervised process.
  • Fine-Grained Evaluation: The primary benchmark is MMVP-VLM, which specifically targets visual patterns CLIP usually misses (orientation, count, etc.).
  • MLLM Benchmarks: To test downstream impact, they evaluated on POPE (hallucination), MME (perception), MMBench, and LLaVA-Bench-in-the-Wild.
  • Generalization: They tested on 27 image classification datasets (including ImageNet-1K, CIFAR-10/100, and MNIST) and 2 retrieval benchmarks (Flickr30K, COCO) to ensure zero-shot capabilities remained intact.

Key Insights and Ideas

  • Generative vs. Discriminative: Contrastive learning (discriminative) only needs to find "enough" information to tell two things apart. Generative tasks (reconstruction) force the model to account for every pixel, naturally leading to better fine-grained representations.
  • The "Visual Sentence": By projecting CLIP features into the diffusion model’s text embedding space and combining them with "empty" text tokens, DIVA creates a "visual sentence." This bridges the gap between CLIP’s discriminative space and the diffusion model’s generative space.
  • Recap Density is a Trade-off: The authors found a "Goldilocks zone" for how much local information to provide. If you give the diffusion model too many local patches, the reconstruction task becomes too easy, and CLIP doesn't learn much. If you give too few, the task is too hard. Finding the right "Visual Recap Density" is key to maximizing performance.

Key Results

DIVA consistently improves CLIP across various architectures, including OpenAI CLIP, MetaCLIP, SigLIP, and DFN.

Performance improvements and qualitative example of DIVA.
  • Fine-Grained Perception: On the MMVP-VLM benchmark, DIVA boosted performance by 3-7% across different models. For example, OpenAI ViT-L-224 improved from 19.3% to 25.9%.
  • MLLM Boost: When used as the backbone for LLaVA-1.5, the enhanced CLIP encoder significantly improved scores on MMBench and reduced object hallucinations (POPE).
  • Zero-Shot Preservation: Despite the fine-tuning, DIVA maintains CLIP’s legendary zero-shot classification accuracy across 27 datasets, proving that it adds new knowledge without overwriting the old.
  • Qualitative Success: DIVA-enhanced models correctly identify fine-grained details, such as bus orientations, that baseline models consistently miss.

Limitations and Future Work

While DIVA is highly effective, the authors note a few areas for growth:

  • Data Scaling: The current work uses CC3M; scaling to even larger image-only datasets could further push the boundaries of visual perception.
  • Model Capacity: The approach could be applied to even larger CLIP backbones or more advanced diffusion models (like SDXL).
  • Beyond Images: Exploring other modalities, such as video or audio, using similar generative feedback loops is a promising future direction.
  • Supervision Schemes: Integrating DIVA with more structured, fine-grained supervision (like localized captions) might yield even stronger results.

Summary updated

BibTeX
@inproceedings{wang2025diffusion,
  author = {Wenxuan Wang and Quan Sun and Fan Zhang and Yepeng Tang and Jing Liu and Xinlong Wang},
  title = {{Diffusion Feedback Helps CLIP See Better}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=tLFWU6izoA},
}
Figure