U-SAMNet: Uncertainty-Aware Self-Attention Multi-Task Network for Pore Detection in Additive Manufacturing

Reliable pore detection in in situ monitoring is essential for quality control in additive manufacturing, particularly in safety-critical applications. However, existing automated approaches often struggle with low-quality images, computational inefficiency, and the lack of reliable uncertainty estimates to identify the pores accurately. To address these limitations, this paper proposes U-SAMNet, an Uncertainty-Aware Self-Attention Multi-Task Network. The model jointly performs pore segmentation, image-level classification, and denoising on in situ monitoring images, while deriving epistemic uncertainty via Monte Carlo dropout variance to dynamically suppress unreliable attention features. This study uses electron-optical (ELO) images from the E-PBF process. A novel Uncertainty Guidance Attention (UGA) block is introduced. It suppresses channel attention weights using inverted uncertainty estimates. Unlike prior methods that modulate classification weights, U-SAMNet operates on pixel-wise feature maps. The model has only 1.69 M parameters. A single forward pass takes 17.46 ms per image, while uncertainty estimation is performed through multiple Monte Carlo dropout passes. The model was evaluated on real E-PBF images and achieved 99.42% pixel accuracy, 85.31% F1-score, and 74.38% IoU on a held-out test set of 43 real images. It also generalizes to other industrial defect detection benchmarks, reaching 85.09% F1-score on DAGM 2007 and 82.32% on DeepCrack. GAN-synthesized training data improves the F1-score by 21.34 percentage points over rotation augmentation alone. Ablation studies confirm that each component contributes meaningfully to the final performance.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-07-28
DOI
https://doi.org/10.3390/app16157506
Primary Topic
Additive Manufacturing Materials and Processes
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

U-SAMNet: Uncertainty-Aware Self-Attention Multi-Task Network for Pore Detection in Additive Manufacturing

Kijoon Lee, Thomas Truong, Noushin Ghaffari, Prosenjit Roy et al.
Applied Sciences
Additive Manufacturing Materials and Processes
article

U-SAMNet: Uncertainty-Aware Self-Attention Multi-Task Network for Pore Detection in Additive Manufacturing

Kijoon Lee, Thomas Truong, Noushin Ghaffari, Prosenjit Roy, Haojun You, Mohsen Taheri Andani
article en

Abstract

Reliable pore detection in in situ monitoring is essential for quality control in additive manufacturing, particularly in safety-critical applications. However, existing automated approaches often struggle with low-quality images, computational inefficiency, and the lack of reliable uncertainty estimates to identify the pores accurately. To address these limitations, this paper proposes U-SAMNet, an Uncertainty-Aware Self-Attention Multi-Task Network. The model jointly performs pore segmentation, image-level classification, and denoising on in situ monitoring images, while deriving epistemic uncertainty via Monte Carlo dropout variance to dynamically suppress unreliable attention features. This study uses electron-optical (ELO) images from the E-PBF process. A novel Uncertainty Guidance Attention (UGA) block is introduced. It suppresses channel attention weights using inverted uncertainty estimates. Unlike prior methods that modulate classification weights, U-SAMNet operates on pixel-wise feature maps. The model has only 1.69 M parameters. A single forward pass takes 17.46 ms per image, while uncertainty estimation is performed through multiple Monte Carlo dropout passes. The model was evaluated on real E-PBF images and achieved 99.42% pixel accuracy, 85.31% F1-score, and 74.38% IoU on a held-out test set of 43 real images. It also generalizes to other industrial defect detection benchmarks, reaching 85.09% F1-score on DAGM 2007 and 82.32% on DeepCrack. GAN-synthesized training data improves the F1-score by 21.34 percentage points over rotation augmentation alone. Ablation studies confirm that each component contributes meaningfully to the final performance.

Applied SciencesVol. 16(15)
Kumoh National Institute of Technology (KR), Prairie View A&M University (US), Texas A&M University (US)
Industry, innovation and infrastructure
Openalex Percentile: Top 16%
Additive Manufacturing Materials and Processes
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.