Breaking the Box: Enhancing Remote Sensing Image Segmentation with Freehand Sketches

Ying Zang, Yuncan Gao, Jiangi Zhang, Yuangi Hu, Runlong Cao, Lanyun Zhu, Qi Zhu, Deyi Ji, Renjun Xu, Tianrun ChenarXiv 2025 · OpenReview

Abstract

This work advances zero-shot interactive segmentation for remote sensing imagery through three key contributions. First, we propose a novel sketch-based prompting method, enabling users to intuitively outline objects, surpassing traditional point or box prompts. Second, we introduce LTL-Sensing, the first dataset pairing human sketches with remote sensing imagery, setting a benchmark for future research. Third, we present LTL-Net, a model featuring a multi-input prompting transport module tailored for freehand sketches. Extensive experiments show our approach significantly improves segmentation accuracy and robustness over state-of-the-art methods like SAM, fostering more intuitive human-AI collaboration in remote sensing analysis and enhancing its applications.

Introduction

Remote sensing (RS) imagery, captured from satellites or aircraft, presents unique challenges for automated segmentation. Unlike natural images, RS objects like airfields, winding rivers, or sprawling stadium complexes exhibit extreme scale variations, arbitrary rotations, and highly irregular boundaries. Current interactive segmentation foundation models, most notably Meta’s Segment Anything Model (SAM), typically rely on points or bounding boxes as prompts. However, in the RS domain, these prompts are often too imprecise; a single point may miss critical features, while a bounding box often includes excessive background noise. This paper argues that freehand sketches—rough contours drawn by humans—offer a more natural and informative way to communicate object boundaries to AI models.

Methodology: LTL-Net and Multi-Prompt Transport

The proposed LTL-Net (Lines That Locate) integrates three primary technical innovations to handle the spatial uncertainty of freehand drawing:

  1. Sketch-Image Fusion & Masked Attention: LTL-Net uses a ResNet-based encoder to extract features from the sketch. A specialized masked attention mechanism then forces the model to ignore image regions where no strokes exist, effectively filtering out complex background noise.
  2. Sketch Augmentation via Bézier Curves: To ensure robustness against varying human drawing styles, the authors used cubic Bézier curves to mathematically represent sketches. By applying random perturbations to control points, they synthetically generated thousands of "imperfect" sketch variations for training.
  3. Multi-Prompt Transport (MPT): Utilizing Optimal Transport (OT) theory and the Sinkhorn algorithm, the MPT module aligns the distribution of sketch features with image pixels. This ensures that even if a user's sketch does not perfectly overlap with the object's edge, the model can still accurately "transport" that intent to the correct pixels.
The LTL-Net framework, detailing the training phase with sketch augmentation, the Multi-Prompts Transport (MPT) module, and the inference phase.

Datasets: The LTL-Sensing Benchmark

The study introduces LTL-Sensing, the first dataset in the field to pair real human freehand sketches with remote sensing imagery. Based on the RRSIS-D dataset, it includes 3,481 images annotated by volunteers. During training, synthetic sketches derived from Canny edge detectors were also used to provide a clean baseline for the model to learn from.

Results and Discussion

LTL-Net sets a new benchmark for interactive remote sensing segmentation, significantly outperforming SAM and other state-of-the-art models. On the LTL-Sensing test set, LTL-Net achieved an overall IoU (oIoU) of 88.49%, compared to just 38.56% for standard SAM using internal point prompts.

Qualitative results demonstrate that the model handles both tiny-scale objects (like vehicles) and large-scale objects (like airports) with high proficiency. Through the MPT module, the network treats the sketch as a probabilistic guide rather than a literal boundary, allowing it to correct for human error and "shaky hands."

Comparison of segmentation results using different prompt types. Sketch-based prompts (Ours) provide the most accurate alignment with the ground truth compared to SAM's point and box prompts.

Conclusion

LTL-Net demonstrates that freehand sketches provide a superior middle ground between high-effort pixel-perfect annotation and low-precision bounding boxes. By capturing the topology of an object, sketches offer a more effective interface for human-AI collaboration in remote sensing. Future research will focus on reducing latency through sketch completion and extending the framework to multi-spectral data like infrared or SAR imagery.

Summary updated

BibTeX
@misc{zang2025breaking,
  author = {Ying Zang and Yuncan Gao and Jiangi Zhang and Yuangi Hu and Runlong Cao and Lanyun Zhu and Qi Zhu and Deyi Ji and Renjun Xu and Tianrun Chen},
  title = {{Breaking the Box: Enhancing Remote Sensing Image Segmentation with Freehand Sketches}},
  year = {2025},
  eprint = {2503.12191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.12191},
}
Figure