Facial animation synthesis method, facial animation synthesis model training method and electronic equipment

Through the identity and motion encoder in the self-supervised learning framework, the identity information of facial animation is decoupled and implicit facial motion representation is generated, which solves the problem of single facial animation effect in the existing technology and achieves more detailed and diverse Facial animation capture.

CN118537459APending Publication Date: 2024-08-23AISPEECH CO LTD
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410543674.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technologies are difficult to generate to capture the complexity and diversity of facial dynamics, especially non-speech-related facial movements such as blinks and expression changes, resulting in a single facial animation effect.

Method used

A self-supervised image animation framework is adopted, by extracting source and target images from face video clips, using identity encoders and motion encoders to learn implicit facial motion representations, decouple identity information, and generate more general facial animations.

Benefits of technology

It achieves more detailed facial animation capture, supports diverse facial dynamic expressions, and enhances the naturalness and realism of facial animation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537459A
    Figure CN118537459A
Patent Text Reader

Abstract

The embodiment of the invention provides a facial animation synthesis method, a facial animation synthesis model training method and electronic equipment, and relates to the technical field of virtual digital vivids.The facial animation synthesis model training method comprises the steps that a first video frame and a second video frame are extracted from a face video clip, determining a source image and a target image corresponding to the identity of the target person; extracting identity information corresponding to the source image based on an identity encoder in the facial animation synthesis model; on the basis of a motion encoder in the facial animation synthesis model, target motion representation corresponding to the target image is encoded, and the target motion representation decouples the identity information; and inputting the target motion representation and the image features of the source image into an image renderer in a facial animation synthesis model to reconstruct the target image. Therefore, a novel implicit facial movement representation is provided, more general facial movement representation can be realized, and capture of subtle details of facial expressions can be more effectively supported.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of virtual digital images, and in particular to a facial animation synthesis, a facial animation synthesis model training method and an electronic device. Background Art

[0002] Virtual digital image technology has broad application prospects in virtual reality, computer games, human-computer interaction and other fields, and the generation technology of virtual digital faces is one of the key links. In speech-driven facial animation generation technology, the main focus is on the synchronization of speech and lip movement, so as to generate more realistic lip animation.

[0003] At present, facial animation is usually generated by using techniques based on explicit structural representation, specifically by using Blendshapes, 3D deformable models (3DMM) or facial landmarks to separate facial movements and texture information. Specifically, Blend shapes is a deformation technology commonly used in 3D modeling software. It can generate intermediate transition states by mixing multiple target shapes and is often used to make facial expression animations. 3D deformable models (3DMM) are parameterized statistical models of faces. A 3D face model corresponding to an input face image can be reconstructed through shape and texture parameters. Facial landmarks are a set of key points marked on a face image, usually including the contour points of facial organs such as eyebrows, eyes, nose, and mouth, which can be used to describe the shape and expression characteristics of the face.

[0004] However, these solutions all use explicit action representation, which lacks the ability to capture subtle facial dynamics and is difficult to generate non-speech related facial movements such as blinking and expression changes. In addition, the dimensions of the action representation of the explicit structure are limited and cannot fully describe the complexity of facial dynamics, making it difficult to cope with the differences between different identities, resulting in generally single generation effects. The facial motion representation used by these solutions is too limited and simplistic. It generally only focuses on lip synchronization or uses parametric models to approximate facial motion, which cannot fully depict the rich diversity of facial dynamics.

[0005] In response to the above problems, the industry has not yet proposed a better technical solution. Summary of the invention

[0006] The present application provides a facial animation synthesis, a facial animation synthesis model training method, a storage medium and an electronic device, which are used to at least solve the problem of single effect of synthesized facial animation in the current related technology.

[0007] In a first aspect, an embodiment of the present application provides a facial animation synthesis model training method, comprising: extracting a first video frame and a second video frame from a face video clip to determine a source image and a target image corresponding to the identity of a target person; extracting identity information corresponding to the source image based on an identity encoder in the facial animation synthesis model; encoding a target motion representation corresponding to the target image based on a motion encoder in the facial animation synthesis model, wherein the target motion representation decouples the identity information; and inputting the target motion representation and image features of the source image into an image renderer in the facial animation synthesis model to reconstruct the target image.

[0008] In a second aspect, an embodiment of the present application provides a facial animation synthesis method, comprising: obtaining a face video sequence to be animated; inputting the face video sequence into a facial animation synthesis model, so that a facial motion latent variable sequence corresponding to the face video sequence is extracted based on a motion encoder in the facial animation synthesis model, and the facial motion latent variable sequence and a preset source image are input frame by frame into an image renderer in the facial animation synthesis model to generate a corresponding facial animation; wherein the facial animation synthesis model is trained by the facial animation synthesis model training method of any embodiment of the present application.

[0009] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the facial animation synthesis model training method or the facial animation synthesis method of any embodiment of the present application.

[0010] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, the steps of the facial animation synthesis model training method or the facial animation synthesis method of any embodiment of the present application are implemented.

[0011] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the facial animation synthesis model training method or the facial animation synthesis method of any embodiment of the present application.

[0012] The beneficial effects of the embodiments of the present application are:

[0013] Through the embodiment of the present application, a self-supervised image animation framework is provided, using two frames of images corresponding to the same character identity from a video clip as the source image and the target image respectively, using the source image to provide identity information via an identity encoder, and using the target image to provide general motion details of the decoupled identity via a motion encoder, and the training learning goal is to reconstruct the target image. Thus, the target video frame is reconstructed from the source frame to learn subtle facial motion representations. Through this self-supervised learning frame-to-frame conversion, it provides a novel implicit facial motion representation, which can achieve a more general facial motion representation, allowing the model to autonomously capture the essential motion characteristics of facial dynamics. Compared with the motion representation of the explicit structure, it can more effectively support the capture of subtle details of facial expressions and realize the diversification of synthetic facial animations. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0015] Figure 1 A flowchart of an example of a facial animation synthesis model training method according to an embodiment of the present application is shown;

[0016] Figure 2 A flowchart showing an example of a facial animation synthesis method according to an embodiment of the present application is shown;

[0017] Figure 3 An operation flow chart of an example of generating facial animation based on voice drive according to an embodiment of the present application is shown;

[0018] Figure 4 A schematic diagram showing an effect of an example of facial animation based on voice-driven synthesis according to an embodiment of the present application is shown;

[0019] Figure 5 A schematic diagram of the system architecture of an example of the AniTalker framework according to an embodiment of the present application is shown;

[0020] Figure 6 A schematic structural diagram of an example of a variance adapter according to an embodiment of the present application is shown;

[0021] Figure 7 A schematic diagram showing the comparison of the effects of cross-reproduction visualization between different algorithms is shown;

[0022] Figure 8A schematic diagram showing the visual comparison of different voice driving methods in self-driving and cross-driving scenarios;

[0023] Fig. 9 A comparative diagram showing weights of motion representations from different layers of an image encoder;

[0024] Fig.10 A schematic diagram showing the effect of an example of a motion manifold in a continuous motion space;

[0025] Fig.11 It is a schematic structural diagram of an embodiment of an electronic device of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] It should be noted that combining speech signals with a single portrait to generate a speaking avatar can greatly enhance the entertainment and education industries and provide an innovative approach to interactive digital experiences. Although current methods have made significant progress in synchronizing speech signals with lip movements, thereby enhancing verbal communication, they often overlook the key aspects of non-verbal communication. Non-verbal communication includes but is not limited to specific head movements, facial expressions, and blinking, etc., and does not use words to convey information. Studies have shown that these non-verbal cues are crucial in communication.

[0028] The main challenge is that existing models are unable to adequately capture the complex dynamics associated with facial motion representation. Existing methods mainly adopt explicit structured representations such as blend shapes, facial landmarks, or 3D deformable models (3DMM) to achieve facial animation. These methods were originally designed for single image processing, and they provide limited approximations to facial dynamics and fail to fully capture the full breadth of human expressions. Recent advances have introduced trainable facial motion encoders as an alternative to traditional explicit features, showing significant progress in capturing detailed facial movements. However, their deployment is often tailored for specific speakers or limited to the mouth region, highlighting the gap in capturing all subtle variations in facial dynamics.

[0029] Therefore, there is still a lack of a universal and accurate motion representation that can be applied to different character identities. Such a representation should meet three key criteria: capture details such as slight mouth movements, blinks, or slight facial muscle twitches; ensure universality so that it can be applied to any speaker while removing identity-related information to maintain a clear separation between appearance and motion; and integrate a wide range of non-verbal cues such as expressions, head movements, and posture.

[0030] In view of this, Figure 1 A flowchart of an example of a facial animation synthesis model training method according to an embodiment of the present application is shown.

[0031] Regarding the execution subject of the method of the embodiment of the present application, it can be any controller or processor with computing or processing capabilities, which executes the self-supervised pre-training method of the speech recognition model. Compared with the widely used methods in the current related technologies to increase the dimension of explicit structural representation or design a special model for each facial movement, or to use a more complex machine learning model or add more training data to improve the naturalness of expression and the accuracy of dynamic capture. In the embodiment of the present application, by learning an implicit decoupled identity facial movement representation, the model can autonomously capture the essential characteristics of facial dynamics and support the synthesis of more diverse complex facial animations.

[0032] In some examples, it may be integrated and configured in an electronic device or terminal by means of software, hardware, or a combination of software and hardware, and the type of the terminal or electronic device may be diverse, such as a mobile phone, a tablet computer, or a desktop computer, etc.

[0033] like Figure 1 As shown, in step S110, a first video frame and a second video frame are extracted from a face video clip to determine a source image and a target image corresponding to the identity of a target person.

[0034] In step S120, identity information corresponding to the source image is extracted based on the identity encoder in the facial animation synthesis model.

[0035] In step S130, based on the motion encoder in the facial animation synthesis model, a target motion representation corresponding to the target image is encoded, and the target motion representation decouples identity information.

[0036] In step S140 , the target motion representation and the image features of the source image are input into an image renderer in the facial animation synthesis model to reconstruct the target image.

[0037] In some embodiments, a self-supervised image animation framework is utilized using two RGB images from the same video clip: source image I s and the target image I t (I∈RH×W×3 ), to serve different functions: I s Provide identity information, and I t Provides movement details. The main goal is to reconstruct I t . The random selection of frames, with occasional selection of neighboring frames, enables the network to learn representations of subtle motion. With this self-supervised learning approach, the encoder of the target image is designed to specifically capture motion information. By learning a frame-to-frame transformation, a more general facial motion representation can be obtained that includes speech motion (such as lip movement) as well as non-speech motion including expression, posture, and movement.

[0038] In some examples of the embodiments of the present application, metric learning (ML) can be used to train the identity encoder. Specifically, metric learning is performed on the identity encoder in the facial animation synthesis model based on a first face sample set, the first face sample set includes positive samples and negative samples, the positive samples are face image samples that match the identity of the target person, and the negative samples are face image samples that do not match the identity of the target person.

[0039] Therefore, based on the baseline model, metric learning is designed for the identity encoder, and the robustness of identity encoding is optimized through comparative learning of positive and negative samples, which helps to generate robust identity information. As a result, the accuracy of identity preservation is improved and the personalized feature expression of facial animation is enhanced.

[0040] In some examples of the embodiments of the present application, the motion encoder can be trained by using a mutual information decoupling (MID) method. Specifically, for each face image sample in the second face image sample set, the face image sample is input into the identity encoder and the motion encoder respectively to obtain the corresponding identity latent variable and motion latent variable respectively, and the motion encoder is trained by mutual information decoupling according to the mutual information between the identity latent variable and the motion latent variable.

[0041] It should be noted that, through the enhanced design of ML, it can improve the model's ability to express identity to a certain extent, but there are still certain limitations in terms of dynamic complexity and expression diversity. In this regard, by further integrating MID into the model, integrating metric learning and mutual information decoupling technology, minimizing the interference of identity information in motion encoding, enhancing the model's ability to accurately distinguish between identity and motion, and reducing dependence on labeled data, it can effectively reduce the leakage of identity information and improve the accuracy and naturalness of motion capture.

[0042] In some examples of the embodiments of the present application, in order to enhance the ability of the motion encoder to understand motion changes of different scales, a hierarchical aggregation layer (HAL) can also be set in the model. Specifically, based on the hierarchical aggregation layer, multi-scale image features corresponding to the target image are extracted, and based on the motion encoder, the target motion representation corresponding to the multi-scale image features is encoded. Here, HAL is a type of neural network layer, which is usually used to process data with a hierarchical structure. When processing such data, HAL can effectively capture the hierarchical information and structure in the data.

[0043] Therefore, HAL was introduced into the model to integrate motion information of different scales, enhance the understanding and generation capabilities of complex facial dynamics, and significantly improve the ability to capture motion details, especially in subtle changes in facial expressions.

[0044] Through the embodiment of the present application, facial dynamics are captured based on an innovative motion encoder. This encoder uses self-supervised learning and decoupling of identity information, and uses two frames of images (source image and target image) in the same video to learn dynamic representation by reconstructing the target image. Metric learning and mutual information decoupling are introduced to restrict the identity encoder and motion encoder respectively to ensure that identity-independent motion representation is learned. Multi-scale features are integrated through hierarchical aggregation layers to give the motion encoder the ability to capture subtle dynamics, ensuring that a wide range of facial dynamics from subtle mouth movements to complex head movements can be learned.

[0045] Figure 2 A flowchart of an example of a facial animation synthesis method according to an embodiment of the present application is shown.

[0046] like Figure 2 As shown, in step S210, a face video sequence to be animated is obtained.

[0047] Here, the driving mode of the facial animation synthesis system can be diverse. In one example of the embodiment of the present application, the face video sequence can be determined by directly inputting video materials. In another example of the embodiment of the present application, the face video sequence can also be synthesized by other methods, such as a synthesized video driven by voice or voice fusion image.

[0048] In step S220, the facial video sequence is input into the facial animation synthesis model, so that the facial motion latent variable sequence corresponding to the facial video sequence is extracted based on the motion encoder in the facial animation synthesis model, and the facial motion latent variable sequence and the preset source image are input into the image renderer in the facial animation synthesis model frame by frame to generate the corresponding facial animation.

[0049] Here, the facial animation synthesis model is trained by the facial animation synthesis model training method as in any of the above embodiments. For more details, please refer to the relevant description in the above embodiments, which will not be repeated here.

[0050] In one example of the embodiment of the present application, for video driving, also known as face reproduction, the target video sequence is directly input into a frozen encoder to extract motion coding, and then fed into an image renderer frame by frame to generate a video. To activate the source image I s , resulting in videos that accurately replicate the driver’s poses and facial expressions.

[0051] In another example of the embodiment of the present application, for voice driving, it is necessary to generate a synthetic video consistent with a voice signal or other control signal to activate the source image I s Specifically, a target portrait image and a corresponding speech sequence are obtained, and a face video sequence to be animated is generated according to the target portrait image and the speech sequence. Thus, support for voice-driven dynamic synthetic facial animation is achieved.

[0052] In some embodiments, the target portrait image and speech sequence are input into the diffusion model to generate a face video sequence to be animated. It should be noted that the diffusion model is a type of probabilistic model for modeling data distribution, which generates data points by random walk. In the diffusion model, the data point generation process is usually achieved by gradually adding random noise to the initial point, which can adjust the diversity and quality of the generated data and has achieved great success in generating high-quality images.

[0053] Figure 3 An operational flowchart of an example of generating facial animation based on voice-driven according to an embodiment of the present application is shown.

[0054] It should be noted that speech-driven speaking face generation refers to the creation of speaking faces driven by speech. Models are classified according to whether they are single-stage or dual-stage. The single-stage model generates images directly from speech and performs end-to-end rendering. Due to the size limitations of the rendering network, this method has difficulties in processing longer videos and can usually only process videos of hundreds of milliseconds. The two-stage type separates motion information from facial appearance and includes a generator from speech to motion, followed by a rendering stage from motion to video. Since the first stage only generates motion information and does not involve the texture information of the frame, it requires a smaller model and can handle long time series, up to several seconds or even minutes. This two-stage method is known to reduce jitter, enhance speech-to-motion synchronization, reduce the need to align audio and video training data, and support the creation of longer videos. In an embodiment of the present application, a two-stage structure is adopted, but the motion representation and generation process are redesigned.

[0055] like Figure 3 As shown, in step S310, based on the attribute extractor, the posture attribute representation is extracted from the face video sequence.

[0056] Here, the posture attribute representation may correspond to various posture attributes, such as head posture (yaw, pitch, roll), the opening and closing state of the eyes, the opening and closing degree of the mouth, etc.

[0057] In step S320, motion attribute representation is extracted from the speech sequence based on the variance adapter.

[0058] Here, speech data is analyzed by a variance adapter to extract speech-related motion properties, such as the amplitude and speed of mouth movements, for example, analyzing the rhythm, intensity, and pitch changes of speech to infer changes in facial movements.

[0059] In step S330 , the facial motion latent variable sequence is calibrated based on the posture attribute representation and the motion attribute representation.

[0060] Here, by integrating the latent facial motion properties of synthetic face video sequences and speech sequences of the diffusion model, the comprehensive properties are used to calibrate the facial motion representation, so that the calibrated latent variable sequence can reflect the changes in facial expressions of the face more finely and dynamically.

[0061] In step S340, the calibrated facial motion latent variable sequence and the preset source image are input frame by frame into the image renderer in the facial animation synthesis model to generate the corresponding facial animation.

[0062] In the voice-driven facial animation solution of the embodiment of the present application, a diffusion model is used to learn the distribution of motion codes under voice conditions, and then a variational adaptive module is combined to manipulate the attributes of the motion codes (such as controlling the head posture). Finally, the image renderer generates the corresponding facial animation, thereby ensuring the realistic visual effects and voice synchronization effects of the generated facial animation.

[0063] Figure 4 A schematic diagram showing the effect of an example of facial animation based on voice-driven synthesis according to an embodiment of the present application is shown.

[0064] like Figure 4 As shown, through the AniTalker framework provided in the embodiment of the present application, a single static portrait and input audio are converted into an animated speaking video with natural flowing motion. Each column of the generated results uses the same control signal, similar posture and expression, but adds some random changes, showing the diversity of the generated results of the present application.

[0065] The AniTalker framework provided in accordance with an embodiment of the present application is intended to generate realistic speaking faces from a single portrait. Unlike existing models that focus primarily on lip sync and fail to capture the complex dynamics of facial expressions and non-verbal cues, AniTalker adopts a general motion representation method. This innovative representation effectively captures a wide range of facial dynamics, including subtle expressions and head movements. AniTalker enhances motion descriptions through two self-supervised learning strategies: the first strategy involves reconstructing target video frames from source frames to learn subtle motion expressions; the second strategy develops an identity encoder that actively minimizes the mutual information between identity and motion encoders while using metric learning. This approach ensures that the motion representation is dynamic and does not contain identity-specific details, significantly reducing the need for labeled data. In addition, a diffusion model integrated with a variance adapter allows the generation of diverse and controllable facial animations. This method not only demonstrates AniTalker's ability to create detailed and realistic facial movements, but also highlights its potential for creating dynamic avatars for use in real-world scenarios.

[0066] Through the embodiments of the present application, not only the naturalness and realism of facial animation are improved, but also due to its superior motion capture capability, it can be widely used in multiple fields such as virtual reality, distance education, and online conferencing. For example, in virtual reality, more vivid facial expressions and head movements can greatly enhance the user's sense of immersion. In distance education, the true reproduction of the teacher's facial expressions and body language can help students better understand and feel the teaching content, thereby improving the teaching effect. In addition, the development of this technology may also promote related hardware and software markets, such as the development of higher-performance graphics processors and smarter animation generation software, and promote the progress of the entire digital entertainment and communications industry.

[0067] The above describes the structural details and effects of the relevant parts of the AniTalker framework in combination with various embodiments. The following will describe the overall solution details of the AniTalker framework (or method) in more detail and comprehensively in combination with other embodiments.

[0068] The AniTalker framework relies on a general motion encoder designed to grasp the nuances of facial dynamics. By adopting a self-supervised learning paradigm, the reliance on labeled data is reduced, enabling the motion encoder of this application to learn powerful motion representations. This learning process is carried out on two levels: first, the motion dynamics are understood by converting the source image into the target image, capturing a range of facial movements from subtle changes to significant changes. At the same time, the use of identity labels in the dataset promotes the self-supervised joint optimization of the identity recognition network, which further aims to separate identity information from motion information by minimizing mutual information. This ensures that the motion representation retains minimal identity information and maintains its general applicability.

[0069] To achieve diversity in the motion space, the AniTalker framework integrates a diffusion model and a variance adapter to achieve diversified generation and manipulation of facial animations. Thanks to the precise motion representation and the diffusion motion generator, AniTalker is able to produce diverse and controllable talking faces. Overall, the AniTalker framework mainly aims at the following technical improvements: (1) A general facial motion encoder is developed using a self-supervised method to effectively capture the facial dynamics of different individuals. These encoders have an identity decoupling mechanism to minimize identity information in motion data and prevent identity leakage. (2) The AniTalker framework includes a motion generation system that combines a diffusion-based motion generator and a variance adapter. This system allows the production of diverse and controllable facial animations, demonstrating the flexibility of the motion space. (3) Through extensive evaluation experiments, it is confirmed that the AniTalker framework provided in the embodiments of the present application contributes to improving the realism and dynamics of digital human performance while retaining identity.

[0070] Figure 5 A schematic diagram of the system architecture of an example of the AniTalker framework according to an embodiment of the present application is shown.

[0071] like Figure 5 As shown in Figure 1, the AniTalker framework consists of two main components: training a generic motion representation and then generating and manipulating this representation through a sequence model. Specifically, the first part aims to learn a robust motion representation by using metric learning (ML), mutual information disentanglement (MID), and hierarchical aggregation layer (HAL). Subsequently, this motion representation can be used for further generation and manipulation.

[0072] Specifically, first, a motion encoder is trained that can capture motion representations of generic facial dynamics. Then, based on the well-trained motion encoder in the previous step, the motion representation is generated or manipulated using a user-controlled driving signal to produce a synthetic speaking face video.

[0073] like Figure 5 As shown in (a) in the figure, both the source and target images are from the same video clip. Through this self-supervised learning method, the encoder of the target image is designed to specifically capture motion information. By learning the frame-to-frame transformation, a more general facial motion representation can be obtained. This representation includes speech movements (such as lip movements) as well as non-speech movements, including expressions, postures, and movements.

[0074] To explicitly disentangle motion and identity in the above process, a self-supervised learning approach is enhanced by integrating metric learning (ML) and mutual information disentanglement (MID) in the AniTalker framework.

[0075] Specifically, metric learning helps generate robust identity information, which adopts a strategy involving positive and negative sample pairs, aiming to minimize the distance between similar samples and maximize the distance between dissimilar samples, thereby enhancing the network's ability to distinguish different identities. This process can also be performed in a self-supervised manner, with samples of different identities in the dataset randomly selected at each iteration. Specifically, the method sets up an anchor point (a) and selects a positive sample (p) and a negative sample (n) - corresponding to faces of different identities - with the goal of reducing the distance (d) between the anchor point and the positive sample and increasing the distance between the anchor point and the negative sample. This optimization is Figure 5 As shown in (b), it involves randomly selecting a different identity that does not belong to the current person from the candidate list as a negative sample. The optimization goal of this process is as follows:

[0076] L ML =max(0,d(a,p)-d(a,n)+margin), formula (1)

[0077] Where margin represents the positive threshold introduced to further separate positive and negative samples, thereby improving the model's ability to distinguish different identities.

[0078] Furthermore, although metric learning effectively constrains the identity encoder, relying on this encoder alone is not sufficient to minimize the identity information in the motion encoder. To address this issue, we exploit mutual information (MI), a statistical measure that estimates the dependency between the outputs of the identity and motion encoders. Given that it is challenging to directly compute the MI between two variables, we adopt a parametric approach to approximate the estimate of the MI between random variables. Specifically, we use CLUB, which estimates an upper bound on MI. Assume that the output of the identity encoder is the identity latent variable z id , the output of the motion encoder is the motion latent variable z m , the goal of this application is to optimize the mutual information I(ε(z id );ε(z m ), where ε represents the learnable multi-layer perceptron (MLP) in CLUB. This optimization ensures that the motion encoder mainly captures the motion, thus preventing identity information from contaminating the motion space. This strategy Figure 5 (c) Description in .

[0079] It should be noted that self-supervised motion transfer methods aim to reconstruct the target image by learning powerful motion representations from a large amount of unlabeled data. This significantly reduces the need for labeled data. A key challenge of these methods is to separate motion information from identity information. They mainly deform the source image by predicting a dense optical flow field. This method attempts to separate motion from identity by predicting the deformation and transformation of the source image. However, information leakage occurs in actual operation, resulting in the target image containing not only motion information but also identity information. Based on this observation, in an embodiment of the present application, identity modeling is explicitly introduced, and the mutual information neural estimation (MINE) method is used to achieve identity-independent motion representation.

[0080] To enhance the motion encoder's ability to understand motion variations at different scales, a Hierarchical Aggregation Layer (HAL) is introduced into the model, which aims to integrate information from various stages of the image encoder, each of which provides a different receptive field. The HAL processes the input of all intermediate layers of the image encoder and passes it through an average pooling (AvgPool) layer to capture information at a specific scale. This is followed by a weighted summation layer that assigns learnable weights to effectively merge information from these diverse layers. This soft fusion approach enables the motion encoder to capture and exhibit motion at a wide range of scales. This strategy allows the motion representation to adapt to faces of different sizes without the need for prior facial alignment or normalization.

[0081] Specifically, the feature representation after the AvgPool layer is [m 1 ,m 2 ,...,m n ], represents the set of average features, and the corresponding weight set is [w 1 ,w 2 ,...,wn ], where n represents the number of intermediate layers in the image encoder. These weights are normalized by a softmax function to ensure that the cumulative weight is 1. The equation for the weighted sum of the outputs of the representation layers is The Softmax normalization process is mathematically expressed as This ensures that the weights are distributed proportionally across the layers. Subsequently, m is fed into the motion encoder for further encoding.

[0082] The main goal of learning in the first stage is to reconstruct the target image within the current identity index by inputting two images, the source image and the target image. Several loss functions are used in the training process, including the reconstruction loss L recon , the perceptual loss L percep , adversarial loss L adv , mutual information loss L MI and identity metric learning loss L ML The total loss formula is as follows:

[0083] L motion =L recon +λ 1 L percep +λ 2 L adv +λ 3 L MI +λ 4 L ML , formula (2)

[0084] Once the motion encoder and image renderer have finished training, the second phase begins. At this point, the models can be frozen. The motion encoder is used to generate images, then motion is generated using video-driven or speech-driven methods, and finally the image renderer performs frame-by-frame rendering.

[0085] In the video driving process, the video sequence I d is fed into the motion encoder previously trained in the first stage to extract the motion latent variable. This latent variable is then compared with I s Together, they are directly input into the image renderer frame by frame for rendering. No additional training is required. Figure 5 In the detailed reasoning process shown in (e), the orange line represents the data flow during the video-driven reasoning process.

[0086] In the speech-driven pipeline, a combination of diffusion and variance adapters is used: the former learns a better distribution of motion data, and the latter mainly introduces attribute manipulation.

[0087] To generate the motion latent variable sequence, the diffusion model uses a multi-layer Conformer. During the training process, the diffusion training process is incorporated, including the steps of adding noise and denoising. The denoising process gradually transforms the clean motion latent variable M into Gaussian noise M T , where T represents the total number of denoising steps in the diffusion process. In contrast, the denoising process systematically removes noise from the Gaussian noise to obtain a clean motion latent variable. This iterative process better captures the motion distribution and enhances the diversity of the generated results. During the training phase, referring to the training phase method for DDPM (Denoising Diffusion Probabilistic Models), a specified simplified loss target is applied, as shown in Equation (3), where t represents a specific time step and C represents a control signal, which refers to speech or speech perturbed by a variance adapter (expanded in conjunction with other examples below).

[0088]

[0089] For inference, considering the multiple iterative steps required for diffusion, this application chooses Denoising Diffusion Implicit Model (DDIM) - an alternative non-Markov noise process - as a solver to accelerate the sampling process.

[0090] Figure 6 A schematic structural diagram of an example of a variance adapter according to an embodiment of the present application is shown.

[0091] The variance adapter is a residual branch connected to the audio features, allowing optional control of the speech signal, such as Figure 6 The variance adapter modules shown in the figure simulate a single attribute through each module separately, and multiple iterations can be performed, where N represents the number of attributes.

[0092] The variance adapter was originally proposed to solve the one-to-many problem in text-to-speech (TTS) tasks. Its architecture consists of a predictor and an encoder that predicts attribute representations using speech signals. A residual connection is then applied between the encoder output and the speech signal. During the training phase, the encoder and predictor collaborate to process speech features to minimize the L2 loss with the true control signal. This includes integrating an attribute extractor to target specific attributes, such as using a pose extractor (yaw, pitch, roll) to control head pose during audio generation. During the inference phase, the trained encoder and predictor can flexibly synthesize speech with control attributes or operate based on speech-driven input.

[0093] In the embodiment of the present application, LSTM is also added to improve temporal modeling, and additional clues such as head position and head size are introduced, which can be called camera parameters.

[0094] The total loss includes diffusion loss and variance adapter loss, where K represents the number of attributes:

[0095]

[0096] In order to prove the advanced nature of the framework provided by the embodiments of the present application, the inventors of the present application conducted a large number of experiments in the process of practicing the present application, and its various performance advantages can be effectively demonstrated through the experimental results data.

[0097] Specifically, in order to test the performance of the method of the present application, three datasets are used: VoxCeleb, HDTF, and VFHQ. Since the processing methods in these datasets are different, the original videos are re-downloaded and processed in a unified manner. Specifically, the processing flow of the embodiment of the present application includes filtering out blurred faces and faces at extreme angles. It is worth noting that in practice, the faces are not aligned, but a fixed detection frame is used for each video clip, allowing natural head movement. This operation produces a dataset containing 4,242 unique speaker IDs, covering 17,108 video clips with a cumulative duration of 55 hours. Details of this filtering process are provided in the supplementary materials. Each video in these datasets is labeled with a unique facial ID, which is used as a label for training the identity encoder. In addition, some videos in HDTF are retained for testing.

[0098] In the experiments, the methods are evaluated in two scenarios: video-driven and voice-driven, both of which are one-shot based and require only a portrait. The main difference lies in the source of the animation: video-driven is an image sequence, and voice-driven is an audio signal. In addition, each scenario is divided into two types: self-driven, where the source and target have the same identity; cross-driven, where different identities are involved. In the voice-driven task, if pose information is required, it will be provided from real data. In addition, for the motion generator of this application, a consistent seed is used to generate all results unless otherwise stated. To ensure fair comparison, the output resolution of all algorithms is normalized to 256×256.

[0099] When training motion representation, the self-supervised training paradigm provided in the embodiment of the present application is mainly based on LIA. Both identity and motion encoders use MLPs. The training objective of the present application uses CLUB 1 for mutual information loss, combined with AAM-Softmax. This robust metric learning method uses angular distance and increases the number of negative samples to enhance metric learning loss. In the second stage, the speech encoder and motion generator use a four-layer and two-layer conformer architecture, respectively. This architecture integrates the conformer structure and relative position encoding. The pre-trained HuBERT-large model is used as an audio feature encoder, including a downsampling layer that adjusts the audio sampling rate from 50Hz to 25Hz to synchronize with the video frame rate. The training of the audio generation process spans 125 frames (5 seconds).

[0100] In terms of evaluation indicators, for objective indicators, peak signal-to-noise ratio (PSNR), structural similarity index (SSIM), and learning perceptual image patch similarity (LPIPS) are used to quantify the similarity between the generated images and the real images. Cosine similarity (CSIM)2 uses pre-trained facial recognition to measure facial similarity. Lip synchronization error distance (LSE-D) evaluates the alignment of the generated lip movements with the corresponding audio. Regarding subjective indicators, this application uses the mean opinion score (MOS) as the metric of this application, and 10 participants score the method of this application based on fidelity (F), lip synchronization (LS), naturalness (N), and motion jitter (MJ).

[0101]

[0102] Table 1: Quantitative comparison with several previous face reconstruction methods.

[0103] In the experiments of the video-driven method, the method provided by the embodiment of the present application was compared with several leading facial reproduction methods, all of which adopted different variants of self-supervised learning. The results are shown in Table 1. Due to the inherent challenges and lack of frame-by-frame real data in cross-reproduction (using another person's video for driving), the overall results tend to be lower compared to self-reproduction (using the current person's video). In self-reproduction, the method of the present application achieved excellent results on image structural indicators such as PSNR, SSIM and LPIPS, verifying the effectiveness of the motion representation provided by the embodiment of the present application in reconstructing images. In addition, using the CSIM indicator to measure facial similarity, it can be found that the similarity between the reconstructed face and the original portrait is the second highest, second only to MTIA, which demonstrates the identity retention ability of the model provided by the embodiment of the present application.

[0104] For cross-reproduction, considering portraits as ground truth and cross-driven deformations, we can focus on high-level metrics: SSIM and LPIPS. Our method shows commendable performance. In the experiments, CSIM is also evaluated, showing significant improvement, unlike self-reproduction, achieving the best results in these datasets. This highlights the excellent ability of our algorithm to disentangle identity and motion when driven by different individuals.

[0105] In order to highlight the comparative results, in the experiments, a cross-reproduction scenario analysis with different algorithms is performed. Figure 7 A schematic diagram showing the comparison of the effects of cross-reproduction visualization between different algorithms is shown. This task involves transferring motion from a target portrait to a source portrait to evaluate the ability of each algorithm to separate motion and appearance. Starting from the third column, each column represents the output of a different algorithm. The results highlight the superior ability of the proposed method to maintain fidelity in terms of motion transfer and appearance preservation. Figure 7 As shown in , the goal is to deform the source portrait using the motion of the target. Each row in the figure represents a driving case. It can be observed that the baseline methods show different degrees of identity leakage, where the identity information of the target contaminates the identity of the source portrait. For example, as shown in the fourth row, the thin face structure of the driving portrait leads to a thinner result, which is not expected. However, AniTalker's results always maintain the facial identity. In addition, in terms of expression recovery, as shown in the first and third rows, AniTalker accurately replicates the eye opening motion in the source portrait, creating a set of natural eyes. In contrast, other algorithms either produce slight eye opening effects or unnatural eyes. These qualitative findings highlight the advantage of the decoupling capability.

[0106]

[0107] Table 2: Quantitative comparison with previous speech-driven methods. Subjective evaluation is the mean option score (MOS), rated on a five-point scale (1-5), covering fidelity (F), lip sync (LS), naturalness (N), and motion jitter.

[0108] (MJ).

[0109] In the experiments of speech-driven methods, the method of the present application is compared with the existing state-of-the-art speech-driven methods, including MakeItTalk, PC-AVS, Audio2Head and SadTalker. The quantitative results are shown in Table 2. From the subjective evaluation, the method of the present application shows continuous improvement in fidelity, lip synchronization accuracy, naturalness, and reduction in motion jitter, especially in the enhancement of naturalness of motion. These improvements can be attributed to the sophisticated universal motion representation of the present application.

[0110] Figure 8 A schematic diagram of the visual comparison of different voice-driven methods in self-driven and cross-driven scenarios is shown. Among them, the speech phonemes are highlighted in red. Here, the method of the present application that drives images with audio is objectively evaluated with several other methods, and the method of the present application shows significant improvement in SSIM and CSIM. However, the Sync-D indicator of the present application shows a decline. The present application believes that there are two main reasons for this: (1) The present application does not use this indicator as a supervisory signal; (2) The Sync-D indicator focuses on short-term alignment and cannot fully represent the long-term information that is more critical to the comprehensibility of the generated video. This is also supported by Figure 8 The qualitative results presented in highlight the ability of the proposed model to produce convincing lip movements synchronized with given speech phonemes.

[0111] Furthermore, the inventors of the present application also carried out elimination research experiments in the process of practicing the present application.

[0112]

[0113] Table 3: Quantitative comparison of the disentangled approach and the HAL module in the self-reproduction setting.

[0114] Decoupling elimination study. In order to further verify the effectiveness of the present application in decoupling between motion and identity, various methods were used for testing. Initially, in order to evaluate the performance of developing a reliable identity encoder using only metric learning (ML) without mutual information decoupling (MID), triplet loss and angle-based metric AAM-Softmax were evaluated. The results of the present application show that AAM-Softmax achieved better results in the experiments of the present application. In addition, by combining the mutual information decoupling module and AAM-Softmax, the present application noticed a further improvement in the results. This enhancement encourages the motion encoder to focus on motion-related information. These findings are described in detail in Table 3.

[0115]

[0116] Table 4: Different intermediate representations in the self-reproduction setting. “Face Repr.” is the abbreviation of face representation, “Dim.”

[0117] Represents the corresponding dimension.

[0118] Study of motion representation elimination. To compare our motion representation with commonly used landmark and 3D deformable model (3DMM) representations, 68 2D coordinates

[22] (136 dimensions) were used as landmark representations and expression parameters from EMOCA (50 dimensions) were used as 3DMM representations. In the self-reproduction scenario, all rendering methods remained consistent, using different features to generate driving images. The following key points can be drawn: (1) As shown in Table 4, our learned representation exhibits more compact dimensions, indicating a more concise encoding of facial dynamics. (2) Our video comparison shows that, unlike these explicit representations, our implicit motion representation maintains frame stability without the need for additional smoothing. This can be attributed to our self-supervised training strategy of sampling adjacent frames, which effectively captures subtle dynamic changes while inherently ensuring temporal stability.

[0119] Study on the removal of hierarchical aggregation layers (HAL). To explore the importance of the hierarchical aggregation layer (HAL) in motion representation, this application conducts a series of experiments focusing on the removal of the HAL layer. The results show that the model integrating the HAL layer shows performance improvements, as detailed in the last row of Table 3. In order to analyze the impact and importance of different HAL layers on motion representation, in the experiment, the softmax normalized weights of each layer in the image encoder (there are 8 layers in the experiment) are extracted and examined. Fig. 9 A comparative diagram of the weights of motion representations from different layers of an image encoder is shown. Fig. 9 As shown, it can be seen that the weights of the last layer are the most important, probably because it represents global features and can effectively recover most of the motion information. It is worth noting that the fourth layer, located in the middle of the image encoder feature map, shows a local maximum. Considering that the receptive field size of this layer is similar to the size of the eyes and about half the size of the mouth, this finding suggests that this layer may play a potential role in modeling areas such as the mouth and eyes. These results not only confirm the key role of the HAL layer in dynamic representation, but also reveal the deep mechanism of the model to capture facial motion at different scales.

[0120] Fig.10 A schematic diagram showing the effect of an example of a motion manifold in a continuous motion space.

[0121] Towards a universal motion representation, studies on the model’s ability to encode facial dynamics highlight the universal representation of human facial motion. Fig.10As shown, it can be found that different individuals maintain consistent postures and expressions (such as turning the head to the left, using homophones and closing eyes) at each point in the motion space of the present application, indicating that the motion space of the present application forms a motion manifold. This manifold helps to represent a continuous motion space, making it possible to accurately model subtle facial feature changes and allowing smooth transitions. In addition, by integrating the disturbance of diffuse noise, the model based on the embodiment of the present application can simulate random, tiny motion changes consistent with the basic motion pattern, thereby enhancing the diversity of generated expressions. These findings show that the motion representation of the present application has a powerful ability to capture and express a wide range of human facial movements.

[0122] In addition, although the model of the embodiment of the present application is trained on real human faces, it shows the ability to generalize to other images with facial structures (such as cartoons, sculptures, reliefs, and game characters). This highlights the excellent scalability of the model. It mainly attributes this ability to the complete decoupling of identity and motion, ensuring that the model grasps the intrinsic nature of facial motion, thereby enhancing its generalization ability.

[0123] The AniTalker framework provided by the embodiments of the present application represents a significant advancement in creating realistic talking heads, addressing the need for detailed and universal motion representation in digital human animation. By integrating a self-supervised universal motion encoder and adopting advanced techniques such as metric learning and mutual information decoupling, AniTalker effectively captures the nuances of verbal and non-verbal facial dynamics. The framework not only achieves enhanced realism in facial animation, but also demonstrates strong generalization capabilities across different identities and media. AniTalker sets a new benchmark for realistic and dynamic representation of digital human faces, heralding widespread applications in entertainment, communications, and education.

[0124] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of actions combined, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0125] In some embodiments, an embodiment of the present application provides a non-volatile computer-readable storage medium, which stores one or more programs including execution instructions, and the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute the steps of any of the above-mentioned facial animation synthesis model training methods or facial animation synthesis methods of the present application.

[0126] In some embodiments, the embodiments of the present application also provide a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer performs the steps of any one of the above-mentioned facial animation synthesis model training methods or facial animation synthesis methods.

[0127] In some embodiments, an embodiment of the present application also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the facial animation synthesis model training method or the facial animation synthesis method.

[0128] Fig.11 is a hardware structure diagram of an electronic device for executing a facial animation synthesis model training method or a facial animation synthesis method provided by another embodiment of the present application, such as Fig.11 As shown, the device includes:

[0129] One or more processors 1110 and memory 1120, Fig.11 A processor 1110 is taken as an example.

[0130] The device for executing the facial animation synthesis model training method or the facial animation synthesis method may further include: an input device 1130 and an output device 1140 .

[0131] The processor 1110, the memory 1120, the input device 1130 and the output device 1140 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.

[0132] The memory 1120, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the program instructions / modules corresponding to the facial animation synthesis model training method or the facial animation synthesis method in the embodiments of the present application. The processor 1110 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 1120, that is, the facial animation synthesis model training method or the facial animation synthesis method in the above method embodiments is implemented.

[0133] The memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1120 may optionally include a memory remotely arranged relative to the processor 1110, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0134] The input device 1130 may receive input digital or character information and generate signals related to user settings and function control of the electronic device. The output device 1140 may include a display device such as a display screen.

[0135] The one or more modules are stored in the memory 1120, and when executed by the one or more processors 1110, perform the facial animation synthesis model training method or the facial animation synthesis method in any of the above method embodiments.

[0136] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0137] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:

[0138] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

[0139] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.

[0140] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0141] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.

[0142] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A facial animation synthesis model training method, include: extracting a first video frame and a second video frame from a face video clip to determine a source image and a target image corresponding to a target person identity; Extracting identity information corresponding to the source image based on an identity encoder in a facial animation synthesis model; encoding a target motion representation corresponding to the target image based on a motion encoder in the facial animation synthesis model, wherein the target motion representation decouples the identity information; The target motion representation and the image features of the source image are input into an image renderer in the facial animation synthesis model to reconstruct the target image.

2. The method according to claim 1, in, The identity encoder is trained as follows: Based on a first face sample set, metric learning is performed on the identity encoder in the facial animation synthesis model; the first face sample set includes positive samples and negative samples, the positive samples are face image samples that match the identity of the target person, and the negative samples are face image samples that do not match the identity of the target person.

3. The method according to claim 1 or 2, in, The motion encoder is trained by: For each face image sample in the second face image sample set, the face image sample is respectively input into the identity encoder and the motion encoder to obtain corresponding identity latent variables and motion latent variables respectively, and the motion encoder is trained for mutual information decoupling according to the mutual information between the identity latent variables and the motion latent variables.

4. The method according to claim 3, in, The step of encoding the target motion representation corresponding to the target image based on the motion encoder in the facial animation synthesis model includes: Extracting multi-scale image features corresponding to the target image based on the hierarchical aggregation layer; Based on the motion encoder, the object motion representation corresponding to the multi-scale image features is encoded.

5. A facial animation synthesis method, include: Obtain a face video sequence to be animated; Inputting the face video sequence into a facial animation synthesis model, so that a facial motion latent variable sequence corresponding to the face video sequence is extracted based on a motion encoder in the facial animation synthesis model, and inputting the facial motion latent variable sequence and a preset source image frame by frame into an image renderer in the facial animation synthesis model to generate corresponding facial animation; Wherein, the facial animation synthesis model is trained by the facial animation synthesis model training method according to any one of claims 1-4.

6. The method according to claim 5, in, The step of obtaining a face video sequence to be animated is as follows: Obtaining a target portrait image and a corresponding speech sequence; A face video sequence to be animated and synthesized is generated according to the target portrait image and the speech sequence.

7. The method according to claim 6, in, The step of generating a face video sequence to be animated and synthesized according to the target portrait image and the speech sequence comprises: The target portrait image and the speech sequence are input into a diffusion model to generate a face video sequence to be animated.

8. The method according to claim 7, in, The step of inputting the facial motion latent variable sequence and the preset source image frame by frame into the image renderer in the facial animation synthesis model to generate the corresponding facial animation comprises: Extracting posture attribute representation from the face video sequence based on an attribute extractor; extracting motion attribute representation from the speech sequence based on a variance adapter; calibrating the facial motion latent variable sequence based on the posture attribute representation and the motion attribute representation; The calibrated facial motion latent variable sequence and the preset source image are input frame by frame into the image renderer in the facial animation synthesis model to generate corresponding facial animation.

9. A storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

10. An electronic device, include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 8.

11. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Multi-posture portrait animation generation method and device, equipment and storage medium

    CN119359870A

  • Three-dimensional digital human model training method and three-dimensional digital human generating method

    CN119516061A

  • Portrait animation generation method and system based on consistent distillation

    CN119672188A

  • Open domain portrait animation method, system and device based on driving video and storage medium

    CN120163905A

  • Three-dimensional face animation generation method and device, equipment and medium

    CN120451352A