Abstract
Introduction: The Vision Transformer (ViT) model, which leverages self-supervised learning, has shown exceptional performance in natural image segmentation, suggesting its extensive potential in visual tasks. However, its effectiveness diminishes in remote sensing due to the varying perspectives of remote sensing images and unique optical properties of features like the translucency of greenhouses. Additionally, the high cost of training Visual Foundation Models (VFMs) from scratch for specific scenes limits their deployment. Methods: This study investigates the feasibility of rapidly deploying VFMs on new tasks by using embedding vectors generated by VFMs as prior knowledge to enhance traditional segmentation models’ performance. We implemented this approach to improve the accuracy and robustness of segmentation with the same number of trainable parameters. Comparative experiments were conducted to evaluate the efficiency and effectiveness of this method, especially in the context of greenhouse detection and management. Results: Our findings indicate that the use of embedding vectors facilitates rapid convergence and significantly boosts segmentation accuracy and robustness. Notably, our method achieves or exceeds the performance of traditional segmentation models using only about 40% of the annotated samples. This reduction in the reliance on manual annotation has significant implications for remote sensing applications. Discussion: The application of VFMs in remote sensing tasks, particularly for greenhouse detection and management, demonstrated enhanced segmentation accuracy and reduced dependence on annotated samples. This method adapts more swiftly to different lighting conditions, enabling more precise monitoring of agricultural resources. Our study underscores the potential of VFMs in remote sensing tasks and opens new avenues for the expansive application of these models in diverse downstream tasks.
Introduction
Greenhouse detection is a cornerstone of modern agricultural management, yet it remains a significant challenge for standard computer vision algorithms. Remote sensing (RS) imagery introduces complexities such as high-altitude perspectives and the unique optical properties of greenhouses—specifically their translucency and often blurred boundaries.
While Visual Foundation Models (VFMs) like Segment Anything (SAM) or DINOv2 have set new benchmarks in natural image processing, their application in the RS domain is hindered by the high computational cost of training from scratch. This research addresses these barriers by proposing a framework that transfers the general visual knowledge of VFMs to specialized environmental monitoring tasks with minimal labeled data.
Methodology: The Knowledge Transfer Framework
The core of the proposed approach is a Knowledge Transfer Framework designed to bridge the gap between general-purpose VFMs and specialized RS tasks.
- Frozen Encoder Architecture: Instead of the resource-intensive process of fine-tuning an entire foundation model, the researchers utilized a frozen Vision Transformer (ViT) encoder (specifically DINOv2). Freezing the weights drastically reduces computational overhead during training.
- Multi-Level Embedding Extraction: The framework extracts embedding vectors from four distinct stages of the ViT (the 0th, 1/3rd, 2/3rd, and final self-attention blocks). This allows the model to capture a hierarchy of features, from low-level textures to high-level semantic concepts.
- Lightweight Segmentation Heads: These embeddings are processed by lightweight convolutional "heads." Two primary architectures were evaluated: VFM-UNet, which integrates embeddings into a traditional encoder-decoder structure, and VFM-ASPP, which utilizes Atrous Spatial Pyramid Pooling to handle multi-scale objects.
Experimental Setup and Data
The study leveraged high-resolution Gaofen-2 satellite imagery of Jiangsu Province, China. The dataset comprised 3,894 manually annotated images with a spatial resolution of 0.8m. It included a diverse array of greenhouse types—glass, plastic, vegetable, and aquaculture—situated in both dense and sparse configurations. To ensure robustness, the dataset also included "noise" areas devoid of greenhouses to test for false positives.
Key Results and Insights
The experimental results highlight several critical advantages of the VFM-based approach:
- Exceptional Data Efficiency: The most significant finding is that the VFM-UNet, trained on only 40% of the available data, matched or outperformed a standard UNet trained on the full 100% dataset.
- Superior Accuracy: VFM-UNet achieved an IoU of 0.7870 and an F1-score of 0.8807, significantly surpassing traditional models like ResNet-based DeepLabv3 (0.5604 IoU).
- Boundary Precision: The model effectively solved the "adhesion" problem, where adjacent greenhouses are incorrectly merged. The VFM's sensitivity to subtle texture gradients allowed for much sharper and more accurate boundary detection.
- Computational Efficiency: Despite the massive scale of the underlying ViT, the VFM-UNet requires fewer trainable parameters (42.53M) than a standard ResNet50-based UNet (43.93M), facilitating easier deployment.
Conclusion and Future Work
This research demonstrates that VFMs can serve as powerful "knowledge repositories" for remote sensing, enabling high-performance segmentation with drastically reduced reliance on manual annotations. While the VFM-UNet proved highly effective, the researchers noted that repeated pooling can sometimes lead to the loss of information for very small objects. Future efforts will focus on optimizing atrous (dilated) convolutions to better capture multi-scale features and further enhance performance on the minute, regular structures typical of industrial and agricultural landscapes.
Summary updated