[Paper Review] LEFormer: A Hybrid CNN-Transformer Architecture for Accurate Lake Extraction from Remote Sensing Imagery
LEFormer proposes a lightweight hybrid CNN-Transformer architecture for accurate lake extraction from remote sensing imagery, combining a CNN encoder with multi-scale spatial-channel attention and a lightweight Transformer encoder with cross-attention fusion to achieve state-of-the-art performance. It achieves 90.86% mIoU on the Surface Water dataset and 97.42% on the Qinghai-Tibet Plateau Lake dataset with only 3.61M parameters, outperforming prior methods in accuracy and efficiency while reducing parameter count by 20×.
Lake extraction from remote sensing images is challenging due to the complex lake shapes and inherent data noises. Existing methods suffer from blurred segmentation boundaries and poor foreground modeling. This paper proposes a hybrid CNN-Transformer architecture, called LEFormer, for accurate lake extraction. LEFormer contains three main modules: CNN encoder, Transformer encoder, and cross-encoder fusion. The CNN encoder effectively recovers local spatial information and improves fine-scale details. Simultaneously, the Transformer encoder captures long-range dependencies between sequences of any length, allowing them to obtain global features and context information. The cross-encoder fusion module integrates the local and global features to improve mask prediction. Experimental results show that LEFormer consistently achieves state-of-the-art performance and efficiency on the Surface Water and the Qinghai-Tibet Plateau Lake datasets. Specifically, LEFormer achieves 90.86% and 97.42% mIoU on two datasets with a parameter count of 3.61M, respectively, while being 20 minor than the previous best lake extraction method. The source code is available at https://github.com/BastianChen/LEFormer.
Motivation & Objective
- To address the challenges of complex lake shapes and noisy remote sensing data in lake segmentation.
- To improve boundary accuracy and foreground modeling in lake extraction, which are limited by existing CNN and Transformer models.
- To design a lightweight, efficient architecture that combines local and global feature extraction for superior performance.
- To achieve state-of-the-art results in both accuracy and computational efficiency on benchmark lake segmentation datasets.
Proposed method
- The model uses a CNN encoder with depth-wise separable convolutions and a multi-scale spatial-channel attention (MSCA) module to enhance local spatial details and multi-scale feature extraction.
- A lightweight Transformer encoder with patch-based processing captures long-range dependencies and global context, reducing computational cost.
- A cross-encoder fusion module integrates features from the CNN and Transformer encoders to improve final mask prediction.
- The MSCA module combines dilated convolutions with CBAM to dynamically attend to multi-scale features and improve representation.
- The architecture is optimized with stage-wise downsampling and attention mechanisms, with hyperparameters tuned for efficiency and accuracy.
- The model is trained end-to-end on the Surface Water and Qinghai-Tibet Plateau Lake datasets using standard segmentation loss.
Experimental results
Research questions
- RQ1Can a hybrid CNN-Transformer architecture improve boundary accuracy and foreground modeling in lake extraction from remote sensing images?
- RQ2How does combining local (CNN) and global (Transformer) feature learning affect segmentation performance on complex lake datasets?
- RQ3What is the optimal balance between model complexity, parameter count, and performance in lake segmentation tasks?
- RQ4To what extent do multi-scale attention and cross-encoder fusion enhance feature representation and segmentation accuracy?
Key findings
- LEFormer achieves 90.86% mIoU on the Surface Water dataset and 97.42% mIoU on the Qinghai-Tibet Plateau Lake dataset, setting new state-of-the-art performance.
- The model uses only 3.61 million parameters and 1.27 billion FLOPs, making it 20× smaller and 48× more efficient in FLOPs than the previous best method, MSNANet.
- Ablation studies show that the combination of CNN with MSCA and Transformer with PTL (patch-wise self-attention) yields the highest accuracy, with MSCA contributing 0.17% mIoU gain on SW and 0.20% on QTPL.
- The inclusion of depth-wise separable convolutions and MSCA improves mIoU by 0.28% and 0.17% respectively, demonstrating their effectiveness in feature learning.
- Removing the CNN encoder or PTL leads to a drop in mIoU by 0.38% and 0.07%, respectively, confirming their critical role in performance.
- LEFormer outperforms all compared methods, including SegFormer, SegNeXt, and MSNANET, in both accuracy and efficiency across both datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.