NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Qin Guo, Dan Xu

NeurIPS page · OpenReview · Open on the map

Category: Diffusion & Image Generation › Computational Editing · Type: new method · Keywords: text-guided image editing, diffusion models, depth priors, per-layer gradient probing, geometry-dependent edits, StitchEditBench

Areas: Generative Models (Diffusion & Flows) › Visual Editing and Conditioning › Inversion-Free Editing; Computer Vision & 3D › Visual Diffusion and Restoration › Visual Editing

Summary

StitchEdit stitches depth priors into image editors by probing per-layer gradients to preserve geometry while editing, achieving state-of-the-art results on a new benchmark of geometry-dependent edits.

Explained to a 5-year-old

People use computers to change pictures using words. Sometimes the pictures need to know which objects are in front and which are behind to be changed correctly. The computer already knows a little about depth, but using that knowledge can make the picture look bad. The researchers found a way to keep the depth knowledge when it helps and ignore it when it hurts. This makes the pictures change better, especially for moving objects, hiding things, and looking from different angles.

Explained to a 5-year-old, longer

Computers can edit pictures when you tell them what to do with words. Changing a picture often needs to know which things are in front and which are behind. Some computer models already understand depth, but using that knowledge can sometimes make the picture look wrong. The researchers looked at how the model learns to edit and how it learns depth. They discovered that early parts of the model work well for both editing and depth, but later parts fight each other. To solve this, they created a special small piece that first learns to see depth clearly. Then they carefully adjust this piece so it keeps depth knowledge when it helps and drops it when it hurts. This way, the picture editing can handle moving objects, hiding things, and different viewpoints better. The new method also provides a benchmark with many examples to test how well the editing works. Overall, it makes picture editing smarter by using the computer’s sense of depth in the right places.

For a technical reader

The paper shows that diffusion models already contain geometric priors useful for depth estimation. By probing gradients per transformer layer, they find early layers support both editing and depth, while late layers conflict. They introduce a lightweight depth-denoising adapter and a per-layer learning-rate schedule that preserves depth where helpful and discards it where harmful. Evaluation on a new benchmark of 150 geometry-dependent edits demonstrates superior perceptual quality and geometric fidelity over existing baselines.

Problem

Text-guided image editing with diffusion models often fails to correctly edit objects that depend on 3D scene geometry, because existing approaches either ignore depth information or degrade visual quality when depth is incorporated.

Method

The approach activates the backbone's geometric capability with a lightweight depth-denoising adapter and then fine-tunes this adapter using a probe-guided per-layer learning rate schedule that retains depth knowledge where beneficial and discards it where it conflicts with editing.

Results

The approach outperforms instruction-based and depth-conditioned baselines on perceptual quality and geometric fidelity across the benchmark.

Contributions

It reveals that editing and depth objectives conflict in late transformer layers, proposes a per-layer learning rate schedule to reconcile them, and introduces a benchmark of 150 geometry-dependent edits to evaluate spatial editing performance.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction