VectorLLM: Human-like Extraction of Structured Building Contours vis Multimodal LLMs

Tao Zhang, Shiqing Wei, Shihao Chen, Wenling Yu, Muying Luo, Shunping JiarXiv 2025 · DOI · arXiv

Abstract

Extracting vectorized building contours from satellite imagery is critical for urban planning and disaster response. Traditional methods rely on complex multi-stage pipelines involving segmentation, tracing, and refinement. We present VectorLLM, a Multimodal Large Language Model (MLLM) that treats building extraction as a generative sequence task. By predicting corner points in an auto-regressive manner, VectorLLM mimics human annotation logic. Our approach achieves state-of-the-art performance, outperforming specialized models by up to 13.6 AP on benchmark datasets and demonstrating strong zero-shot generalization to diverse objects like aircraft and water bodies.

Introduction

The extraction of structured building footprints from remote sensing imagery has traditionally been a "Frankenstein" process. It typically involves a dense segmentation stage followed by a separate vectorization and regularization step to produce clean polygons. These multi-stage pipelines are often fragile, relying on hand-crafted post-processing that struggles with noisy data or complex geometries.

VectorLLM proposes a paradigm shift by framing building extraction as a language generation task. Instead of pixel-level classification, the model identifies corner points and connects them sequentially, much like a human annotator. This approach leverages the inherent sequence-modeling strengths of Large Language Models (LLMs) to ensure topological consistency and geometric precision.

Methodology

VectorLLM utilizes a streamlined architecture consisting of a RADIO-L (ViT-L) vision encoder, an MLP connector with learnable positional embeddings, and a Qwen3 LLM backbone. The model's vocabulary is augmented with coordinate tokens to represent geometric points directly.

The core innovation lies in its three-stage training strategy designed to align visual features with geometric reasoning:

  1. Pretraining: Aligns image features with coordinate tokens to establish basic spatial awareness.
  2. Supervised Fine-Tuning (SFT): Trains the model to follow specific geometric instructions, such as extracting contours in a clockwise direction.
  3. Direct Preference Optimization (DPO): Adapts a technique from LLM alignment to "punish" geometric artifacts like self-intersections or missing edges, forcing the model to prefer clean, regularized polygons.
The three-stage training pipeline of VectorLLM: (a) Pretraining for vision-coordinate alignment, (b) Supervised Fine-Tuning for instruction following, and (c) Preference Optimization for geometric refinement.

Experimental Results

VectorLLM was evaluated on several high-resolution aerial and satellite datasets, including the WHU Building Dataset and the challenging CrowdAI benchmark.

Performance Benchmarks

The model sets a new state-of-the-art (SOTA) for vectorized building extraction. On the WHU dataset, it achieved 79.4 AP, a 6.7 AP improvement over the previous leader, P2PFormer. On the noisier CrowdAI dataset, the performance gap widened to 13.6 AP, highlighting the model's robustness to lower-resolution and imperfect annotations.

Zero-Shot Generalization

A significant finding is the model's ability to generalize beyond its primary training domain. Despite being trained mostly on buildings, VectorLLM can accurately delineate the contours of aircraft, ships, and water bodies when provided with a bounding box. This suggests that the model has learned a fundamental "topological concept" of object boundaries.

Qualitative results of VectorLLM across various datasets and object types, demonstrating precise contour extraction and zero-shot generalization to non-building objects.

Conclusion

VectorLLM demonstrates that Multimodal LLMs can effectively replace complex, multi-stage computer vision pipelines for structured geometry extraction. By treating corner-point regression as a sequence task and employing Preference Optimization for geometric alignment, the model achieves superior accuracy and remarkable generalization. Future work will focus on scaling to higher resolutions and handling more complex building topologies, such as those with internal courtyards.

Summary updated

Abstract

Automatically extracting vectorized building contours from remote sensing imagery is crucial for urban planning, population estimation, and disaster assessment. Current state-of-the-art methods rely on complex multi-stage pipelines involving pixel segmentation, vectorization, and polygon refinement, which limits their scalability and real-world applicability. Inspired by the remarkable reasoning capabilities of Large Language Models (LLMs), we introduce VectorLLM, the first Multi-modal Large Language Model (MLLM) designed for regular building contour extraction from remote sensing images. Unlike existing approaches, VectorLLM performs corner-point by corner-point regression of building contours directly, mimicking human annotators' labeling process. Our architecture consists of a vision foundation backbone, an MLP connector, and an LLM, enhanced with learnable position embeddings to improve spatial understanding capability. Through comprehensive exploration of training strategies including pretraining, supervised fine-tuning, and preference optimization across WHU, WHU-Mix, and CrowdAI datasets, VectorLLM significantly outperformed the previous SOTA methods by 5.6 AP, 7.1 AP, 13.6 AP, respectively in the three datasets. Remarkably, VectorLLM exhibits strong zero-shot performance on unseen objects including aircraft, water bodies, and oil tanks, highlighting its potential for unified modeling of diverse remote sensing object contour extraction tasks. Overall, this work establishes a new paradigm for vector extraction in remote sensing, leveraging the topological reasoning capabilities of LLMs to achieve both high accuracy and exceptional generalization. All the codes and weights will be published for promoting community development.
BibTeX
@misc{zhang2025vectorllm,
  author = {Tao Zhang and Shiqing Wei and Shihao Chen and Wenling Yu and Muying Luo and Shunping Ji},
  title = {{VectorLLM: Human-like Extraction of Structured Building Contours vis Multimodal LLMs}},
  year = {2025},
  eprint = {2507.04664},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.04664},
}
Figure