基於頻域整合與影像序列修復的工業異常檢測方法
IFSR: Integrated Frequency and Sequence Restoration for Industrial Anomaly Detection
摘要
工業異常檢測對於現代化生產線的品質控制與自動化相當重要。然而,由於訓練資
料幾乎由正常樣本組成,此領域面臨單類學習(One-Class learning)的挑戰,特別是如
何精準識別微小且罕見的缺陷。現有的頻域感知還原方法雖然具有解釋性,但在處理
複雜的工業紋理時,仍存在兩大技術瓶頸:基於傳統卷積神經網絡(CNN)的主幹網
路因其局部感受野的限制,難以有效捕獲複雜紋理中的長程依賴關係與全局結構,可
能導致高頻特徵重建時出現結構性缺陷的偽陽性。其次,單一的頻率濾波器設計在分
離頻域特徵時會造成頻率混疊或振鈴效應,影響高頻特徵的純度,進而降低微小異常
的定位精度。
本研究提出了整合頻域與序列還原(Integrated Frequency and Sequence Restoration,
IFSR)框架。首先是設計了複合頻率濾波器(結合高斯與巴特沃斯高通濾波器的特
性),以參數化方式實現最優的頻率過渡帶,從而提取出高純度的異常相關高頻分量,
顯著提升了特徵純度與定位精度。並建立Mamba 增強網絡架構,將具有線性時間複雜
度與內容感知能力的Mamba 塊整合進U-Net 的編碼器中。此設計有效地克服了CNN
的局部性限制,提升了網路捕獲複雜工業紋理中長程依賴關係及全局結構的能力。
料幾乎由正常樣本組成,此領域面臨單類學習(One-Class learning)的挑戰,特別是如
何精準識別微小且罕見的缺陷。現有的頻域感知還原方法雖然具有解釋性,但在處理
複雜的工業紋理時,仍存在兩大技術瓶頸:基於傳統卷積神經網絡(CNN)的主幹網
路因其局部感受野的限制,難以有效捕獲複雜紋理中的長程依賴關係與全局結構,可
能導致高頻特徵重建時出現結構性缺陷的偽陽性。其次,單一的頻率濾波器設計在分
離頻域特徵時會造成頻率混疊或振鈴效應,影響高頻特徵的純度,進而降低微小異常
的定位精度。
本研究提出了整合頻域與序列還原(Integrated Frequency and Sequence Restoration,
IFSR)框架。首先是設計了複合頻率濾波器(結合高斯與巴特沃斯高通濾波器的特
性),以參數化方式實現最優的頻率過渡帶,從而提取出高純度的異常相關高頻分量,
顯著提升了特徵純度與定位精度。並建立Mamba 增強網絡架構,將具有線性時間複雜
度與內容感知能力的Mamba 塊整合進U-Net 的編碼器中。此設計有效地克服了CNN
的局部性限制,提升了網路捕獲複雜工業紋理中長程依賴關係及全局結構的能力。
The detection of industrial anomalies presents challenges in One-Class learning, particularly
in consistently identifying minor anomalies. Due to their restricted receptive fields, typical CNN
backbones are limited in their ability to capture global structures and long-range dependencies,
which can lead to false positives. Furthermore, single-frequency filters often result in aliasing
or ringing effects, which limit detection accuracy and reduce the purity of high-frequency data.
This study suggests the Integrated Frequency and Sequence Restoration (IFSR) network. First,
a composite frequency filter is developed to achieve the optimal frequency transition and extract
high-purity, anomaly-correlated high-frequency components, thereby increasing feature purity
and localization accuracy. Second, by incorporating content-aware Mamba blocks into the UNet
encoder, a Mamba-enhanced network architecture is presented that effectively overcomes
the locality constraint of CNNs and improves the network’s capacity to capture global structures
and long-range dependencies in intricate industrial textures.
in consistently identifying minor anomalies. Due to their restricted receptive fields, typical CNN
backbones are limited in their ability to capture global structures and long-range dependencies,
which can lead to false positives. Furthermore, single-frequency filters often result in aliasing
or ringing effects, which limit detection accuracy and reduce the purity of high-frequency data.
This study suggests the Integrated Frequency and Sequence Restoration (IFSR) network. First,
a composite frequency filter is developed to achieve the optimal frequency transition and extract
high-purity, anomaly-correlated high-frequency components, thereby increasing feature purity
and localization accuracy. Second, by incorporating content-aware Mamba blocks into the UNet
encoder, a Mamba-enhanced network architecture is presented that effectively overcomes
the locality constraint of CNNs and improves the network’s capacity to capture global structures
and long-range dependencies in intricate industrial textures.