Home > Technology peripherals > AI > MotionClone: ​​No training required, one-click cloning of video movements

MotionClone: ​​No training required, one-click cloning of video movements

PHPz
Release: 2024-07-18 17:06:12
Original
983 people have browsed it
MotionClone: ​​No training required, one-click cloning of video movements
The AIxiv column is a column where this site publishes academic and technical content. In the past few years, the AIxiv column of this site has received more than 2,000 reports, covering top laboratories from major universities and companies around the world, effectively promoting academic exchanges and dissemination. If you have excellent work that you want to share, please feel free to contribute or contact us for reporting. Submission email: liyazhou@jiqizhixin.com; zhaoyunfeng@jiqizhixin.com

No training or fine-tuning is required. Clone the movement of the reference video in the new scene specified by the prompt word, whether it is global camera movement or local body movement. One click to get it done. MotionClone: ​​No training required, one-click cloning of video movements

  • Paper: https://arxiv.org/abs/2406.05338

  • Homepage: https://bujiazi.github.io/motionclone.github.io/

  • Code: https:// github.com/Bujiazi/MotionClone

This article proposes a new framework called MotionClone. Given any reference video, the corresponding motion information can be extracted without model training or fine-tuning; this motion information can Directly guide the generation of new videos together with text prompts to achieve text-generated videos with customized motion (text2video).

MotionClone: ​​No training required, one-click cloning of video movements

Compared with previous research, MotionClone has the following advantages:

  • No training or fine-tuning required: Previous methods usually require training models to encode motion cues or fine-tuning video diffusion models to fit specific motion patterns. Training models to encode motion cues have poor generalization ability to motion outside the training domain, and fine-tuning existing video generation models may damage the underlying video generation quality of the base model. MotionClone does not require the introduction of any additional training or fine-tuning, improving motion generalization capabilities while retaining the generation quality of the base model to the greatest extent.

  • Higher motion quality: It is difficult for existing open source Wensheng video models to generate large and reasonable movements. MotionClone introduces principal component timing attention motion guidance to greatly enhance the motion amplitude of the generated video while effectively ensuring motion. rationality.

  • Better spatial position relationship: In order to avoid the spatial semantic mismatch that may be caused by direct motion cloning, MotionClone proposes spatial semantic information guidance based on cross-attention masks to assist in the correct spatial semantic information and spatiotemporal motion information. coupling.

Motion information in the temporal attention module

MotionClone: ​​No training required, one-click cloning of video movements

In text-generated video work, the temporal attention module (Temporal Attention) is widely used to model the inter-frame correlation of videos. Since the attention score (attention map score) in the temporal attention module characterizes the correlation between frames, an intuitive idea is whether the inter-frame connections can be replicated by constraining the attention scores to be completely consistent to achieve motion cloning.

However, experiments have found that directly copying the complete attention map (plain control) can only achieve very rough motion transfer. This is because most of the weights in the attention correspond to noise or very subtle motion information, which is difficult to Combining this with text-specified new scenarios, on the other hand, obscures potentially effective movement guidance.

In order to solve this problem, MotionClone introduces the principal component temporal-attention guidance mechanism (Primary temporal-attention guidance), which uses only the main components in temporal attention to sparsely guide video generation, thereby filtering noise and subtle movements The negative impact of information enables effective cloning of motion in new scenarios specified by the text.

MotionClone: ​​No training required, one-click cloning of video movements

Spatial semantic correction

Principal component temporal attention motion guidance can achieve motion cloning of the reference video, but it cannot ensure that the moving subject is consistent with the user's intention, which will reduce the quality of video generation. In some cases, it may even lead to the dislocation of the moving subject.

In order to solve the above problems, MotionClone introduces a spatial semantic guidance mechanism (Location-aware semantic guidance), divides the front and rear background areas of the video through a Cross Attention Mask, and guarantees this by respectively constraining the semantic information of the front and rear background of the video. The rational layout of spatial semantics promotes the correct coupling of temporal motion and spatial semantics.

MotionClone implementation details

MotionClone: ​​No training required, one-click cloning of video movements

  1. DDIM Inversion: MotionClone uses DDIM Inversion to invert the input reference video into latent space to implement temporal attention principal component extraction of the reference video.

  2. Guidance stage: During each denoising, MotionClone simultaneously introduces principal component temporal attention motion guidance and spatial semantic information guidance, which work together to provide comprehensive motion and semantic guidance for controllable video generation.

  3. Gaussian Mask: In the spatial semantic guidance mechanism, the Gaussian kernel function is used to blur the cross-attention mask to eliminate the influence of potential structural information.

30 videos from the DAVIS dataset were used for testing. Experimental results show that MotionClone has achieved significant improvements in text fit, timing consistency, and multiple user survey indicators, surpassing previous motion transfer methods. The specific results are shown in the table below.

MotionClone: ​​No training required, one-click cloning of video movements

Comparison of the generation results of MotionClone and existing motion migration methods is shown in the figure below. It can be seen that MotionClone has leading performance.

MotionClone: ​​No training required, one-click cloning of video movements

To sum up, MotionClone is a new motion transfer framework that can effectively clone motion in a reference video to a new scene specified by a user-given prompt word without training or fine-tuning. Provides plug-and-play motion customization solutions for existing Vincent video models.

MotionClone introduces efficient principal component motion information guidance and spatial semantic guidance on the basis of retaining the generation quality of the existing base model, which significantly improves the motion consistency with the reference video while ensuring the semantic alignment ability with the text. , to achieve high-quality and controllable video generation.

In addition, MotionClone can directly adapt to rich community models to achieve diversified video generation, and has extremely high scalability.

The above is the detailed content of MotionClone: ​​No training required, one-click cloning of video movements. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jiqizhixin.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template