arXiv:2601.00327cs.CVcs.AI2026-01

通过频域分解融合细节与语义,提升微小缺陷检测精度

HarmoniAD: Harmonizing Local Structures and Global Semantics for Anomaly Detection

  • 频域分解双分支:高频支路增强纹理边缘,低频支路捕捉全局语义
  • 在MVTec-AD等数据集上达到最优性能,对微小异常敏感且鲁棒
  • 适合工业质检场景,尤其关注细粒度缺陷检测的工程师

异常检测在工业产品质量检查中至关重要,遗漏微小缺陷可能造成严重后果。现有方法存在结构与语义的权衡:基于频率的模型对噪声敏感,而基于CLIP的语义模型常忽略细节。为此,我们提出HarmoniAD,一种频率引导的双分支框架。首先使用CLIP图像编码器提取特征,再转换至频域,解耦为高低频路径以互补建模结构与语义。高频分支配备细粒度结构注意力模块(FSAM),强化纹理与边缘以检测微小异常;低频分支采用全局结构上下文模块(GSCM),捕捉长程依赖并保持语义一致性。二者协同平衡细节与整体语义。HarmoniAD还采用多类联合训练策略,在MVTec-AD、VisA和BTAD数据集上均实现当前最佳表现,兼具高灵敏度与强鲁棒性。

原文摘要 · Abstract (English)

Anomaly detection is crucial in industrial product quality inspection. Failing to detect tiny defects often leads to serious consequences. Existing methods face a structure-semantics trade-off: structure-oriented models (such as frequency-based filters) are noise-sensitive, while semantics-oriented models (such as CLIP-based encoders) often miss fine details. To address this, we propose HarmoniAD, a frequency-guided dual-branch framework. Features are first extracted by the CLIP image encoder, then transformed into the frequency domain, and finally decoupled into high- and low-frequency paths for complementary modeling of structure and semantics. The high-frequency branch is equipped with a fine-grained structural attention module (FSAM) to enhance textures and edges for detecting small anomalies, while the low-frequency branch uses a global structural context module (GSCM) to capture long-range dependencies and preserve semantic consistency. Together, these branches balance fine detail and global semantics. HarmoniAD further adopts a multi-class joint training strategy, and experiments on MVTec-AD, VisA, and BTAD show state-of-the-art performance with both sensitivity and robustness.

异常检测工业质检频域建模双分支网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。