DeepInv: A Novel Self-supervised Learning Approach for Fast and Accurate Diffusion Inversion

Ziyue Zhang, Luxi Lin, Xiaolin Hu, Chao Chang, HuaiXi Wang, Yiyi Zhou, Rongrong JiarXiv 2026

TL;DR

DeepInv introduces the first self-supervised, trainable solver designed to predict diffusion inversion noise step-by-step. By leveraging fixed-point iteration theory to automatically generate high-quality pseudo-noise labels, it bridges the gap between slow optimization methods and inaccurate approximations, delivering massive speedups and pristine image reconstruction.

What Problem Does This Paper Address?

To edit a real image using a generative diffusion model, you first need to find the exact initial noise vector that reconstructs that image—a process known as diffusion inversion. Because there are no ground-truth noise annotations for real images, this task is fundamentally challenging.

Existing approaches typically fall into two flawed camps:

  1. Iterative optimization methods: These are highly accurate but painfully slow, requiring extensive computation per image at inference time.
  2. ODE-based approximations: These are fast but frequently fail to preserve complex textures and fine structural details, leading to low reconstruction quality and downstream editing artifacts.
Illustrations of our DeepInv and previous inversion strategies.

DeepInv aims to achieve the best of both worlds: a method that is both lightning-fast and highly accurate.

Methods

Instead of relying on handcrafted mathematical trajectories or per-image optimization, DeepInv trains a parameterized solver network to predict inversion noise residuals step-by-step.

The core components of the method include:

  • Self-Supervised Objective: Grounded in fixed-point iteration theory, the objective minimizes the discrepancy between the predicted inversion noise and the corresponding denoising steps of the pretrained diffusion model.
  • Pseudo-Label Generation: To stabilize training, DeepInv linearly fuses the diffusion model's denoising outputs with the solver's transitional predictions. This creates a high-quality, synthesized dataset for self-supervision without manual intervention.
  • Iterative & Multi-Scale Training: The solver is trained progressively across increasing temporal resolutions ($T = \{1, 5, 10, 25, 50\}$). Low-resolution stages capture global trajectory patterns, while higher resolutions refine local details.
  • Dual-Branch Solver Architecture: The network features a prior modeling branch (which uses empty prompt tokens to maximize inversion fidelity) and an image-conditioned refinement branch (which uses the original image's latent code to maintain visual coherence). Standard DDIM inversion noise is also fed in as an auxiliary input baseline.
Architecture of the proposed DeepInv solver.

Datasets

The authors validated DeepInv using two mainstream benchmarks:

  • COCO Dataset: A subset of real, near-square images was selected to train the self-supervised solver and evaluate image reconstruction performance.
  • PIE-Bench: A prompt-driven image editing dataset consisting of 700 images paired with distinct editing instructions (e.g., object addition, removal, and attribute modification) to evaluate downstream editing quality.

Key Insights and Ideas

  • Inversion as a Learnable Skill: Rather than treating inversion as a rigid mathematical optimization problem to solve from scratch for every image, it can be framed as a generalized mapping function that a neural network can learn via self-supervision.
  • Asymmetric Layer Scaling: During multi-scale tuning, the authors found that adding network capacity only to the image-conditioned refinement branch works better than scaling both branches. The prior branch processes DDIM noise, which already provides a strong baseline; overcomplicating it introduces training instability.
  • The Power of Empty Prompts: Separating text-free prior processing from explicit image conditioning prevents semantic drift, allowing the model to preserve high-frequency details that text prompts usually smooth out.

Key Results

  • Superior Reconstruction: On the COCO dataset, DeepInv achieved an SSIM of 0.903 and a PSNR of 29.634, drastically outperforming the previous state-of-the-art method, EasyInv (SSIM: 0.643, PSNR: 18.576).
  • Massive Speedups: DeepInv is 9887.5% faster than iterative optimization methods like ReNoise (taking just 48 seconds compared to ReNoise's 4746 seconds), while remaining nearly as fast as basic DDIM inversion (34 seconds).
  • Enhanced Downstream Editing: When integrated into existing editing frameworks like FTEdit and RF Inversion, DeepInv significantly reduced texture inconsistencies and unnatural artifacts, outperforming even leading inversion-free editing methods like DVRF.
The comparison between our DeepInv and existing SOTA methods in terms of image inversion and editing.

Limitations and Future Work

The paper does not include a dedicated limitations section. However, a clear dependency of this approach is that the parameterized solver must be custom-tailored and trained for specific base diffusion architectures (the authors designed and provided distinct versions for Stable Diffusion 3 and FLUX). A promising direction for future work would be developing a unified, architecture-agnostic solver that can generalize across different diffusion models without requiring separate training runs.

Summary updated

BibTeX
@misc{zhang2026deepinv,
  author = {Ziyue Zhang and Luxi Lin and Xiaolin Hu and Chao Chang and HuaiXi Wang and Yiyi Zhou and Rongrong Ji},
  title = {{DeepInv: A Novel Self-supervised Learning Approach for Fast and Accurate Diffusion Inversion}},
  year = {2026},
  eprint = {2601.01487},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.01487},
}
Figure