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

CleanDIFT: Diffusion Features without Noise

Nick Stracke, Stefan Andreas Baumann, Kolja Bauer, Frank Fundel, Björn Ommer

Abstract

Internal features from large-scale pre-trained diffusion models have recently been established as powerful semantic descriptors for a wide range of downstream tasks. Works that use these features generally need to add noise to images before passing them through the model to obtain the semantic features, as the models do not offer the most useful features when given images with little to no noise. We show that this noise has a critical impact on the usefulness of these features that cannot be remedied by ensembling with different random noises. We address this issue by introducing a lightweight, unsupervised fine-tuning method that enables diffusion backbones to provide high-quality, noise-free semantic features. We show that these features readily outperform previous diffusion features by a wide margin in a wide variety of extraction setups and downstream tasks, offering better performance than even ensemble-based methods at a fraction of the cost.

Introduction

Large-scale diffusion models, such as Stable Diffusion, have emerged as "accidental" world experts. During their training to denoise images, they learn incredibly rich internal representations of objects, textures, and geometry. Researchers have recently leveraged these internal features as descriptors for various downstream computer vision tasks.

However, a significant challenge remains: because these models were trained specifically for denoising, they are optimized for noisy inputs. To obtain useful features, current methodologies must inject artificial noise into clean images before processing. This introduces two major drawbacks:

  1. Information Loss: The addition of noise inherently degrades fine-grained image details.
  2. The Timestep Trap: The noise level (timestep) acts as a hyperparameter that requires manual, per-task tuning. For instance, part matching might require a different noise level than semantic segmentation.
Comparison between standard diffusion features and CleanDIFT. Standard features require noisy inputs and timestep tuning, whereas CleanDIFT operates on clean images without tuning.

Methodology: CleanDIFT

The authors propose CleanDIFT, a method to distill the knowledge of a noisy diffusion model into a clean-image feature extractor. The architecture utilizes a pre-trained diffusion backbone (e.g., Stable Diffusion 2.1) and creates a trainable copy.

During a brief fine-tuning phase—requiring only 30 minutes on a single A100 GPU—the model is shown clean images. Simultaneously, a frozen version of the original model processes the same images with varying noise levels. The trainable model learns to produce a single "clean" feature map aligned with the noisy features of the original model across the entire noise spectrum. This alignment is facilitated by small, temporary projection heads that are discarded after training, allowing the backbone to process clean images directly in a single forward pass.

Experiments and Results

CleanDIFT was evaluated across several benchmarks, demonstrating superior performance and efficiency.

Semantic Correspondence

On the SPair-71k benchmark, CleanDIFT improved the Percentage of Correct Keypoints (PCK) by 1.79 points over standard DIFT. When integrated into state-of-the-art pipelines, it established new records for unsupervised matching.

Depth Estimation and Segmentation

Using a simple linear probe on NYUv2, CleanDIFT features achieved an RMSE of 0.444, significantly outperforming standard diffusion features (0.469). Qualitative results in segmentation tasks show that CleanDIFT produces stable feature maps that follow object boundaries more accurately than the jittery outputs of noisy models.

Computational Efficiency

By eliminating the need to ensemble multiple noise samples or perform complex inversions, CleanDIFT is approximately 8x faster than the popular DIFT method and 50x faster than optimization-based feature extraction methods.

Discussion and Conclusion

The core insight of CleanDIFT is that standard diffusion features often encode random noise rather than image content. By forcing the model to consolidate information from the entire noise spectrum into a single representation, CleanDIFT creates "timestep-independent" features.

While the current work focuses on U-Net-based models, preliminary results on Diffusion Transformers (DiTs) suggest broad applicability. Future research may focus on refining text conditioning distillation to further enhance the semantic richness of the extracted features. CleanDIFT represents a significant step toward making large-scale diffusion models more accessible and effective for real-world vision applications.

Summary updated

BibTeX
@inproceedings{stracke2025cleandift,
  author = {Nick Stracke and Stefan Andreas Baumann and Kolja Bauer and Frank Fundel and Björn Ommer},
  title = {{CleanDIFT: Diffusion Features without Noise}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=9jMg0sVWCR},
}
Figure