NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Edit2Perceive: Image Editing Diffusion Models Are Strong Dense Perceivers

Yiqing Shi, Yiren Song, Mike Zheng Shou

TL;DR

Edit2Perceive shifts the paradigm of diffusion-based dense perception by leveraging image-to-image (I2I) editing models instead of traditional text-to-image (T2I) generators. By tapping into the inherent structural priors of editing models and utilizing a single-step deterministic inference scheme, it achieves state-of-the-art performance in depth estimation, surface normal estimation, and interactive matting with remarkable data efficiency.

What Problem Does This Paper Address?

Dense perception tasks—such as monocular depth estimation, surface normal estimation, and interactive matting—require a deep understanding of 3D geometry and fine-grained pixel boundaries. Recently, researchers have adapted large-scale text-to-image (T2I) diffusion models (like Stable Diffusion) for these tasks to exploit their rich visual priors.

However, the authors point out a fundamental representation mismatch: T2I models excel at mapping abstract text concepts to pixels ("concept-to-pixel"), but they lack the capacity to reason about precise structural and geometric relationships within an image. This stochastic, synthesis-focused nature is fundamentally misaligned with the deterministic, geometry-aware requirements of dense perception.

Methods

The authors introduce Edit2Perceive, a unified framework built upon the FLUX.1 Kontext architecture—a flow-matching image-to-image (I2I) diffusion transformer. Instead of generating from text alone, the model treats dense perception as a conditional image-editing task, transforming an input image into a geometric map based on a text prompt (e.g., "Transform to depth map while maintaining original composition").

Key methodological innovations include:

  • Pseudo-Deterministic Path: Fixing the random seed ($z_0$) to ensure a unique, reproducible mapping from input to output.
  • Single-Step Inference: Utilizing a single-step Euler integrator for inference, drastically reducing computational overhead (FLOPs) while avoiding the over-smoothing artifacts typical of prolonged denoising in perception tasks.
  • Pixel-Space Consistency Loss ($\mathcal{L}_{Cons}$): To bridge the gap between latent-space flow matching and pixel-level geometric fidelity, they introduce task-specific pixel losses (e.g., scale-and-shift invariant L1 for depth, gradient-stable atan2 angular error for normals) combined with an adaptive curriculum weight.
  • Optimal Square-Root Depth Mapping: They theoretically derive that a square-root transformation ($\sqrt{y}$) minimizes relative quantization errors when converting single-channel depth maps into the 3-channel BF16 format required by the model.
Figure 2. Overview of the Edit2Perceive Framework. We adapt the FLUX.1 Kontext editor for dense perception. An input image x and text prompt p condition for the target image y. In the forward process, target token will be mixed with noise, and get noisy target token zt and then concatenate with text condition token and image condition token. The DiT backbone is trained to predict the velocity of the flow from a noise vector z0 to the target latent z1. Our training objective combines the latent-space flow matching loss (LFM) with a pixel-space consistency loss (LCons) for enhanced geometric fidelity.

Datasets

The model was trained and evaluated across task-specific benchmark datasets:

  • Monocular Depth Estimation: Trained on Hypersim and Virtual KITTI 2. Zero-shot evaluation on NYUv2, KITTI, ETH3D, ScanNet, and DIODE.
  • Surface Normal Estimation: Trained on Hypersim, InteriorVerse, and Sintel. Zero-shot evaluation on NYUv2, ScanNet, iBims-1, and DIODE.
  • Interactive Matting: Trained on AM-2k, Distinctions-646, Composition-1k, and COCO-Matting. Evaluated on P3M-500-NP, AM-2k, and AIM-500.

Key Insights and Ideas

  • The Power of Editing Priors: Image editing models are pretrained to modify existing images while maintaining structural consistency. This objective implicitly forces the model to learn a "structural prior"—parsing objects, surfaces, and spatial relationships—making them a far better match for geometric perception than T2I models.
  • Rapid Boundary Convergence: Visualization of self-attention maps reveals that I2I models capture sharp, distinct object boundaries as early as Epoch 1 of training, whereas T2I models remain scattered and blurry even after multiple epochs.
  • Less Denoising is More: Unlike generative tasks that benefit from many denoising steps to add creative detail, dense perception performance peaks at very few steps (optimally around 4 steps, but highly competitive at just 1 step). More steps actually degrade performance by introducing over-smoothing artifacts.
Figure 4. Visualization of Attention Map between T2I and I2I.

Key Results

  • State-of-the-Art Performance: Edit2Perceive achieves top rankings across all three dense prediction tasks, securing an average rank of 1.5 for depth estimation, 1.4 for normal estimation, and 1.2 for interactive matting.
  • Extreme Data Efficiency: In zero-shot depth estimation, Edit2Perceive outperforms DepthAnything V2 on key benchmarks despite being trained on only 74K images compared to DepthAnything V2's massive 62.6M images.
  • Error Reduction: On the ETH3D and ScanNet datasets, it reduces the Absolute Relative (AbsRel) depth error by 27% and 11% respectively compared to the previous second-best models.
Figure 1. We present Edit2Perceive, a unified framework for diverse dense prediction tasks. Our model achieves state-of-the-art per- formance across zero-shot Monocular Depth Estimation, Surface Normal Estimation, and Interactive Matting, consistently outperforming previous methods. The bar charts on the right compare the average ranking score of our method against prior work on each task; lower is better. The green dot (•) on the input images indicates the positive user prompt for interactive matting.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{shi2026edit,
  author = {Yiqing Shi and Yiren Song and Mike Zheng Shou},
  title = {{Edit2Perceive: Image Editing Diffusion Models Are Strong Dense Perceivers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=ChE8pGGBLV},
}
Figure