journal article·2025-11Open access

Accelerated quantification of reinforcement degradation in additively manufactured Ni-WC metal matrix composites via SEM and vision transformers

Mutahar Safdar, Bashir Kazimi, Karina Ruzaeva, Gentry Wood, Max Zimmermann, Guy Lamouche, Priti Wanjara, Stefan Sandfeld, Yaoyao Fiona Zhao

Abstract

Machine learning (ML) applications have shown potential in analyzing complex patterns in additively manufactured (AMed) structures. Metal matrix composites (MMC) offer the potential to enhance functional parts through a metal matrix and reinforcement particles. However, their processing can induce several co-existing anomalies in the microstructure, which are difficult to analyze through optical metallography. Scanning electron microscopy (SEM) can better highlight the degradation of reinforcement particles, but the analysis can be labor-intensive, time-consuming, and highly dependent on expert knowledge. Deep learning-based semantic segmentation has the potential to expedite the analysis of SEM images and hence support their characterization in the industry. This capability is particularly desired for rapid and precise quantification of defect features from the SEM images. In this study, key state-of-the-art semantic segmentation methods from self-attention-based vision transformers (ViTs) are investigated for their segmentation performance on SEM images with a focus on segmenting defect pixels. Specifically, SegFormer, MaskFormer, Mask2Former, UPerNet, DPT, Segmenter, and SETR models were evaluated. A reference fully convolutional model, DeepLabV3+, widely used on semantic segmentation tasks, is also included in the comparison. A SEM dataset representing AMed MMCs was generated through extensive experimentation and is made available in this work. Our comparison shows that several transformer-based models perform better than the reference CNN model with UPerNet (94.33 % carbide dilution accuracy) and SegFormer (93.46 % carbide dilution accuracy) consistently outperformed the other models in segmenting damage to the carbide particles in the SEM images. The findings on the validation and test sets highlight the most frequent misclassification errors at the boundaries of defective and defect-free pixels. The models were also evaluated based on their prediction confidence as a practical measure to support decision-making and model selection. As a result, the UPerNet model with the Swin backbone is recommended for segmenting SEM images from AMed MMCs in scenarios where accuracy and robustness are desired whereas the SegFormer model is recommended for its lighter design and competitive performance. In the future, the analysis can be extended by including higher capacity as well as smaller models in the comparison. Similarly, variations in specific hyperparameters can be investigated to reinforce the rationale of selecting a specific configuration. • Damaged carbide phases are identified from scanning electron microscopy to assess thermal effects during processing. • A deep learning framework is developed to segment and quantify reinforcement degradation in metal matrix composites. • Predicted segmentations closely match expert labels, confirming the model's accuracy across microstructural classes. • Transformer-based models show better performance than conventional methods in identifying degraded carbide regions. • A labeled dataset of microscopy images is provided to support further research on automated microstructural analysis.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Additive Manufacturing Materials and Processes · Additive Manufacturing and 3D Printing Technologies · Advanced materials and composites

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (54)

Show source-provided references
1. Pei · 2023
2. 2022
3. Dispersion of reinforcing micro-particles in the laser welding of metal matrix composites: high-fidelity modeling with experimental characterization10.1016/j.matchar.2023.113561 ↗
4. Welding processes for wear resistant overlays10.1016/j.jmapro.2013.06.011 ↗
5. Microstructure and mechanical behavior of high toughness Al-based metal matrix composite reinforced with in-situ formed nickel aluminides10.1016/j.matchar.2020.110776 ↗
6. Ni-based superalloy fabricated by wire arc additive manufacturing exhibits excellent mechanical properties at 650° C by combining ultrasonic-assisted and solution treatment10.1016/j.matchar.2025.115032 ↗
7. Disaggregated metal and carbide catchment efficiencies in laser cladding of nickel-tungsten carbide
8. A metallographic review of 3D printing/additive manufacturing of metal and alloy products and components10.1007/s13632-018-0433-6 ↗
9. Synergistic enhancement of mechanical properties and corrosion resistance of ultralight carbon nano-onion reinforced LA141 metal matrix composites fabricated by friction-stir processing10.1016/j.matchar.2025.114940 ↗
10. Accelerated semantic segmentation of additively manufactured metal matrix composites: generating datasets, evaluating convolutional and transformer models, and developing the MicroSegQ+ tool10.1016/j.eswa.2024.123974 ↗
11. Multi-task learning of scanning electron microscopy and synthetic thermal tomography images for detection of defects in additively manufactured metals10.3390/s23208462 ↗
12. Exceptional strength and ductility in 18Ni300/316 L heterogeneous bionic structures through laser additive manufacturing10.1016/j.matchar.2025.115296 ↗
13. Automated semantic segmentation of NiCrBSi-WC optical microscopy images using convolutional neural networks10.1016/j.commatsci.2022.111391 ↗
14. Deep learning vs. traditional computer vision
15. A review of semantic segmentation using deep neural networks10.1007/s13735-017-0141-z ↗
16. U-net: Convolutional networks for biomedical image segmentation
17. Semantic segmentation using vision transformers: a survey10.1016/j.engappai.2023.106669 ↗
18. Deep learning accelerated micrograph-based porosity defect quantification in additively manufactured steels for uncovering a generic process-defect-properties relation10.1016/j.matchar.2025.115094 ↗
19. Fully convolutional networks for semantic segmentation
20. Pascal VOC 2008 challenge
21. Deeplab: semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs10.1109/TPAMI.2017.2699184 ↗
22. Evolution of image segmentation using deep convolutional neural network: a survey
23. Dosovitskiy · 2020
24. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers
25. Applications in data-driven additive manufacturing
26. A systematic review on data of additive manufacturing for machine learning applications: the data quality, type, preprocessing, and management
27. Layer-wise anomaly detection and classification for powder bed additive manufacturing processes: a machine-agnostic algorithm for real-time pixel-wise semantic segmentation
28. Powder bed monitoring using semantic image segmentation to detect failures during 3D metal printing10.3390/s23094183 ↗
29. Precise localization and semantic segmentation detection of printing conditions in fused filament fabrication technologies using machine learning
30. Image segmentation for defect analysis in laser powder bed fusion: deep data mining of X-ray photography from recent literature10.1007/s40192-022-00272-5 ↗
31. Contrastive learning-based semantic segmentation for in-situ stratified defect detection in additive manufacturing10.1016/j.jmsy.2023.05.001 ↗
32. Detecting the extent of co-existing anomalies in additively manufactured metal matrix composites through explainable selection and fusion of multi-camera deep learning features10.1080/17452759.2025.2515240 ↗
33. A tutorial on the segmentation of metallographic images: taxonomy, new MetalDAM dataset, deep learning-based ensemble model, experimental analysis and challenges10.1016/j.inffus.2021.09.018 ↗
34. Microstructural segmentation using a union of attention guided U-net models with different color transformed images10.1038/s41598-023-32318-9 ↗
35. PseudoClick: Interactive image segmentation with click imitation
36. Albumentations: fast and flexible image augmentations10.3390/info11020125 ↗
37. CT image segmentation of bone for medical additive manufacturing using a convolutional neural network10.1016/j.compbiomed.2018.10.012 ↗
38. Deep residual learning for image recognition
39. Encoder-decoder with atrous separable convolution for semantic image segmentation
40. Goodfellow · 2016
41. Bao · 2021
42. Mehta · 2021
43. Unified perceptual parsing for scene understanding
44. Vision transformers for dense prediction
45. SegFormer: simple and efficient design for semantic segmentation with transformers
46. Segmenter: Transformer for semantic segmentation
47. Per-pixel classification is not all you need for semantic segmentation
48. Masked-attention mask transformer for universal image segmentation
49. Yuan · 2021 · vol. 19
50. Data2vec: A general framework for self-supervised learning in speech, vision and language
51. Contributors · 2018
52. Contributors · 2023
53. Chen · 2019
54. Enhancing semantic segmentation in high-resolution TEM images: a comparative study of batch normalization and instance normalization10.1093/mam/ozae093 ↗