Underwater crack detection is critical for the structural health monitoring of concrete dams; however, complex turbid environments and limited computational resources on underwater robots pose significant challenges. This study proposes HAIS-SegFormer, a lightweight segmentation network utilizing a Mix Transformer backbone. We introduce a tandem Hybrid Attention mechanism—cascading Coordinate Attention (CoordAtt) and Convolutional Block Attention Modules (CBAM)—to preserve long-range topological connectivity and refine local edge details. Furthermore, a Feature Inhibition Module (FIM), modeled after biological lateral inhibition, is designed to actively suppress high-frequency background noise such as water plants. Experimental results on an underwater crack dataset demonstrate that HAIS-SegFormer achieves a favorable trade-off between segmentation accuracy (71.66% mIoU) and computational efficiency (73 FPS, 3.80 M parameters). The proposed framework provides a robust and resource-efficient solution for automated underwater inspections.
Li et al. (2026) studied this question.