Motion Guidance: Diffusion-Based Image Editing with Differentiable Motion Estimators

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Geng, Daniel, Owens, Andrew
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929230393114624
author Geng, Daniel
Owens, Andrew
author_facet Geng, Daniel
Owens, Andrew
contents Diffusion models are capable of generating impressive images conditioned on text descriptions, and extensions of these models allow users to edit images at a relatively coarse scale. However, the ability to precisely edit the layout, position, pose, and shape of objects in images with diffusion models is still difficult. To this end, we propose motion guidance, a zero-shot technique that allows a user to specify dense, complex motion fields that indicate where each pixel in an image should move. Motion guidance works by steering the diffusion sampling process with the gradients through an off-the-shelf optical flow network. Specifically, we design a guidance loss that encourages the sample to have the desired motion, as estimated by a flow network, while also being visually similar to the source image. By simultaneously sampling from a diffusion model and guiding the sample to have low guidance loss, we can obtain a motion-edited image. We demonstrate that our technique works on complex motions and produces high quality edits of real and generated images.
format Preprint
id arxiv_https___arxiv_org_abs_2401_18085
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Motion Guidance: Diffusion-Based Image Editing with Differentiable Motion Estimators
Geng, Daniel
Owens, Andrew
Computer Vision and Pattern Recognition
Diffusion models are capable of generating impressive images conditioned on text descriptions, and extensions of these models allow users to edit images at a relatively coarse scale. However, the ability to precisely edit the layout, position, pose, and shape of objects in images with diffusion models is still difficult. To this end, we propose motion guidance, a zero-shot technique that allows a user to specify dense, complex motion fields that indicate where each pixel in an image should move. Motion guidance works by steering the diffusion sampling process with the gradients through an off-the-shelf optical flow network. Specifically, we design a guidance loss that encourages the sample to have the desired motion, as estimated by a flow network, while also being visually similar to the source image. By simultaneously sampling from a diffusion model and guiding the sample to have low guidance loss, we can obtain a motion-edited image. We demonstrate that our technique works on complex motions and produces high quality edits of real and generated images.
title Motion Guidance: Diffusion-Based Image Editing with Differentiable Motion Estimators
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.18085