EasyInv: Toward Fast and Better DDIM Inversion

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Ziyue, Lin, Mingbao, Yan, Shuicheng, Ji, Rongrong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909635471998976
author Zhang, Ziyue
Lin, Mingbao
Yan, Shuicheng
Ji, Rongrong
author_facet Zhang, Ziyue
Lin, Mingbao
Yan, Shuicheng
Ji, Rongrong
contents This paper introduces EasyInv, an easy yet novel approach that significantly advances the field of DDIM Inversion by addressing the inherent inefficiencies and performance limitations of traditional iterative optimization methods. At the core of our EasyInv is a refined strategy for approximating inversion noise, which is pivotal for enhancing the accuracy and reliability of the inversion process. By prioritizing the initial latent state, which encapsulates rich information about the original images, EasyInv steers clear of the iterative refinement of noise items. Instead, we introduce a methodical aggregation of the latent state from the preceding time step with the current state, effectively increasing the influence of the initial latent state and mitigating the impact of noise. We illustrate that EasyInv is capable of delivering results that are either on par with or exceed those of the conventional DDIM Inversion approach, especially under conditions where the model's precision is limited or computational resources are scarce. Concurrently, our EasyInv offers an approximate threefold enhancement regarding inference efficiency over off-the-shelf iterative optimization techniques. It can be easily combined with most existing inversion methods by only four lines of code. See code at https://github.com/potato-kitty/EasyInv.
format Preprint
id arxiv_https___arxiv_org_abs_2408_05159
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle EasyInv: Toward Fast and Better DDIM Inversion
Zhang, Ziyue
Lin, Mingbao
Yan, Shuicheng
Ji, Rongrong
Computer Vision and Pattern Recognition
This paper introduces EasyInv, an easy yet novel approach that significantly advances the field of DDIM Inversion by addressing the inherent inefficiencies and performance limitations of traditional iterative optimization methods. At the core of our EasyInv is a refined strategy for approximating inversion noise, which is pivotal for enhancing the accuracy and reliability of the inversion process. By prioritizing the initial latent state, which encapsulates rich information about the original images, EasyInv steers clear of the iterative refinement of noise items. Instead, we introduce a methodical aggregation of the latent state from the preceding time step with the current state, effectively increasing the influence of the initial latent state and mitigating the impact of noise. We illustrate that EasyInv is capable of delivering results that are either on par with or exceed those of the conventional DDIM Inversion approach, especially under conditions where the model's precision is limited or computational resources are scarce. Concurrently, our EasyInv offers an approximate threefold enhancement regarding inference efficiency over off-the-shelf iterative optimization techniques. It can be easily combined with most existing inversion methods by only four lines of code. See code at https://github.com/potato-kitty/EasyInv.
title EasyInv: Toward Fast and Better DDIM Inversion
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.05159