arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14987cs.CV
收藏

SeaS:基于分离与共享微调的少样本工业异常图像生成

SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuning

School of Electronic Information and Communications, Huazhong University of Science and Technology(华中科技大学电子信息与通信学院);Hubei Key Laboratory of Smart Internet Technology, Huazhong University of Science and Technology(华中科技大学智能互联网技术重点实验室);Artificial Intelligence Research Institute, Wuhan JingCe Electronic Group Co.,LTD(武汉捷成电子集团有限公司人工智能研究所);Department of Information Engineering and Computer Science, University of Trento(特伦托大学信息工程与计算机科学系)

Zhewei Dai, Shilei Zeng, Haotian Liu, Xurui Li, Feng Xue, Yu Zhou

AI总结:

SeaS提出一个统一的少样本工业异常图像生成模型,通过不平衡异常文本提示、解耦异常对齐和正常图像对齐损失,同时生成多样异常、真实正常产品和精确掩码,显著提升下游检测与分割性能。

摘要:

我们提出SeaS,一个统一的工业生成模型,用于自动创建多样化的异常、真实的正常产品以及精确的异常掩码。尽管已有大量研究,但大多数工作要么只专注于特定任务,即仅关注异常或仅关注正常产品,要么需要为每种异常类型分别建立模型。因此,以往方法要么生成能力有限,要么依赖于大量针对特定异常的模型。我们证明U-Net的差异化学习能力能够捕捉略有差异的正常产品和多样化异常的独特视觉特征,从而使我们能够为所有任务构建一个统一模型。具体而言,我们首先引入一种不平衡异常(UA)文本提示,它由一个正常token和多个异常token组成。更重要的是,我们的解耦异常对齐(DA)损失将异常属性解耦,并将其绑定到UA的不同异常token上,使SeaS能够通过重新组合这些属性来生成未见过的异常。此外,我们的正常图像对齐(NA)损失将正常token与正常模式对齐,使生成的正常产品在全局上保持一致,在局部上具有变化。最后,SeaS通过融合具有判别力的U-Net特征与高分辨率VAE特征来生成精确的异常掩码。SeaS为工业生成设立了新的基准,显著增强了下游应用,其中基于合成的AD方法平均提升$+8.66\\%$像素级AP,无监督AD方法平均提升$+1.10\\%$图像级AP,监督分割模型平均提升$+12.79\\%$ IoU。代码可在\href{https://github.com/HUST-SLOW/SeaS}{https://github.com/HUST-SLOW/SeaS}获取。

英文摘要:

We introduce SeaS, a unified industrial generative model for automatically creating diverse anomalies, authentic normal products, and precise anomaly masks. While extensive research exists, most efforts either focus on specific tasks, i.e., anomalies or normal products only, or require separate models for each anomaly type. Consequently, prior methods either offer limited generative capability or depend on a vast array of anomaly-specific models. We demonstrate that U-Net's differentiated learning ability captures the distinct visual traits of slightly-varied normal products and diverse anomalies, enabling us to construct a unified model for all tasks. Specifically, we first introduce an Unbalanced Abnormal (UA) Text Prompt, comprising one normal token and multiple anomaly tokens. More importantly, our Decoupled Anomaly Alignment (DA) loss decouples anomaly attributes and binds them to distinct anomaly tokens of UA, enabling SeaS to create unseen anomalies by recombining these attributes. Furthermore, our Normal-image Alignment (NA) loss aligns the normal token to normal patterns, making generated normal products globally consistent and locally varied. Finally, SeaS produces accurate anomaly masks by fusing discriminative U-Net features with high-resolution VAE features. SeaS sets a new benchmark for industrial generation, significantly enhancing downstream applications, with average improvements of $+8.66\%$ pixel-level AP for synthesis-based AD approaches, $+1.10\%$ image-level AP for unsupervised AD methods, and $+12.79\%$ IoU for supervised segmentation models. Code is available at \href{https://github.com/HUST-SLOW/SeaS}{https://github.com/HUST-SLOW/SeaS}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑