Modularized generation system for three-dimensional facial animation
Through the 3D facial animation modular generation system, the audio feature encoder, facial animation decoder and face area separation module are used, combined with the large language model and One-Hot encoding, to achieve precise alignment of audio and facial expressions, solving the existing problem The complexity of the interaction between audio and facial expressions in technology improves the realism and natural smoothness of animations.
Patent Information
- Application Number
- CN202410815526.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-17
AI Technical Summary
When the existing technology accurately simulates facial animation, it is difficult to accurately capture the complexity of the interaction between audio and facial expressions, resulting in insufficient realism and natural smoothness of the animation, especially in scenes that require high standards of naturalness and realism, such as movies. Production and virtual agency.
A three-dimensional facial animation modular generation system is adopted, including an audio feature encoder, a facial animation decoder and a face area separation module. The facial node prior map is constructed through the semantic knowledge of the large language model and the style embedding vector is constructed using One-Hot coding to achieve audio Synchronized with the precise alignment of facial expressions and meticulously reconstructed through the face area separation module, ensuring the realism and natural fluidity of animations.
Coherent and expressive facial animation sequences are generated, improving the realism and natural flow of animation, especially the accuracy of lip synchronization and subtle movements of facial expressions, improving the overall experience.
Smart Images

Figure CN118657864A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of three-dimensional facial animation generation, and in particular to a three-dimensional facial animation modular generation system. Background Art
[0002] As a cutting-edge research field at the intersection of artificial intelligence and computer graphics, 3D facial animation generation technology not only has extraordinary academic value, but also has great potential for practical application. This technology has been applied in many industries such as games and virtual reality. By finely simulating the changes in facial expressions, it gives users a more natural and immersive interactive experience. The requirements and standards for 3D facial animation vary in different occasions. For example, in filmmaking, dubbing, and other scenarios that require virtual agents, the naturalness and realism of 3D facial animation must be extreme. These scenarios set high standards for the clarity and expressiveness of the animation, requiring it to accurately capture and display the speaker's emotions and language subtleties to provide a real conversation experience. Therefore, any uncoordinated pronunciation or animation synchronization errors will be keenly noticed by users, affecting the overall experience. When designing such animations, developers must fully consider human sensitivity to facial expressions to ensure the smoothness of the animation and the true communication of expressions.
[0003] Although there has been progress in the field of accurate simulation of facial animation, it is still a major challenge to accurately capture the complex interaction between audio and facial expressions. The subtle movements of facial expressions are crucial to the realistic presentation of animation. Summary of the invention
[0004] The purpose of this application is to provide a modular generation system for 3D facial animation that can achieve precise alignment of audio and facial expressions, ensuring the realism and natural fluency of the animation.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] A three-dimensional facial animation modular generation system, the three-dimensional facial animation modular generation system comprising:
[0007] An audio feature encoder is used to extract, encode and quantize the target audio stream to obtain audio context feature information and emotional features;
[0008] A facial animation decoder is used to align and synchronize audio context feature information and preset facial feature information based on emotional features, a facial node prior map, and a style embedding vector to obtain facial node feature information aligned with the audio; the facial node prior map is constructed based on the semantic knowledge of a large language model; and the style embedding vector is constructed based on One-Hot encoding;
[0009] The face region separation module is used to independently reconstruct the upper and lower parts of the face according to the facial node feature information aligned with the audio, and obtain the predicted aligned facial feature information; the predicted aligned facial feature information is used to realize the virtual human application after facial rendering.
[0010] Optionally, the three-dimensional facial animation modular generation system further includes:
[0011] The facial node prior graph construction module is used to construct a facial node prior graph based on the semantic knowledge of the large language model; the facial node prior graph represents the facial node position information corresponding to different emotional features.
[0012] Optionally, the three-dimensional facial animation modular generation system further includes:
[0013] The style embedding vector construction module is used to construct a style embedding vector based on One-Hot encoding; the style embedding vector represents the facial node position information corresponding to different facial styles.
[0014] Optionally, the audio feature encoder is specifically used to:
[0015] The TCN model is used to extract features from the target audio stream to obtain an audio feature vector;
[0016] A multi-level Transformer-encoder architecture is used to encode audio feature vectors to obtain the contextual relationship of feature temporal information;
[0017] A quantizer is used to quantize the contextual relationship of the feature time sequence information to obtain audio context feature information;
[0018] The CNN-BiLSTM model is used to extract features from the target audio stream to obtain emotional features.
[0019] Optionally, the facial node prior graph construction module is specifically used to:
[0020] Obtain several face templates;
[0021] According to the different facial vertex position information of the face template, the corresponding expression labels are added to construct the facial expression dataset;
[0022] The facial expression dataset and the emotion vectors corresponding to different expression labels are input into the T5 large language model, and a facial node prior graph is constructed based on the semantic knowledge of the large language model.
[0023] Optionally, the style embedding vector construction module is specifically used to:
[0024] Obtain several face templates;
[0025] According to the different styles of face templates, the style embedding vector is constructed based on One-Hot encoding.
[0026] Optionally, the facial animation decoder is specifically used to:
[0027] A fully connected layer is used to encode the preset facial feature information to obtain the facial feature information encoding;
[0028] Use a fully connected layer to encode the style embedding vector to obtain the style embedding vector encoding;
[0029] Add the facial feature information encoding and the style embedding vector encoding to obtain the facial feature information to be aligned;
[0030] A Transformer-decoder architecture with a cross-modal multi-head attention mechanism with position encoding is adopted. The emotional features and the facial node prior graph are combined to align and synchronize the audio context feature information and the facial feature information to be aligned, and obtain the facial node feature information aligned with the audio.
[0031] Optionally, the face region separation module is specifically used to:
[0032] Define a first mask and a second mask, and determine an upper and lower face separation loss function model based on the first mask and the second mask; the first mask is used to identify vertices of the upper half of the face; the second mask is used to identify vertices of the area around the mouth;
[0033] Based on the upper and lower face separation loss function model, the upper and lower parts of the face are independently reconstructed according to the facial node feature information aligned with the audio to obtain the predicted aligned facial feature information.
[0034] Optionally, the three-dimensional facial animation modular generation system further includes:
[0035] The face rendering module is used to perform face rendering on the predicted and aligned facial feature information to obtain a virtual human image video.
[0036] Optionally, the face rendering module is specifically used to:
[0037] Generate facial node files based on the predicted aligned facial feature information, load the corresponding vertex parameters and calculate the mesh points through the Mesh function;
[0038] The grid points are rasterized by a renderer to obtain a series of coherent image frames and weave them into a virtual human image video.
[0039] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0040] The present application provides a modular generation system for 3D facial animation, which extracts, encodes and quantizes the target audio stream through an audio feature encoder to obtain audio context feature information and emotional features, and combines the facial node prior graph constructed based on the semantic knowledge of the Large Language Model (LLM) and the style embedding vector constructed based on One-Hot encoding, realizes the alignment and synchronization of audio and facial expressions through a facial animation decoder, and independently reconstructs the upper and lower parts of the face through a face region separation module to obtain predicted aligned facial feature information. The present application utilizes the rich facial expression prior knowledge provided by the large language model to generate a coherent and expressive facial animation sequence, and utilizes face region separation to refine the upper and lower facial reconstruction, which can further improve the realism and natural fluency of the animation. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 The architecture diagram of the modular generation system of 3D facial animation provided in this application;
[0043] Figure 2 A schematic diagram of the construction process of the facial node prior graph provided for this application;
[0044] Figure 3 A schematic diagram of the workflow of the audio feature encoder provided in this application;
[0045] Figure 4 A schematic diagram of the workflow of the facial animation decoder provided for this application;
[0046] Figure 5 A detailed architecture diagram of the modular generation system of 3D facial animation provided in this application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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.
[0048] The purpose of this application is to provide a modular generation system for three-dimensional facial animation, which is mainly composed of core components such as an audio feature encoder, a facial animation decoder, a face region separation module, and a large language model. The audio feature encoder is responsible for extracting key features from the audio signal, which are then fed into the facial animation decoder to achieve alignment and synchronization between the audio and facial expressions. Combined with the prior knowledge of facial expressions provided by the large language model, a coherent and expressive facial animation sequence can be generated. Finally, through the face region separation module, every detail of the face is accurately reconstructed to ensure the realism and natural fluency of the animation.
[0049] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0050] like Figure 1 As shown, the modular generation system of three-dimensional facial animation provided by the present application includes: an audio feature encoder, a facial animation decoder and a face region separation module. The audio feature encoder is used to extract, encode and quantize the target audio stream to obtain audio context feature information and emotional features; the facial animation decoder is used to align and synchronize the audio context feature information and the preset facial feature information according to the emotional features, the facial node prior map and the style embedding vector, and obtain the facial node feature information aligned with the audio; the face region separation module is used to independently reconstruct the upper and lower parts of the face according to the facial node feature information aligned with the audio, and obtain the predicted aligned facial feature information; the predicted aligned facial feature information is used to realize the virtual human application after facial rendering. Among them, the facial node prior map is constructed based on the semantic knowledge of the large language model; the style embedding vector is constructed based on One-Hot encoding.
[0051] Exemplarily, first, the target audio stream is introduced into an audio feature encoder, which has a built-in feature extraction mechanism, and the target audio stream is converted into a series of feature vectors through a convolutional neural network. The facial feature information of the face is obtained through the position information of the single-frame face given by the BIWI head posture estimation dataset. Then, the facial animation decoder aligns and synchronizes these audio feature vectors with the facial features. In this process, the facial node prior graph containing the semantic knowledge of the large language model is used, combined with the facial style obtained by One-Hot encoding different face models, to assist in the dynamic generation of facial expression node information. In addition, based on the facial node feature information aligned with the audio obtained previously, the face region separation module is used to independently reconstruct the upper and lower parts of the face, thereby achieving a more delicate and natural facial action sequence. Finally, after fine rendering, the desired expressive three-dimensional motion face model, that is, the virtual human image video, is presented.
[0052] Furthermore, the above-mentioned modular generation system of 3D facial animation also includes: a facial node prior graph construction module. The facial node prior graph construction module is used to construct a facial node prior graph based on the semantic knowledge of the large language model; the facial node prior graph represents the facial node position information corresponding to different emotional features. When generating the aligned facial sequence, it is necessary to introduce the facial node prior graph containing the semantic knowledge of the large language model to guide the generation of facial expressions.
[0053] Exemplarily, first, each frame of the face template is carefully analyzed, and the position information of the facial vertices is marked with corresponding expression labels to distinguish facial features under different emotional states, thereby creating a comprehensive facial expression dataset. Next, this dataset is input into the large language model T5 (Text to Text Transfer Transformer) together with the emotion vector to generate a facial node prior graph under different expressions, where N1, N2,... represent different facial nodes. The emotions of the facial node prior graph contain multi-dimensional facial node information vectors. The power of T5 lies in its ability to process and understand complex natural language tasks, which makes it an ideal choice for generating facial node prior graphs.
[0054] like Figure 2 As shown in the figure, in this way, the position information of facial vertices can be converted into nodes in the prior graph. These nodes not only represent the multi-dimensional information of facial expressions, but also provide valuable references for the subsequent facial sequence generation. After obtaining the emotion of the audio, the facial node prior graph is input to obtain the facial node position vector corresponding to the emotion, which is input into the cross-modal self-attention mechanism of the subsequent facial animation decoder to integrate the emotion. The uniqueness of the facial node prior graph is that it contains complex constraint relationships between facial vertices under different emotional states. These relationships cover multiple levels such as facial muscle movement, intensity of expression, and even emotional state. For example, a smiling expression may involve a slight squinting of the eyes and an upward arc of the corners of the mouth, while a sad expression may be expressed by staring at the eyes and drooping the corners of the mouth. These subtle differences are carefully captured and constructed by the model to form a dynamic and interactive facial expression prior relationship. This relationship not only connects the various nodes of the face, but more importantly, it can intuitively show every change in expression, so that every subtle change in facial expression can be accurately reflected in the prior graph.
[0055] Furthermore, the above-mentioned modular generation system for 3D facial animation also includes: a style embedding vector construction module. The style embedding vector construction module is used to construct a style embedding vector based on One-Hot encoding; the style embedding vector represents the facial node position information corresponding to different facial styles.
[0056] Exemplarily, each style embedding has a style vector table. The style vector table represents the different facial node position information corresponding to different facial styles, such as the facial node positions corresponding to the facial style of a middle-aged Asian woman. By converting these discrete style information into continuous, learnable embedding vectors, the relationship and semantic information between different styles can be better captured. During the training process, it is ensured that the style vector of each speaker is independent and will not be affected by other speakers. This method effectively avoids conflicts and confusions in the style embedding space and improves the distinguishability of styles.
[0057] Preferably, the audio feature encoder is specifically used to: use the TCN model to extract features from the target audio stream to obtain an audio feature vector; use a multi-level Transformer-encoder architecture to encode the audio feature vector to obtain a feature timing information context relationship; use a quantizer to quantize the feature timing information context relationship to obtain audio context feature information; use a CNN-BiLSTM model to extract features from the target audio stream to obtain emotional features.
[0058] Exemplarily, after the preliminary preparations, the given audio needs to be processed. The audio feature encoder of this model adopts the design principle of the self-supervised pre-trained speech model - wav2vec 2.0. The core of the encoder consists of two parts: one is the module responsible for extracting audio features, and the other is the multi-level Transformer-encoder architecture. The audio feature extraction module uses a series of temporal convolutional layers, namely the temporal convolutional network (Text to Text Transfer Transformer, TCN) model, to convert the original waveform input into a feature vector. Then, through the superposition of the Transformer-encoder's multi-head self-attention mechanism and feedforward network layers, these audio feature vectors are converted into context-rich speech representations, namely, feature temporal information contextual relationships. These discretized speech units will directly affect the generation of facial expressions, because in emotional expressions, sounds and facial expressions are often correlated. Therefore, the accuracy and contextual richness of audio features are crucial for generating realistic facial sequences.
[0059] like Figure 3As shown in the figure, during the feature extraction process, the original audio waveform is converted into a series of high-level feature vectors through the feature extraction module. These feature vectors contain rich audio information, but are still continuous and high-dimensional. Then, after these feature vectors pass through the Transformer-encoder, they will be sent to a quantization module. In this quantization module, the continuous feature vector will be discretized into a limited set of distinguishable speech units. This discretization process is achieved by training the quantizer of each feature vector. During training, the model will randomly mask a part of the quantizer output, and then train the model to predict the masked part. In this way, the model gradually improves its ability to understand speech signals during the learning process and learns a richer and more abstract audio feature representation. In addition to obtaining the required audio features, the CNN-BiLSTM model is used to identify speech emotions so that the facial node prior map can be input in the subsequent process to assist in the generation of facial expressions. The process inputs audio data, extracts local features through the Convolutional Neural Network (CNN) layer, captures global temporal information through the Bi-directional Long-Short Term Memory (BiLSTM) layer, and finally outputs the audio emotion category through the fully connected layer. After the overall two-step process, the audio is converted into discrete speech units and related speech emotions, which are input into the cross-modal attention mechanism in the facial animation decoder.
[0060] Preferably, the facial animation decoder is specifically used to: use a fully connected layer to encode preset facial feature information to obtain facial feature information encoding; use a fully connected layer to encode the style embedding vector to obtain the style embedding vector encoding; add the facial feature information encoding and the style embedding vector encoding to obtain the facial feature information to be aligned; use a Transformer-decoder architecture with a cross-modal multi-head attention mechanism with position encoding, combined with emotional features and facial node prior graphs, to align and synchronize the audio context feature information and the facial feature information to be aligned, and obtain facial node feature information aligned with the audio.
[0061] Through the above, we obtain audio context feature information and a facial node prior graph containing LLM semantic knowledge. Therefore, in this step, we need to align the audio with the facial motion, and generate a detailed motion sequence by combining the facial node prior graph and the facial style. Preferably, a Transformer-decoder architecture with a position-encoded cross-modal multi-head attention mechanism is used as a decoder to receive the facial motion sequence.
[0062] Exemplarily, first, the feature information of the facial nodes given by the BIWI dataset is reduced in dimension by using a fully connected layer as a facial encoding to prevent its dimension from being too large. Combined with the style embedding vector of the One-Hot encoding, it can bring certain advantages to the generation of facial motion sequences when input into the facial animation decoder. After obtaining the style embedding block, a fully connected layer is used to increase its feature dimension and keep it consistent with the dimension of the facial node feature information. This process ensures that the encoding of the facial feature information and the style embedding vector can be added. Subsequently, these feature information are input into the facial animation decoder, and the first feature information input only has the encoding after the One-Hot dimension increase. After that, the input of each training process will add the facial feature information to it before sending it to the subsequent processing.
[0063] like Figure 4 As shown in the figure, the Transformer-decoder architecture of the facial animation decoder processes facial feature information. The key to this decoder is the cross-modal multi-head attention mechanism. The mechanism first performs a scaled dot product attention operation. This operation can be understood as calculating the self-attention weight through the multi-head attention mechanism at each position in the input facial node feature information to indicate the correlation between the position and other positions. Then the input is combined with the voice features of the audio, the emotions of the audio, and the facial feature information, and a weighted context representation is calculated through the cross-modal multi-head attention mechanism. This weighted context representation integrates and aligns the audio and facial motion information, so that the system can more accurately understand the relationship between audio and facial motion. After the alignment is completed, the facial feature dimension is increased to the required dimension through the fully connected layer, namely the facial decoding, to obtain the facial node feature information corresponding to the audio. The aligned facial node feature information is the predicted facial motion sequence. After obtaining the predicted facial motion sequence, it is input into the face region separation module to reconstruct the facial structure of the upper and lower halves.
[0064] Preferably, the face area separation module is specifically used to: define a first mask and a second mask, and determine an upper and lower face separation loss function model based on the first mask and the second mask; the first mask is used to identify the vertices of the upper half of the face; the second mask is used to identify the vertices of the area around the mouth; based on the upper and lower face separation loss function model, the upper and lower parts of the face are independently reconstructed according to the facial node feature information aligned with the audio, to obtain the predicted aligned facial feature information.
[0065] For example, in the training framework, if only the traditional mean square error reconstruction loss function is relied on, the lip synchronization effect is often unsatisfactory. In order to overcome this challenge, a loss function model for upper and lower face separation is designed. This model is independent of the audio input and focuses on improving the reconstruction accuracy of the upper and lower face parts. In the model, two masks are defined: the first mask M (upper) is used to identify the vertices of the upper half of the face, and the second mask M (mouth) is used to identify the vertices of the area around the mouth. The two masks are obtained by sorting and intercepting the template vertices. The introduction of these masks enables more refined modeling and optimization of vertices in different areas of the face. It ensures that the system can clearly distinguish which vertices belong to the upper face and which belong to the lower face. This method can model the upper and lower faces more finely, thereby achieving more accurate facial reconstruction and lip synchronization effects, and improving the overall facial animation quality. With the help of this novel face region separation module, not only the overall quality of facial animation is improved, but also the accuracy of lip synchronization is particularly enhanced. This makes it possible to accurately reproduce the speaker's lip movements while keeping other facial expressions natural and smooth, thus achieving a more realistic facial animation effect.
[0066] Furthermore, the above three-dimensional facial animation modular generation system further includes: a face rendering module. The face rendering module is used to perform face rendering on the predicted and aligned facial feature information to obtain a virtual human image video.
[0067] Preferably, the face rendering module is specifically used to: generate a facial node file according to the predicted aligned facial feature information, load the corresponding vertex parameters and calculate the mesh points through the Mesh function; use a renderer to rasterize the mesh points to obtain a series of coherent image frames and weave them into a virtual human image video.
[0068] For example, after obtaining the reconstructed facial motion sequence, the corresponding facial node files are generated, and the corresponding vertex parameters are loaded to calculate the mesh points through the Mesh function. These fine mesh points are sent to the renderer. In this process, the renderer performs rasterization processing and cleverly converts the three-dimensional model into a two-dimensional image. This conversion process includes mapping the geometric morphology and texture details in the three-dimensional scene to the two-dimensional pixel plane, and using pixelation and shading technology to accurately convert the three-dimensional geometric shape into a plane image. Finally, the renderer outputs a series of coherent images, which are woven into a continuous video, vividly showing the frame-by-frame changes of the face. In this way, it can not only dynamically display the natural flow of the generated face model in various postures and expressions, but also provide a strong technical support for the field of face synthesis and animation production.
[0069] The purpose of modular joint training of 3D facial animation is to train each module for cross-modal mapping. The detailed architecture is as follows: Figure 5 Based on this architecture, this application also provides the following model parameter training algorithm:
[0070] Input: audio (i.e. target audio stream), facial feature information
[0071] Output: Predicted aligned facial feature information
[0072] 1: Initialize model parameters
[0073] 2: while epoch<100then
[0074] 3: for all training batch on
[0075] 4: The audio feature encoder encodes the audio to obtain audio context feature information and emotional features
[0076] 5: Combine the facial vertex sequence with the facial style and embed it into the facial animation decoder. Introduce the facial node prior graph in the cross-modal attention mechanism module and align the audio context feature information to obtain the facial node feature information aligned with the audio.
[0077] 6: Input the facial node feature information aligned with the audio into the face region separation module to obtain the predicted and aligned facial feature information
[0078] 7: Calculate the difference between the predicted nodes and the actual nodes LOSS
[0079] 8: Update model parameters
[0080] 9: if current LOSS < system minimum LOSS
[0081] 10: Save the model
[0082] 11: Set the system LOSS as the current LOSS
[0083] 12: end if
[0084] 13: end for
[0085] As shown in the above algorithm, the overall training process can be divided into: 1. Initialize model parameters; 2. Encode the audio by the audio feature encoder to obtain audio context feature information and emotional features; 3. Combine the facial vertex sequence with the facial style and embed it into the facial animation decoder, introduce the facial node prior map in the cross-modal attention mechanism module and align the audio context feature information to obtain the facial node feature information aligned with the audio; 4. Input the facial node feature information aligned with the audio into the face area separation module to obtain the predicted aligned facial feature information; 5. Calculate the difference LOSS between the predicted node and the real node; 6. Update the model parameters; 7. Determine whether the current LOSS is the global optimal, if so, save the model; 8. Train for at least 100 rounds.
[0086] Based on the trained model, the user gives an audio input, and the model obtains the audio context feature information and emotional features of the audio and the corresponding facial node prior map through the audio feature encoder. Face templates with different styles and facial node feature information are used as the input of the facial animation decoder, and the audio features are aligned through a cross-modal multi-head attention mechanism. The facial node feature information is refined in combination with the facial node prior map corresponding to the emotion. The aligned facial node feature information is input into the face area separation module to refine the upper and lower faces, and then the face is rendered to obtain a virtual human image video that is consistent with the audio mouth shape. This application can be applied to virtual human applications that require corresponding mouth shapes in many industries such as games and virtual reality.
[0087] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0088] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A modular generation system for 3D facial animation, characterized in that: The three-dimensional facial animation modular generation system comprises: An audio feature encoder is used to extract, encode and quantize the target audio stream to obtain audio context feature information and emotional features; A facial animation decoder is used to align and synchronize audio context feature information and preset facial feature information based on emotional features, a facial node prior map, and a style embedding vector to obtain facial node feature information aligned with the audio; the facial node prior map is constructed based on the semantic knowledge of a large language model; and the style embedding vector is constructed based on One-Hot encoding; The face region separation module is used to independently reconstruct the upper and lower parts of the face according to the facial node feature information aligned with the audio, and obtain the predicted aligned facial feature information; the predicted aligned facial feature information is used to realize the virtual human application after facial rendering.
2. The modular generation system for three-dimensional facial animation according to claim 1, characterized in that: The three-dimensional facial animation modular generation system further includes: The facial node prior graph construction module is used to construct a facial node prior graph based on the semantic knowledge of the large language model; the facial node prior graph represents the facial node position information corresponding to different emotional features.
3. The modular generation system for three-dimensional facial animation according to claim 1, characterized in that: The three-dimensional facial animation modular generation system further includes: The style embedding vector construction module is used to construct a style embedding vector based on One-Hot encoding; the style embedding vector represents the facial node position information corresponding to different facial styles.
4. The modular generation system for three-dimensional facial animation according to claim 1, characterized in that: The audio feature encoder is specifically used for: The TCN model is used to extract features from the target audio stream to obtain an audio feature vector; A multi-level Transformer-encoder architecture is used to encode audio feature vectors to obtain the contextual relationship of feature temporal information; A quantizer is used to quantize the contextual relationship of the feature time sequence information to obtain audio context feature information; The CNN-BiLSTM model is used to extract features from the target audio stream to obtain emotional features.
5. The modular generation system for three-dimensional facial animation according to claim 2, characterized in that: The facial node prior graph construction module is specifically used for: Obtain several face templates; According to the different facial vertex position information of the face template, the corresponding expression labels are added to construct the facial expression dataset; The facial expression dataset and the emotion vectors corresponding to different expression labels are input into the T5 large language model, and a facial node prior graph is constructed based on the semantic knowledge of the large language model.
6. The modular generation system for three-dimensional facial animation according to claim 3, characterized in that: The style embedding vector building module is specifically used for: Obtain several face templates; According to the different styles of face templates, the style embedding vector is constructed based on One-Hot encoding.
7. The modular generation system for 3D facial animation according to claim 1, characterized in that: The facial animation decoder is specifically used for: A fully connected layer is used to encode the preset facial feature information to obtain the facial feature information encoding; Use a fully connected layer to encode the style embedding vector to obtain the style embedding vector encoding; Add the facial feature information encoding and the style embedding vector encoding to obtain the facial feature information to be aligned; A Transformer-decoder architecture with a cross-modal multi-head attention mechanism with position encoding is adopted. The emotional features and the facial node prior graph are combined to align and synchronize the audio context feature information and the facial feature information to be aligned, and obtain the facial node feature information aligned with the audio.
8. The modular generation system for 3D facial animation according to claim 1, characterized in that: The face region separation module is specifically used for: Define a first mask and a second mask, and determine an upper and lower face separation loss function model based on the first mask and the second mask; the first mask is used to identify vertices of the upper half of the face; the second mask is used to identify vertices of the area around the mouth; Based on the upper and lower face separation loss function model, the upper and lower parts of the face are independently reconstructed according to the facial node feature information aligned with the audio to obtain the predicted aligned facial feature information.
9. The modular generation system for 3D facial animation according to claim 1, characterized in that: The three-dimensional facial animation modular generation system further includes: The face rendering module is used to perform face rendering on the predicted and aligned facial feature information to obtain a virtual human image video.
10. The modular generation system for three-dimensional facial animation according to claim 9, characterized in that: The face rendering module is specifically used for: Generate facial node files based on the predicted aligned facial feature information, load the corresponding vertex parameters and calculate the mesh points through the Mesh function; The grid points are rasterized by a renderer to obtain a series of coherent image frames and weave them into a virtual human image video.
Citation Information
Cited By
Voice-driven facial animation simulation method based on facial muscle linkage
CN119579742A
Three-dimensional face animation generation method and device, equipment and medium
CN120451352A
A three-dimensional facial animation generation method, device, equipment and medium
CN120451352B
