| [ |
| { |
| "type": "text", |
| "text": "DREAMIX: VIDEO DIFFUSION MODELS ARE GENERAL VIDEO EDITORS ", |
| "text_level": 1, |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "Anonymous authors Paper under double-blind review ", |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "Input Video ", |
| "page_idx": 0 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/34229e9ec884d9428958ad82247223d154fca3b98d39396d79b0b5839354fa44.jpg", |
| "image_caption": [ |
| "Figure 1: Video Editing with Dreamix: By conditioning on the text prompt “A bear dancing and jumping to upbeat music, moving his whole body“, Dreamix transforms the eating monkey (top row) into a dancing bear (bottom row), affecting motion and appearance. It maintains fidelity to color, object and camera pose, and results in a temporally consistent video. We strongly encourage the reviewer to view the supplementary videos " |
| ], |
| "image_footnote": [], |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "ABSTRACT ", |
| "text_level": 1, |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "Text-driven image and video diffusion models have recently achieved unprecedented generation realism. While diffusion models have been successfully applied for image editing, none can edit motion in video. We present the first diffusionbased method that is able to perform text-based motion and appearance editing of general, real-world videos. Our approach uses a video diffusion model to combine, at inference time, the low-resolution spatio-temporal information from the original video with new, high resolution information that it synthesized to align with the guiding text prompt. As maintaining high-fidelity to the original video requires retaining some of its high-resolution information, we add a preliminary stage of finetuning the model on the original video, significantly boosting fidelity. We propose to improve motion editability by using a mixed objective that jointly finetunes with full temporal attention and with temporal attention masking. We extend our method for animating images, bringing them to life by adding motion to existing or new objects, and camera movements. Extensive experiments showcase our method’s remarkable ability to edit motion in videos. ", |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "1 INTRODUCTION ", |
| "text_level": 1, |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "Recent advancements in generative models Ho et al. (2020); Chang et al. (2022); Yu et al. (2022a); Chang et al. (2023) and multimodal vision-language models Radford et al. (2021), paved the way to large-scale text-to-image models capable of unprecedented generation realism and diversity Ramesh et al. (2022); Rombach et al. (2022); Saharia et al. (2022b); Nichol et al. (2021); Avrahami et al. (2022b). These models have ushered in a new era of creativity, applications, and research. Although these models offer new creative processes, they are limited to synthesizing new images rather than editing existing ones. To bridge this gap, intuitive image editing methods offer text-based editing of generated and real images while maintaining some of their original attributes Hertz et al. (2022); Tumanyan et al. (2022); Brooks et al. (2022); Kawar et al. (2022); Valevski et al. (2022). Similarly to images, text-to-video models have recently been proposed Ho et al. (2022c;a); Singer et al. (2022); Yu et al. (2022b), but very few methods use them for video editing and none can edit the motion in videos. ", |
| "page_idx": 0 |
| }, |
| { |
| "type": "text", |
| "text": "In text-guided video editing, the user provides an input video and a text prompt describing the desired attributes of the resulting video (Fig. 1). The objectives are three-fold: i) alignment: the edited video should conform with the input text prompt ii) fidelity: the edited video should preserve the content of the original input iii) quality: the edited video should be of high-quality. Video editing is more challenging than image editing, as it requires synthesizing new motion, not merely modifying appearance. It also requires temporal consistency. As a result, applying image-level editing methods e.g. SDEdit Meng et al. (2021) or Prompt-to-Prompt Hertz et al. (2022) sequentially on the video frames is insufficient. ", |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "We present a new method, Dreamix, to adapt a text-conditioned video diffusion model (VDM) for video editing, in a manner inspired by UniTune Valevski et al. (2022). The core of our method is enabling a text-conditioned VDM to maintain high fidelity to an input video via two main ideas. First, instead of using pure-noise as initialization for the model, we use a degraded version of the original video, keeping only low spatio-temporal information by downscaling it and adding noise. This is similar to SDEdit but the degradation includes not merely noise, but also downscaling. Second, we further improve the fidelity to the original video by finetuning the model on the original video. Finetuning ensures the model has knowledge of the high-resolution attributes of the original video. Naively finetuning on the input video results in relatively low motion editability as the model learns to prefer the original motion instead of following the text prompt. We propose a novel use for the mixed finetuning approach, suggested in VDM Ho et al. (2022c) and Imagen-Video Ho et al. (2022a), in which the VDMs are trained on both images and video. In our approach, we finetune the model on both the original video but also on its (unordered) frames individually. This allows us to perform significantly larger motion edits with high fidelity to the original video. ", |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "As a further contribution, we leverage our video editing model to add motion to still images (see Fig. 2) e.g., animating the objects and background in an image or creating dynamic camera motion. To do so, we first create a coarse video by simple image processing operations, e.g., frame replication or geometric image transformation. We then edit it with our Dreamix video editor. Our framework can also perform subject-driven video generation (see Fig. 2), extending the scope of current imagebased methods e.g., DreamboothRuiz et al. (2022) to video and motion editing. We evaluate our method extensively, demonstrating its remarkable capabilities unmatched by the baseline methods. ", |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "To summarize, our main contributions are: ", |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "1. Proposing the first method for text-based editing of real-world videos that can edit their motion and not merely their appearance. \n2. Repurposing mixed training as a finetuning objective that significantly improves motion editing. \n3. Presenting a new framework for text-guided image animation, by applying our video editor method on top of simple image preprocessing operations. \n4. Extending the scope of subject-driven generation methods to motion generation. ", |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "2 RELATED WORK ", |
| "text_level": 1, |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "2.1 DIFFUSION MODELS FOR SYNTHESIS ", |
| "text_level": 1, |
| "page_idx": 1 |
| }, |
| { |
| "type": "text", |
| "text": "Deep diffusion models recently emerged as a powerful new paradigm for image generation Ho et al. (2020); Song et al. (2020), and have their roots in score-matching Hyvarinen & Dayan ¨ (2005); Vincent (2011); Sohl-Dickstein et al. (2015). They outperform Dhariwal & Nichol (2021) the previous state-of-the-art approach, generative adversarial networks (GANs) Goodfellow et al. (2020). While they have multiple formulations, EDM Karras et al. (2022) showed they are equivalent. Outstanding progress was made in text-to-image generation Saharia et al. (2022b); Ramesh et al. (2022); Rombach et al. (2022); Avrahami et al. (2022b), where new images are sampled conditioned on an input text prompt. Extending diffusion models to video generation is a challenging computational and algorithmic task. Early work include Ho et al. (2022c) and text-to-video extensions by Ho et al. (2022a); Singer et al. (2022). Another line of work extends synthesis to various image reconstruction tasks Saharia et al. (2022c;a); Ho et al. (2022b); Lugmayr et al. (2022); Chung et al. (2022), Horwitz & Hoshen (2022) extracts confidence intervals for reconstruction tasks. ", |
| "page_idx": 1 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/a2fe01488e8b94937a9ce87bc47ec2c8dbd5a9d3474809fe87c4e0b5fe903286.jpg", |
| "image_caption": [ |
| "", |
| "Figure 2: Image-to-Video editing with Dreamix: Dreamix instills complex motion in a static image (first row), adding a moving shark and making the turtle swim. In this case, visual fidelity to object location and background was preserved but the turtle direction was flipped. In the subject-driven case (second row), Dreamix extracts the visual features of a subject given multiple images and animates it in different scenarios such as weightlifting " |
| ], |
| "image_footnote": [], |
| "page_idx": 2 |
| }, |
| { |
| "type": "text", |
| "text": "2.2 DIFFUSION MODELS FOR EDITING ", |
| "text_level": 1, |
| "page_idx": 2 |
| }, |
| { |
| "type": "text", |
| "text": "Image editing with generative models has been studied extensively, in past years many of the models were based on GANs Vinker et al. (2021); Patashnik et al. (2021); Gal et al. (2021); Roich et al. (2022); Wang et al. (2018b); Park et al. (2019); Bau et al. (2020); Skorokhodov et al. (2022); Jamriska et al. ˇ (2019); Wang et al. (2018a); Tzaban et al. (2022); Xu et al. (2022); Liu et al. (2022). Another recent line of works demonstrated preliminary generation and editing capabilities using masked image models Yu et al. (2022b); Villegas et al. (2022); Yao et al. (2021); Nash et al. (2022). However, most of the recent editing methods adopt diffusion models Avrahami et al. (2022c;a); Voynov et al. (2022). SDEdit Meng et al. (2021) proposed to add targeted noise to an input image, and then use diffusion models for reversing the process. Prompt-to-Prompt Hertz et al. (2022); Tumanyan et al. (2022); Mokady et al. (2022) perform semantic edits by mixing activations extracted with the original and target prompts. For InstructPix2Pix Brooks et al. (2022) this is only needed for constructing the training dataset. Other works (e.g. Gal et al. (2022); Ruiz et al. (2022)) use finetuning and optimization to allow for personalization of the model, learning a special token describing the content. UniTune Valevski et al. (2022) and Imagic Kawar et al. (2022) finetune on a single image, allowing better editability while maintaining good fidelity. However, the methods are image-centric and do not use temporal information. Neural Atlases Kasten et al. (2021) and Text2Live Bar-Tal et al. (2022) allow some texture-based video editing, however, unlike our method they cannot edit the motion of a video. A concurrent paper, Tune-a-Video Wu et al. (2022) preforms video editing by inflating a text-to-image model to learn temporal consistency. Despite their promising results, they use a text-to-image backbone that can edit video appearance but not motion. Their results are also not fully temporally consistent. In contrast, our method uses a text-to-video backbone, enabling motion editing while maintaining smoothness and temporal consistency. ", |
| "page_idx": 2 |
| }, |
| { |
| "type": "text", |
| "text": "3 BACKGROUND: VIDEO DIFFUSION MODELS ", |
| "text_level": 1, |
| "page_idx": 2 |
| }, |
| { |
| "type": "text", |
| "text": "Denoising Model Training. Diffusion models rely on a deep denoising neural network denoted by $D _ { \\theta }$ . Let us denote the ground truth video as $v$ , an i.i.d Gaussian noise tensor of the same dimensions as the video as $\\epsilon \\sim N ( 0 , { \\bf I } )$ , and the noise level at time $s$ as $\\sigma _ { s }$ . The noisy video is given by: $z _ { s } = \\gamma _ { s } v + \\sigma _ { s } \\epsilon$ , where $\\gamma _ { s } = \\sqrt { 1 - \\sigma _ { s } ^ { 2 } }$ . Furthermore, let us denote a conditioning text prompt as $t$ and a conditioning video $c$ (for super-resolution, $c$ is a low-resolution version of $v$ ). The objective of the denoising network $D _ { \\theta }$ is to recover the ground truth video $v$ given the noisy input video $z _ { s }$ , the time $s$ , prompt $t$ and conditioning video $c$ . The model is trained on a (large) training corpus $\\nu$ consisting of pairs of video $v$ and text prompts $t$ . ", |
| "page_idx": 2 |
| }, |
| { |
| "type": "text", |
| "text": "Sampling from Diffusion Models. The key challenge in diffusion models is to use the denoiser network $D _ { \\theta }$ to sample from the distribution of videos conditioned on the text prompt $t$ and conditioning video $c$ , $P ( v | t , c )$ . While the derivation of such sampling rule is non-trivial (see e.g. Karras et al. (2022)), the implementation of such sampling is relatively simple in practice. We follow Ho et al. (2022a) in using stochastic DDIM sampling. At a heuristic level, at each step, we first use the denoiser network to estimate the noise. We then remove a fraction of the estimated noise and finally add randomly generated Gaussian noise, with magnitude corresponding to half of the removed noise. ", |
| "page_idx": 2 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/aa7aef3582ee7697ccb8bb2ff1f9d931e9a0f0f65e6c26b3afb8f47276346237.jpg", |
| "image_caption": [ |
| "Input Video ", |
| "Figure 3: Video Motion Editing: Dreamix can significantly change the actions and motions of subjects in a video (e.g. making a puppy leap) while maintaining temporal consistency and preserving the unedited details " |
| ], |
| "image_footnote": [], |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "", |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "Cascaded Video Diffusion Models. Training high-resolution text-to-video models is very challenging due to the high computational complexity. Several diffusion models overcome this by using cascaded architectures. We use a model that follows the architecture of Ho et al. (2022a), which consists of a cascade of 7 models. The base model maps the input text prompt into a 5-second video of $2 4 \\times 4 0 \\times 1 6$ frames. It is then followed by 3 spatial super-resolution models and 3 temporal super-resolution models. For implementation details, see Appendix C. ", |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "4 EDITING BY VIDEO DIFFUSION MODELS ", |
| "text_level": 1, |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "We propose a new method for video editing using text-guided video diffusion models. We extended it to image animation in Sec. 5. ", |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "4.1 VIDEO EDITING BY INVERTING CORRUPTIONS ", |
| "text_level": 1, |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "We wish to edit an input video using the guidance of a text prompt $t$ describing the video after the edit. In order to do so we leverage the power of a cascade of VDMs. The key idea is to first corrupt the video by downsampling followed by adding noise. We then apply the sampling process of the cascaded diffusion models from the time step corresponding to the noise level, conditioned on $t .$ , which upscales the video to the final spatio-temporal resolution. The effect is that the VDM will use the low-resolution details provided by the degraded input video, but synthesize new high spatiotemporal resolution information using the text prompt guidance. While this procedure is essentially a text-guided version of SDEdit Meng et al. (2021), for complex edits e.g., motion editing this by itself does not result in sufficiently high-fidelity videos. To mitigate this issue, we use a mixed-finetuning objective described in Sec. 4.2. ", |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "Input Video Degradation. We downsample the input video to the resolution of the base model (16 frames of $2 4 \\times 4 0$ ). We then add i.i.d Gaussian noise with variance $\\sigma _ { s } ^ { 2 }$ to further corrupt the input video. The noise strength is equivalent to time $s$ in the diffusion process of the base model. For $s = 0$ , no noise is added, while for $s = 1$ , the video is replaced by pure Gaussian noise. Note, that even when no noise is added, the input video is highly corrupted due to the extreme downsampling ratio. ", |
| "page_idx": 3 |
| }, |
| { |
| "type": "text", |
| "text": "Text-Guided Corruption Inversion. We can now use the cascaded VDMs to map the corrupted, low-resolution video into a high-resolution video that aligns with the text. The core idea here is that given a noisy, very low spatio-temporal resolution video, there are many perfectly feasible, high-resolution videos that correspond to it. We use the target text prompt $t$ to select the feasible outputs that not only correspond to the low-resolution of the original video but are also aligned to edits desired by the user. The base model starts with the corrupted video, which has the same noise as the diffusion process at time $s$ . We use the model to reverse the diffusion process up to time 0. We then upscale the video through the entire cascade of super-resolution models (see Appendix C). All models are conditioned on the prompt $t$ . ", |
| "page_idx": 3 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/12e0623b2a593ab2c48d73176d55b0335fa925ea264e914d3a903c218e455fb9.jpg", |
| "image_caption": [ |
| "Figure 4: Mixed Video-Image Finetuning: Finetuning the VDM on the input video alone limits the extent of motion change. Instead, we use a mixed objective that beside the original objective (bottom left) also finetunes on the unordered set of frames. We use “masked temporal attention“ to prevent the temporal attention and convolution from changing (bottom right). This allows adding motion to a static video " |
| ], |
| "image_footnote": [], |
| "page_idx": 4 |
| }, |
| { |
| "type": "text", |
| "text": "", |
| "page_idx": 4 |
| }, |
| { |
| "type": "text", |
| "text": "4.2 MIXED VIDEO-IMAGE FINETUNING ", |
| "text_level": 1, |
| "page_idx": 4 |
| }, |
| { |
| "type": "text", |
| "text": "The naive method presented in Sec. 4.1 relies on a corrupted version of the input video which does not include enough information to preserve high-resolution details such as fine textures or object identity. We tackle this by adding a preliminary stage of finetuning the model on the input video $v$ . Note that this only needs to be done once for the video, which can then be edited by many prompts without further finetuning. We would like the model to separately update its prior both on the appearance and the motion of the input video. Our approach therefore treats the input video, both as a single video clip and as an unordered set of $M$ frames, denoted by $\\boldsymbol { u } = \\{ x _ { 1 } , x _ { 2 } , . . , x _ { M } \\}$ . We use a rare string $t ^ { * }$ as the text prompt, following Ruiz et al. (2022). We finetune the denoising models by a combination of two objectives. The first objective updates the model prior on both motion and appearance by requiring it to reconstruct the input video $v$ given its noisy versions $z _ { s }$ . ", |
| "page_idx": 4 |
| }, |
| { |
| "type": "equation", |
| "img_path": "images/f3b76add60efaeb879d08b45df45ad23a9cb0ac3e703e38d3102542af9ac7a09.jpg", |
| "text": "$$\n\\mathcal { L } _ { \\theta } ^ { v i d } ( v ) = \\mathbb { E } _ { \\epsilon \\sim N ( 0 , \\mathbf { I } ) , s \\in \\mathcal { U } ( 0 , 1 ) } \\Vert D _ { \\theta ^ { \\prime } } ( z _ { s } , s , t ^ { * } , c ) - v \\Vert ^ { 2 }\n$$", |
| "text_format": "latex", |
| "page_idx": 4 |
| }, |
| { |
| "type": "text", |
| "text": "Additionally, we train the model to reconstruct each of the frames individually given their noisy version. This enhances the appearance prior of the model, separately from the motion. Technically, the model is trained on a sequence of frames $u$ by replacing the temporal attention layers by trivial fixed masks ensuring the model only pays attention within each frame, and also by masking the residual temporal convolution blocks. We denote the attention masked denoising model as $D _ { \\theta } ^ { a }$ . The masked attention objective is: ", |
| "page_idx": 4 |
| }, |
| { |
| "type": "equation", |
| "img_path": "images/5d0e2d8a8405e33a7e2c9e266ad35a26643675bde618e04f6a2f67efdf68e03d.jpg", |
| "text": "$$\n\\mathcal { L } _ { \\theta } ^ { f r a m e } ( u ) = \\mathbb { E } _ { \\epsilon \\sim N ( 0 , \\mathbf { I } ) , s \\in \\mathcal { U } ( 0 , 1 ) } \\Vert D _ { \\theta ^ { \\prime } } ^ { a } ( z _ { s } , s , t ^ { * } , c ) - u \\Vert ^ { 2 }\n$$", |
| "text_format": "latex", |
| "page_idx": 4 |
| }, |
| { |
| "type": "text", |
| "text": "We train the joint objective: ", |
| "page_idx": 4 |
| }, |
| { |
| "type": "equation", |
| "img_path": "images/a0ad186089757028efe5bd5852b31b09de661dbdcaf60df444e5bfebae73b46e.jpg", |
| "text": "$$\n\\theta = a r g \\operatorname* { m i n } _ { \\theta ^ { \\prime } } \\alpha \\mathcal { L } _ { \\theta ^ { \\prime } } ^ { v i d } ( v ) + ( 1 - \\alpha ) \\mathcal { L } _ { \\theta ^ { \\prime } } ^ { f r a m e } ( u )\n$$", |
| "text_format": "latex", |
| "page_idx": 4 |
| }, |
| { |
| "type": "text", |
| "text": "Where $\\alpha$ is a constant factor, see Fig. 4. Training on a single video or a handful of frames can easily lead to overfitting, reducing the editing ability of the original model. To mitigate overfitting, we use a small number of finetuning iterations and a low learning rate (see Appendix C). Note that while such a training objective was used by Imagen-VideoHo et al. (2022a) and VDMHo et al. (2022c), its purpose was different. There, the aim was to increase dataset size and diversity by training on large image datasets. Here, the aim is to enforce the style of the video in the model, while allowing motion editing. ", |
| "page_idx": 4 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/0f571953d5039d4088edb017708dbd10e6a2e17c5f758968ef5a7ae46ba2e726.jpg", |
| "image_caption": [ |
| "Figure 5: Inference Overview: Our method supports multiple applications by converting the input into a uniform video format (left). For image-to-video, the input image is duplicated and transformed using perspective transformations, synthesizing a coarse video with some camera motion. For subject-driven video generation, the input is omitted - finetuning alone takes care of the fidelity. This coarse video is then edited using our general “Dreamix Video Editor“ (right): we first corrupt the video by downsampling followed by adding noise. We then apply the finetuned text-guided VDM, which upscales the video to the final spatio-temporal resolution " |
| ], |
| "image_footnote": [], |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "5 APPLICATIONS OF DREAMIX ", |
| "text_level": 1, |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "The method proposed in Sec. 4, can edit motion and appearance in real-world videos. In this section, we propose a framework for using our Dreamix video editor for general, text-conditioned image-tovideo editing, see Fig. 5 for an overview. ", |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "Dreamix for Single Images. Provided our general video editing method, Dreamix, we now propose a framework for image animation conditioned on a text prompt. The idea is to transform the image or a set of images into a coarse, corrupted video and edit it using Dreamix. For example, given a single image $x$ as input, we can transform it to a video by replicating it 16 times to form a static video $v = \\mathbf { \\bar { [ } } x , x , x . . . \\bar { x } ]$ . We can then edit its appearance and motion using Dreamix conditioned on a text prompt. Here, we do not wish to incorporate the motion of the input video (as it is static and meaningless) and therefore use only the masked temporal attention finetuning $( \\alpha = 0$ ). To create “cinematic” effects, we can further control the output video by simulating camera motion, such as panning and zoom. We perform this by sampling a smooth sequence of 16 perspective transformations $T _ { 1 } , T _ { 2 } . . T _ { 1 6 }$ and apply each on the original image. When the perspective requires pixels outside the input image, we simply outpaint them using reflection padding. We concatenate the sequence of transformed images into a low quality input video $v ~ \\stackrel { - } { = } ~ [ T _ { 1 } ( \\stackrel { - } { x } ) , T _ { 2 } ( x ) . . T _ { 1 6 } ( x ) ]$ . While this does not result in realistic video, Dreamix can transform it into a high-quality edited video. See Appendix D for details on the applied transformations. ", |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "Dreamix for subject-driven video generation. We propose to use Dreamix for text-conditioned video generation given an image collection. Differently from existing methods, e.g., Dreambooth Ruiz et al. (2022), it can add motion and not only change appearance. The input to our method is a set of images, each containing the subject of interest. This can also use different frames from the same video, as long as they show the same subject. Higher diversity of viewing angles and backgrounds is beneficial for the performance of the method. We then use the finetuning method from Sec. 4.2, where we only use the masked attention finetuning $( \\alpha = 0$ ). After finetuning, we use the text-to-video model without a conditioning video, but rather only using a text prompt (which includes the special token $t ^ { * }$ ). ", |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "6 EXPERIMENTS ", |
| "text_level": 1, |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "In this section, we establish that Dreamix is able to edit motion in real-world videos and images, a major improvement over the existing methods. To fully experience our results, please see the supplementary videos. ", |
| "page_idx": 5 |
| }, |
| { |
| "type": "text", |
| "text": "“The Merced river is overflowing, birds flying in the sky, camera is zooming out to reveal an American Buffalo bathing in the river” ", |
| "page_idx": 6 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/7147616b9362cf73d6ef0dea5dfc0c0df56272b6eff15bdc3c5c27e4eb26c23f.jpg", |
| "image_caption": [ |
| "“A bear walking”Figure 6:Input ImagesAdditional Image-to-Video Results: First row - the image is zoomed out to reveal a bathing buffalo. Dreamix can also instill motion in a static image as in the second row where the glass is gradually filled with coffee. Third row - animating a subject based on a small number of independent images " |
| ], |
| "image_footnote": [], |
| "page_idx": 6 |
| }, |
| { |
| "type": "table", |
| "img_path": "images/3abc8575efd3aea279f68860a3f7f9e57f5460e0949166ad84fe140fdef6185f.jpg", |
| "table_caption": [ |
| "Table 1: User Study: Users rated editing results by quality, fidelity to the base video and alignment with the text prompt. Based on visual inspection, we require an edit to score greater than 2.5 in all dimensions to be successful and observe that Dreamix is the only method to achieve the desired trade off " |
| ], |
| "table_footnote": [], |
| "table_body": "<table><tr><td>Method</td><td>Quality</td><td>Fidelity</td><td>Alignment Success</td><td></td></tr><tr><td>PnP</td><td></td><td>2.16 ±1.13 3.78 ±0.99</td><td>3.39 ±1.38</td><td>20%</td></tr><tr><td>TaVid</td><td></td><td>1.99 ±0.92 3.29 ±1.21</td><td>2.69 ±1.55</td><td>13%</td></tr><tr><td>Ours</td><td>3.58±1.043.55 ±1.093.79 ±1.33</td><td></td><td></td><td>76%</td></tr><tr><td></td><td>Uncond. 3.43 ±1.09 2.49±1.12 4.28 ±1.02</td><td></td><td></td><td>45%</td></tr></table>", |
| "page_idx": 6 |
| }, |
| { |
| "type": "text", |
| "text": "6.1 QUALITATIVE RESULTS ", |
| "text_level": 1, |
| "page_idx": 6 |
| }, |
| { |
| "type": "text", |
| "text": "Video Editing. In Fig. 1, we change the motion to dancing and the appearance from monkey to bear while keeping the coarse attributes of the video fixed. Dreamix can also generate new motion that does not necessarily align with the input video (puppy in Fig. 3, orangutan in supplementary material (SM)), and can control camera movements (zoom-out example in the SM). Dreamix can generate smooth visual modifications that align with the temporal information in the input video. This includes adding effects (field and saxophone in the SM), adding or replacing objects (hat, skateboard, and robot in the SM), and changing the background (truck in the SM). ", |
| "page_idx": 6 |
| }, |
| { |
| "type": "text", |
| "text": "Image-driven Videos. When the input is a single image, Dreamix can use its video prior to add new moving objects (camel in SM), inject motion into the input (turtle in Fig. 2 and coffee in Fig. 6), or new camera movements (buffalo in Fig. 6). Although Singer et al. (2022); Yu et al. (2022b) perform image-driven animations, they can only add very simple motions (e.g. animating water or snowfall). Our method is unique in adding large motions and moving objects into general, real-world images. ", |
| "page_idx": 6 |
| }, |
| { |
| "type": "text", |
| "text": "Subject-driven Video Generation. Dreamix can take an image collection showing the same subject and generate new videos with this subject in motion. This is unique, as previous approaches could only output still images. We demonstrate this on a range of subjects and actions including: the weight-lifting toy fireman in Fig. 2, walking and drinking bear in Fig. 6 and SM. It can place the subjects in new surroundings, e.g., moving caterpillar on a leaf or even under a magnifying glass (see SM). ", |
| "page_idx": 6 |
| }, |
| { |
| "type": "table", |
| "img_path": "images/e439a9112c226964bc3308de0e531ff5e729f3e1cc3dbee762da2cee44890075.jpg", |
| "table_caption": [ |
| "Table 2: Baseline Comparisons: Our method achieves better temporal consistency than $\\mathrm { P n P }$ and Tune-a-Video (TaVid). Moreover, Dreamix is successful at motion editing while other methods cannot. This is reflected in the better quality (low LPIPS) and alignment (high CLIP Score). While the unconditional method seems to outperform Dreamix, it has poor fidelity as it is not conditioned on the input video " |
| ], |
| "table_footnote": [], |
| "table_body": "<table><tr><td>Metric</td><td>PnP TaVid Ours</td><td>Uncond.</td></tr><tr><td>LPIPS↓</td><td>0.209 0.145 0.112</td><td>0.101</td></tr><tr><td></td><td>CLIP Sc0re ↑ 0.304 0.303 0.317</td><td>0.320</td></tr><tr><td>Fidelity</td><td>See user study (Tab.1) for evaluation</td><td></td></tr></table>", |
| "page_idx": 7 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/f638a89d9ba5e86a64f394124c4fd6b20344e3149b14b42bb476de9b259437d2.jpg", |
| "image_caption": [ |
| "Figure 7: Comparison to Baseline Methods for Motion Edits: Although the quality and alignment of unconditional generation are high, there is no resemblance to the original video (low fidelity). While $\\mathrm { P n P }$ and Tune-a-Video preserve the scene, they fail to edit the motion according to the prompt (no waving) and suffer from poor temporal consistency (flickering). Our method is able to edit the motion according to the prompt while preserving the fidelity and generating a high quality video. Moreover, video-based methods (Uncond. and ours) exhibit motion blur, also present in real videos " |
| ], |
| "image_footnote": [], |
| "page_idx": 7 |
| }, |
| { |
| "type": "text", |
| "text": "6.2 BASELINE COMPARISONS", |
| "text_level": 1, |
| "page_idx": 7 |
| }, |
| { |
| "type": "text", |
| "text": "Baselines. We compare our method against three baselines: Unconditional. Directly mapping the text prompt to a video, without conditioning on the input video using a model similar to ImagenVideo. Plug-and-Play $( P n P )$ . Applying PnPTumanyan et al. (2022) on each video frame independently. Tune-a-Video (TaVid). Finetuning Tune-a-VideoWu et al. (2022) on the input video. ", |
| "page_idx": 7 |
| }, |
| { |
| "type": "text", |
| "text": "Data. We created a dataset of 29 videos taken from YouTube-8M Abu-El-Haija et al. (2016) and 127 text prompts, spanning different categories (see Appendix E). ", |
| "page_idx": 7 |
| }, |
| { |
| "type": "text", |
| "text": "Quantitative Comparison. We measure alignment by the frame-level CLIP Score Hessel et al. (2021) and quality (stability) with LPIPS Zhang et al. (2018) between consecutive frames. As automatic metrics do not measure fidelity and are imperfectly aligned with human judgement, we also conduct a user study. A panel of 20 evaluators rated each video/prompt pair on a scale of $1 - 5$ to evaluate its quality, fidelity and alignment. When visually inspecting the results we discover that videos that received a score lower than 2.5 in any of the dimensions are usually clear failure cases. Therefore we also report the percentage of items where all dimensions are larger than 2.5 (i.e. “Success“). See Appendix F.2 for additional details on the evaluation protocol. ", |
| "page_idx": 7 |
| }, |
| { |
| "type": "table", |
| "img_path": "images/9728b5e248d5f000cf2ee7bff5d5c693a4f5e6ea6b15d5d6680da7ba7ae54296.jpg", |
| "table_caption": [ |
| "Table 3: Ablation Study: Left: Users were asked to compare text-guided video edits of with (w/ Ft) and without (w/o Ft) finetuning. “None“ indicates failure of both methods according to user. Apart from style-based edits, where high fidelity is not needed, finetuning significantly improves the results. Right: Users were asked to compare video finetuning (Vid) with mixed video-image finetuning (Mix). Mixed finetuning significantly improves the results for most cases " |
| ], |
| "table_footnote": [], |
| "table_body": "<table><tr><td>Tyie</td><td>difs w/o Ft. w/Ft. None</td><td></td><td></td><td>Vid Mix</td></tr><tr><td>Motion</td><td>36</td><td>17% 72%</td><td>11%</td><td>35% 65%</td></tr><tr><td>Object</td><td>44</td><td>36% 48%</td><td>16%</td><td>62% 38%</td></tr><tr><td>Background</td><td>32</td><td>19% 77%</td><td>9%</td><td>36% 64%</td></tr><tr><td>Style</td><td>15</td><td>67% 27%</td><td>6%</td><td>26% 74%</td></tr></table>", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "The evaluation and user study are presented in Tab. 2 and Tab. 1. Image-based methods (PnP, Tune-a-Video) exhibit impaired temporal consistency, resulting in low quality. Moreover, they are unable to perform motion edits, resulting in poor alignment and high fidelity. Video-based methods maintain temporal consistency while allowing motion editing. Although unconditional generation outperforms our method in the automatic evaluations (Tab. 2), it has poor fidelity (Tab. 1) as it is not conditioned on the input video. Overall, our method has the highest success rate. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "Qualitative Comparison. Figure 7 presents an example of motion editing by Dreamix compared to the baselines. The text-to-video model achieves low fidelity edits as it is not conditioned on the original video. PnP preserves the scene but fails to perform the edit and lacks consistency between different frames. Tune-a-Video exhibits better temporal consistency but still fails to perform the motion edit. Dreamix performs well on all three objectives, adding the desired motion while preserving fidelity and high-quality. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "6.3 ABLATION STUDY ", |
| "text_level": 1, |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "We ablate the use of finetuning and the mixed video-image finetuning by performing a user study using the dataset described above. The ablation indeed supports the idea of using finetuning in cases where high-editability is required. We can see that Motion changes require high-editability and are thus improved by finetuning. Moreover, as the noising corrupts the video, preserving fine-details in background, color or texture edits requires finetuning. In contrast, denoising without finetuning worked well for style edits, where finetuning was often detrimental. This is expected as style edits are often conflicted with high fidelity preservation (e.g. changing the texture of an object means reducing fidelity). The ablation shows that in most cases mixed finetuning improves the results by a wide margin. Results are presented in Tab. 3, a visual ablation is found in Appendix F.2. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "7 LIMITATIONS ", |
| "text_level": 1, |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "While Dreamix is the first diffusion-based video method that can edit motion, it has limitations. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "Computational Cost. VDMs are computationally expensive. Finetuning our model using 4 TPU v4 accelerators requires around 30 minutes per video. Once finetuned, sampling takes roughly 2 minutes on similar hardware. Speeding it up will allow Dreamix to be used for more applications. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "Comparison to Image-based Methods. Dreamix uses VDMs while previous approaches used image-level methods. As VDMs are nascent and have lower resolution than image DMs, this presents an interesting trade-off. Dreamix has the ability to edit motion and has high temporal consistency, while previous methods e.g., PnP and Tune-a-Video, can have higher spatial resolution. Although Tune-a-Video can achieve high alignment for texture editing on videos with limited motion, it suffers from poor temporal consistency (see SM). This highlights the importance of using a VDM backbone that provides temporal consistency and enables motion editing. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "8 CONCLUSION ", |
| "text_level": 1, |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "We presented the first diffusion-based method that can edit motion in real-world videos. Our method can be applied to image animation and subject-driven video generation. Extensive experiments demonstrated the unprecedented capabilities of our method. ", |
| "page_idx": 8 |
| }, |
| { |
| "type": "text", |
| "text": "REFERENCES \nSami Abu-El-Haija, Nisarg Kothari, Joonseok Lee, Paul Natsev, George Toderici, Balakrishnan Varadarajan, and Sudheendra Vijayanarasimhan. Youtube- $. 8 \\mathrm { m }$ : A large-scale video classification benchmark. arXiv preprint arXiv:1609.08675, 2016. 8, 15 \nOmri Avrahami, Ohad Fried, and Dani Lischinski. Blended latent diffusion. arXiv preprint arXiv:2206.02779, 2022a. 3 \nOmri Avrahami, Thomas Hayes, Oran Gafni, Sonal Gupta, Yaniv Taigman, Devi Parikh, Dani Lischinski, Ohad Fried, and Xi Yin. Spatext: Spatio-textual representation for controllable image generation. arXiv preprint arXiv:2211.14305, 2022b. 1, 2 \nOmri Avrahami, Dani Lischinski, and Ohad Fried. Blended diffusion for text-driven editing of natural images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18208–18218, 2022c. 3 \nOmer Bar-Tal, Dolev Ofri-Amar, Rafail Fridman, Yoni Kasten, and Tali Dekel. Text2live: Textdriven layered image and video editing. In Computer Vision–ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23–27, 2022, Proceedings, Part XV, pp. 707–723. Springer, 2022. 3 \nDavid Bau, Hendrik Strobelt, William Peebles, Jonas Wulff, Bolei Zhou, Jun-Yan Zhu, and Antonio Torralba. Semantic photo manipulation with a generative image prior. arXiv preprint arXiv:2005.07727, 2020. 3 \nTim Brooks, Aleksander Holynski, and Alexei A Efros. Instructpix2pix: Learning to follow image editing instructions. arXiv preprint arXiv:2211.09800, 2022. 1, 3 \nHuiwen Chang, Han Zhang, Lu Jiang, Ce Liu, and William T Freeman. Maskgit: Masked generative image transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 11315–11325, 2022. 1 \nHuiwen Chang, Han Zhang, Jarred Barber, AJ Maschinot, Jose Lezama, Lu Jiang, Ming-Hsuan Yang, Kevin Murphy, William T Freeman, Michael Rubinstein, et al. Muse: Text-to-image generation via masked generative transformers. arXiv preprint arXiv:2301.00704, 2023. 1 \nHyungjin Chung, Byeongsu Sim, and Jong Chul Ye. Come-closer-diffuse-faster: Accelerating conditional diffusion models for inverse problems through stochastic contraction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12413–12422, 2022. 2 \nPrafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in Neural Information Processing Systems, 34:8780–8794, 2021. 2 \nRinon Gal, Or Patashnik, Haggai Maron, Gal Chechik, and Daniel Cohen-Or. Stylegan-nada: Clipguided domain adaptation of image generators. arXiv preprint arXiv:2108.00946, 2021. 3 \nRinon Gal, Yuval Alaluf, Yuval Atzmon, Or Patashnik, Amit H Bermano, Gal Chechik, and Daniel Cohen-Or. An image is worth one word: Personalizing text-to-image generation using textual inversion. arXiv preprint arXiv:2208.01618, 2022. 3 \nIan Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. Communications of the ACM, 63(11):139–144, 2020. 2 \nAmir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention control. arXiv preprint arXiv:2208.01626, 2022. 1, 2, 3 \nJack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. Clipscore: A reference-free evaluation metric for image captioning. arXiv preprint arXiv:2104.08718, 2021. 8, 17 ", |
| "page_idx": 9 |
| }, |
| { |
| "type": "text", |
| "text": "Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840–6851, 2020. 1, 2 ", |
| "page_idx": 10 |
| }, |
| { |
| "type": "text", |
| "text": "Jonathan Ho, William Chan, Chitwan Saharia, Jay Whang, Ruiqi Gao, Alexey Gritsenko, Diederik P Kingma, Ben Poole, Mohammad Norouzi, David J Fleet, et al. Imagen video: High definition video generation with diffusion models. arXiv preprint arXiv:2210.02303, 2022a. 1, 2, 4, 5, 14, 15 \nJonathan Ho, Chitwan Saharia, William Chan, David J Fleet, Mohammad Norouzi, and Tim Salimans. Cascaded diffusion models for high fidelity image generation. J. Mach. Learn. Res., 23: 47–1, 2022b. 2 \nJonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J Fleet. Video diffusion models. arXiv preprint arXiv:2204.03458, 2022c. 1, 2, 5 \nEliahu Horwitz and Yedid Hoshen. Conffusion: Confidence intervals for diffusion models. arXiv preprint arXiv:2211.09795, 2022. 2 \nAapo Hyvarinen and Peter Dayan. Estimation of non-normalized statistical models by score match-¨ ing. Journal of Machine Learning Research, 6(4), 2005. 2 \nOndˇrej Jamriska, ˇ Sˇ arka Sochorov ´ a, Ond ´ ˇrej Texler, Michal Luka´c, Jakub Fi ˇ ser, Jingwan Lu, Eliˇ Shechtman, and Daniel Sykora. Stylizing video by example. ´ ACM Transactions on Graphics, 38 (4), 2019. 3 \nTero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusionbased generative models. arXiv preprint arXiv:2206.00364, 2022. 2, 3 \nYoni Kasten, Dolev Ofri, Oliver Wang, and Tali Dekel. Layered neural atlases for consistent video editing. ACM Transactions on Graphics (TOG), 40(6):1–12, 2021. 3 \nBahjat Kawar, Shiran Zada, Oran Lang, Omer Tov, Huiwen Chang, Tali Dekel, Inbar Mosseri, and Michal Irani. Imagic: Text-based real image editing with diffusion models. arXiv preprint arXiv:2210.09276, 2022. 1, 3 \nFeng-Lin Liu, Shu-Yu Chen, Yu-Kun Lai, Chunpeng Li, Yue-Ren Jiang, Hongbo Fu, and Lin Gao. DeepFaceVideoEditing: Sketch-based deep editing of face videos. ACM Transactions on Graphics, 41(4):167:1–167:16, 2022. 3 \nAndreas Lugmayr, Martin Danelljan, Andres Romero, Fisher Yu, Radu Timofte, and Luc Van Gool. Repaint: Inpainting using denoising diffusion probabilistic models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 11461–11471, 2022. 2 \nChenlin Meng, Yang Song, Jiaming Song, Jiajun Wu, Jun-Yan Zhu, and Stefano Ermon. Sdedit: Image synthesis and editing with stochastic differential equations. arXiv preprint arXiv:2108.01073, 2021. 2, 3, 4 \nRon Mokady, Amir Hertz, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Null-text inversion for editing real images using guided diffusion models. arXiv preprint arXiv:2211.09794, 2022. 3 \nCharlie Nash, Joao Carreira, Jacob Walker, Iain Barr, Andrew Jaegle, Mateusz Malinowski, and ˜ Peter Battaglia. Transframer: Arbitrary frame prediction with generative models. arXiv preprint arXiv:2203.09494, 2022. 3 \nAlex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and Mark Chen. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. arXiv preprint arXiv:2112.10741, 2021. 1 \nTaesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic image synthesis with spatially-adaptive normalization. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 2337–2346, 2019. 3 \nOr Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. Styleclip: Textdriven manipulation of stylegan imagery. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 2085–2094, 2021. 3 \nAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, pp. 8748–8763. PMLR, 2021. 1, 17 \nColin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485–5551, 2020. 14 \nAditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical textconditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 2022. 1, 2 \nDaniel Roich, Ron Mokady, Amit H Bermano, and Daniel Cohen-Or. Pivotal tuning for latent-based editing of real images. ACM Transactions on Graphics (TOG), 42(1):1–13, 2022. 3 \nRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Bjorn Ommer. High- ¨ resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10684–10695, 2022. 1, 2 \nNataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. 2022. 2, 3, 5, 6 \nChitwan Saharia, William Chan, Huiwen Chang, Chris Lee, Jonathan Ho, Tim Salimans, David Fleet, and Mohammad Norouzi. Palette: Image-to-image diffusion models. In ACM SIGGRAPH 2022 Conference Proceedings, pp. 1–10, 2022a. 2 \nChitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily Denton, Seyed Kamyar Seyed Ghasemipour, Burcu Karagol Ayan, S Sara Mahdavi, Rapha Gontijo Lopes, et al. Photorealistic text-to-image diffusion models with deep language understanding. arXiv preprint arXiv:2205.11487, 2022b. 1, 2 \nChitwan Saharia, Jonathan Ho, William Chan, Tim Salimans, David J Fleet, and Mohammad Norouzi. Image super-resolution via iterative refinement. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2022c. 2 \nUriel Singer, Adam Polyak, Thomas Hayes, Xi Yin, Jie An, Songyang Zhang, Qiyuan Hu, Harry Yang, Oron Ashual, Oran Gafni, et al. Make-a-video: Text-to-video generation without text-video data. arXiv preprint arXiv:2209.14792, 2022. 1, 2, 7 \nIvan Skorokhodov, Sergey Tulyakov, and Mohamed Elhoseiny. Stylegan-v: A continuous video generator with the price, image quality and perks of stylegan2. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3626–3636, 2022. 3 \nJascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pp. 2256–2265. PMLR, 2015. 2 \nJiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020. 2 \nNarek Tumanyan, Michal Geyer, Shai Bagon, and Tali Dekel. Plug-and-play diffusion features for text-driven image-to-image translation. arXiv preprint arXiv:2211.12572, 2022. 1, 3, 8 \nRotem Tzaban, Ron Mokady, Rinon Gal, Amit Bermano, and Daniel Cohen-Or. Stitch it in time: Gan-based facial editing of real videos. In SIGGRAPH Asia 2022 Conference Papers, pp. 1–9, 2022. 3 \nDani Valevski, Matan Kalman, Yossi Matias, and Yaniv Leviathan. Unitune: Text-driven image editing by fine tuning an image generation model on a single image. arXiv preprint arXiv:2210.09477, 2022. 1, 2, 3 \nRuben Villegas, Mohammad Babaeizadeh, Pieter-Jan Kindermans, Hernan Moraldo, Han Zhang, Mohammad Taghi Saffar, Santiago Castro, Julius Kunze, and Dumitru Erhan. Phenaki: Variable length video generation from open domain textual description. arXiv preprint arXiv:2210.02399, 2022. 3 \nPascal Vincent. A connection between score matching and denoising autoencoders. Neural computation, 23(7):1661–1674, 2011. 2 \nYael Vinker, Eliahu Horwitz, Nir Zabari, and Yedid Hoshen. Image shape manipulation from a single augmented training sample. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 13769–13778, October 2021. 3 \nAndrey Voynov, Kfir Aberman, and Daniel Cohen-Or. Sketch-guided text-to-image diffusion models. arXiv preprint arXiv:2211.13752, 2022. 3 \nTing-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Guilin Liu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Video-to-video synthesis. arXiv preprint arXiv:1808.06601, 2018a. 3 \nTing-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Highresolution image synthesis and semantic manipulation with conditional gans. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 8798–8807, 2018b. 3 \nJay Zhangjie Wu, Yixiao Ge, Xintao Wang, Weixian Lei, Yuchao Gu, Wynne Hsu, Ying Shan, Xiaohu Qie, and Mike Zheng Shou. Tune-a-video: One-shot tuning of image diffusion models for text-to-video generation. arXiv preprint arXiv:2212.11565, 2022. 3, 8 \nYiran Xu, Badour AlBahar, and Jia-Bin Huang. Temporally consistent semantic video editing. In Computer Vision–ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23–27, 2022, Proceedings, Part XV, pp. 357–374. Springer, 2022. 3 \nXu Yao, Alasdair Newson, Yann Gousseau, and Pierre Hellier. A latent transformer for disentangled face editing in images and videos. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 13789–13798, 2021. 3 \nJiahui Yu, Yuanzhong Xu, Jing Yu Koh, Thang Luong, Gunjan Baid, Zirui Wang, Vijay Vasudevan, Alexander Ku, Yinfei Yang, Burcu Karagol Ayan, et al. Scaling autoregressive models for contentrich text-to-image generation. arXiv preprint arXiv:2206.10789, 2022a. 1 \nLijun Yu, Yong Cheng, Kihyuk Sohn, Jose Lezama, Han Zhang, Huiwen Chang, Alexander G ´ Hauptmann, Ming-Hsuan Yang, Yuan Hao, Irfan Essa, et al. Magvit: Masked generative video transformer. arXiv preprint arXiv:2212.05199, 2022b. 1, 3, 7 \nRichard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 586–595, 2018. 8, 17 ", |
| "page_idx": 10 |
| }, |
| { |
| "type": "text", |
| "text": "", |
| "page_idx": 11 |
| }, |
| { |
| "type": "text", |
| "text": "", |
| "page_idx": 12 |
| }, |
| { |
| "type": "text", |
| "text": "A ATTACHED VIDEOS ", |
| "text_level": 1, |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "In addition to this appendix, we include a number of videos, we highly encourage the reviewer to view them. The included videos are: ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "1. “1 dreamix overview video.mp4“ - An overview video of our method with audio narration. \n2. “2 dreamix video editing examples.mp4“ - A number of video editing examples generated by our method (Dreamix). \n3. “3 dreamix image2video examples.mp4“ - A number of image-to-video examples generated by our method (Dreamix). \n4. “4 dreamix subject driven video generation examples.mp4“ - A number of subject-driven video generation examples generated by our method (Dreamix). \n5. “5 dreamix baseline comparisons.mp4“ - A number of videos comparing our method (Dreamix) to the other baselines. ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "Note: to match the conference requirement of maximum 100MB for the supplementary, all the videos are compressed, the uncompressed versions will be released in the final revision. ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "B SOCIAL IMPACT ", |
| "text_level": 1, |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "Our primary aim in this work is to advance research on tools to enable users to animate their personal content. While the development of end-user applications is out of the scope of this work, we recognize both the opportunities and risks that may follow from our contributions. As discussed above, we anticipate multiple possible applications for this work that have the potential to augment and extend creative practices. The personalized component of our approach brings particular promise as it will enable users to better align content with their intent, despite potential biases present in general VDMs. On the other hand, our method carries similar risks as other highly capable media generation approaches. Malicious parties may try to use edited videos to mis-lead viewers or to engage in targeted harassment. Future research must continue investigating these concerns. ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "C IMPLEMENTATION DETAILS ", |
| "text_level": 1, |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "C.1 ARCHITECTURE ", |
| "text_level": 1, |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "All of our experiments were preformed on a VDM that is similar to Imagen-Video Ho et al. (2022a), a pertrained cascaded text-to-video diffusion model, with the following components: ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "1. A T5-XXLRaffel et al. (2020) text encoder, that computes embeddings from the textual prompt. This embeddings are then used as conditioning by all other models. \n2. A base video diffusion model, conditioned on text. It generates videos at $1 6 \\times 2 4 \\times 4 0 \\times 3$ resolution (frames $X$ height $X$ width $X$ channels) at 3 fps. \n3. 6 super-resolution video diffusion models, each conditioned on the text and the output video of the previous model. Each model is either spatial (SSR), i.e. upscales resolution, or temporal (TSR), i.e. fills in intermediate frames between the input frames. The order of super resolution models is TSR $( 2 \\mathbf { x } )$ , SSR $( 2 \\mathbf { x } )$ , SSR(4x), TSR $( 2 \\mathbf { x } )$ , TSR $( 2 \\mathbf { x } )$ , and SSR(4x). The multiplier in the parenthesis for output frames (for TSR), and for output pixels in height and width (for SSR). The final output video is in $1 2 8 \\times 7 6 8 \\times 1 2 8 0 \\times 3$ at 24 fps. ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "Note that the diffusion models are pretrained on both videos and images, with frozen temporal attention and convolution for the latter. Our mixed finetuning approach treats video frames as if they were images. ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "Distillation. For some of these models, we use a distilled version to allow for faster sampling times. The base model is a distilled model with 64 sampling steps. The first two SSR models are nondistilled models with 128 sampling steps (due to finetuning considerations, see below). All other SR models use 8 sampling steps. All models use classifier-free-guidance weight of 1.0 (meaning that classifier free guidance is turned off). ", |
| "page_idx": 13 |
| }, |
| { |
| "type": "text", |
| "text": "C.2 FINETUNING ", |
| "text_level": 1, |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "To reduce finetuning time, we only finetune the base model and the first 2 SSR models. In our experiments, finetuning the first 2 SSR models using the distilled models (with 8 sampling steps) did not yield good quality. We therefore use the non-distilled versions of these models for all experiments (including non-finetuned experiments). When using “Mixed Video-Image Finetuning“ we use $\\alpha = 0 . 3 5$ , and finetune for 300 steps. For all our experiments we use a learning rate of $6 \\cdot \\mathrm { { 1 0 ^ { - 6 } } }$ . ", |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "C.3 SAMPLING ", |
| "text_level": 1, |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "We use a DDIM sampler with stochastic noise correction, following Ho et al. (2022a). For the last highest resolution SSR, for capacity reasons, we use the model to sample a sub-chunks of 32 frames of the input lower resolution videos, and then we concatenate all the outputs together back to 128 frame videos. ", |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "D IMAGE-TO-VIDEO TRANSFORMATIONS ", |
| "text_level": 1, |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "We only use perspective transformations to create “cinematic” effects, e.g., panning, zooming, and camera shake. In our supplementary, we included Image-to-Video examples with different perspective transformations applied to them. We detail these transformations in Tab. 4. Some of the examples did not use the perspective transformations at all. Also, ensuring the smoothness of the transformed sequence is unnecessary as this is fixed by the diffusion and super-resolution processes. ", |
| "page_idx": 14 |
| }, |
| { |
| "type": "table", |
| "img_path": "images/6c8044d77c84b11f2c4896d127b702016082a3364a9e9d67cefda83a58f19eb9.jpg", |
| "table_caption": [ |
| "Table 4: Perspective Transformations " |
| ], |
| "table_footnote": [], |
| "table_body": "<table><tr><td>Video</td><td>Timestamp Transformation</td><td></td><td>Effect</td></tr><tr><td>Plant</td><td>00:00</td><td>Translate</td><td>Pan</td></tr><tr><td>Turtle</td><td>00:11</td><td>Rand. translate</td><td>Shake</td></tr><tr><td>Coffee</td><td>00:22</td><td>Translate</td><td>Pan</td></tr><tr><td>Camel</td><td>00:33</td><td>None</td><td>None</td></tr><tr><td>Volcano</td><td>00:43</td><td>Rand. translate</td><td>Shake</td></tr><tr><td>Bear</td><td>00:54</td><td>Perspective</td><td>Pan</td></tr><tr><td>Penguins</td><td>01:05</td><td>None</td><td>None</td></tr><tr><td>Unicorn</td><td>01:15</td><td>Scale</td><td>Zoom out</td></tr><tr><td>Buffalo</td><td>01:26</td><td>Scale</td><td>Zoom out</td></tr><tr><td>Bigfoot</td><td>01:37</td><td>Translate</td><td>Pan</td></tr></table>", |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "E EVALUATION DATASET ", |
| "text_level": 1, |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "In all evaluations described in the paper, we used a dataset of 29 videos with 127 edit prompts. The dataset videos were selected from YouTube-8M Abu-El-Haija et al. (2016) and show animals, people performing actions, vehicles, and other objects. The edit prompt categories are motion, object, background, and style. In the motion category the prompts perform motion editing (e.g. adding motion with the prompt “An orangutan next to a pond waving both arms in the air”), the object category performs object level edits (e.g. adding a party hat with the prompt “A puppy walking with a party hat”), the background category performs edits of the background (e.g. adding a river with the prompt “A blue pickup truck crossing a deep river”), and the style category performs style-transfer like edits (e.g. changing the style to cartoon with the prompt “A cartoon of a man playing a saxophone”). ", |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "F HUMAN EVALUATION DETAILS ", |
| "text_level": 1, |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "We performed human evaluations for the baseline comparison and the ablation analysis. The evaluations were conducted by a panel of 20 human raters using the dataset described in ??. The video ", |
| "page_idx": 14 |
| }, |
| { |
| "type": "text", |
| "text": "resolution shown to raters was $3 5 0 \\times 2 0 0$ , except for tune-a-video where we used a resolution of $2 0 0 \\times 2 0 0$ (because we observed it performs better with square outputs). ", |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "F.1 ABLATION STUDY ", |
| "text_level": 1, |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "In the ablation study the raters were asked to select the best edited video out of 12 hyperparameter combinations: ", |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "• no finetuning, with $s \\in { 0 . 4 , 0 . 7 , 0 . 8 , 0 . 8 5 }$ \n• video finetuning for 64 steps, with $s \\in { 0 . 8 , 0 . 9 , 0 . 9 5 , 0 . 9 8 }$ \n• mixed finetuning, with $( f t _ { s t e p s } , s ) \\in ( 1 5 0 , 0 . 9 8 ) , ( 2 0 0 , 0 . 9 8 ) , ( 2 0 0 , 1 . 0 ) , ( 3 0 0 , 1 . 0 )$ ", |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "A visual example of the tradeoff between the amount of noise and the amount of finetuning is shown in Fig. 8. ", |
| "page_idx": 15 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/f61d12177e88fc45bec3637d3db694589034642670dfd46ed02f40958e594f9d.jpg", |
| "image_caption": [ |
| "Figure 8: Noise-Finetuning Tradeoffs: We compare the effect of noise magnitude and number of finetuning iterations on edited videos. The original frame is on the bottom left, the rest were generated by different parameters for the prompt ”An orangutan with orange hair bathing in a bathroom”. We can observe that higher noise allows for larger edits but reduces fidelity. More finetuning iterations improve fidelity at higher noises. The best results are obtained for high noise and a large number of finetuning iterations " |
| ], |
| "image_footnote": [], |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "F.2 BASELINE COMPARISON", |
| "text_level": 1, |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "In the baseline comparisons described in the paper, raters evaluated videos on quality, fidelity and alignment. The raters saw the original video alongside an edited video and answered the following questions on a scale of $1 - 5$ : ", |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "1. “Rate the overall visual quality and smoothness of the edited video.” \n2. “How well does the edited video match the textual edit description provided?” \n3. “How well does the edited video preserve unedited details of the original video?” ", |
| "page_idx": 15 |
| }, |
| { |
| "type": "text", |
| "text": "F.3 DIRECT COMPARISON ", |
| "text_level": 1, |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "We also conducted a direct comparisons between the different editing methods. In this comparison raters saw the videos simultaneously and selected the best edit. We conducted the comparison once with a fixed set of hyperparameters for Dreamix, and once more showing a single Dreamix video chosen among 12 hyperparameters sets. Results can be seen in Tab. 5. ", |
| "page_idx": 16 |
| }, |
| { |
| "type": "table", |
| "img_path": "images/793f920703a410915d4fce420678a41a24583494a09b51975f256d631c58c1ee.jpg", |
| "table_caption": [ |
| "Table 5: Direct comparison of editing methods: Users were shown editing results of different editing methods were asked to pick the best one. In the ”Multiple HP” column, the Dreamix video was chosen from a set of 12 hyperparameters. We show the number of times each method got a majority vote (out of 5 ratings) " |
| ], |
| "table_footnote": [], |
| "table_body": "<table><tr><td>Method</td><td></td><td>Single HP Multiple HP</td></tr><tr><td>Plug-and-Play</td><td>2%</td><td>1%</td></tr><tr><td>Tune-a-Video</td><td>6%</td><td>6%</td></tr><tr><td>Ours</td><td>34%</td><td>77%</td></tr><tr><td>No good edit / Uncond.</td><td>58%</td><td>16%</td></tr></table>", |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "G QUANTITATIVE EVALUATION ", |
| "text_level": 1, |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "In the quantitative baseline comparison described in the paper we reported alignment and quality. We measure alignment by the frame-level CLIP Score Hessel et al. (2021). That is, we compute the cosine similarity between the CLIP Radford et al. (2021) embedding and the CLIP text embedding for each frame. For each video we take the average over all frames, finally we report the mean over all the videos. For quality (stability) we compute the LPIPS Zhang et al. (2018) distance between all pairs of consecutive frames. For each video we take the average over all pairs of consecutive frames, finally we report the mean over all the videos. To perform a fair comparison with Tune-a-Video (which outputs videos of 24 frames at 5 fps) we subsampled the rest of the methods to match this framerate. Additionally, before passing through CLIP and LPIPS, all the frames are preprocessed to match the required format (i.e. resize to 224, center crop to 224, ImageNet normalization). ", |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "H IMAGE ATTRIBUTION ", |
| "text_level": 1, |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "• Desert - https://unsplash.com/photos/PP8Escz15d8 \n• Fuji mountain https://unsplash.com/photos/9Qwbfa_RM94 \n• Tree in snow - https://unsplash.com/photos/aQNy0za7x0k \n• Hut in snow - https://unsplash.com/photos/qV2p17GHKbs \n• Lake with trees - https://unsplash.com/photos/dIQlgwq6V3Y \n• Plant - https://unsplash.com/photos/LrPKL7jOldI \n• Turtle - https://unsplash.com/photos/za9MCg787eI \n• Yosemite - https://unsplash.com/photos/NRQV-hBF10M \n• Foggy forest - https://unsplash.com/photos/pKNqyx_v62s \n• Coffee - https://unsplash.com/photos/SMPe5xfbPT0 \n• Monkey - https://www.pexels.com/video/a-brown-monkey-eating-bread-2436088/ ", |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "I ADDITIONAL RESULTS ", |
| "text_level": 1, |
| "page_idx": 16 |
| }, |
| { |
| "type": "text", |
| "text": "Below we present additional results of our method, for the best experience see the included videos. ", |
| "page_idx": 16 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/869998a6c334daf2675316863d6e6f1eee0c58683f0a443aa356845be1fdc7b9.jpg", |
| "image_caption": [ |
| "Figure 9: Additional Video Editing Results (1/5) " |
| ], |
| "image_footnote": [], |
| "page_idx": 17 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/db9fb1b971109f0f5f46afd55be0c667e2e5389f836fd6a1aadc534afb414bfa.jpg", |
| "image_caption": [ |
| "Figure 10: Additional Video Editing Examples (2/5) " |
| ], |
| "image_footnote": [], |
| "page_idx": 18 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/ec9e94647162e765b551a40f4bd04f3efbd6aebb1974a2066fadd49b2aed92e2.jpg", |
| "image_caption": [ |
| "Figure 11: Additional Video Editing Examples (3/5) " |
| ], |
| "image_footnote": [], |
| "page_idx": 19 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/39cdb8f30d1e7af28bd598a781b8f615419e02773098d8f9e29532ef9361b376.jpg", |
| "image_caption": [ |
| "Figure 12: Additional Video Editing Examples (4/5) " |
| ], |
| "image_footnote": [], |
| "page_idx": 20 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/b667c0460165b558bc493f346aae63eb9f1d5e35e7d43fdf610c95382cd3e63e.jpg", |
| "image_caption": [ |
| "Figure 13: Additional Video Editing Examples (5/5) " |
| ], |
| "image_footnote": [], |
| "page_idx": 21 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/3585b3fc6f8947a81dc5e42b945c0dc89f7b38164baad4155b4d7d65c4a7685e.jpg", |
| "image_caption": [ |
| "Figure 14: Additional Image-to-Video Examples " |
| ], |
| "image_footnote": [], |
| "page_idx": 22 |
| }, |
| { |
| "type": "image", |
| "img_path": "images/7d05f868b9f211fbf112279508228c0797e83edda976412008c1af5d6dde43b6.jpg", |
| "image_caption": [ |
| "“A bear is drinking from a glass” ", |
| "Figure 15: Additional Subject-Driven Video Generation " |
| ], |
| "image_footnote": [], |
| "page_idx": 23 |
| } |
| ] |