TY - JOUR
T1 - COFA
T2 - counterfactual attention framework for trustworthy wafer map failure classification
AU - Feng, Kaiyue
AU - Wang, Jia
AU - Yin, Chenke
AU - Li, Andong
N1 - Publisher Copyright:
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2025.
PY - 2025/5
Y1 - 2025/5
N2 - Classifying wafer map failure pattern plays a crucial role in semiconductor manufacturing, as it can help identify the underlying cause of abnormalities, thus reducing production costs. Existing works have shown that deep learning methods have great advantages in recognizing failure patterns. However, recent studies mainly focus on utilizing attention mechanisms to pinpoint critical regions as salient features, while ignoring the imperceptible underlying features and the causal relationship between prediction results and attention. This paper introduces a model-agnostic classification framework that leverages counterfactual explanations to enhance attention. Our approach consists of two steps: counterfactual example generation (Explain) and attention-based classifier refinement (Reinforce). The counterfactual explainer is designed to identify key pixel-level features, the adjustment of which could lead to different predictions. These generated counterfactual examples reveal hidden causal factors in the classifier’s decision-making process. Then the classifier utilizes these pixel features as attention, conducting reliable classification under the guidance of counterfactual examples. Through extensive experiments on real-world datasets, we demonstrate the effectiveness of our proposed model. It achieves an accuracy of 98.125% in the defect classification task on the WM-811K dataset and 92.544% on the MixedWM38 dataset, outperforming state-of-the-art attention methods such as SENet, CBAM, and Vision Transformer by over 5%. Our results highlight the superiority of our approach and its potential for practical implementation in the semiconductor manufacturing domain.
AB - Classifying wafer map failure pattern plays a crucial role in semiconductor manufacturing, as it can help identify the underlying cause of abnormalities, thus reducing production costs. Existing works have shown that deep learning methods have great advantages in recognizing failure patterns. However, recent studies mainly focus on utilizing attention mechanisms to pinpoint critical regions as salient features, while ignoring the imperceptible underlying features and the causal relationship between prediction results and attention. This paper introduces a model-agnostic classification framework that leverages counterfactual explanations to enhance attention. Our approach consists of two steps: counterfactual example generation (Explain) and attention-based classifier refinement (Reinforce). The counterfactual explainer is designed to identify key pixel-level features, the adjustment of which could lead to different predictions. These generated counterfactual examples reveal hidden causal factors in the classifier’s decision-making process. Then the classifier utilizes these pixel features as attention, conducting reliable classification under the guidance of counterfactual examples. Through extensive experiments on real-world datasets, we demonstrate the effectiveness of our proposed model. It achieves an accuracy of 98.125% in the defect classification task on the WM-811K dataset and 92.544% on the MixedWM38 dataset, outperforming state-of-the-art attention methods such as SENet, CBAM, and Vision Transformer by over 5%. Our results highlight the superiority of our approach and its potential for practical implementation in the semiconductor manufacturing domain.
KW - Attention mechanism
KW - Convolutional neural network
KW - Counterfactual explanation
KW - Wafer map classification
UR - http://www.scopus.com/inward/record.url?scp=105001494730&partnerID=8YFLogxK
U2 - 10.1007/s10489-025-06488-0
DO - 10.1007/s10489-025-06488-0
M3 - Article
AN - SCOPUS:105001494730
SN - 0924-669X
VL - 55
JO - Applied Intelligence
JF - Applied Intelligence
IS - 7
M1 - 598
ER -