Multi-Scale Gated Attention Transformer-Based Defect Detection for Historical Buildings: A Case Study of the Kaifeng Wall (Ming and Qing Dynasties, China)
Jianwei Yue, Chunhang Zhang, Y.G. Zhang, Tingting Yue, Jian Qu, Shuo Zhang, Kai Qin, Faqiang Li,
Henan University
Key points
From the paper's conclusion- Moreover, MSGAT exhibits superior crack edge continuity and more accurate localization of mortar loss areas, demonstrating strong robustness against environmental interference and validating its effectiveness in historical building defect detection.
Abstract
Historical buildings, subjected to long-term weathering, pollution, and human activities, often develop defects such as cracks and mortar loss. Accurate detection is vital for cultural heritage preservation, but manual inspections are inefficient and subjective. Although CNNs have made progress in image segmentation, their limited receptive fields restrict the capture of global crack features. This study takes the Kaifeng Ming-Qing City Wall as a case, constructing a high-precision defect dataset with phased augmentation and strict data partitioning to prevent data leakage. In this study, we present a Multi-Scale Gated Attention Transformer (MSGAT), formulated not as a fundamentally new architecture but as a purposefully engineered integration of complementary mechanisms — including depthwise separable convolutions, Efficient Additive Attention, and CBAM — within a cascaded Swin Transformer framework. Experimental results show that MSGAT achieves a MIoU of 66.96%, Mean Dice of 71.11%, Precision of 66.93%, Recall of 58.82%, and F1-score of 61.54% on the test set, significantly outperforming traditional CNN-based segmentation models. Moreover, MSGAT exhibits superior crack edge continuity and more accurate localization of mortar loss areas, demonstrating strong robustness against environmental interference and validating its effectiveness in historical building defect detection.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Hybrid multi-scale CNN-Transformer network for structural surface crack segmentationResults in Engineering · 2026
- Crack Segmentation Using U-Net and Transformer Combined ModelApplied Sciences · 2025
- Dual-encoder Multi-Scale Refinement network for robust crack segmentation across diverse domainsAutomation in Construction · 2026
- LGCF Net: A CNN–Transformer Local–Global Fusion Network for Segmenting Deep-Opening Defects at Material Interfaces in Mortared-Stone Levee RevetmentsInfrastructures · 2026
- Vision-Based Instance Segmentation of Piezoelectric Crystal Defects Using a Hybrid Bidirectional CNN-Transformer Network.Sensors (Basel, Switzerland) · 2026
- Depth-aware RGB-D concrete crack segmentation and quantification using progressive cross-modal attentionMeasurement · 2025