Home Technology peripherals AI Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Dec 27, 2023 pm 06:35 PM
project fairy

Meta’s new video synthesis framework has brought us some surprises


Regarding today’s artificial intelligence development level For example, it is not difficult to transfer text-based pictures, pictures-based videos, and image/video style transfer.

Generative AI is gifted with the ability to effortlessly create or modify content. Image editing, in particular, has experienced significant growth, driven by text-to-image diffusion models pre-trained on billion-scale datasets. This wave has spawned a plethora of image editing and content creation apps.

Based on the achievements of image-based generative models, the next challenge area must be to add a "time dimension" to it, so as to achieve relaxed and creative videos edit.

A straightforward strategy is to use an image model to process the video frame by frame. However, generative image editing inherently has high variability—even based on the same textual prompts. Countless ways to edit a given image. If each frame is edited independently, it will be difficult to maintain temporal consistency.

In a recent paper, researchers from the Meta GenAI team proposed Fairy - a "simple adaptation" of the image editing diffusion model, which greatly enhances the The performance of AI in video editing.

The following is Fairy’s editing video effect display:

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

##Fairy generates a 120-frame 512×384 video (4 seconds, 30 FPS) in just 14 seconds, which is at least 44 times faster than previous methods. A comprehensive user study involving 1000 generated samples confirmed that the proposed method generates high quality and significantly outperforms existing methods.

How did you do it?

According to the paper, Fairy is based on the concept of cross-frame attention based on anchor points. This mechanism can implicitly propagate diffusion features across frames and ensure temporal consistency. and high-fidelity composite effects. Fairy not only solves the limitations of previous models in terms of memory and processing speed, but also improves temporal consistency through a unique data augmentation strategy that makes the model equivalent to an affine transformation of the source and target images.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

  • Paper address: https://arxiv.org/pdf/2312.13834.pdf
  • Project homepage: https://fairy-video2video.github.io/

Method

Fairy revisits the previous tracking-and-propagation paradigm in the context of diffusion model characteristics. In particular, this study uses correspondence estimation to bridge cross-frame attention, allowing the model to track and propagate intermediate features within the diffusion model.

The cross-frame attention map can be interpreted as a similarity measure to evaluate the correspondence between tokens in each frame. The features of a semantic region will Higher attention is allocated to similar semantic regions in other frames, as shown in Figure 3 below.

Therefore, the current feature representation is refined and propagated by focusing on the weighted sum of similar regions between frames, thereby effectively minimizing feature differences between frames.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

A series of operations produce an anchor-based model, which is the core component of Fairy.

In order to ensure the temporal consistency of the generated videos, this study sampled K anchor frames to extract diffusion features, and the extracted features were defined as a set to be propagated to global features of consecutive frames. This study replaces the self-attention layer with cross-frame attention for the cached features of the anchor frame when each new frame is generated. Through cross-frame attention, tokens in each frame adopt features that exhibit similar semantic content in the anchor frame, thereby enhancing consistency.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Experimental evaluation

In the experimental part, the researchers mainly based on command-based image editing model to implement Fairy and replace the model's self-attention with cross-frame attention. They set the number of anchor frames to 3. The model can accept inputs of different aspect ratios and rescale the longer size input resolution to 512, keeping the aspect ratio unchanged. The researchers edit all frames of the input video without downsampling. All calculations are distributed across 8 A100 GPUs.

Qualitative evaluation

The researcher first showed Fairy’s qualitative results, as shown below As shown in 5, Fairy can edit different themes.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

In Figure 6 below, the researcher shows that Fairy can perform different types of editing according to text instructions, including stylization, role Changes, partial editing, attribute editing, etc.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Figure 9 below shows that Fairy can convert source characters into different target characters according to instructions.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Quantitative evaluation

The researcher is below The overall quality comparison results are shown in Figure 7, where the videos generated by Fairy are more popular.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

Figure 10 below shows the visual comparison results with the baseline model.

Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.

For more technical details and experimental results, please refer to the original paper.

The above is the detailed content of Video can be reconstructed in 14 seconds and characters can be changed. Meta speeds up video synthesis by 44 times.. For more information, please follow other related articles on the PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

From RLHF to DPO to TDPO, large model alignment algorithms are already 'token-level' From RLHF to DPO to TDPO, large model alignment algorithms are already 'token-level' Jun 24, 2024 pm 03:04 PM

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 In the development process of artificial intelligence, the control and guidance of large language models (LLM) has always been one of the core challenges, aiming to ensure that these models are both powerful and safe serve human society. Early efforts focused on reinforcement learning methods through human feedback (RL

The author of ControlNet has another hit! The whole process of generating a painting from a picture, earning 1.4k stars in two days The author of ControlNet has another hit! The whole process of generating a painting from a picture, earning 1.4k stars in two days Jul 17, 2024 am 01:56 AM

It is also a Tusheng video, but PaintsUndo has taken a different route. ControlNet author LvminZhang started to live again! This time I aim at the field of painting. The new project PaintsUndo has received 1.4kstar (still rising crazily) not long after it was launched. Project address: https://github.com/lllyasviel/Paints-UNDO Through this project, the user inputs a static image, and PaintsUndo can automatically help you generate a video of the entire painting process, from line draft to finished product. follow. During the drawing process, the line changes are amazing. The final video result is very similar to the original image: Let’s take a look at a complete drawing.

Posthumous work of the OpenAI Super Alignment Team: Two large models play a game, and the output becomes more understandable Posthumous work of the OpenAI Super Alignment Team: Two large models play a game, and the output becomes more understandable Jul 19, 2024 am 01:29 AM

If the answer given by the AI ​​model is incomprehensible at all, would you dare to use it? As machine learning systems are used in more important areas, it becomes increasingly important to demonstrate why we can trust their output, and when not to trust them. One possible way to gain trust in the output of a complex system is to require the system to produce an interpretation of its output that is readable to a human or another trusted system, that is, fully understandable to the point that any possible errors can be found. For example, to build trust in the judicial system, we require courts to provide clear and readable written opinions that explain and support their decisions. For large language models, we can also adopt a similar approach. However, when taking this approach, ensure that the language model generates

Topping the list of open source AI software engineers, UIUC's agent-less solution easily solves SWE-bench real programming problems Topping the list of open source AI software engineers, UIUC's agent-less solution easily solves SWE-bench real programming problems Jul 17, 2024 pm 10:02 PM

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 The authors of this paper are all from the team of teacher Zhang Lingming at the University of Illinois at Urbana-Champaign (UIUC), including: Steven Code repair; Deng Yinlin, fourth-year doctoral student, researcher

Unlimited video generation, planning and decision-making, diffusion forced integration of next token prediction and full sequence diffusion Unlimited video generation, planning and decision-making, diffusion forced integration of next token prediction and full sequence diffusion Jul 23, 2024 pm 02:05 PM

Currently, autoregressive large-scale language models using the next token prediction paradigm have become popular all over the world. At the same time, a large number of synthetic images and videos on the Internet have already shown us the power of diffusion models. Recently, a research team at MITCSAIL (one of whom is Chen Boyuan, a PhD student at MIT) successfully integrated the powerful capabilities of the full sequence diffusion model and the next token model, and proposed a training and sampling paradigm: Diffusion Forcing (DF). Paper title: DiffusionForcing:Next-tokenPredictionMeetsFull-SequenceDiffusion Paper address: https:/

A significant breakthrough in the Riemann Hypothesis! Tao Zhexuan strongly recommends new papers from MIT and Oxford, and the 37-year-old Fields Medal winner participated A significant breakthrough in the Riemann Hypothesis! Tao Zhexuan strongly recommends new papers from MIT and Oxford, and the 37-year-old Fields Medal winner participated Aug 05, 2024 pm 03:32 PM

Recently, the Riemann Hypothesis, known as one of the seven major problems of the millennium, has achieved a new breakthrough. The Riemann Hypothesis is a very important unsolved problem in mathematics, related to the precise properties of the distribution of prime numbers (primes are those numbers that are only divisible by 1 and themselves, and they play a fundamental role in number theory). In today's mathematical literature, there are more than a thousand mathematical propositions based on the establishment of the Riemann Hypothesis (or its generalized form). In other words, once the Riemann Hypothesis and its generalized form are proven, these more than a thousand propositions will be established as theorems, which will have a profound impact on the field of mathematics; and if the Riemann Hypothesis is proven wrong, then among these propositions part of it will also lose its effectiveness. New breakthrough comes from MIT mathematics professor Larry Guth and Oxford University

arXiv papers can be posted as 'barrage', Stanford alphaXiv discussion platform is online, LeCun likes it arXiv papers can be posted as 'barrage', Stanford alphaXiv discussion platform is online, LeCun likes it Aug 01, 2024 pm 05:18 PM

cheers! What is it like when a paper discussion is down to words? Recently, students at Stanford University created alphaXiv, an open discussion forum for arXiv papers that allows questions and comments to be posted directly on any arXiv paper. Website link: https://alphaxiv.org/ In fact, there is no need to visit this website specifically. Just change arXiv in any URL to alphaXiv to directly open the corresponding paper on the alphaXiv forum: you can accurately locate the paragraphs in the paper, Sentence: In the discussion area on the right, users can post questions to ask the author about the ideas and details of the paper. For example, they can also comment on the content of the paper, such as: "Given to

Axiomatic training allows LLM to learn causal reasoning: the 67 million parameter model is comparable to the trillion parameter level GPT-4 Axiomatic training allows LLM to learn causal reasoning: the 67 million parameter model is comparable to the trillion parameter level GPT-4 Jul 17, 2024 am 10:14 AM

Show the causal chain to LLM and it learns the axioms. AI is already helping mathematicians and scientists conduct research. For example, the famous mathematician Terence Tao has repeatedly shared his research and exploration experience with the help of AI tools such as GPT. For AI to compete in these fields, strong and reliable causal reasoning capabilities are essential. The research to be introduced in this article found that a Transformer model trained on the demonstration of the causal transitivity axiom on small graphs can generalize to the transitive axiom on large graphs. In other words, if the Transformer learns to perform simple causal reasoning, it may be used for more complex causal reasoning. The axiomatic training framework proposed by the team is a new paradigm for learning causal reasoning based on passive data, with only demonstrations

See all articles