通过抑制环境变化带来的干扰,提升工业缺陷检测在真实场景下的稳定性。
NFAD: Nuisance-Filtered Anomaly Detection Under Distribution Shift

- 从特征空间建模干扰因素,利用无损扰动生成干扰子空间。
- 在AeBAD-S上实现91.0%图像级AUROC,刷新分布偏移下新纪录。
- 兼顾传统基准性能,适合实际部署与复杂环境应用。
工业缺陷检测近年在标准基准上性能趋于饱和,但这些基准多在受控条件下采集,光照、背景、视角等环境变化会令正常样本偏离学习到的正常分布,导致误报。本文提出无干扰异常检测(NFAD)框架,通过特征空间中内容保持扰动引起的位移,显式建模影像条件变化带来的干扰因素。无需异常标签或目标域数据,该框架可估计干扰子空间,并在推理时抑制其对异常残差的影响。同一子空间支持两个互补分支:全投影用于图像级检测,选择性抑制用于像素级定位,保留局部缺陷证据。在专为采集偏移设计的AeBAD-S基准上,NFAD实现91.0%图像级AUROC,达到新状态。值得注意的是,该鲁棒性不以牺牲常规性能为代价:在未显式评估分布偏移的标准基准(VisA、Real-IAD、MVTec AD)上仍具竞争力。结果表明,显式抑制干扰变化可在分布偏移下提升异常检测效果,同时保持标准场景下的强性能。
原文摘要 · Abstract (English)
Recent advances in anomaly detection (AD) for industrial inspection have pushed performance on standard benchmarks toward saturation. However, strong benchmark performance does not necessarily translate to real-world deployment, as these benchmarks are primarily collected under controlled acquisition conditions. Changes in illumination, background, viewpoint, and other environmental factors can shift normal samples away from the learned normal distribution and cause false anomaly responses. We address AD under such distribution shifts by explicitly modeling nuisance variation from changing imaging conditions in feature space. Without anomaly labels or target-domain data, our Nuisance-Filtered Anomaly Detection (NFAD) framework estimates a nuisance subspace from matched feature displacements induced by content-preserving perturbations and suppresses its contribution to anomaly residuals at inference. The same subspace supports two complementary branches: full projection for image-level detection and selective suppression for pixel-level localization, preserving evidence of localized defects. On AeBAD-S, a benchmark specifically designed for AD under acquisition shifts, NFAD achieves 91.0\% image-level AUROC, establishing a new state of the art. Notably, this robustness does not come at the expense of conventional AD performance: NFAD remains competitive on standard benchmarks that do not explicitly evaluate distribution shift, including VisA, Real-IAD, and MVTec AD. These results show that explicitly suppressing such nuisance variation improves AD under distribution shift while preserving strong performance in standard settings.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。