R-SWTNet: A Context-Aware U-Net-Based Framework for Segmenting Rural Roads and Alleys in China with the SQVillages Dataset
Rural road networks are vital for rural development, yet narrow alleys and occluded segments remain underrepresented in digital maps due to irregular morphology, spectral ambiguity, and limited model generalization. Traditional segmentation models struggle to balance local detail preservation and long-range dependency modeling, prioritizing either local features or global context alone. Hypothesizing that integrating hierarchical local features and global context will mitigate these limitations, this study aims to accurately segment such rural roads by proposing R-SWTNet, a context-aware U-Net-based framework, and constructing the SQVillages dataset. R-SWTNet integrates ResNet34 for hierarchical feature extraction, Swin Transformer for long-range dependency modeling, ASPP for multi-scale context fusion, and CAM-Residual blocks for channel-wise attention. The SQVillages dataset, built from multi-source remote sensing imagery, includes 18 diverse villages with adaptive augmentation to mitigate class imbalance. Experimental results show R-SWTNet achieves a validation IoU of 54.88% and F1-score of 70.87%, outperforming U-Net and Swin-UNet, and with less overfitting than R-Net and D-LinkNet. Its lightweight variant supports edge deployment, enabling on-site road management. This work provides a data-driven tool for infrastructure planning under China’s Rural Revitalization Strategy, with potential scalability to global unstructured rural road scenes.
Authors
- Junqi Yang (ORCID: https://orcid.org/0000-0002-9407-4531)
- Yan Cheng (ORCID: https://orcid.org/0000-0002-2471-2219)
- Xiaodong Liu (ORCID: https://orcid.org/0000-0002-5180-9665)
- Hong Zhang (ORCID: https://orcid.org/0000-0002-5382-8595)
- Xiaoyu Xu (ORCID: https://orcid.org/0000-0003-0420-7896)
- Jianing Wu (ORCID: https://orcid.org/0009-0001-1424-3543)
- Ying Zeng
Institutions
- Xiamen University (CN)
- Beijing University of Civil Engineering and Architecture (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- Land
- Published
- 2025-09-23
- DOI
- https://doi.org/10.3390/land14101930
- Primary Topic
- Automated Road and Building Extraction
- Type
- article
- Field-Weighted Citation Impact
- 0.00