Unsupervised anomaly segmentation model for rail damage based on image-inpainting and cold diffusion

Ensuring structural health of rail tracks is critical for safe train operations. While deep learning-based vision models are widely used for rail damage detection, supervised methods suffer from limited generalization due to scarce and diverse annotated data. Unsupervised models often experience missed detections and false positives when handling complex and variable rail background textures, as well as rail damage with significant intra-class variability. To address these limitations, this paper proposes an unsupervised pixel-level rail damage segmentation model based on a cold diffusion framework, called InpRailDiffusion. It introduces inpainting-based noise and uses a Mamba-enhanced, time-conditioned U-Net for progressive noise removal. Damage segmentation is achieved by analyzing pixel-wise differences between generated and original images with adaptive thresholding. A multi-scale masking strategy fuses reconstruction features at various spatial resolutions, reducing false positives and missed detections. Evaluated on RSDDs-I and RSDDs-II, InpRailDiffusion outperformed state-of-the-art baselines with MIoU/F1-Scores of 0.864/0.844 and 0.845/0.814, respectively. • An unsupervised pixel-level rail damage detection model InpRailDiffusion is proposed. • Cold diffusion enhanced by image inpainting patch noise is designed. • A multi-scale mask patch fusion training and complementary generation method is designed. • A Mamba-enhanced time-conditioned U-Net model is designed. • On two open datasets, InpRailDiffusion achieves the best MIoU with 0.864 and 0.844.

Authors

Institutions

Publication Details

Journal
Automation in Construction
Published
2025-06-16
DOI
https://doi.org/10.1016/j.autcon.2025.106342
Citations
4
Primary Topic
Infrastructure Maintenance and Monitoring
Type
article
Field-Weighted Citation Impact
3.81

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Unsupervised anomaly segmentation model for rail damage based on image-inpainting and cold diffusion

Yiqing Dong, Chengjia Han, Liwei Dong, Yaowen Yang et al.
4 citations
Automation in Construction
Infrastructure Maintenance and Monitoring
3.81
article

Unsupervised anomaly segmentation model for rail damage based on image-inpainting and cold diffusion

Yiqing Dong, Chengjia Han, Liwei Dong, Yaowen Yang, Mei Gao
article en
4 citations

Abstract

Ensuring structural health of rail tracks is critical for safe train operations. While deep learning-based vision models are widely used for rail damage detection, supervised methods suffer from limited generalization due to scarce and diverse annotated data. Unsupervised models often experience missed detections and false positives when handling complex and variable rail background textures, as well as rail damage with significant intra-class variability. To address these limitations, this paper proposes an unsupervised pixel-level rail damage segmentation model based on a cold diffusion framework, called InpRailDiffusion. It introduces inpainting-based noise and uses a Mamba-enhanced, time-conditioned U-Net for progressive noise removal. Damage segmentation is achieved by analyzing pixel-wise differences between generated and original images with adaptive thresholding. A multi-scale masking strategy fuses reconstruction features at various spatial resolutions, reducing false positives and missed detections. Evaluated on RSDDs-I and RSDDs-II, InpRailDiffusion outperformed state-of-the-art baselines with MIoU/F1-Scores of 0.864/0.844 and 0.845/0.814, respectively. • An unsupervised pixel-level rail damage detection model InpRailDiffusion is proposed. • Cold diffusion enhanced by image inpainting patch noise is designed. • A multi-scale mask patch fusion training and complementary generation method is designed. • A Mamba-enhanced time-conditioned U-Net model is designed. • On two open datasets, InpRailDiffusion achieves the best MIoU with 0.864 and 0.844.

Automation in ConstructionVol. 177
Nanyang Technological University (SG)
National Research Foundation Singapore
Sustainable cities and communities
Openalex Percentile: Top 7%
Infrastructure Maintenance and Monitoring
3.81
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.