SpatialEdit: Benchmarking Fine-Grained Image Spatial Editing

Yicheng Xiao, Wenhu Zhang, Lin Song, Yukang Chen, Wenbo Li, Nan Jiang, Tianhe Ren, Haokun Lin, Wei Huang, Haoyang Huang, Xiu Li, Nan Duan, Xiaojuan QiarXiv 2026

TL;DR

SpatialEdit introduces a comprehensive framework for fine-grained image spatial editing, bridging the gap between semantic text instructions and precise geometric execution. By delivering a new geometry-aware evaluation benchmark (SpatialEdit-Bench), a massive 500k synthetic training dataset, and a 16B parameter baseline model, this work enables highly accurate control over camera viewpoints and single-object layouts.

What Problem Does This Paper Address?

While modern generative models excel at semantic image editing (e.g., changing a dog's breed or altering an art style), they struggle significantly with precise spatial manipulations. If you ask a state-of-the-art model to "rotate the camera 90 degrees to the left" or "rotate the car to show its front-right side," it will often generate an output that "looks right" superficially but is geometrically incorrect.

This issue persists because existing benchmarks primarily evaluate semantic alignment using Vision-Language Models (VLMs), which are notoriously poor at judging 3D metric accuracy. Furthermore, there is a severe shortage of large-scale, high-quality training data containing paired images with precise, ground-truth geometric transformations.

Overview of camera-level and object-level spatial editing tasks.

Methods

The authors tackle both the evaluation and training bottlenecks with a three-pronged approach:

  1. Geometry-Aware Evaluation (SpatialEdit-Bench): Instead of relying on VLM text prompts to judge correctness, the authors introduce two rigorous metrics:
  2. Viewpoint Error (VE): Uses a Visual Geometry Grounded Transformer (VGGT) to reconstruct the 3D camera pose from the edited image, directly comparing the predicted camera extrinsics against the ground truth.
  3. Framing Error (FE): Leverages a YOLO detector and Hungarian matching to ensure objects maintain spatial consistency, correct bounding box scales, and proper ray angles during camera motion (especially zoom).
  4. Data Generation Pipeline: To generate SpatialEdit-500k, the authors built a scalable data engine in Blender. For object-level edits, 3D assets are rendered from multiple viewpoints, segmented using SAM3, and inpainted into diverse text-to-image backgrounds. For camera-level edits, camera trajectories (yaw, pitch, zoom) are systematically sampled around focal objects in 3D scenes.
The multi-stage data generation pipeline in Blender.
  1. Model Architecture (SpatialEdit-16B): The baseline model adopts a cascaded pipeline combining a pretrained multimodal encoder (Qwen3VL) for global semantic conditioning with a Multi-Modal Diffusion Transformer (MM-DiT) decoder and a VAE. It undergoes a two-stage training process: general pre-training followed by parameter-efficient fine-tuning (LoRA) on the new spatial dataset.
The SpatialEdit model architecture combining Qwen3VL and MM-DiT.

Datasets

  • SpatialEdit-500k: A newly introduced synthetic dataset containing 500,000 image pairs with precise geometric annotations spanning camera operations (yaw, pitch, distance) and object manipulations (translation, scaling, rotation).
  • GEdit-Bench: An existing general image editing benchmark used to verify that the model retains its general editing capabilities after spatial fine-tuning.
Dataset statistics and object category distributions for SpatialEdit-500k.

Key Insights and Ideas

  • "Looks Right" $\neq$ "Is Right": Standard VLM evaluations often fail to penalize severe geometric distortions. Reconstructing the 3D scene structure via camera pose estimation is essential for diagnosing true spatial capabilities.
  • Cross-Task Positive Transfer: Multi-task mixed training (combining object translation, object rotation, and camera manipulation) converges more reliably and yields better overall performance than training on single tasks alone. Shared spatial supervision benefits all sub-tasks.

Key Results

SpatialEdit-16B significantly outperforms existing open-source and closed-source models on spatial editing tasks while remaining competitive on general editing benchmarks (scoring 7.52 on GEdit-Bench).

  • Object Manipulation: On the object moving task, SpatialEdit achieves a Moving Score of 0.673, vastly outperforming the previous state-of-the-art open-source model, LongCatImage-Edit, which scored 0.373.
  • Camera Control: SpatialEdit drastically reduces Viewpoint Error to 0.243 (compared to LongCatImage-Edit's 0.802) and Framing Error to 0.527 (compared to 0.684).

Qualitative comparisons highlight that competing methods frequently introduce severe artifacts, texture stretching, or completely alter the background, whereas SpatialEdit preserves background and object fidelity.

Qualitative comparison of camera view manipulation across different models.
Qualitative comparison of object-level translation, scaling, and rotation.

Limitations and Future Work

The authors note that their model can serve as a practical enhancement tool for single-view 3D reconstruction by synthesizing accurate multi-view observations. However, explicit limitations of the current architecture or dataset generation (such as potential synthetic-to-real domain gaps or reliance on the initial 3D asset quality) are not extensively detailed in the text. The authors express hope that future work will more tightly couple geometric inference with high-quality image synthesis.

Summary updated

BibTeX
@misc{xiao2026spatialedit,
  author = {Yicheng Xiao and Wenhu Zhang and Lin Song and Yukang Chen and Wenbo Li and Nan Jiang and Tianhe Ren and Haokun Lin and Wei Huang and Haoyang Huang and Xiu Li and Nan Duan and Xiaojuan Qi},
  title = {{SpatialEdit: Benchmarking Fine-Grained Image Spatial Editing}},
  year = {2026},
  eprint = {2604.04911},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.04911},
}
Figure