# SMG-Net: A lightweight modular architecture for fine-grained crack segmentation in ancient wooden structures

**Authors:** Tianke Fang, Zhenxing Hui, Zhiying Xie, Peng Yu, Yi Gao, Songdi Shi, Yuanrong He

PMC · DOI: 10.1371/journal.pone.0336125 · 2025-11-19

## TL;DR

SMG-Net is a lightweight neural network that improves crack segmentation in ancient wooden structures with high accuracy and efficiency.

## Contribution

The paper introduces a novel multi-cooperative perception mechanism for crack segmentation in heritage structures.

## Key findings

- SMG-Net achieved mIoU scores of 81.12% and 87.91% on crack datasets.
- The model outperformed U-Net, SegFormer, and Swin-UNet in accuracy and speed.
- SMG-Net is parameter-efficient and suitable for low-resource heritage monitoring.

## Abstract

To improve the accuracy and efficiency of crack segmentation in ancient wooden structures, we propose a lightweight deep neural network architecture, termed SMG-Net. The core innovation of this model lies in its multi-cooperative perception mechanism. First, the proposed Structure-Aware Cross-directional Pooling (SACP) establishes long-range feature dependencies in multiple orientations, addressing the challenge of coherent recognition for cracks with complex directions. Second, the Multi-path Robust Feature Extraction (MRFE) module enhances the tolerance of the model to noise and blurred edges, thereby improving the discriminative capability of shallow features. Third, the Guided Semantic–Spatial Fusion (GSSFusion) mechanism enables efficient alignment and integration of multi-scale features, ensuring both fine crack details and global structural consistency in segmentation. Extensive experiments were conducted on a self-constructed dataset of cracks in ancient wooden components and the public Masonry crack dataset. SMG-Net achieved mean Intersection-over-Union (mIoU) scores of 81.12% and 87.91%, and Pixel Accuracy (PA) of 98.91% and 98.99%, respectively, significantly outperforming mainstream approaches such as U-Net, SegFormer, and Swin-UNet, with results confirmed by statistical significance testing. Moreover, SMG-Net demonstrates superior parameter efficiency and inference speed, making it particularly suitable for heritage monitoring scenarios with limited computational resources. To promote reproducibility and future research, the source code and datasets have been made publicly available at: https://github.com/HuiZhenxing/HuiZhenxing.git.

## Full-text entities

- **Chemicals:** SMG-Net (-)

## Figures

45 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12629464/full.md

---
Source: https://tomesphere.com/paper/PMC12629464