Robust Lightweight Crack Classification for Real-Time UAV Bridge Inspection

Wei Li, Haisheng Li, Weijie Li, Jiandong Wang, Kaichen Ma +1 more
4/30/2026
cs.CVcs.AI
transformer-attention

Official code: skylynf/AttXNet (1 star, Python, last commit 2026-05-29).

Abstract

With the widespread application of Unmanned Aerial Vehicles (UAVs) in bridge structural health monitoring, deep learning-based automatic crack detection has become a major research focus. However, practical UAV inspections still face four key challenges: weak crack features, degraded imaging conditions, severe class imbalance, and limited computational resources for practical UAV inspection workflows.

Show full abstract

To address these issues, this paper proposes a unified lightweight convolutional neural network framework composed of four synergistic components: a lightweight backbone network, a Convolutional Block Attention Module (CBAM) for channel and spatial enhancement, a directed robust augmentation strategy based on inspection-scene priors, and Focal Loss for hard-sample learning under class imbalance. Experiments on the SDNET2018 bridge deck dataset show that the proposed method achieves an inference speed of 825 FPS with only 11.21M parameters and 1.82G FLOPs. Compared with the baseline model, the complete framework improves the F1-score by 2.51% and recall by 3.95%. In addition, Grad-CAM visualizations indicate that the introduced attention module shifts the model's focus from scattered regions to precise tracking along crack trajectories. Overall, this study achieves a strong balance among accuracy, speed, and robustness, providing a practical solution for ground-station assisted real-time deployment in UAV bridge inspections. The source code is available at: https://github.com/skylynf/AttXNet .

View on arXivView PDF

Code Implementations(1)

skylynf/AttXNetOfficial100%

Classification Code for Surface Crack Images in Bridge Infrastructure Scenarios

11Python, ShellApr 30, 20266 months ago

Similar Papers

Cite this paper

@article{li2026robust,
  title  = {Robust Lightweight Crack Classification for Real-Time UAV Bridge Inspection},
  author = {Wei Li and Haisheng Li and Weijie Li and Jiandong Wang and Kaichen Ma and Luming Yang},
  year   = {2026},
  eprint = {2604.27617},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.27617v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.27617.svg)](https://codeofpaper.com/paper/2604.27617)

Discussion