Skip to content
DraconiticResearch
Search Sources API
197,578 studies31 sourcesUpdated 51 min ago
PreprintarXiv licencearXiv

Leakage-Safe Machine Learning for Hydrogen Embrittlement Detection in 316L Stainless Steel: A Region-Held-Out Evaluation of Texture and Deep Features in SEM Micrographs

Abstract

Scanning electron microscopy (SEM) is routinely used to characterize the microstructural changes caused by hydrogen embrittlement (HE) in structural steels. Machine learning can automate this characterization, but models are often evaluated using image-level splits. When several images come from the same specimen region, such splits leak information between the training and test sets. Here, we propose a region-held-out protocol for classifying as-received (AR) and hydrogen-charged (H2) SEM micrographs of 316L stainless steel, based on Leave-One-Region-Out (LORO) cross-validation over 14 spatial regions (8 AR, 6 H2; 31 images). We compared six feature-classifier combinations built on local binary patterns (LBP), grey-level co-occurrence matrices (GLCM), self-supervised convolutional embeddings pretrained on 143 unlabeled SEM images, and a convolutional neural network (CNN). The simplest texture approach, LBP with a support vector machine (LBP+SVM), performed best, achieving a balanced accuracy of 0.79, H2 recall of 0.69, and H2 precision of 0.82, outperforming every deep-learning and combined-feature model. A group-level permutation test (500 permutations sampled from the 3,003 possible region-to-label assignments) yielded p = 0.008, indicating that the result cannot be explained by a chance alignment of the region structure. Grad-CAM maps from a CNN trained on the full dataset tended to concentrate on localized surface and grain-boundary features, where hydrogen-induced morphological changes are known to occur. Under a leakage-safe, statistically validated protocol, texture descriptors recover a hydrogen-charging signature from SEM micrographs even with few samples, and the same protocol can be extended to larger HE detection studies in other alloy systems.

Related

  1. The chemistry of embrittlement: How hydrogen dwindles cohesion in iron during fracture
    Aleksei Egorov
    arXivPreprintCC BY 4.0Full textCondensed matterarXiv
  2. Passivation properties of ultrafine grain 316L stainless steels manufactured by ball milling and spark plasma sintering
    E. Hug, C. Keller
    Materials Chemistry and PhysicsPeer-reviewedLicence not stated11 citedMaterials & polymersGeneral physicsHAL
  3. Making the Discrete Continuous: Synthetic RAW Augmentations for Fine-Grained Evaluation of Person Detection Performance in Low Light
    Valeria Pais, Malena Mendilaharzu, Daniele Faccio +3
    arXivPreprintCC BY-SA 4.0Full textOptics & photonicsarXiv
  4. Atomistic insights into ultrafast laser-induced local structural dynamics and wettability modulation in austenitic stainless steel 316L
    Djafar Iabbaden, Ilemona S Omeje, Arshak A Tsaturyan +1
    Materials & DesignPeer-reviewedCC BY 4.0Full textGeneral physicsHAL
  5. Fretting Wear of a 304L stainless steel in 200-bar pressurized hydrogen: A typical nodular third body structure
    Mohammed Fartas, Siegfried Fouvry, Pierre Arnaud +3
    WearPeer-reviewedCC BY 4.0Full text7 citedGeneral physicsHAL
BibTeX
@misc{awais2026leakagesafe,
  title = {{Leakage-Safe Machine Learning for Hydrogen Embrittlement Detection in 316L Stainless Steel: A Region-Held-Out Evaluation of Texture and Deep Features in SEM Micrographs}},
  author = {Muhammad Awais and Muhammad Yaseen and Abdul Shakoor and Niaz Ahmed Niaz and Huria Zia and Muhammad Zain Shakoor},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.28567},
  eprint = {2609.28567},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.28567},
}
RIS
TY  - UNPB
TI  - Leakage-Safe Machine Learning for Hydrogen Embrittlement Detection in 316L Stainless Steel: A Region-Held-Out Evaluation of Texture and Deep Features in SEM Micrographs
AU  - Muhammad Awais
AU  - Muhammad Yaseen
AU  - Abdul Shakoor
AU  - Niaz Ahmed Niaz
AU  - Huria Zia
AU  - Muhammad Zain Shakoor
PY  - 2026
DA  - 2026/09/23
PB  - arXiv
DO  - 10.48550/arxiv.2609.28567
UR  - https://arxiv.org/abs/2609.28567
AB  - Scanning electron microscopy (SEM) is routinely used to characterize the microstructural changes caused by hydrogen embrittlement (HE) in structural steels. Machine learning can automate this characterization, but models are often evaluated using image-level splits. When several images come from the same specimen region, such splits leak information between the training and test sets. Here, we propose a region-held-out protocol for classifying as-received (AR) and hydrogen-charged (H2) SEM micrographs of 316L stainless steel, based on Leave-One-Region-Out (LORO) cross-validation over 14 spatial regions (8 AR, 6 H2; 31 images). We compared six feature-classifier combinations built on local binary patterns (LBP), grey-level co-occurrence matrices (GLCM), self-supervised convolutional embeddings pretrained on 143 unlabeled SEM images, and a convolutional neural network (CNN). The simplest texture approach, LBP with a support vector machine (LBP+SVM), performed best, achieving a balanced accuracy of 0.79, H2 recall of 0.69, and H2 precision of 0.82, outperforming every deep-learning and combined-feature model. A group-level permutation test (500 permutations sampled from the 3,003 possible region-to-label assignments) yielded p = 0.008, indicating that the result cannot be explained by a chance alignment of the region structure. Grad-CAM maps from a CNN trained on the full dataset tended to concentrate on localized surface and grain-boundary features, where hydrogen-induced morphological changes are known to occur. Under a leakage-safe, statistically validated protocol, texture descriptors recover a hydrogen-charging signature from SEM micrographs even with few samples, and the same protocol can be extended to larger HE detection studies in other alloy systems.
ER  -