[Paper Review] Investigating the Segment Anything Foundation Model for Mapping Smallholder Agriculture Field Boundaries Without Training Labels
This study evaluates the Segment Anything Model (SAM) for mapping smallholder agricultural field boundaries in Bihar, India, using 2-meter SkySat satellite imagery without any fine-tuning or training labels. By combining multiple model checkpoints, varying input image sizes, multi-date imagery, and edge-enhanced inputs, SAM achieves 58% field boundary detection accuracy—demonstrating strong zero-shot potential in data-scarce regions.
Accurate mapping of agricultural field boundaries is crucial for enhancing outcomes like precision agriculture, crop monitoring, and yield estimation. However, extracting these boundaries from satellite images is challenging, especially for smallholder farms and data-scarce environments. This study explores the Segment Anything Model (SAM) to delineate agricultural field boundaries in Bihar, India, using 2-meter resolution SkySat imagery without additional training. We evaluate SAM's performance across three model checkpoints, various input sizes, multi-date satellite images, and edge-enhanced imagery. Our results show that SAM correctly identifies about 58% of field boundaries, comparable to other approaches requiring extensive training data. Using different input image sizes improves accuracy, with the most significant improvement observed when using multi-date satellite images. This work establishes proof of concept for using SAM and maximizing its potential in agricultural field boundary mapping. Our work highlights SAM's potential in delineating agriculture field boundary in training-data scarce settings to enable a wide range of agriculture related analysis.
Motivation & Objective
- To assess the feasibility of using the Segment Anything Foundation Model (SAM) for detecting smallholder agricultural field boundaries without any labeled training data.
- To investigate how model performance varies across different SAM checkpoints, input image sizes, and image preprocessing techniques such as edge enhancement.
- To evaluate the impact of using multi-temporal satellite imagery on detection accuracy for smallholder farms in low-resource settings.
- To establish a proof of concept for zero-shot geospatial AI in agriculture, particularly in regions with limited ground truth data.
- To contribute to GeoXAI by improving transparency and interpretability in AI-driven agricultural mapping workflows.
Proposed method
- Utilized the pre-trained Segment Anything Model (SAM) with its default vision encoder and mask decoder, applying zero-shot inference without any fine-tuning.
- Evaluated three SAM model checkpoints (e.g., vit_h, vit_b, vit_l) to compare performance differences across architecture variants.
- Applied input image resizing to test the effect of resolution on segmentation accuracy, using both smaller and larger image sizes.
- Combined predictions from multiple input images—across different dates and with edge-enhanced preprocessing—to improve detection robustness.
- Used a non-maximum suppression-like strategy to merge overlapping predictions and reduce redundancy.
- Evaluated results using Intersection over Union (IoU) with a 0.5 threshold against ground truth field boundaries to identify correctly detected fields.
Experimental results
Research questions
- RQ1Can the Segment Anything Model (SAM) accurately detect smallholder agricultural field boundaries in low-resolution (2 m) satellite imagery without any fine-tuning or labeled data?
- RQ2How does model performance vary across different SAM checkpoints and input image sizes in the context of smallholder farm mapping?
- RQ3To what extent does using multi-date satellite imagery improve the detection accuracy of agricultural field boundaries with SAM?
- RQ4Does edge enhancement of input satellite images improve SAM’s ability to detect field boundaries in data-scarce environments?
- RQ5How do ensemble strategies—combining predictions from different models, image sizes, and time points—affect overall detection performance?
Key findings
- SAM achieved a field boundary detection accuracy of 58% on average when applied to 2-meter SkySat imagery without any training data, demonstrating strong zero-shot capability.
- Combining predictions from different SAM model checkpoints led to a modest improvement in detection accuracy, though the gains were less significant than with multi-date imagery.
- Using multi-date satellite images resulted in the most substantial improvement in detection accuracy, highlighting the value of temporal diversity in segmentation tasks.
- Input image size had a measurable impact on performance, with intermediate-sized inputs yielding better results than very small or very large images.
- Edge-enhanced imagery further improved detection accuracy, indicating that feature engineering can enhance foundation model performance in geospatial applications.
- The combination of multi-date imagery, diverse input sizes, and edge-enhanced inputs produced the most comprehensive and accurate agricultural field boundary layer, detecting 58% of ground truth fields.
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.