HLGCrack: A Lightweight Hierarchical CNN–Mamba–Attention Network for Crack Segmentation
Bin Shi, Yongkang Pi, Haonan Yang, Jingke Yan, Bingyan Chen, Tong Yang
Key points
From the paper's conclusion- The results demonstrate its effectiveness and robustness for general crack segmentation and provide a basis for subsequent adaptation to railway-specific inspection scenarios.
Abstract
Accurate crack segmentation is important for intelligent infrastructure inspection and has potential applications in railway infrastructure monitoring. However, cracks usually exhibit thin, elongated, irregular, and spatially asymmetric morphologies, while weak boundaries and complex surface textures further increase segmentation difficulty. To address these challenges, this paper proposes HLGCrack, a lightweight hierarchical CNN-Mamba-attention network for efficient crack segmentation. The network adopts a stage-wise representation strategy in which shallow asymmetric convolution and large-kernel modeling enhance directional edge responses and local crack structures, while deeper visual state-space and local–global attention modules capture long-range dependencies and contextual information. A Lightweight Progressive Fusion decoder progressively aggregates multi-level features to recover fine crack boundaries with low computational cost, and BCE, Dice, and clDice losses are jointly employed to improve region overlap and structural continuity. HLGCrack is evaluated on CamCrack789 and four additional public pavement and structural crack datasets covering diverse crack morphologies, surface textures, and interference conditions. On CamCrack789, it achieves Dice and IoU scores of 0.860 and 0.755, respectively, with only 3.53 M parameters and 4.03 G FLOPs. The results demonstrate its effectiveness and robustness for general crack segmentation and provide a basis for subsequent adaptation to railway-specific inspection scenarios.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SGL-Mamba: Structure-Aware Global-Local Mamba for Crack Segmentation.Sensors (Basel, Switzerland) · 2026
- Dual-encoder Multi-Scale Refinement network for robust crack segmentation across diverse domainsAutomation in Construction · 2026
- Hybrid multi-scale CNN-Transformer network for structural surface crack segmentationResults in Engineering · 2026
- Automatic bridge crack detections: A lightweight segmentation model for UAV inspection.PloS one · 2026
- SDCrackSeg: A Frequency- and Spatial Geometry-Aware Topology-Preserving Network for Building Crack SegmentationBuildings · 2026
- Efficient crack and surface-type recognition via CNN-block development mechanism and edge profilingScientific Reports · 2025