Segmenting Urban Scene Imagery in Real Time Using an Efficient UNet-like Transformer
Source abstract
Abstract
Semantic segmentation of high-resolution remote sensing urban images is widely used in many fields, such as environmental protection, urban management, and sustainable development. For many years, convolutional neural networks (CNNs) have been a prevalent method in the field, but the convolution operations are deficient in modeling global information due to their local nature. In recent years, the Transformer-based methods have demonstrated their advantages in many domains due to the powerful ability to model global information, such as semantic segmentation, instance segmentation, and object detection. Despite the above advantages, Transformer-based architectures tend to incur significant computational costs, limiting the model’s real-time application potential. To address this problem, we propose a U-shaped network with Transformer as the decoder and CNN as the encoder to segment remote sensing urban scene images. For efficient segmentation, we design a window-based, multi-head, focused linear self-attention (WMFSA) mechanism and further propose the global–local information modeling module (GLIM), which can capture both global and local contexts through a dual-branch structure. Experimenting on four challenging datasets, we demonstrate that our model not only achieves a higher segmentation accuracy compared with other methods but also can obtain competitive speeds to enhance the model’s real-time application potential. Specifically, the mIoU of our method is 68.2% and 52.8% on the UAVid and LoveDA datasets, respectively, while the speed is 114 FPS, with a 1024 × 1024 input on a single 3090 GPU.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Video Surveillance and Tracking Methods · Advanced Neural Network Applications · Automated Road and Building Extraction
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Surveying and Geo-Informatics, Shandong Jianzhu University, Jinan 250101, China
School of Architecture and Urban Planning, Shandong Jianzhu University, Jinan 250101, China
Funding
National Natural Science Foundation of China · China National Key R&D Program during the 13th Five-year Plan Period
References (51)
Show source-provided references
1. Joint Deep Learning for land cover and land use classification10.1016/j.rse.2018.11.014 ↗
2. ABCNet: Attentive bilateral contextual network for efficient semantic segmentation of Fine-Resolution remotely sensed imagery10.1016/j.isprsjprs.2021.09.005 ↗
3. Zheng, F., Lin, S., Zhou, W., and Huang, H. (2023). A Lightweight Dual-branch Swin Transformer for Remote Sensing Scene Classification. Remote Sens., 15.10.3390/rs15112865 ↗
4. Shen, J., Yu, T., Yang, H., Wang, R., and Wang, Q. (2022). An Attention Cascade Global–Local Network for Remote Sensing Scene Classification. Remote Sens., 14.10.3390/rs14092042 ↗
5. Dual-Aligned Oriented Detector
6. Road segmentation for remote sensing images using adversarial spatial pyramid networks10.1109/TGRS.2020.3016086 ↗
7. Improving public data for building segmentation from Convolutional Neural Networks (CNNs) for fused airborne lidar and image data using active contours10.1016/j.isprsjprs.2019.05.013 ↗
8. Land cover classification from remote sensing images based on multi-scale fully convolutional network10.1080/10095020.2021.2017237 ↗
9. Land cover mapping at very high resolution with rotation equivariant CNNs: Towards small yet accurate models10.1016/j.isprsjprs.2018.01.021 ↗
10. Wu, C., Du, B., and Zhang, L. (2022). Fully convolutional change detection framework with generative adversarial network for unsupervised, weakly supervised and regional supervised change detection. arXiv.10.1109/TPAMI.2023.3237896 ↗
11. AMCA: Attention-guided Multi-scale Context Aggregation Network for Remote Sensing Image Change Detection
12. Random forest classifier for remote sensing classification10.1080/01431160412331269698 ↗
13. Effective Sequential Classifier Training for SVM-Based Multitemporal Remote Sensing Image Classification10.1109/TIP.2018.2808767 ↗
14. Wang, X., Girshick, R., Gupta, A., and He, K. (2018, January 18–23). Non-local neural networks. Proceedings of the IEEE Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00813 ↗
15. An attention-fused network for semantic segmentation of very-high-resolution remote sensing imagery10.1016/j.isprsjprs.2021.05.004 ↗
16. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A., Kaiser, L., and Polosukhin, I. (2017). Advances in Neural Information Processing Systems, MIT Press.
17. UNetFormer: A UNet-like transformer for efficient semantic segmentation of remote sensing urban scene imagery10.1016/j.isprsjprs.2022.06.008 ↗
18. A novel transformer based semantic segmentation scheme for fine-resolution remote sensing images
19. Transformer and CNN hybrid deep neural network for semantic segmentation of very-high-resolution remote sensing imagery
20. Xia, Z., Pan, X., Song, S., Li, L.E., and Huang, G. (2022, January 18–24). Vision transformer with deformable attention. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.00475 ↗
21. Wang, W., Xie, E., Li, X., Fan, D., Song, K., Liang, D., Lu, T., Luo, P., and Shao, L. (2021, January 10–17). Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada.10.1109/ICCV48922.2021.00061 ↗
22. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 10–17). Swin transformer: Hierarchical vision transformer using shifted windows. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada.10.1109/ICCV48922.2021.00986 ↗
23. Hassani, A., Walton, S., Li, J., Li, S., and Shi, H. (2023, January 18–22). Neighborhood attention transformer. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00599 ↗
24. Katharopoulos, A., Vyas, A., Pappas, N., and Fleuret, F. (2020, January 12–18). Transformers are rnns: Fast autoregressive transformers with linear attention. Proceedings of the International Conference on Machine Learning, Vienna, Austria.
25. Han, D., Pan, X., Han, Y., Song, S., and Huang, G. (2023). FLatten Transformer: Vision Transformer using Focused Linear Attention. arXiv.10.1109/ICCV51070.2023.00548 ↗
26. Cai, H., Gan, C., and Han, S. (2022). Efficientvit: Enhanced linear attention for high-resolution low-computation visual recognition. arXiv.
27. You, H., Xiong, Y., Dai, X., Wu, B., Zhang, P., Fan, H., Vajda, P., and Lin, Y. (2022). Castling-vit: Compressing self-attention via switching towards linear-angular attention during vision transformer inference. arXiv.10.1109/CVPR52729.2023.01387 ↗
28. Bolya, D., Fu, C.Y., Dai, X., Zhang, P., and Hoffman, J. (2022, January 23–27). Hydra attention: Efficient attention with many heads. Proceedings of the European Conference on Computer Vision, Aviv, Israel.10.1007/978-3-031-25082-8_3 ↗
29. Xiong, Y., Zeng, Z., Chakraborty, R., Tan, M., Fung, G., Li, Y., and Singh, V. (2021, January 2–9). Nystromformer: A nystrom-based algorithm for approximating self-attention. Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada.
30. Soft: Softmax-free transformer with linear complexity
31. Choromanski, K., Likhosherstov, V., Dohan, D., Song, X., Gane, A., Sarlos, T., Hawkins, P., Davis, J., Mohiuddin, A., and Kaiser, L. (2020). Rethinking attention with performers. arXiv.
32. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
33. Multiattention network for semantic segmentation of fine-resolution remote sensing images
34. Chen, J., Lu, Y., Yu, Q., Luo, X., Adeli, E., Wang, Y., Lu, L., Yuille, A.L., and Zhou, Y. (2021). Transunet: Transformers make strong encoders for medical image segmentation. arXiv.
35. Yu, T., Khalitov, R., Cheng, L., and Yang, Z. (2022, January 18–24). Paramixer: Parameterizing mixing links in sparse factors works better than dot-product self-attention. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.00077 ↗
36. Combiner: Full attention transformer with sparse computation cost
37. Wu, H., Xiao, B., Codella, N., Liu, M., Dai, X., Yuan, L., and Zhang, L. (2021). Cvt: Introducing convolutions to vision transformers. arXiv.10.1109/ICCV48922.2021.00009 ↗
38. Poudel, R.P., Liwicki, S., and Cipolla, R. (2019). Fast-scnn: Fast semantic segmentation network. arXiv.
39. Zhu, Z., Xu, M., Bai, S., Huang, T., and Bai, X. (November, January 27). Asymmetric non-local neural networks for semantic segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
40. Yu, C., Gao, C., Wang, J., Yu, G., Shen, C., and Sang, N. (2020). Bisenet v2: Bilateral network with guided aggregation for real-time semantic segmentation. arXiv.10.1007/s11263-021-01515-2 ↗
41. UAVid: A semantic segmentation dataset for UAV imagery10.1016/j.isprsjprs.2020.05.009 ↗
42. Wang, J., Zheng, Z., Ma, A., Lu, X., and Zhong, Y. (2021). LoveDA: A Remote Sensing Land Cover Dataset for Domain Adaptive Semantic Segmentation. arXiv.
43. Fu, J., Liu, J., Tian, H., Li, Y., Bao, Y., Fang, Z., and Lu, H. (2019, January 16–20). Dual attention network for scene segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00326 ↗
44. A2-FPN for semantic segmentation of fine-resolution remotely sensed images10.1080/01431161.2022.2030071 ↗
45. Parsing very high resolution urban scene images by learning deep ConvNets with edge-aware loss10.1016/j.isprsjprs.2020.09.019 ↗
46. Wang, X., Kang, M., Chen, Y., Jiang, W., Wang, M., Weise, T., Tan, M., Xu, L., Li, X., and Zou, L. (2023). Adaptive Local Cross-Channel Vector Pooling Attention Module for Semantic Segmentation of Remote Sensing Imagery. Remote Sens., 15.10.3390/rs15081980 ↗
47. Wang, L., Li, R., Wang, D., Duan, C., Wang, T., and Meng, X. (2021). Transformer Meets Convolution: A Bilateral Awareness Network for Semantic Segmentation of Very Fine Resolution Urban Scene Images. Remote Sens., 13.10.3390/rs13163065 ↗
48. Cao, H., Wang, Y., Chen, J., Jiang, D., Zhang, X., Tian, Q., and Wang, M. (2021). Swin-unet: Unet-like pure transformer for medical image segmentation. arXiv.
49. SegFormer: Simple and efficient design for semantic segmentation with transformers
50. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An image is worth 16 × 16 words: Transformers for image recognition at scale. arXiv.
51. Xu, W., Xu, Y., Chang, T., and Tu, Z. (2021, January 10–17). Co-Scale Conv-Attentional Image Transformers. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada.10.1109/ICCV48922.2021.00983 ↗