Semi-Supervised Defect Detection via Conditional Diffusion and CLIP-Guided Noise Filtering

Shuai Li, Shihan Chen, Wanru Geng, Zhaohua Xu, Xiaolu Liu +3 more
7/8/2025
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

In the realm of industrial quality inspection, defect detection stands as a critical component, particularly in high-precision, safety-critical sectors such as automotive components aerospace, and medical devices. Traditional methods, reliant on manual inspection or early image processing algorithms, suffer from inefficiencies, high costs, and limited robustness.

Show full abstract

This paper introduces a semi-supervised defect detection framework based on conditional diffusion (DSYM), leveraging a two-stage collaborative training mechanism and a staged joint optimization strategy. The framework utilizes labeled data for initial training and subsequently incorporates unlabeled data through the generation of pseudo-labels. A conditional diffusion model synthesizes multi-scale pseudo-defect samples, while a CLIP cross-modal feature-based noise filtering mechanism mitigates label contamination. Experimental results on the NEU-DET dataset demonstrate a 78.4% [email protected] with the same amount of labeled data as traditional supervised methods, and 75.1% [email protected] with only 40% of the labeled data required by the original supervised model, showcasing significant advantages in data efficiency. This research provides a high-precision, low-labeling-dependent solution for defect detection in industrial quality inspection scenarios. The work of this article has been open-sourced at https://github.com/cLin-c/Semisupervised-DSYM.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025semisupervised,
  title  = {Semi-Supervised Defect Detection via Conditional Diffusion and CLIP-Guided Noise Filtering},
  author = {Shuai Li and Shihan Chen and Wanru Geng and Zhaohua Xu and Xiaolu Liu and Can Dong and Zhen Tian and Changlin Chen},
  year   = {2025},
  eprint = {2507.05588},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.05588v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.05588.svg)](https://codeofpaper.com/paper/2507.05588)

Discussion