journal article·2026-12Open access

CrackNeXt: An efficient local-to-context hybrid network for concrete surface crack classification in construction material inspection

Burhanettin Ozdemir, Ishak Pacal, Fethi Sermet

Abstract

Concrete cracking is a major indicator of material deterioration and serviceability loss, yet reliable image-based inspection remains difficult because crack morphology is often affected by surface texture, illumination, stains, shadows, construction joints, and other crack-like background patterns. This study proposes CrackNeXt, a compact local-to-context hybrid network designed for automated concrete surface crack classification. The architecture assigns different roles to different network stages: early ConvFormer-based stages preserve fine local crack cues such as thin discontinuities and texture breaks, while later Swin Transformer-based stages introduce contextual reasoning to reduce confusion with visually similar non-crack artifacts. CrackNeXt was evaluated on two complementary benchmarks. The METU dataset was used for binary crack classification under relatively controlled imaging conditions, whereas SDNET2018 was used for a more demanding six-class task that jointly models structural component and crack status across walls, decks, and pavements. Under a unified benchmark protocol against nineteen reference architectures, CrackNeXt achieved 99.90% accuracy on METU and 90.67% accuracy with a 90.29% macro-F1 score on SDNET2018. The model used 17.22 million parameters, required 2.66 GMACs, and achieved approximately 7 ms inference latency under the reported workstation setting. Grad-CAM visualizations indicated that high-response regions generally overlapped with crack-relevant image structures, supporting the qualitative plausibility of the learned representations. These findings suggest that staged local-to-context modeling can improve concrete crack classification under heterogeneous surface conditions.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Infrastructure Maintenance and Monitoring · Advanced Neural Network Applications · Geophysical Methods and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (56)

Show source-provided references
1. A review of crack research in concrete structures based on data-driven and intelligent algorithms10.1016/j.istruc.2025.108800 ↗
2. Lifetime prediction of damaged or cracked concrete structures: a review10.1016/j.istruc.2024.108095 ↗
3. Smart sensing of concrete crack using distributed fiber optics sensors: current advances and perspectives
4. Digitizing health monitoring in engineering structures using deep learning: a novel block architecture for concrete crack prediction in surface and sub-surface dataset10.1007/s42235-026-00846-5 ↗
5. CrackVision: effective concrete crack detection with deep learning and transfer learning10.1109/ACCESS.2025.3540841 ↗
6. Deep learning and image preprocessing-based crack repair trace and secondary crack classification detection method for concrete bridges
7. Detection models for concrete crack using deep learning approaches: a review10.1080/10168664.2025.2576470 ↗
8. DiSCNet: directional split convolution for compute-efficient brain tumor diagnosis10.1016/j.compbiolchem.2026.109066 ↗
9. Chaotic learning rate scheduling for improved CNN-based breast cancer ultrasound classification10.51537/chaos.1807694 ↗
10. GBA-NET: a gated bottleneck and attention-driven architecture for robust ischemic stroke segmentation across CT and DWI
11. Attention-enhanced ConvNeXt for accurate, efficient, and interpretable crack detection10.1016/j.eswa.2025.129165 ↗
12. A hybrid deep learning framework for concrete crack detection and classification using DFA-UNet and Adaptive Osprey Optimization10.1007/s41062-025-02431-x ↗
13. A transformer-based deep learning method for automatic pixel-level crack detection and feature quantification10.1108/ECAM-06-2023-0613 ↗
14. Multi-perspective semantic segmentation of ground penetrating radar images for pavement subsurface objects10.1109/TITS.2025.3559498 ↗
15. OUR-Net: a multi-frequency network with octave max unpooling and octave convolution residual block for pavement crack segmentation10.1109/TITS.2024.3405995 ↗
16. A lightweight encoder–decoder network for automatic pavement crack detection10.1111/mice.13103 ↗
17. A novel U-shaped encoder–decoder network with attention mechanism for detection and evaluation of road cracks at pixel level10.1111/mice.12826 ↗
18. Automated pixel-level crack detection and quantification using deep convolutional neural networks for structural condition assessment10.1016/j.istruc.2023.105780 ↗
19. A systematic approach to pixel-level crack detection and localization with a feature fusion attention network and 3D reconstruction10.1016/j.engstruct.2023.117219 ↗
20. Automatic segmentation and quantification of global cracks in concrete structures based on deep learning10.1016/j.measurement.2022.111550 ↗
21. Encoder–decoder with pyramid region attention for pixel-level pavement crack recognition10.1111/mice.13128 ↗
22. Crack detection of masonry structure based on thermal and visible image fusion and semantic segmentation10.1016/j.autcon.2023.105213 ↗
23. An improved transformer-based concrete crack classification method
24. Automatic concrete crack segmentation model based on transformer10.1016/j.autcon.2022.104275 ↗
25. Vision transformer-based autonomous crack detection on asphalt and concrete surfaces10.1016/j.autcon.2022.104316 ↗
26. Crack detection and quantification for concrete structures using UAV and transformer10.1016/j.autcon.2023.104929 ↗
27. Deep learning-based masonry crack segmentation and real-life crack length measurement10.1016/j.conbuildmat.2022.129438 ↗
28. Deep Convolutional Neural Networks with transfer learning for computer vision-based data-driven pavement distress detection10.1016/j.conbuildmat.2017.09.110 ↗
29. Comparative analysis of twelve transfer learning models for the prediction and crack detection in concrete dams, based on borehole images10.1007/s11709-024-1090-2 ↗
30. CrackTree: automatic crack detection from pavement images10.1016/j.patrec.2011.11.004 ↗
31. Neighborhood shortest distance method for concrete crack width detection in images
32. A graph attention reasoning model for prefabricated component detection10.1111/mice.13373 ↗
33. Autonomous surface crack identification of concrete structures based on the YOLOv7 algorithm
34. SDNET2018: an annotated image dataset for non-contact concrete crack detection using deep convolutional neural networks10.1016/j.dib.2018.11.015 ↗
35. Performance comparison of pretrained convolutional neural networks on crack detection in buildings
36. Road crack detection using deep convolutional neural network
37. MetaFormer Baselines for vision10.1109/TPAMI.2023.3329173 ↗
38. MetaFormer is actually what you need for vision
39. Swin transformer: hierarchical vision transformer using shifted windows
40. Deep residual learning for image recognition
41. F. Chollet, Xception: Deep Learning with Depthwise Separable Convolutions, (2016). 〈http://arxiv.org/abs/1610.02357〉.
42. EfficientNet: rethinking model scaling for convolutional neural networks
43. Inception-v4, Inception-ResNet and the impact of residual connections on learning
44. EfficientNetV2: smaller models and faster training
45. D. Han, S. Yun, B. Heo, Y. Yoo, Rethinking Channel Dimensions for Efficient Model Design, n.d.
46. Yu · InceptionNeXt When Inception Meets ConvNeXt · 2023
47. A ConvNet for the 2020s
48. D. Kim, B. Heo, D. Han, DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTs, (2024). https://doi.org/10.1007/978-3-031-72646-0_23.10.1007/978-3-031-72646-0_23 ↗
49. W. Yu, X. Wang, MambaOut: Do We Really Need Mamba for Vision?, (2024). 〈https://arxiv.org/pdf/2405.07992〉 (accessed June 25, 2025).
50. An image is worth 16x16 words: transformers for image recognition at scale
51. Touvron · Training data-efficient image transformers & distillation through attention · 2020 · 1
52. Bao · BERT Pre-Training of Image Transformers · 2021 · 1
53. Mehta · Separable Self-Atten. Mob. Vision. Transform. · 2022
54. A. Wang, H. Chen, Z. Lin, J. Han, G. Ding, RepViT: Revisiting Mobile CNN From ViT Perspective, n.d. 〈https://github.com/pytorch/vision/tree/main/references/classification〉.
55. MaxViT: Multi-axis Vision Transformer
56. MViTv2: improved multiscale vision transformers for classification and detection