arXiv AI By Yuanting Fan, Jun Liu, Bin-Bin Gao, Xiaochen Chen, Yuhuan Lin, Zhewei Dai, Jiawei Zhan, Chengjie Wang

UniDG: Unified Defect Generation via Defect-Context Editing

Read the original on arXiv AI →

UniDG introduces a unified defect generation framework that addresses the scarcity of abnormal samples in anomaly detection. By creating a large dataset of 300K normal‑abnormal‑mask‑caption quadruplets and formulating defect synthesis as Defect‑Context Editing, the model extracts reference defect context, organizes inputs in a diptych format, and fuses multimodal conditions via MM‑DiT attention. A two‑stage training strategy—Diversity‑SFT for transferable defect priors and optional Consistency‑RFT for reference adherence—enables UniDG to outperform prior few‑shot anomaly generation and editing baselines in both synthesis quality and downstream anomaly detection tasks without per‑category fine‑tuning.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Computer Vision
Sep 3

DPA: Decoupling Product-Agnostic Anomaly Representations for Zero-shot Anomaly Generation

The paper introduces DPA, a diffusion-based framework that decouples product-agnostic anomaly representations to enable zero-shot anomaly generation. By reusing real anomalies from existing source products and filtering them for plausibility, DPA learns product-irrelevant anomaly embeddings that can be transferred across products. An adaptive mask-guided pipeline and a training-free labeling module further refine the realism and localization of generated anomalies, leading to improved performance on MVTec-AD, VisA, and a new anomaly-transfer benchmark.

By Hang Yao, Yansheng Fu, Ming Liu, Zifei Yan, Yanli Ji, Hongzhi Zhang, Wangmeng Zuo