arXiv:2610.40421cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40421

Uncertainty-aware Feedback Loop Diagnosis: integrating reinforcement learning and conformal prediction for reliable wafer defect classification

Aleksandr Dekhovich, Carlas Smith, Oleg Soloviev

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Semiconductor manufacturing is a complex, multi-step process that requires both high precision and low operating costs. Therefore, detecting defects in a high-volume setting is an important component of wafer map analysis for reliable production. However, most state-of-the-art deep learning approaches require a full scan of the surface, which hinders the development of high-throughput inspection systems. To address this problem, we propose Uncertainty-aware Feedback Loop Diagnosis (UFLD), a novel algorithm that employs reinforcement learning for adaptive measurement acquisition and provides a prediction uncertainty level after each step, stopping the process once sufficient information is obtained. Unlike existing methods that rely on ensemble models or auxiliary confidence estimation deep learning models, UFLD utilizes a more parameter-efficient conformal prediction framework to determine the optimal stopping time. The proposed UFLD reduces acquisition time by about 40% and achieves 98.4% inspection accuracy, without requiring an additional learned confidence-estimation network. We validated our approach on the MixedWM38 dataset, demonstrating its advantages over existing adaptive acquisition procedures and standard convolutional neural networks.

1 Introduction

The semiconductor industry’s evolution is historically driven by Moore’s Law, the empirical observation that the number of transistors in an integrated circuit doubles approximately every two years [1][1]. Due to the increasing demand for chips, defect detection plays a crucial role in semiconductor manufacturing, ensuring the quality of chips produced [2][2]. However, this task is even more challenging in real-time high-volume manufacturing [3][3], which led to the development of automated defect inspection systems [4,5][4, 5]. In the past decade, artificial intelligence (AI), and specifically deep learning (DL), algorithms have achieved remarkable progress in a range of tasks, including industrial applications [3,6,7][3, 6, 7]. A significant portion of these works aims to develop vision-based defect detection systems to analyze the surface of interest by classifying [8,9][8, 9], segmenting [10,11][10, 11], or detecting [12,13][12, 13] possible defective regions.

An efficient inspection system should be accurate, reliable and fast at the same time. Therefore, despite the success of convolutional neural networks (CNNs) in classification problems, CNN-based solutions typically require a full scan of the wafer. In modern high-volume manufacturing, collecting high-resolution data for every die is expensive and time-consuming. Consequently, there is a need for alternative approaches employing adaptive data acquisition (ADA) strategies that can maintain high classification accuracy while minimizing the number of scanned regions.

∗^{*}Corresponding author. This work was done while the author was a postdoctoral researcher at TU Delft.

Preprint.

Figure

Figure 1: An overview of UFLD: the Causal Transformer predicts the defect type from the available patches; conformal prediction evaluates whether the predicted label is in the prediction set. If yes, the scanning process stops; otherwise, the policy network selects the next most informative patch, continuing the feedback loop.

To address this, we propose Uncertainty-aware Feedback Loop Diagnosis (UFLD) that uses a reinforcement learning (RL) strategy for ADA and a conformal prediction-based framework [14] to evaluate the trustworthiness of the prediction after every iteration of the acquisition process to mitigate the limitations of the previous works [15, 16]. Figure 1 illustrates the algorithm: the Causal Transformer plays the role of the classifier to predict the defect pattern from the available observations, while the RL-based policy network adaptively selects the next region for scanning. After each step, a simple threshold-based rule determines whether the acquisition process can be stopped. The main contributions of our work can be summarized as follows:

• We developed a feedback loop algorithm to increase the throughput of inspection tools, while maintaining the performance level of CNN models that require full scanning. The code implementation of the work is publicly available on GitHub: https://github.com/adekhovich/UFLD.

• In contrast to previous works on sequential wafer inspection where RNN-based classifiers were used, we utilize a causal transformer-based model that has better predictive capabilities. A single transformer model achieves performance comparable to an ensemble of RNNs, while requiring fewer training parameters.

• We introduce a novel stopping rule for the adaptive data acquisition process based on the conformal prediction framework. Our approach reduces algorithmic complexity compared to previous works by replacing an auxiliary confidence-estimator network with a simple threshold-based rule without sacrificing prediction quality.

The rest of the article is organized as follows: in Section 2, we provide the necessary background for the work, Section 3 describes the proposed feedback loop algorithm, while Section 4 shows the results and compares with other methods, and Section 5 concludes the article.

References (45)