arXiv:2609.02266cs.CVSep 2026

Manuscript Offprint

arXiv:2609.02266

MAOL: Morphology-Aware Ordinal Learning for Fine-Grained Industrial Defect Severity Grading

Zhaoyang Wang, Haiyong Chen, Binyi Su, Kun Liu, Kun Wang, Xianen Zhou, Atik Shahariar

Zhaoyang Wang

Hebei University of Technology

Tianjin, China

895056337@qq.com

Kun Liu

Hebei University of Technology

Tianjin, China

2009069@hebut.edu.cn

Haiyong Chen

Hebei University of Technology

Tianjin, China

haiyong.chen@hebut.edu.cn

Kun Wang

Yingli Energy Development Co. Ltd

Baoding, China

13931278136@163.com

Binyi Su

Hebei University of Technology

Tianjin, China

subinyi@hebut.edu.cn

Xianen Zhou

Hunan University

Changsha, China

zhouxianen@hnu.edu.cn

ATIK SHAHARIAR

Hebei University of Technology

Tianjin, China

atik.shahariar.5@gmail.com

Abstract—Fine-grained defect severity grading is essential for industrial inspection, yet remains challenging due to the ordinal nature of severity labels, the strong dependence on morphology-related cues, and the train–test discrepancy between clean annotated instances and noisy predicted instances in two-stage pipelines. We propose MAOL, a Morphology-Aware Ordinal Learning framework for fine-grained industrial defect severity grading. MAOL formulates severity grading as an instance-level ordinal learning task, incorporates explicit morphological features to enhance representation learning, introduces class-conditional adaptive ordinal thresholds to model defect-specific grading boundaries, and employs prediction-aware training via localization perturbation to improve robustness to imperfect predicted instances. Extensive experiments under both clean-ROI and predicted-instance settings demonstrate that MAOL consistently outperforms rule-based methods, nominal classification models, and existing ordinal baselines, especially in the predicted-instance setting. The proposed approach ranked third in the IDA 2026 Challenge on Fine-Grained Severity Grading for High-Precision Manufacturing.

Index Terms—Industrial inspection, Defect severity grading, Ordinal regression

I. INTRODUCTION

In high-precision manufacturing, industrial visual inspection requires not only detecting defects but also assessing their severity levels to support quality screening, rework decision-making, and production control [1], [2]. Compared with conventional binary defect judgment, severity grading provides more fine-grained quality information and plays an increasingly important role in intelligent inspection systems. In practical scenarios, defects of different severity levels correspond to different handling strategies, making accurate and reliable severity prediction a critical yet challenging problem [3].

A straightforward solution is to design rule-based grading systems using morphology-related statistics such as defect area, shape, or contrast. However, such methods heavily rely on handcrafted thresholds and expert knowledge, and

Figure

(a) Acceptable

(b) Marginal NG

(c) NG

(d) Gross NG

Acc=0.5597 Weighted Kappa=0.6421

Figure

(e) Rule-based grading on clean ROIs

Acc=0.9350 Weighted Kappa=0.9672

(f) MAOL grading on clean ROIs

Fig. 1. Illustration of fine-grained industrial defect severity grading. (a)–(d) Representative examples across severity levels. (e) Confusion matrix of a rule-based method under the clean-ROI setting. (f) Confusion matrix of the proposed MAOL under the same setting.

often generalize poorly to complex industrial scenarios. As illustrated in Fig. 1(e), even under the clean-ROI setting, a rule-based method exhibits a scattered confusion pattern and achieves only 0.5597 Accuracy and 0.6421 Quadratic Weighted Kappa (QWK) [4], indicating its limited capability in fine-grained severity discrimination.

A more common alternative is to formulate severity grading as a classification problem on cropped Regions of Interest (ROIs). However, this formulation is also suboptimal. Severity labels are inherently ordered, and treating them as independent categories ignores the relative relationships between different severity levels. As a result, classification-based models fail to

This work was supported in part by the National Natural Science Foundation of China under Grant 62473127, the National Key Research and Development Program of China under Grant 2024YFB3310904, the S&T Program of Hebei Province 242Q4302Z, the Beijing-Tianjin-Hebei Basic Research Cooperation Special Project F2024202102, and the China Scholarship Council 202506700027.

distinguish minor adjacent-level errors from large cross-level mistakes.

Another critical challenge arises from the train–test discrepancy in two-stage inspection pipelines. In practice, severity grading is performed on detector-predicted ROIs rather than perfectly aligned ground-truth regions. These predicted instances inevitably introduce localization errors, background contamination, and incomplete defect regions, which significantly degrade downstream grading performance. Therefore, an effective severity grading framework should jointly model ordinal label structure, preserve morphology-related information, account for category-specific grading differences, and remain robust to imperfect predicted-instance inputs.

To address these challenges, we propose MAOL, a Morphology-Aware Ordinal Learning framework for fine-grained industrial defect severity grading. MAOL formulates severity grading as an instance-level ordinal learning problem and is designed as a problem-aligned solution to the above challenges. Specifically, it incorporates explicit morphology descriptors to preserve structural cues, introduces class-conditional adaptive ordinal thresholds to model category-dependent grading boundaries, and adopts prediction-aware training via localization perturbation to improve robustness to noisy predicted ROIs.

Extensive experiments under both clean-ROI and predicted-instance settings demonstrate the effectiveness of MAOL. As shown in Fig. 1(f), MAOL achieves 0.935 Acc. and 0.9672 QWK under the clean-ROI setting, with a substantially cleaner confusion pattern than the rule-based baseline. Quantitative results further show that MAOL consistently outperforms rule-based methods, classification-based models, and existing ordinal baselines, with particularly significant improvements under predicted-instance conditions. The main contributions of this work are summarized as follows:

• We formulate fine-grained industrial defect severity grading as an instance-level ordinal learning problem and propose MAOL, a unified framework that explicitly models label ordering.

• We introduce a morphology-aware ordinal learning scheme with class-conditional adaptive thresholds to capture structural cues and category-specific grading criteria.

• We propose a prediction-aware training strategy to bridge the gap between clean annotations and noisy predicted instances, improving robustness in practical two-stage inspection pipelines.

• Extensive experiments in GT and predicted ROI settings demonstrate the superiority of the proposed method. Our MAOL achieves a final score of 0.7965 (S2 metric) in the IDA 2026 Challenge, ranking third among all participants.

References (21)