arXiv:2609.02212cs.CVSep 2026

Manuscript Offprint

arXiv:2609.02212

FuDU: A Fuzzy Dual-dimensional Uncertainty Framework for Streaming Active Learning in Industrial Defect Detection

Zhaoyang Wang, Haiyong Chen, Binyi Su, Xinwei Lyu

Zhaoyang Wang¹, Haiyong Chen¹, Binyi Su¹, and Xinwei Lyu¹

  1. School of Artificial Intelligence, Hebei University of Technology, Tianjin, China haiyong.chen@hebut.edu.cn

Abstract. Ensuring the reliability of deep learning models in real-time industrial defect detection is critical for high-stakes quality inspection. To mine uncertain samples within continuous industrial media streams, thereby enhancing the reliability of the detection system, this paper proposes a streaming active learning method based on the Fuzzy Dual-dimensional Uncertainty (FuDU) framework. Specifically, we first design a Prototype-based Global Uncertainty Quantification (PGUQ) module on the backbone to evaluate image-level uncertainty via normal/defective feature prototypes. A Dual-entropy defect Uncertainty Evaluator (DeUE) is then integrated into the detection head to quantify box-level uncertainty. Finally, by modeling uncertainty as systematic error, we propose a fuzzy dual-dimensional uncertainty-aware strategy that leverages fuzzy inference to fuse dual-dimensional uncertainties, enabling expert knowledge-driven adaptive sampling decisions. Comprehensive experiments demonstrate that FuDU is efficient and flexible, making it well-suited for challenging industrial inspection tasks such as the detection of nuclear fuel rod defects. Our code is publicly available at: https://github.com/wangzhaoyang-508/FuDU.

Keywords: Industrial defect detection · Streaming active learning · Uncertainty quantification

1 Introduction

While deep learning-based visual models enable efficient defect detection, their efficacy hinges on the availability of large-scale and well-annotated datasets [8, 44]. In many industrial scenarios, defect samples are inherently scarce and typically collected in static laboratory settings. This exposes the deployed models to two critical risks: The first is the adversarial risk stemming from samples near the decision boundary, as shown in Fig. 1 (a). Specifically, features are close to the decision boundary, making it difficult to determine whether a sample is defective or to precisely what category of defects it belongs to. The second involves the outlier risk arising from samples outside the training distribution, as illustrated in Fig. 1 (b); here, novel defects or domain shifts cause image features to become outliers that deviate from the original distribution [6, 48]. To

Z. Wang et al.

Figure

Fig. 1: Illustration of adversarial and outlier risks.

mitigate these risks, researchers have explored various learning paradigms, including few-shot learning [28], incremental learning [32], anomaly detection [4], domain adaptation [3], and language-guided foundation models for open-set detection and zero-/few-shot anomaly recognition [40, 41]. However, a more direct approach involves actively selecting high-risk uncertain samples during inference for expert annotation. This process iteratively optimizes the decision boundary and enhances the model's domain generalization capability—a paradigm known as Active Learning (AL) [15, 34].

The key to AL lies in uncertainty quantification and sampling strategies. In the context of industrial defect detection, while the most straightforward approach involves selecting images containing low-confidence defects as uncertain samples, false negatives compromise the value of model iteration. Fig. 2 (a) shows the prediction results of the RT-DETR detector [53] on 500 nuclear fuel rod inspection images, where the y-axis represents confidence scores and the pink region indicates the confidence-based sampling range. As can be seen, although confidence-threshold AL can collect numerous false-positive samples (yellow), it fails to identify false negatives (red). Furthermore, existing pool-based AL methods, despite their effectiveness, fail to satisfy real-time constraints [2].

To overcome these limitations and enable reliable AL within nuclear fuel rod defect detection, we propose a Fuzzy dual-dimensional uncertainty (FuDU) framework. As shown in Fig. 3, FuDU incorporates a Prototype-based Global Uncertainty Quantification (PGUQ) module into the detector's backbone. This module assesses global uncertainty UgU_{g} as outlier risk by leveraging dynamic feature prototypes of normal and defect samples (i.e., samples exhibiting large distances from both prototypes are identified as outliers). Additionally, the detection head integrates a Dual-entropy Uncertainty Evaluator (DeUE) that computes defect uncertainty UdU_{d} as adversarial risk using box localization and classification entropy (i.e., higher entropy values correspond to elevated adversarial risk). As shown in Fig. 2 (b), UgU_{g} and UdU_{d} better characterize the model's uncertainty, facilitating the identification of FN and FP samples. Finally, we introduce a fuzzy dual-dimensional uncertainty evaluation strategy that maps UgU_{g} and UdU_{d} to linguistic variables and employs fuzzy inference to determine the sampling decision, as shown in Fig. 2 (c).

Extensive experiments verify FuDU's effectiveness and scenario adaptability. In our nuclear fuel rod defect dataset, the recall reaches 99.3% when combined with uncertainty-based sampling. Compared to manual screening, FuDU

Figure

(c) Fuzzy sampling rate surface

Fig. 2: Comparison of different uncertainty perspectives and sampling strategies on 500 fuel rod images. (a) Image distribution and sampling strategy based on confidence; (b) The image distribution in the dual-uncertainty space; (c) Sampling probability surface based on our FuDU strategy.

reduces the annotation cost to less than one-sixth. Furthermore, it outperforms the confidence-based baseline method by 7.3% in mAP. Its cross-scenario generalization is further validated on the public ELES dataset [52]. Notably, the linguistic variables in FuDU allow quality inspection experts to interpret, validate, and calibrate the sampling strategy, effectively integrating domain expertise into the model. Our key contributions are summarized as follows:

– To improve the reliability of industrial visual inspection systems, we propose FuDU—a fuzzy dual-dimensional uncertainty-driven streaming active learning framework that integrates domain expertise to jointly evaluate defect and global uncertainty for efficient sampling and model updating. To our knowledge, FuDU is the first work to incorporate fuzzy control theory into streaming active learning for industrial defect detection.

– We design two complementary uncertainty quantification modules: PGUQ and DeUE. PGUQ leverages feature prototypes to identify potential FNs and domain shifts, while DeUE captures borderline or novel defects by quantifying box-level uncertainty via dual entropy and confidence.

– Extensive experiments demonstrate that FuDU outperforms state-of-the-art AL methods, ensuring the detector's reliability and iterative efficiency, making it well-suited for high-stakes industrial visual inspection scenarios.

References (53)