cs.CVNov 5, 2026

StitchEdit: Stitching Depth Priors into Image Editors via Per-Layer Gradient Probing

Authors: Qin Guo, Dan Xu

Organizations: The Hong Kong University of Science and Technology

Abstract

Text-guided image editing with diffusion models struggles with spatial edits (e.g. manipulating objects, changing viewpoints, manipulating occlusions) that depend on the 3D structure understanding of a scene. Marigold and follow-up work demonstrate that a pretrained diffusion backbone already harbors strong geometric priors that can be activated for depth estimation, yet how to redirect these priors toward editing remains unresolved. Through per-layer gradient probing, we discover that the editing and depth objectives are compatible in early transformer layers but actively conflict in late layers, explaining why naive depth-conditioned editing either ignores geometry or degrades visual quality. We present StitchEdit, which first activates the backbone's geometric capability via a lightweight depth-denoising adapter, then selectively fine-tunes this adapter for editing using a probe-guided per-layer learning rate schedule that preserves depth knowledge where it helps and prunes it where it conflicts. On the proposed StitchEditBench, a benchmark of 150 geometry-dependent edits spanning spatial transformation, occlusion manipulation, and viewpoint change, StitchEdit consistently surpasses both instruction-based and depth-conditioned baselines on perceptual quality and geometric fidelity.

Figures & tables

Explore similar work

CardsList
  1. Inverse-and-Edit: Simple and Effective Framework for Fast Image Editing

    Jun 23, 2025Ilia Beletskii, Andrey Kuznetsov, Aibek AlanovText-Guided Image EditingDiffusion-Based Image Editing

  2. SpatialEdit: Benchmarking Fine-Grained Image Spatial Editing

    Apr 6, 2026Yicheng Xiao, Wenhu Zhang, Lin Song +10Image EditingImage Editing Evaluation

  3. Masked Generative Transformer Is What You Need for Image Editing

    May 11, 2026Wei Chow, Linfeng Li, Xian Sun +14TransformerText-Guided Image Editing