StitchEdit: Stitching Depth Priors into Image Editors via Per-Layer Gradient Probing
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.
Create a lesson
Related papers
PhysDNet: Physics-Driven Gradient Amplification for Real-Time Image Dehazing
Shared title terminologycs.CVRayen Dhahri, Lei Sun, Victor Javier Kartsch Morinigo et al.
Neural Image Compression with Internal-External Prior Fusion and Alignment
Shared title terminologycs.CVTiancheng Si, Wenlong Xu, Dahua Gao
TRACEMARK: Editor-Aware Watermarking for User Attribution in Text-Guided Image Editing
Shared title terminologycs.CVXiaodong Wu, Xiangman Li, Jianbing Ni et al.
A Well-Posed Fourth-Order Navier-Stokes Model for Image Inpainting: Theory, Order Selection, and Stripe Decomposition
Shared title terminologycs.CVYiwen Dou, Yiqiang Ding, Zhongyun Bao et al.
BODYBENCH: Evaluating Adversarial Image Defenses Against AI Nudification Inpainting
Shared title terminologycs.CVLi Qiwei, Salma Abdel Magid, Olga Russakovsky et al.
EventSSM: Causal Spatial-State Modelling for Asynchronous Events Event-Depth Estimation
Shared title terminologycs.CVSadiq O. Macaulay, Dipon Ghosh, Hadfield Simon