RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detection

Ximiao Zhang, Min Xu, Xiuzhuang Zhou

arXiv:2403.05897 · 2026-07-27 공개 · arXiv · PDF

diffusion-models self-supervised-learning anomaly-detection feature-selection pre-trained-features reconstruction-residuals synthetic-anomaly industrial-images

Abstract

Self-supervised feature reconstruction methods have shown promising advances in industrial image anomaly de-tection and localization. Despite this progress, these meth-ods still face challenges in synthesizing realistic and di-verse anomaly samples, as well as addressing the feature redundancy and pre-training bias of pre-trained feature. In this work, we introduce RealNet, a feature reconstruction network with realistic synthetic anomaly and adaptive feature selection. It is incorporated with three key inno-vations: First, we propose Strength-controllable Diffusion Anomaly Synthesis (SDAS), a diffusion process-based syn-thesis strategy capable of generating samples with varying anomaly strengths that mimic the distribution of real anomalous samples. Second, we develop Anomaly-aware Features Selection (A FS), a method for selecting repre-sentative and discriminative pre-trained feature subsets to improve anomaly detection performance while controlling computational costs. Third, we introduce Reconstruction Residuals Selection (RRS), a strategy that adaptively selects discriminative residuals for comprehensive identification of anomalous regions across multiple levels of granularity. We assess RealNet onfour benchmark datasets, and our results demonstrate significant improvements in both Image AU-Rae and Pixel AUROC compared to the current state-of-the-art methods. The code, data, and models are available at https://github.com/cnulab/RealNet.

한국어 요약

한 줄 요약

RealNet은 SDAS, AFS, RRS를 결합한 새로운 이상 탐지 프레임워크로, MVTec-AD 등 4개 데이터셋에서 기존 최고 성능을 개선한다.

핵심 기여도

핵심 아이디어

기존 이상 탐지 방법은 합성된 이상 샘플이 실제 분포와 차이가 있고, 사전 학습된 특징의 중복 및 편향 문제를 해결하지 못한다. RealNet은 이 문제를 세 가지 핵심 모듈로 해결한다. 첫째, SDAS는 DDPM을 기반으로 정상 샘플 분포를 모델링하고, 샘플링 과정에서 편차를 주어 다양한 이상 강도를 가진 샘플을 생성한다. 이는 노화, 구조 변화, 색상 변화 등 실제 이상 패턴을 시뮬레이션한다. 둘째, AFS는 사전 학습된 CNN의 특징 중 가장 구별력 있는 부분만 선택하여, 성능을 유지하면서 계산 비용을 줄인다. 셋째, RRS는 재구성 잔차 중 이상 정보를 포함한 부분만 선택하여, 미검출을 줄이고 이상 영역의 재현률을 높인다.

기술적 접근법

주요 결과

의의 및 한계

RealNet은 사전 학습된 CNN의 특징을 효과적으로 활용하면서도 계산 비용을 줄이는 새로운 이상 탐지 프레임워크로, 다양한 산업 분야에서 실용적 활용 가능성을 제시한다. 특히, SDAS는 실제 분포에 가까운 이상 샘플을 생성하여 기존 방법의 합성 샘플 분포 문제를 해결한다. 그러나 SDAS의 이상 강도 $ s $ 조정이 성능에 큰 영향을 미치므로, 자동 최적화 전략이 필요할 수 있다. 또한, AFS와 RRS는 특정 데이터셋에 따라 최적의 파라미터 조정이 요구될 수 있다.

실용적 활용

RealNet은 제조업, 품질 검사, 안전 모니터링 등에서 이상 탐지를 위한 실시간 시스템 구축에 활용 가능하다. 특히, SDAS를 사용한 합성 데이터 생성은 라벨이 부족한 산업 환경에서 유용하며, AFS와 RRS는 대규모 모델의 효율적 활용을 가능하게 한다. 제공된 SIA 데이터셋은 다양한 이상 패턴을 학습하는 데 활용될 수 있다.