Lip-actuated and model training method, device, equipment and medium

By extracting and transforming shared features in audio data, combining feature encoding and decoding, the accuracy and stability problems in virtual image lip-type drivers are solved, and feature adaptation and model generalization capabilities are realized between different lip-type driver tasks. Improvement.

CN117079664BActive Publication Date: 2024-11-05BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311036079.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-16
Publication Date
2024-11-05
Estimated Expiration
2043-08-16

AI Technical Summary

Technical Problem

The prior art has difficulty achieving high accuracy and stability in virtual avatar lip-type drives, especially in terms of feature sharing and adaptation between different lip-type drive tasks.

Method used

By extracting and transforming shared features in audio data, combining feature encoding and decoding, and adjusting model parameters, the accuracy and stability of the lip-drive results of virtual images are achieved.

Benefits of technology

The accuracy and stability of the lip drive results under different lip drive tasks are improved, feature interference and task conflict are avoided, and the generalization ability of the model is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117079664B_ABST
    Figure CN117079664B_ABST
Patent Text Reader

Abstract

The present disclosure provides a lip-activated driving and model training method, device, equipment and medium thereof, which relate to the field of artificial intelligence technology, especially to computer vision, virtual reality, augmented reality and other technologies, and can be used in digital humans and metaverse scenes. The specific implementation scheme is: obtaining predicted audio data and predicted driving reference data of predicted virtual images; extracting predicted shared audio features of predicted audio data under different lip-activated driving tasks; wherein the lip-activated driving tasks include tasks of lip-activated driving of different virtual images; performing feature transformation on the predicted shared audio features to obtain predicted task audio features under the predicted virtual image corresponding to the target lip-activated driving task; performing feature encoding on the predicted driving reference data to obtain predicted driving reference features; performing feature decoding on the predicted driving reference features and the predicted task audio features to determine the lip-activated driving results of the predicted virtual image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to computer vision, virtual reality, augmented reality and other technologies, which can be used in digital humans and metaverse scenarios. Background Art

[0002] With the continuous development of artificial intelligence technology, virtual image driving technology has emerged. Virtual image is a technology that uses information science methods to simulate the real image in different levels of form and function. In the development of virtual image technology, it is particularly important to drive the virtual image with lip movements so that the virtual image is constantly close to the real image. Summary of the invention

[0003] The present invention provides a lip-activated model and a model training method, device, equipment and medium.

[0004] According to one aspect of the present disclosure, a lip-activated method is provided, comprising:

[0005] Obtaining predicted audio data and predicted driving reference data of the predicted avatar;

[0006] Extracting predicted shared audio features of the predicted audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven different virtual images;

[0007] Performing feature transformation on the predicted shared audio features to obtain the predicted task audio features under the target lip-driven task corresponding to the predicted virtual image;

[0008] Performing feature encoding on the prediction driving reference data to obtain the prediction driving reference feature;

[0009] Feature decoding is performed on the predicted driving reference features and the predicted task audio features to determine the lip-driven results of the predicted virtual image.

[0010] According to another aspect of the present disclosure, a lip-driven model training method is also provided, comprising:

[0011] Acquire sample audio data, sample drive reference data of a virtual image corresponding to the sample audio data, and a sample drive label of the virtual image corresponding to the sample audio data;

[0012] Extracting sample audio data from shared audio features of samples under different lip-sync driving tasks; wherein the lip-sync driving tasks include tasks of lip-sync driving of different virtual images;

[0013] Perform feature transformation on the sample shared audio features to obtain the sample task audio features under different lip-driven tasks;

[0014] Performing feature encoding on the sample-driven reference data under the corresponding lip-driven task to obtain the sample-driven reference features under the corresponding lip-driven task;

[0015] Perform feature decoding on the sample task audio features and the sample driving reference features of the corresponding virtual image to obtain the lip-driven results of the corresponding virtual image;

[0016] According to the lip-driven results under different virtual images and the corresponding sample driven labels, the parameters to be trained in the lip-driven model are adjusted.

[0017] According to another aspect of the present disclosure, there is also provided an electronic device, including:

[0018] at least one processor; and

[0019] a memory communicatively connected to at least one processor; wherein,

[0020] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute any one of the lip-activated methods and / or lip-activated model training methods provided in the embodiments of the present disclosure.

[0021] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable a computer to execute any one of the lip-activated methods and / or lip-activated model training methods provided in the embodiments of the present disclosure.

[0022] According to the technology disclosed in the present invention, the accuracy and stability of lip-actuation results under different lip-actuation tasks are improved.

[0023] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0025] Figure 1 is a structural diagram of a lip-actuated driving model provided by an embodiment of the present disclosure;

[0026] Figure 2 is a flow chart of a lip-driven model training method provided by an embodiment of the present disclosure;

[0027] Figure 3 is a structural diagram of another lip-actuated driving model provided by an embodiment of the present disclosure;

[0028] Figure 4 is a flow chart of a feature transformation method provided by an embodiment of the present disclosure;

[0029] Figure 5 is a flow chart of a parameter fine-tuning method provided by an embodiment of the present disclosure;

[0030] Figure 6 is a flow chart of a lip-activated driving method provided by an embodiment of the present disclosure;

[0031] Figure 7 is a flow chart of a feature transformation method provided by an embodiment of the present disclosure;

[0032] Fig. 8A is a structural diagram of a lip-actuated driving model provided by an embodiment of the present disclosure;

[0033] Figure 8B It is a structural diagram of a lip-driven model provided by the prior art;

[0034] Figure 8C It is a comparison diagram of a two-dimensional lip-activated driving result before and after fine-tuning provided by an embodiment of the present disclosure;

[0035] Fig. 9 is a structural diagram of a lip-actuating device provided by an embodiment of the present disclosure;

[0036] Fig.10 is a structural diagram of a lip-driven model training device provided by an embodiment of the present disclosure;

[0037] Fig.11 It is a block diagram of an electronic device used to implement the lip-activated method and / or the lip-activated model training method according to the embodiments of the present disclosure. DETAILED DESCRIPTION

[0038] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0039] The disclosed embodiments are applicable to the case of lip-driven virtual images (such as digital human images). Since the lip-driven process needs to be implemented based on the lip-driven model, for ease of understanding, the training process of the lip-driven model will first be described in detail in combination with the network structure of the lip-driven model.

[0040] See also Figure 1The structure diagram of the lip-driven model shown in the figure, the lip-driven model 100 includes: an audio feature extraction network 101, an audio feature transformation network 102, at least one feature encoding network 103 and at least one feature decoding network 104; wherein,

[0041] The audio feature extraction network 101 is used to extract sample shared audio features of the sample audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven tasks for different virtual images;

[0042] An audio feature transformation network 102 is used to transform the sample shared audio features to obtain sample task audio features under different lip-driven tasks;

[0043] Each feature encoding network 103 is used to perform feature encoding under the corresponding lip-driven task on the sample driving reference data of different virtual images respectively, so as to obtain the sample driving reference features under the corresponding lip-driven task;

[0044] Each feature decoding network 104 is used to perform feature decoding on the sample task audio features under the lip-driven tasks corresponding to different virtual images, and the sample driving reference features of the corresponding virtual images, to obtain the lip-driven results under the corresponding virtual images.

[0045] Accordingly, during the model training process, the parameters to be trained in the lip-driven model are adjusted according to the lip-driven results under different virtual images and the sample driven labels under the corresponding virtual images.

[0046] Optionally, the lip-type driving model can be divided into lip-type driving sub-models dedicated to performing corresponding lip-type driving tasks for different virtual images; different lip-type driving sub-models can be jointly trained during the lip-type driving model training process; different lip-type driving sub-models can independently or jointly perform lip-type driving under corresponding lip-type driving tasks, and the present disclosure does not impose any limitations on this.

[0047] It should be noted that the number of feature encoding networks 103 and feature decoding networks 104 is the same. The figure only exemplifies the case where there are two of each, which should not be understood as a specific limitation on the number of the two.

[0048] exist Figure 1 Based on the network structure of the lip-driven model shown, the present disclosure also provides a lip-driven model training method, which can be executed by a lip-driven model training device. The device can be implemented in software and / or hardware and is specifically configured in an electronic device.

[0049] See also Figure 2 The lip-driven model training method shown includes:

[0050] S201. Acquire sample audio data, sample drive reference data of a virtual image corresponding to the sample audio data, and sample drive tags of the virtual image corresponding to the sample audio data.

[0051] The sample audio data may be understood as the audio data used as training samples when the model is trained. The virtual image corresponding to the sample audio data may be understood as the virtual image used when the image is lip-driven based on the sample audio data. The virtual image may include at least one of a two-dimensional virtual image and a three-dimensional virtual image, and the present disclosure does not impose any restrictions on the category and number of virtual images. The virtual image may be a virtual character or a virtual IP (Intellectual Property) image, and the present disclosure does not impose any restrictions on this.

[0052] Among them, the sample-driven reference data can be understood as the image description data of the virtual image used to display the sample audio data, which can include at least one of the image description data of the two-dimensional virtual image and the image description data of the three-dimensional virtual image. It is worth noting that the numerical range or semantics corresponding to the image description data corresponding to different virtual images may have certain differences. For example, the sample-driven reference data corresponding to the two-dimensional virtual image is two-dimensional image data, and its numerical range corresponds to the image pixel value range, that is, [0,255]; the semantics corresponding to each image pixel value can be RGB (RedGreenBlue) channel color. The sample-driven reference data corresponding to the three-dimensional virtual image can be three-dimensional vertex data, and its numerical range can be [-100,100], which is related to the field of view of the three-dimensional vertex data acquisition camera; the coordinates of each vertex represent the spatial position of the skin vertex of the three-dimensional virtual image.

[0053] The sample driving tag is used to represent the image description data of the ideal state or real state presented by the corresponding virtual image when the sample audio data drives the mouth shape of the corresponding virtual image. The sample driving tag can be collected by a technician or obtained by other methods of the prior art, and the present disclosure does not make any limitation on this.

[0054] It should be noted that the same sample audio data may correspond to sample drive reference data of at least one virtual image, and different sample drive reference data may correspond to different sample drive labels.

[0055] It is worth noting that the sample audio data, the sample driving reference data of the virtual image corresponding to the sample audio data, and the sample driving label of the virtual image corresponding to the sample audio data can be stored in the same or different storage devices or storage areas, respectively. The present disclosure does not impose any restrictions on the storage location of the above data. It is only necessary to ensure that the corresponding data can be obtained during model training.

[0056] S202, extracting sample shared audio features of the sample audio data under different lip-sync driving tasks; wherein the lip-sync driving task includes the task of lip-sync driving different virtual images.

[0057] Among them, the lip-sync driving task can be understood as a task of lip-sync driving a virtual image based on sample audio data. Since the present disclosure involves at least one virtual image, the lip-sync driving task can include a task of lip-sync driving different virtual images based on sample audio data. If the sample audio data corresponds to sample driving reference data under N (N≥1) virtual images, there are N lip-sync driving tasks based on the sample audio data, and different lip-sync driving tasks correspond to different virtual images.

[0058] Among them, the sample shared audio features are used to characterize the same sample audio data, which are shared features that can affect the lip shape changes of different virtual images under different lip shape driving tasks. It can be understood that since the extracted sample shared audio features can adapt to different lip shape driving tasks, the amount of information related to lip shape changes carried by the sample shared audio features is richer and more comprehensive, which helps to improve the accuracy of subsequent lip shape driving of different virtual images.

[0059] For example, it can be used Figure 1 The audio feature extraction network 101 shown extracts audio features shared by samples. The audio feature extraction network 101 can be implemented using at least one feature extraction network in the prior art, and the present disclosure does not impose any limitation on this. In a specific implementation, the audio feature extraction network can be an audio encoder, such as a mfcc (Mel-scale Frequency Cepstral Coefficients) time-frequency feature extraction network, or a wav2vec (audio vectorization) deep learning network.

[0060] S203: Perform feature transformation on the sample shared audio features to obtain sample task audio features under different lip-driven tasks.

[0061] The sample task audio features under any lip-driven task are used to characterize the feature distribution related to the lip-driven task carried in the sample shared audio features.

[0062] Because the sample shared audio features carry feature distributions that conform to different lip-driven tasks, the feature distributions under different lip-driven tasks may be synergistic or mutually inhibited. In order to ensure the accuracy and richness of the sample task audio features under different lip-driven tasks, it is necessary to eliminate irrelevant features and / or inhibitory features under other lip-driven tasks through feature transformation, and map the sample shared audio features under different feature distributions back to the feature distribution under each lip-driven task, thereby reducing the interference caused by the corresponding features under other lip-driven tasks and avoiding the loss of the corresponding features of the own lip-driven task.

[0063] For example, it can be used Figure 1 The audio feature transformation network 102 shown implements feature transformation of sample shared audio features to obtain sample task audio features under different lip-driven tasks.

[0064] S204 , performing feature encoding on the sample driving reference data under the corresponding lip-driven task to obtain the sample driving reference features under the corresponding lip-driven task.

[0065] The sample-driven reference feature is used to characterize the lip shape change information under the corresponding lip shape driving task carried in the sample-driven reference data.

[0066] Since there are certain differences in the numerical ranges or semantic representations corresponding to different sample-driven reference data, and different sample-driven reference data correspond to different lip-driven tasks, it is necessary to perform feature encoding under the corresponding lip-driven tasks for different sample-driven reference data, so as to achieve differentiated encoding processing of different sample-driven reference data, so that the encoded sample-driven reference features can be more matched with the task requirements under the corresponding lip-driven tasks.

[0067] For example, it can be used Figure 1 The feature encoding network 103 for different virtual images is shown to perform feature encoding on the sample drive reference data under the corresponding lip-driven task to obtain structured sample drive reference features.

[0068] S205 , feature decoding is performed on the sample task audio features and the sample driving reference features of the corresponding virtual image to obtain the lip-activated results of the corresponding virtual image.

[0069] For any lip-driven task corresponding to a virtual image, the sample task audio features under the lip-driven task carry the audio-lip-related change information associated with the virtual image; the sample driving reference features under the lip-driven task carry the image-lip-related change information associated with the virtual image. Therefore, by associating the sample task audio features and sample driving reference features under the same lip-driven task corresponding to the same virtual image for feature decoding, the fusion of lip-driven change information in different dimensions (audio-lip-related change information and image-lip-related change information) can be achieved, thereby improving the accuracy of the lip-driven result obtained by lip-driving the corresponding virtual image.

[0070] For example, it can be used Figure 1 The feature decoding network 104 for different virtual images is shown to perform feature decoding on the sample task audio features and the sample driving reference features of the corresponding virtual images to obtain the lip-driven results of the corresponding virtual images.

[0071] In an optional embodiment, for any lip-syncing driving task corresponding to a virtual image, the sample task audio features and the sample driving reference features under the lip-syncing driving task can be fused, and a unified feature decoding network can be used to perform feature decoding on the fusion result to obtain the lip-syncing driving result of the corresponding virtual image.

[0072] In another optional embodiment, for any lip-sync driving task corresponding to a virtual image, different feature decoding networks can be used to perform feature decoding on the sample task audio features under the lip-sync driving task and the corresponding sample driving reference features, and the feature decoding results can be fused to obtain the lip-sync driving result of the corresponding virtual image.

[0073] S206: Adjust the parameters to be trained in the lip-driven model according to the lip-driven results under different virtual images and the corresponding sample driven labels.

[0074] Since the network structure in the lip-driven model carries parameters to be trained, there may be certain differences between different lip-driven results and actual sample-driven labels during the training process. Therefore, the parameters to be trained in different network structures in the lip-driven model can be adjusted according to the difference between the lip-driven results under different virtual images and the corresponding sample-driven labels until the model training termination condition is met. Among them, the model training termination condition may include that the difference between the lip-driven result and the sample-driven label tends to be stable, the difference between the lip-driven result and the sample-driven label is less than a preset difference threshold, or the amount of training data reaches a preset quantity threshold, etc. Among them, the preset difference threshold and the preset quantity threshold can be set or adjusted by the technician according to needs or experience values, or determined through a large number of experiments, and the present disclosure does not make any limitation on this.

[0075] Exemplarily, for any lip-driven task corresponding to a virtual image, the difference between the lip-driven result of the virtual image and the corresponding sample driven label can be numerically quantified based on the feature loss between the lip-driven result of the virtual image and the sample driven label; and the parameters to be trained in the lip-driven model are adjusted according to the feature loss. The preset loss function can be set or adjusted by technicians according to needs or experience, or determined through a large number of experiments, and the present disclosure does not impose any limitation on this.

[0076] In an optional embodiment, all parameters to be trained in the lip-sync drive model may be adjusted during a single iteration of model training.

[0077] Since the sample audio data may only correspond to part of the lip-driven tasks rather than the entire amount, during the model training process, only the network structure related to the lip-driven tasks involved in the sample audio data is used for feature processing (such as at least one of feature extraction, feature transformation, feature encoding and feature decoding). In order to avoid the loss of learning ability of the network structure that is not used in this training process, in another optional embodiment, during a single iterative training process of the model training, only the parameters to be trained in the network structure used in this training process need to be adjusted.

[0078] It should be noted that S204 only needs to be completed before S205, and the present disclosure does not impose any limitation on the sequence between S204 and S201 to S203.

[0079] The disclosed embodiment extracts sample shared audio features of sample audio data under different lip-type driving tasks, so that the sample shared audio features contain lip shape change information under different lip-type driving tasks, thereby improving the richness and diversity of the sample shared audio features; by performing feature transformation on the sample shared audio features, sample task audio features under different lip-type driving tasks are obtained, which can eliminate irrelevant features or mutually inhibited features under other lip-type driving tasks for different lip-type driving tasks, reduce feature interference caused by other lip-type driving tasks, and retain some features of other lip-type driving tasks that cooperate and promote each other with the lip-type driving task itself, thereby achieving complementary advantages of features between different lip-type driving tasks, so that in the process of joint training of lip-type driving sub-models corresponding to different lip-type driving tasks in the lip-type driving model, conflicts between lip-type driving sub-models corresponding to lip-type driving tasks are avoided, the training advantages of different lip-type driving sub-models are taken into account, the model accuracy and generalization ability of different lip-type driving sub-models are guaranteed, and the accuracy and stability of lip-type driving results corresponding to different lip-type driving sub-models are improved.

[0080] exist Figure 1 Based on the structure diagram of the lip-actuated model shown in Figure 3 , the lip-actuated drive model 300 shown can be Figure 1 The audio feature transformation network 102 shown is refined to include a spatial mapping network 1021 and a feature enhancement network 1022.

[0081] The spatial mapping network 1021 is used to map the sample shared audio features to the same numerical space to obtain sample spatial mapping features;

[0082] The feature enhancement network 1022 is used to map features of the sample space, perform feature enhancement under different lip-driven tasks, and obtain sample task audio features under different lip-driven tasks.

[0083] It can be understood that, since the number of lip-driven tasks is at least one, the number of feature enhancement networks 1022 also corresponds to at least one, thereby achieving a one-to-one correspondence between the lip-driven tasks and the feature enhancement networks 1022.

[0084] exist Figure 3 Based on the structure diagram of the lip-driven model shown, the present disclosure also provides an optional embodiment, in which the feature transformation process of the sample shared audio features is optimized and improved. It should be noted that for the parts not described in detail in the embodiments of the present disclosure, please refer to the relevant descriptions of other embodiments, and will not be repeated here.

[0085] See also Figure 4 A feature transformation method shown includes:

[0086] S401, mapping sample shared audio features to the same numerical space to obtain sample space mapping features.

[0087] Since the sample shared audio features can adapt to different lip-driven tasks and carry the lip shape change information under different lip-driven tasks, and the numerical ranges or semantic representations adapted to different lip-driven tasks are different, the numerical spaces corresponding to the sample shared audio features extracted under different lip-driven tasks have certain differences. In order to avoid the above factors affecting the accuracy of the lip-driven results of different lip-driven tasks, the sample shared audio features can be mapped to a unified numerical space, so that the sample task audio features under different lip-driven tasks can be more focused on the learning of lip shape features, eliminating the influence caused by the differences in numerical ranges or semantic representations, and at the same time improving the universality and standardization of the feature transformation process for different lip-driven tasks.

[0088] For example, it can be used Figure 3 The spatial mapping network 1021 shown maps the sample shared audio features to the same numerical space to obtain the sample spatial mapping features. The spatial mapping network can be implemented using at least one network structure in the prior art, and the present disclosure does not make any limitation on this.

[0089] In a specific implementation, the spatial mapping network can be implemented using a distribution transformation module such as VAE (Variational AutoEncoder).

[0090] In another specific implementation, a normalization module can also be used to normalize the sample shared audio features to map the sample shared audio features to the same numerical space to obtain sample space mapping features. The advantage of doing so is that the convenience of the space mapping process is improved and the amount of data calculation is reduced, thereby improving the efficiency of model training.

[0091] S402: Perform feature enhancement under different lip-driven tasks on the sample space mapping features to obtain sample task audio features under different lip-driven tasks.

[0092] By mapping the features in sample space and performing feature enhancement under different lip-driven tasks, the shared audio features of samples in a unified numerical space (that is, the sample space mapping features) can be mapped back to the feature distribution under different lip-driven tasks, making the feature enhancement results more task-specific, reducing the mutual interference of features between different lip-driven tasks, enhancing the synergistic promotion of features between different lip-driven tasks, and realizing the complementary advantages of different lip-driven tasks.

[0093] For example, it can be used Figure 3 The feature enhancement network 1022 shown maps features in the sample space and performs feature enhancement under different lip-driven tasks to map the shared audio features of the samples in the unified numerical space back to the feature distribution under each lip-driven task, thereby obtaining the sample task audio features under different lip-driven tasks.

[0094] In a specific implementation, a feature enhancement module can be constructed based on the self-attention mechanism in the Transformer model.

[0095] In another specific implementation, a variance modulation module and a nonlinear transformation module may be used to jointly construct a feature enhancement network.

[0096] Exemplarily, the variance modulation module can be used to perform variance modulation on the sample space mapping features under different lip-driven tasks to obtain sample variance modulation features; the nonlinear transformation module can be used to perform nonlinear transformation on the sample variance modulation features under the corresponding lip-driven tasks to obtain sample task audio features under the corresponding lip-driven tasks.

[0097] For any lip-driven task, through variance modulation, linear features in the audio features shared by samples in a unified numerical space can be extracted, so that the feature extraction results can be more adapted to the linear feature distribution under the corresponding lip-driven task; through nonlinear transformation, nonlinear features in the audio features shared by samples in a unified numerical space can be extracted, so that the feature extraction results can be more adapted to the nonlinear feature distribution under the corresponding lip-driven task. By jointly extracting linear features and nonlinear features, the omission of key information related to lip shape changes under the corresponding lip-driven task is avoided, thereby improving the accuracy and richness of the audio features of sample tasks under different lip-driven tasks. In addition, due to the low complexity of the data processing process of variance modulation and nonlinear changes, the convenience of the feature enhancement process is improved, thereby improving the efficiency of feature enhancement, and then improving the efficiency of model training.

[0098] Specifically, the following formula can be used to perform variance modulation on the sample space mapping feature:

[0099]

[0100] in, is the sample space mapping feature; B is the batch size; C is the number of feature channels; H is the feature length; W is the feature width; is the sample space mapping feature corresponding to the i-th feature channel; is the characteristic modulation parameter, which can be learned through model training; K iis the characteristic modulation parameter corresponding to the i-th characteristic channel; is the sample variance modulation feature.

[0101] Due to the difference in pronunciation style of virtual images of the same category, the lip shape change information carried by the extracted sample shared audio features will be more stylized. Through variance modulation processing, the diversity of the stylized lip shape information learned can be improved (such as the difference in lip shape size between men and women and the difference in lip shape for different pronunciations, etc.); at the same time, large differences in stylized lip shapes will lead to drastic fluctuations in the value range. Through variance modulation processing, such differences can be controlled within a smaller range of variation, avoiding the instability of the learning process caused by too large a value range, making the model learning process easier and reducing the back-propagation gradient of the parameter adjustment process.

[0102] Specifically, the nonlinear transformation module can be implemented using at least one nonlinear activation function in the prior art, thereby achieving nonlinear mapping of sample variance modulation features, avoiding the loss of nonlinear features, and affecting the feature richness and diversity of sample task audio features.

[0103] It can be understood that since the spatial mapping network 1021 and the feature enhancement network 1022 in the audio feature transformation network 102 do not change the feature size of the sample space mapping feature, it is possible to add the audio feature transformation network 102 on the basis of reusing the existing framework (audio feature extraction network 101, feature encoding network 103 and feature decoding network 104) of the lip-driven sub-model corresponding to different lip-driven tasks, and there is no need to change the loss function of the lip-driven sub-model corresponding to any lip-driven task, thus achieving plug-and-play and good convenience.

[0104] The disclosed embodiment maps the sample shared audio features to the same numerical space, so that the obtained sample space mapping features can be more focused on the learning of lip-shaped features, eliminating the impact of different numerical ranges or semantic representations adapted under different lip-shaped driving tasks on subsequent feature processing. At the same time, through feature enhancement, the sample shared audio features under the unified numerical space are mapped back to the feature distribution of each different lip-shaped driving task, making the feature enhancement process more targeted, reducing the mutual interference of features between different lip-shaped driving tasks, and enhancing the synergistic promotion between different lip-shaped driving tasks, thereby achieving complementary advantages in the learning process of different lip-shaped driving tasks, and further ensuring the model performance of the lip-shaped driving sub-model corresponding to different lip-shaped driving tasks.

[0105] In the process of training the lip-driven model, sample-driven reference data and sample-driven labels under different virtual images can be obtained based on sample audio data, and based on the obtained data, joint training of each lip-driven sub-model under the lip-driven tasks corresponding to different virtual images can be performed.

[0106] However, due to the different difficulties in obtaining sample-driven labels corresponding to different virtual images, the same sample audio data does not have the sample-driven labels under the full amount of virtual images (for example, the sample-driven labels corresponding to three-dimensional virtual images have a higher collection cost, so their data volume is much smaller than the sample-driven labels corresponding to two-dimensional virtual images). Therefore, it may not be possible to calculate the feature loss under the full lip-driven task in the same iterative training process.

[0107] In order to overcome the above problem, in an optional embodiment, during the training of the lip-sync drive model, the parameters to be trained associated with the corresponding lip-sync drive tasks in the lip-sync drive model can be adjusted alternately according to different preset iteration numbers for different lip-sync drive tasks. The preset iteration numbers corresponding to different lip-sync drive tasks are determined based on the data volume of the sample audio data itself.

[0108] The data volume of the sample audio data of each lip-driven task itself can be understood as the data volume of the sample audio data associated with the sample driven tag corresponding to each lip-driven task.

[0109] Take the sample drive labels of the virtual image, which include sample image data of the two-dimensional virtual image and sample vertex data (three-dimensional) of the three-dimensional virtual image, as an example for explanation. Since the sample vertex data is usually obtained by multi-view scanning of the camera array, the time cost and manpower cost of the data scanning process are high. Therefore, the data volume of the sample vertex data is usually much smaller than the data volume of the sample image data (such as the data duration difference of the corresponding sample audio data is three orders of magnitude). At this time, a step-by-step alternating iteration strategy can be introduced: each iteration trains the two-dimensional lip-type drive task corresponding to the two-dimensional virtual image N times (that is, only adjusts the parameters to be trained corresponding to the two-dimensional lip-type drive task), and then iterates the three-dimensional lip-type drive task corresponding to the three-dimensional virtual image once (that is, only adjusts the parameters to be trained corresponding to the three-dimensional lip-type drive task). Wherein, N=l 2D / (l 3D *a). Where a is an empirical value, for example, it can be 20; 2D is the data duration of the sample image data corresponding to the sample audio data; l 3D The data duration of the sample vertex data corresponding to the sample audio data.

[0110] It is worth noting that the above description only uses two-dimensional virtual images and three-dimensional virtual images as examples, and should not be understood as a specific limitation on the number and type of virtual images. In addition, there is no limitation on the order of iteration of two-dimensional virtual images and three-dimensional virtual images, and it is only necessary to ensure the ratio of the number of iterations of the two.

[0111] The above-mentioned scheme of the embodiment of the present disclosure solves the problem of the inability to synchronously adjust the parameters to be trained corresponding to the lip-drive sub-models of different lip-drive tasks in the lip-drive model due to the imbalance of data volume under different virtual images by introducing a step-by-step alternating iteration method, and realizes the step-by-step orderly adjustment of different parameters to be trained in the lip-drive model.

[0112] Since there are certain differences in the amount of sample audio data corresponding to different lip-driven tasks, the following problems exist in the process of jointly training the parameters to be trained corresponding to each lip-driven task in the lip-driven model using the above-mentioned distributed alternating iteration method: the parameters to be trained corresponding to the lip-driven tasks with smaller data volumes converge faster; the parameters to be trained corresponding to the lip-driven tasks with larger data volumes converge slower. When the data volumes of sample audio data corresponding to different lip-driven tasks differ significantly (such as a difference of three orders of magnitude), the difference in their convergence speeds is also large (such as a difference of 15 times), resulting in the lip-driven tasks with smaller data volumes providing less help in the learning process of the parameters corresponding to the lip-driven tasks with larger data volumes, resulting in the joint training effect of the lip-driven sub-model with larger data volumes and other lip-driven sub-models not being significantly improved compared to the separate model training.

[0113] In order to overcome the above problems, in an optional embodiment, after the lip-type driving task with a smaller data volume converges, a pseudo-label can be generated based on the lip-type driving task with a larger data volume, and the pseudo-label can be combined with the lip-type driving task with a larger data volume to perform joint fine-tuning of the trained parameters corresponding to different lip-type driving tasks, thereby achieving the purpose of mutual improvement of the training effects of different lip-type driving tasks.

[0114] It should be noted that the electronic device for executing the parameter fine-tuning method and the electronic device for performing the aforementioned lip-driven model training method may be the same or different, and the present disclosure does not impose any limitation on this.

[0115] See also Figure 5 The parameter fine-tuning method shown includes:

[0116] S501, obtaining fine-tuning audio data, fine-tuning driving reference data and a fine-tuning driving label of a first virtual image corresponding to the fine-tuning audio data, and fine-tuning driving reference data of a second virtual image.

[0117] Among them, the data volume of the sample audio data corresponding to the first virtual image is greater than the data volume of the sample audio data corresponding to the second virtual image.

[0118] Among them, the fine-tuning audio data can be understood as audio data specifically used to fine-tune the trained parameters in the trained lip-driven model; the fine-tuning driving reference data can be understood as the image description data of the virtual image used to display the fine-tuning audio data; the fine-tuning driving label can be understood as the image description data of the ideal state or real state presented by the corresponding virtual image when the fine-tuning audio data drives the lip shape of the corresponding virtual image.

[0119] It should be noted that the fine-tuning audio data here only corresponds to the fine-tuning driving tag of the first virtual image, but does not correspond to the fine-tuning driving tag of the second virtual image.

[0120] It is worth noting that the fine-tuning audio data, the sample driving reference data of the fine-tuning audio data corresponding to different virtual images, and the fine-tuning driving label of the fine-tuning audio data corresponding to the first virtual image can be stored in the same or different storage devices or storage areas respectively. The present disclosure does not impose any limitation on the storage location of the above data, but only needs to ensure that the corresponding data can be obtained when fine-tuning the parameters.

[0121] S502. After the trained parameters corresponding to the lip-sync driving task of the second virtual image converge, based on the trained lip-sync driving model, according to the fine-tuning audio data and the fine-tuning driving reference data of the second virtual image, determine the fine-tuning pseudo-label under the lip-sync driving task corresponding to the second virtual image.

[0122] Since the convergence speed of the lip-driven task of the second virtual image with a smaller data volume is higher than that of the lip-driven task of the first virtual image with a larger data volume, the subsequent lip-driven task of the second virtual image cannot continue to improve the accuracy and generalization of the lip-driven task of the first virtual image. Therefore, it is necessary to use fine-tuning pseudo labels as fine-tuning drive labels of the second virtual image, combined with the fine-tuning drive reference data and fine-tuning drive labels of the first virtual image, and jointly fine-tune the trained parameters in the lip-driven model.

[0123] The fine-tuning audio data and the fine-tuning driving reference data of the second virtual image are used as the input of the trained lip-type driving model to determine the lip-type prediction result when performing the lip-type driving task corresponding to the second virtual image, and the lip-type prediction result is used as the fine-tuning pseudo-label of the lip-type driving task corresponding to the second virtual image.

[0124] Among them, the fine-tuned pseudo-label can be understood as the image description data of the second virtual image predicted based on the model, rather than the fine-tuned driving label obtained by actual collection.

[0125] Exemplarily, the fine-tuning shared audio features of the fine-tuning audio data under different lip-driven tasks can be extracted; the fine-tuning shared audio features can be transformed to obtain the fine-tuning task audio features under the lip-driven task corresponding to the second virtual image; the fine-tuning drive reference data can be feature encoded to obtain the fine-tuning drive reference features; the fine-tuning drive reference features and the fine-tuning task audio features can be feature decoded to determine the lip-driven prediction result of the second virtual image corresponding to the lip-driven task, and the lip-driven prediction result can be used as the fine-tuning pseudo-label of the lip-driven task corresponding to the second virtual image.

[0126] Specific, combined Figure 1 The lip-sync driving model shown can extract the fine-tuning shared audio features of the fine-tuning audio data under different lip-sync driving tasks through the audio feature extraction network 101; perform feature transformation on the fine-tuning shared audio features through the audio feature transformation network 102 to obtain the fine-tuning task audio features under the lip-sync driving task corresponding to the second virtual image; perform feature encoding on the fine-tuning driving reference data through the feature encoding network 103 under the lip-sync driving task corresponding to the second virtual image to obtain the fine-tuning driving reference features; perform feature decoding on the fine-tuning driving reference features and the fine-tuning task audio features through the feature decoding network 104 under the lip-sync driving task corresponding to the second virtual image to determine the lip prediction result of the lip-sync driving task corresponding to the second virtual image.

[0127] Among them, the fine-tuning shared audio features are used to characterize the fine-tuning audio data, which are shared features that can affect the lip shape changes of different virtual images under different lip shape driving tasks; the fine-tuning task audio features are used to characterize the feature distribution carried in the fine-tuning shared audio features, which is only related to the lip shape driving task corresponding to the second virtual image; the fine-tuning drive reference features are used to characterize the lip shape change information carried in the fine-tuning drive reference data under the lip shape driving task corresponding to the second virtual image.

[0128] S503, fine-tuning the trained parameters related to the joint fine-tuning task in the trained lip-driven model according to the fine-tuning audio data, the fine-tuning driving reference data of the first virtual image, the fine-tuning driving reference data of the second virtual image, the fine-tuning driving label and the fine-tuning pseudo-label.

[0129] The joint fine-tuning task includes a lip-syncing driving task corresponding to the first virtual image and a lip-syncing driving task corresponding to the second virtual image.

[0130] Exemplarily, the fine-tuning shared audio features of the fine-tuning audio data under different lip-drive tasks can be extracted; the fine-tuning shared audio features are subjected to feature transformation to obtain the fine-tuning task audio features under different lip-drive tasks; for any one of the first virtual image and the second virtual image, the fine-tuning drive reference data of the virtual image is feature encoded under the corresponding lip-drive task to obtain the fine-tuning drive reference features of the virtual image; wherein the current virtual image includes the first virtual image and the second virtual image; the fine-tuning task audio features and the fine-tuning drive reference features corresponding to the virtual image are feature decoded to obtain the fine-tuning lip-drive results of the virtual image; and the trained parameters related to the joint fine-tuning task in the trained lip-drive model are fine-tuned according to the fine-tuning lip-drive results of the first virtual image, the fine-tuning lip-drive results of the second virtual image, the fine-tuning drive labels and the fine-tuning pseudo-labels.

[0131] In a specific implementation, Figure 1 The lip-driven model shown can extract fine-tuning shared audio features of fine-tuning audio data under different lip-driven tasks through an audio feature extraction network 101; perform feature transformation on the fine-tuning shared audio features through an audio feature transformation network 102 to obtain the fine-tuning task audio features under the lip-driven task corresponding to the first virtual image, and the fine-tuning task audio features under the lip-driven task corresponding to the second virtual image, respectively; perform feature encoding on the fine-tuning driving reference data of the first virtual image through a feature encoding network 103 under the lip-driven task corresponding to the first virtual image to obtain the fine-tuning driving reference features under the lip-driven task corresponding to the first virtual image; perform feature encoding on the fine-tuning driving reference data of the second virtual image through a feature encoding network 103 under the lip-driven task corresponding to the second virtual image to obtain the fine-tuning driving reference features under the lip-driven task corresponding to the second virtual image The fine-tuning driving reference features under the lip-type driving task; the fine-tuning driving reference features under the lip-type driving task corresponding to the first virtual image and the audio features of the fine-tuning task are feature decoded through the feature decoding network 104 under the lip-type driving task corresponding to the first virtual image, and the fine-tuning lip-type driving result of the lip-type driving task corresponding to the first virtual image is determined; the fine-tuning driving reference features under the lip-type driving task corresponding to the second virtual image and the audio features of the fine-tuning task are feature decoded through the feature decoding network 104 under the lip-type driving task corresponding to the second virtual image, and the fine-tuning lip-type driving result of the lip-type driving task corresponding to the second virtual image is determined; according to each lip-type driving prediction result, the trained parameters related to the lip-type driving task corresponding to the first virtual image and the trained parameters related to the lip-type driving task corresponding to the second virtual image are jointly reversely fine-tuned.

[0132] When performing joint fine-tuning of parameters, the first feature loss between the fine-tuned lip-driven result of the first virtual image and the fine-tuned driving label can be determined based on the first preset loss function; the second feature loss between the fine-tuned lip-driven result of the second virtual image and the fine-tuned pseudo-label can be determined based on the second preset loss function; according to the first feature loss and the second feature loss, the trained parameters related to the lip-driven task corresponding to the first virtual image and the trained parameters related to the lip-driven task corresponding to the second virtual image are jointly fine-tuned. Among them, the first preset loss function and the second preset loss function can be set by technicians according to needs or experience, or determined repeatedly through a large number of experiments, and the two can be the same or different, and the present disclosure does not make any limitation on this.

[0133] Optionally, the trained parameters related to the lip-type driving task corresponding to the first virtual image and the trained parameters related to the lip-type driving task corresponding to the second virtual image are jointly fine-tuned according to the first feature loss and the second feature loss. The method may be: fine-tuning the trained parameters related to the lip-type driving task corresponding to the first virtual image according to the first feature loss; and fine-tuning the trained parameters related to the lip-type driving task corresponding to the second virtual image according to the second feature loss.

[0134] Or optionally, based on the first feature loss and the second feature loss, the trained parameters related to the lip-type driving task corresponding to the first virtual image and the trained parameters related to the lip-type driving task corresponding to the second virtual image are jointly fine-tuned. It can also be: based on the first feature loss and the second feature loss, a comprehensive feature loss is determined; based on the comprehensive feature loss, the trained parameters related to the lip-type driving task corresponding to the first virtual image and the trained parameters related to the lip-type driving task corresponding to the second virtual image are separately fine-tuned.

[0135] In order to ensure the robustness of the lip-driven model during the joint fine-tuning process, the learning rate of the lip-driven task corresponding to the second virtual image with a smaller amount of data can also be lowered. The degree of reduction in the learning rate can be set by the technician according to needs or experience, or determined through a large number of experiments, and the present disclosure does not impose any restrictions on this. In a specific implementation, the learning rate can be set to 1 / 10 of that in the model training stage.

[0136] It is understandable that, since the trained parameters are jointly supervised by the lip-syncing task corresponding to the first virtual image and the lip-syncing task corresponding to the second virtual image during the parameter fine-tuning process, the problem of asynchronous parameter updating caused by the difference in data volume during the step-by-step alternating iterative training can be avoided, which significantly improves the parameter training effect of the lip-syncing task with a large amount of data.

[0137] It should be noted that the first virtual image and the second virtual image are only schematic illustrations of the parameter fine-tuning process, and cannot be understood as a specific limitation on the number of virtual images involved in the parameter fine-tuning process. The second virtual image that does not include the fine-tuning driving parameters may include at least one category.

[0138] In a specific implementation, the first virtual image may be a two-dimensional virtual image; and the second virtual image may be a three-dimensional virtual image.

[0139] The above describes in detail the joint training process of the lip-driven model under different lip-driven tasks. The following will describe in detail the lip-driven process based on the lip-driven model based on the aforementioned lip-driven models. It should be noted that for the parts not described in detail in the embodiments disclosed in this disclosure, please refer to the relevant descriptions of other embodiments, and will not be repeated here.

[0140] It is worth noting that the electronic device for executing the lip-driven method, the electronic device for executing the parameter fine-tuning method, and the electronic device for executing the lip-driven model training method may be the same or at least partially different, and the present disclosure does not make any limitation on this.

[0141] See also Figure 6 A lip-activated driving method is shown, comprising:

[0142] S601: Acquire predicted audio data and predicted driving reference data of a predicted virtual image.

[0143] The predicted audio data can be understood as the audio data used in the process of predicting the lip-driven task using the lip-driven model. The predicted virtual image can be understood as the virtual image used when the lip-driven image is driven based on the predicted audio data. The predicted virtual image can be a two-dimensional virtual image or a three-dimensional virtual image, etc., and it is only necessary to ensure that the predicted virtual image is one of the virtual images used in the lip-driven model training process. The predicted driving reference data can be understood as the image description data of the predicted virtual image.

[0144] Among them, the predicted audio data and the predicted driving reference data can be stored in the same or different storage devices or storage areas respectively. The present disclosure does not impose any restrictions on the specific storage locations of the two. It is only necessary to ensure that the corresponding data can be obtained when lip-driven driving is required.

[0145] S602, extracting predicted shared audio features of the predicted audio data under different lip-sync driving tasks; wherein the lip-sync driving tasks include tasks of lip-sync driving for different virtual images.

[0146] Among them, the predicted shared audio features are used to characterize the predicted audio data, which are shared features that can affect the lip shape changes of different virtual images under different lip shape driving tasks. It can be understood that since the extracted predicted shared audio features can adapt to different lip shape driving tasks, the amount of information related to lip shape changes carried by the predicted shared audio features is richer and more comprehensive, which helps to improve the accuracy of subsequent lip shape driving results.

[0147] For example, it can be used Figure 1 The audio feature extraction network 101 shown in the figure is used to extract the predicted shared audio features. The audio feature extraction network 101 can be implemented by using at least one feature extraction network in the prior art, and the present disclosure does not impose any limitation on this. In a specific implementation, the audio feature extraction network can be an audio encoder, such as an mfcc time-frequency feature extraction network, or a wav2vec deep learning network.

[0148] S603: Perform feature transformation on the predicted shared audio features to obtain predicted task audio features under the target lip-driven task corresponding to the predicted virtual image.

[0149] The predicted task audio features are used to characterize the distribution of features related to the target lip-syncing driving task carried in the predicted shared audio features. The target lip-syncing driving task can be understood as a task of lip-syncing driving the predicted virtual image.

[0150] Because the predicted shared audio features carry feature distributions that conform to different lip-driven tasks, the feature distributions under different lip-driven tasks may be synergistic or mutually inhibited. In order to reduce the negative impact of features under different lip-driven tasks on the features under the target lip-driven task (such as mutual inhibition or noise interference, etc.), and further improve the accuracy and richness of the audio features of the predicted task corresponding to the target lip-driven task, it is necessary to eliminate irrelevant features and / or inhibitory features under other lip-driven tasks through feature transformation, and map the predicted shared audio features back to the feature distribution under the target lip-driven task, thereby reducing the interference caused by corresponding features under other lip-driven tasks and avoiding the loss of corresponding features of the target lip-driven task.

[0151] For example, it can be used Figure 1 The audio feature transformation network 102 shown implements feature transformation of the predicted shared audio features to obtain the predicted task audio features under the target lip-driven task.

[0152] S604: Feature encoding is performed on the predicted driving reference data to obtain predicted driving reference features.

[0153] The predicted driving reference feature is used to characterize the lip shape change information under the corresponding lip shape driving task carried in the predicted driving reference data.

[0154] For the predicted driving reference data under the target lip-driven task, feature encoding under the target lip-driven task is performed accordingly to obtain predicted feature driving reference features that match the task requirements of the target lip-driven task.

[0155] For example, it can be used Figure 1 The feature encoding network 103 for predicting the virtual image performs feature encoding on the predicted driving reference data under the target lip-driven task to obtain structured predicted driving reference features.

[0156] S605 , feature decoding is performed on the predicted driving reference features and the predicted task audio features to determine the lip-driven results of the predicted virtual image.

[0157] Since the prediction task audio features under the target lip-driven task carry the audio-lip-shaped correlation change information associated with the predicted virtual image, and the prediction driving reference features under the target lip-driven task carry the image-lip-shaped correlation change information associated with the predicted virtual image, therefore, by associating the prediction task audio features and the prediction driving reference features under the target lip-driven task for feature decoding, the fusion of lip-shaped change information in different dimensions (audio-lip-shaped correlation change information and image-lip-shaped correlation change information) can be achieved, thereby improving the accuracy of the lip-driven results obtained by lip-driven prediction of the virtual image.

[0158] For example, it can be used Figure 1 The feature decoding network 104 for predicting the virtual image is shown to perform feature decoding on the predicted task audio features and the predicted driving reference features to obtain the lip-activated results of the corresponding virtual image.

[0159] In an optional embodiment, the predicted task audio features and the predicted driving reference features under the target lip-driven task can be fused, and a unified feature decoding network can be used to perform feature decoding on the fusion result to obtain the predicted lip-driven result of the virtual image.

[0160] In another optional embodiment, different feature decoding networks can be used to perform feature decoding on the predicted task audio features under the target lip-driven task and the predicted driving reference features, and the feature decoding results can be fused to obtain the predicted lip-driven results of the virtual image.

[0161] It should be noted that S604 only needs to be completed before S605, and the present disclosure does not impose any limitation on the sequence of S604 and S601 to S603.

[0162] The disclosed embodiment extracts predicted shared audio features of predicted audio data under different lip-type driving tasks, so that the predicted shared audio features contain lip shape change information under different lip-type driving tasks, thereby improving the richness and diversity of the predicted shared audio features; by performing feature transformation on the predicted shared audio features, the predicted task audio features under the target lip-type driving task are obtained, which can eliminate irrelevant features or mutually inhibited features under other lip-type driving tasks for the target lip-type driving task, reduce feature interference caused by other lip-type driving tasks, and retain some features in other lip-type driving tasks that synergize and promote the target lip-type driving task, thereby achieving complementary advantages of features between different lip-type driving tasks, thereby improving the accuracy and stability of lip-type driving results when predicting lip-type driving results under the target lip-type driving task in the lip-type driving model.

[0163] exist Figure 3 Based on the structure diagram of the lip-driven model shown, the present disclosure also provides an optional embodiment, in which the feature transformation process for predicting shared audio features is optimized and improved. It should be noted that for the parts not described in detail in the embodiments of the present disclosure, reference can be made to the relevant descriptions of other embodiments, and no further description will be given here.

[0164] See also Figure 7 The feature transformation methods shown include

[0165] S701: Map the predicted shared audio features to the same numerical space to obtain predicted space mapping features.

[0166] Since the predicted shared audio features can adapt to different lip-driven tasks and carry the lip shape change information under different lip-driven tasks, and the numerical ranges or semantic representations adapted to different lip-driven tasks are different, the numerical spaces corresponding to the predicted shared audio features extracted under different lip-driven tasks have certain differences. In order to avoid the above factors affecting the accuracy of the lip-driven results of different lip-driven tasks, the predicted shared audio features can be mapped to a unified numerical space, so that the predicted task audio features under different lip-driven tasks can be more focused on the learning of lip shape features, eliminating the influence caused by differences in numerical ranges or semantic representations, and at the same time improving the universality and standardization of the feature transformation process for different lip-driven tasks.

[0167] For example, it can be used Figure 3The spatial mapping network 1021 shown maps the predicted shared audio features to the same numerical space to obtain predicted spatial mapping features. The spatial mapping network can be implemented using at least one network structure in the prior art, and the present disclosure does not make any limitation thereto.

[0168] In a specific implementation, the spatial mapping network can be implemented using a distributed transformation module such as VAE.

[0169] In another specific implementation, a normalization module can also be used to normalize the predicted shared audio features to map the predicted shared audio features to the same numerical space to obtain predicted spatial mapping features. The advantage of this is that the convenience of the spatial mapping process is improved and the amount of data calculation is reduced, thereby improving the model prediction efficiency.

[0170] S702: Perform feature enhancement under the target lip-driven task on the predicted spatial mapping feature to obtain the predicted task audio feature.

[0171] By using the predicted space mapping features to enhance the features under the target lip-driven task, the predicted shared audio features under the unified numerical space (i.e., the predicted space mapping features) can be mapped back to the feature distribution under the target lip-driven task, making the feature enhancement results more task-specific, reducing the mutual interference of other lip-driven tasks on the corresponding features of the target lip-driven task, enhancing the synergistic promotion of other lip-driven tasks on the corresponding features of the target lip-driven task, and realizing the complementary advantages between tasks.

[0172] For example, it can be used Figure 3 The feature enhancement network 1022 shown performs feature enhancement on the predicted space mapping features under the target lip-driven task, so as to map the predicted shared audio features under the unified numerical space back to the feature distribution under the target lip-driven task, and obtain the predicted task audio features under the target lip-driven task.

[0173] In a specific implementation, a feature enhancement module can be constructed based on the self-attention mechanism in the Transformer model.

[0174] In another specific implementation, a variance modulation module and a nonlinear transformation module may be used to jointly construct a feature enhancement network.

[0175] Exemplarily, the variance modulation module can be used to perform variance modulation on the predicted spatial mapping features under the target lip-shaped driving task to obtain the predicted variance modulation features; the nonlinear transformation module can be used to perform nonlinear transformation on the predicted variance modulation features under the target lip-shaped driving task to obtain the predicted task audio features under the target lip-shaped driving task.

[0176] For the target lip-driven task, through variance modulation, linear features in the predicted shared audio features under a unified numerical space can be extracted, so that the feature extraction results can be more adapted to the linear feature distribution under the target lip-driven task; through nonlinear transformation, nonlinear features in the predicted shared audio features under a unified numerical space can be extracted, so that the feature extraction results can be more adapted to the nonlinear feature distribution under the target lip-driven task. By jointly extracting linear features and nonlinear features, the omission of key information related to lip shape changes under the target lip-driven task is avoided, thereby improving the accuracy and richness of the audio features of the prediction task under the target lip-driven task. In addition, due to the low complexity of the data processing process of variance modulation and nonlinear changes, the convenience of the feature enhancement process is improved, thereby improving the efficiency of feature enhancement, and then improving the model prediction efficiency.

[0177] Specifically, the following formula can be used to perform variance modulation on the predicted spatial mapping feature:

[0178]

[0179] in, is the predicted spatial mapping feature; B is the batch size; C is the number of feature channels; H is the feature length; W is the feature width; is the predicted spatial mapping feature corresponding to the i-th feature channel; is the characteristic modulation parameter, which can be learned through model training; K i is the characteristic modulation parameter corresponding to the i-th characteristic channel; is the predicted variance modulation feature.

[0180] Specifically, the nonlinear transformation module can be implemented using at least one nonlinear activation function in the prior art, thereby achieving nonlinear mapping of the predicted variance modulation features, avoiding the loss of nonlinear features, and affecting the feature richness and diversity of the audio features of the prediction task.

[0181] The disclosed embodiment maps the predicted shared audio features to the same numerical space, so that the resulting predicted space mapping features can be more focused on the learning of lip shape features, eliminating the impact of different numerical ranges or semantic representations adapted under different lip shape driving tasks on subsequent feature processing. At the same time, through feature enhancement, the predicted shared audio features under the unified numerical space are mapped back to the feature distribution of each target lip shape driving task, making the feature enhancement process more targeted, reducing the feature interference of other lip shape driving tasks on the target lip shape driving task, and enhancing the synergistic promotion of other lip shape driving tasks on the corresponding features of the target lip shape driving task, thereby achieving complementary advantages between tasks, and further ensuring the accuracy and stability of the lip shape driving results corresponding to the target lip shape driving task.

[0182] On the basis of the above-mentioned technical solutions, the present disclosure also provides a preferred embodiment. In this preferred embodiment, taking the virtual image including a two-dimensional virtual image and a three-dimensional virtual image, the sample driving label including sample image data and sample vertex data; the driving reference data including the image description data of the two-dimensional virtual image and the vertex description data of the three-dimensional virtual image as an example, the training, fine-tuning and use stages of the lip-sync driving model are described in detail.

[0183] Below, first combine Fig. 8A The network structure of the lip-driven model is shown, and the training stage of the lip-driven model is described in detail.

[0184] The lip-driven model includes an image encoder 801 , a vertex encoder 802 , an audio encoder 803 , a transformation network 804 , an image decoder 805 and a vertex decoder 806 .

[0185] The image encoder 801 is used to perform feature encoding on the input image description data of the two-dimensional virtual image to obtain image features.

[0186] The vertex encoder 802 is used to perform feature encoding on the vertex description data of the input three-dimensional virtual image to obtain vertex features.

[0187] The audio encoder 803 is used to jointly encode the input audio data under the two-dimensional driving task and the three-dimensional driving task to obtain the shared audio features corresponding to the two-dimensional driving task and the three-dimensional driving task; wherein the two-dimensional driving task is the task of lip-driving the two-dimensional virtual image; the three-dimensional driving task is the task of lip-driving the three-dimensional virtual image.

[0188] The transformation network 804 is used to map the shared audio features back to the feature distribution under the two-dimensional driving task and the feature distribution under the three-dimensional driving task, respectively, to obtain the two-dimensional enhanced features corresponding to the two-dimensional driving task and the three-dimensional enhanced features corresponding to the three-dimensional driving task.

[0189] The image decoder 805 is used to perform feature decoding on the image features and the two-dimensional enhanced features to obtain a two-dimensional lip-sync driving result corresponding to the two-dimensional lip-sync driving task.

[0190] The vertex decoder 806 is used to decode the vertex features and the 3D enhancement features to obtain the 3D lip-sync driving results corresponding to the 3D lip-sync driving task.

[0191] Exemplarily, the transformation network 804 may include a space mapping network 8041 and a feature enhancement network 8042 .

[0192] The spatial mapping network 8041 is used to map the input shared audio features to a unified numerical space to obtain spatial mapping features;

[0193] The feature enhancement network 8042 is used to map the spatial mapping features back to the feature distributions under different driving tasks, so as to obtain the two-dimensional enhanced features corresponding to the two-dimensional driving task and the three-dimensional enhanced features corresponding to the three-dimensional driving task.

[0194] Optionally, the spatial mapping network can be implemented using a distribution transformation module such as VAE; optionally, the feature enhancement network can be implemented using a self-attention mechanism based on a Transformer model.

[0195] Exemplarily, the feature enhancement network 8042 may include a two-dimensional variance modulation module, a two-dimensional nonlinear transformation module, a three-dimensional variance modulation module, and a three-dimensional nonlinear transformation module.

[0196] Among them, the two-dimensional variance modulation module is used to perform variance modulation on the input spatial mapping features to obtain two-dimensional variance modulation features; the two-dimensional nonlinear transformation module is used to perform nonlinear transformation on the two-dimensional variance modulation features to obtain two-dimensional enhanced features. The three-dimensional variance modulation module is used to perform variance modulation on the input spatial mapping features to obtain three-dimensional variance modulation features; the three-dimensional nonlinear transformation module is used to perform nonlinear transformation on the three-dimensional variance modulation features to obtain three-dimensional enhanced features.

[0197] Among them, the image encoder 801, the audio encoder 803, the transformation network 804 and the image decoder 805 can construct a two-dimensional lip-type driving sub-network that performs two-dimensional driving tasks, that is, dedicated to the lip-type driving of a two-dimensional virtual image; the vertex encoder 802, the audio encoder 803, the transformation network 804 and the vertex decoder 806 can construct a three-dimensional lip-type driving sub-network that performs three-dimensional driving tasks, that is, dedicated to the lip-type driving of a three-dimensional virtual image.

[0198] In the model training stage: a large amount of sample audio data, image description data of a two-dimensional virtual image corresponding to the sample audio data, vertex description data corresponding to the sample audio data, sample image data and sample vertex data containing lip movements can be obtained; the sample audio data and image description data corresponding to the two-dimensional virtual image are selected and input into the lip-driven model, and N iterations of training are performed; in each iteration of training, based on the first preset loss function, the first loss between the two-dimensional lip-driven result output by the image decoder and the sample image data is determined; the network parameters in the two-dimensional lip-driven sub-network are adjusted according to the first loss; the sample audio data and vertex description data corresponding to the three-dimensional virtual image are selected and input into the lip-driven model, and 1 iteration of training is performed; in each iteration of training, based on the second preset loss function, the second loss between the three-dimensional lip-driven result output by the vertex decoder and the sample vertex data is determined; the network parameters in the three-dimensional lip-driven sub-network are adjusted according to the second loss; the two-dimensional driving task and the three-dimensional driving task are respectively performed in step-by-step cross iteration according to the above iteration ratio to make up for the data volume difference between the sample audio data corresponding to the two-dimensional virtual image and the sample audio data corresponding to the three-dimensional virtual image. The first preset loss function and the second preset loss function can be set or adjusted by the technicians according to the needs or experience. 2D / (l 3D *a). Where a is an empirical value, for example, it can be 20; 2D is the data duration of the sample audio data corresponding to the two-dimensional virtual image; l 3D is the data duration of the sample audio data corresponding to the three-dimensional virtual image.

[0199] and Figure 8B Compared with the mechanical method of jointly training the lip-shaped driving model under the two-dimensional driving task and the lip-shaped driving model under the three-dimensional driving task in the prior art, the technical solution disclosed in the present invention can avoid the task inhibition in the joint training process, realize the mutual promotion of different driving tasks, take into account the strong generalization ability of the two-dimensional driving task and the high accuracy of the three-dimensional driving task, realize the complementary advantages of different driving tasks, and thus improve the accuracy, naturalness and aesthetics of the corresponding lip-shaped driving results under different driving tasks.

[0200] In the model fine-tuning stage: after the three-dimensional driving task converges, that is, after the three-dimensional lip-driven sub-model converges, a large amount of sample audio data containing sample image data of the two-dimensional virtual image but not containing sample vertex data of the three-dimensional virtual image is obtained as fine-tuning audio data; the sample image data of the two-dimensional virtual image is used as fine-tuning label data; the fine-tuning audio data and the vertex description data of the three-dimensional virtual image are input into the trained lip-driven model to obtain the three-dimensional lip-driven result output by the vertex decoder, and the three-dimensional lip-driven result is used as fine-tuning pseudo-label data; the fine-tuning image data, the fine-tuning audio data, the image description data and the vertex description data are input into the trained lip-driven model to obtain the two-dimensional lip-driven result output by the image decoder and the three-dimensional lip-driven result output by the vertex decoder; based on the first preset loss function, a third loss between the two-dimensional lip-driven result and the fine-tuning label data is determined; based on the second preset loss function, a fourth loss between the three-dimensional lip-driven result and the fine-tuning label data is determined; according to the third loss and the fourth loss, each trained parameter in the lip-driven model is jointly fine-tuned.

[0201] See also Figure 8C The comparison chart of the two-dimensional lip-driven result before and after fine-tuning is shown. Due to the above-mentioned joint fine-tuning process, it is jointly supervised by the two-dimensional driving task and the three-dimensional driving task at the same time. When the three-dimensional driving task converges, the accuracy of the lip-driven result of the two-dimensional driving task can still be improved.

[0202] Furthermore, in order to improve the stability of the two-dimensional driving task learning process, when fine-tuning parameters, the learning rate of the three-dimensional driving task can be lowered (for example, to 1 / 10 of the learning rate in the model training phase).

[0203] During the model usage stage: for two-dimensional driving tasks, the predicted audio data and the image description data of the predicted two-dimensional virtual image are respectively input into the audio encoder and the image encoder to obtain the two-dimensional lip-type driving result output by the image decoder; for three-dimensional driving tasks, the predicted audio data and the vertex description data of the predicted three-dimensional virtual image are respectively input into the audio encoder and the image encoder to obtain the three-dimensional lip-type driving result output by the vertex decoder.

[0204] Since the lip-driven sub-models corresponding to different driving tasks have the characteristics of accuracy and generalization ability of different driving tasks, the accuracy and stability of the lip-driven results corresponding to two-dimensional driving tasks and three-dimensional driving tasks are improved, making the lip-driven results more natural and beautiful, and improving the lip-driven experience.

[0205] As an implementation of the above-mentioned lip-type driving methods, the present disclosure also provides an optional embodiment of an execution device for implementing the above-mentioned lip-type driving methods. Fig. 9The lip-actuating device 900 shown includes: a prediction data acquisition module 901, an audio feature extraction network 902, an audio feature transformation network 903, a feature encoding network 904 and a feature decoding network 905.

[0206] A prediction data acquisition module 901 is used to acquire prediction audio data and prediction driving reference data of a prediction avatar;

[0207] An audio feature extraction network 902, used to extract the predicted shared audio features of the predicted audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven tasks for different avatars;

[0208] The audio feature transformation network 903 is used to perform feature transformation on the predicted shared audio features to obtain predicted task audio features under the target lip-driven task corresponding to the predicted virtual image;

[0209] A feature encoding network 904 is used to perform feature encoding on the predicted driving reference data to obtain predicted driving reference features;

[0210] The feature decoding network 905 is used to perform feature decoding on the predicted driving reference features and the predicted task audio features to predict the lip-activated results of the predicted virtual image.

[0211] The disclosed embodiment extracts predicted shared audio features of predicted audio data under different lip-type driving tasks, so that the predicted shared audio features contain lip shape change information under different lip-type driving tasks, thereby improving the richness and diversity of the predicted shared audio features; by performing feature transformation on the predicted shared audio features, the predicted task audio features under the target lip-type driving task are obtained, which can eliminate irrelevant features or mutually inhibited features under other lip-type driving tasks for the target lip-type driving task, reduce feature interference caused by other lip-type driving tasks, and retain some features in other lip-type driving tasks that synergize and promote the target lip-type driving task, thereby achieving complementary advantages of features between different lip-type driving tasks, thereby improving the accuracy and stability of lip-type driving results when predicting lip-type driving results under the target lip-type driving task in the lip-type driving model.

[0212] In an optional embodiment, the audio feature transformation network 903 includes:

[0213] A spatial mapping network, used for mapping the predicted shared audio features to the same numerical space to obtain predicted spatial mapping features;

[0214] The feature enhancement network is used to perform feature enhancement on the predicted spatial mapping features under the target lip-driven task to obtain the predicted task audio features.

[0215] In an optional embodiment, the feature enhancement network comprises:

[0216] A variance modulation module, used for performing variance modulation on the predicted spatial mapping feature under the target lip-driven task to obtain a predicted variance modulation feature;

[0217] The nonlinear transformation module is used to perform nonlinear transformation on the predicted variance modulation feature under the target lip-driven task to obtain the predicted task audio feature.

[0218] In an optional embodiment, the space mapping network is specifically used to:

[0219] The predicted shared audio features are normalized to map the predicted shared audio features to the same numerical space to obtain the predicted space mapping features.

[0220] The above-mentioned lip-type driving device can execute the lip-type driving method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing each lip-type driving method.

[0221] As an implementation of the above-mentioned lip-type driving methods, the present disclosure also provides an optional embodiment of an execution device for implementing the above-mentioned lip-type driving methods. Fig.10 The lip-driven model training device 1000 shown includes: a sample data acquisition module 1001, an audio feature extraction network 1002, an audio feature transformation network 1003, a feature encoding network 1004, a feature decoding network 1005 and a parameter adjustment module 1006.

[0222] The sample data acquisition module 1001 is used to acquire sample audio data, sample driving reference data of the virtual image corresponding to the sample audio data, and sample driving tags of the virtual image corresponding to the sample audio data;

[0223] The audio feature extraction network 1002 is used to extract the sample shared audio features of the sample audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven different virtual images;

[0224] An audio feature transformation network 1003 is used to transform the sample shared audio features to obtain sample task audio features under different lip-driven tasks;

[0225] A feature encoding network 1004 is used to perform feature encoding on the sample drive reference data under the corresponding lip-driven task to obtain a sample drive reference feature under the corresponding lip-driven task;

[0226] A feature decoding network 1005 is used to perform feature decoding on the sample task audio feature and the sample driving reference feature of the corresponding virtual image to obtain a lip-activated result of the corresponding virtual image;

[0227] The parameter adjustment module 1006 is used to adjust the parameters to be trained in the lip-driven model according to the lip-driven results under different virtual images and the corresponding sample driven labels.

[0228] The disclosed embodiment extracts sample shared audio features of sample audio data under different lip-type driving tasks, so that the sample shared audio features contain lip shape change information under different lip-type driving tasks, thereby improving the richness and diversity of the sample shared audio features; by performing feature transformation on the sample shared audio features, sample task audio features under different lip-type driving tasks are obtained, which can eliminate irrelevant features or mutually inhibited features under other lip-type driving tasks for different lip-type driving tasks, reduce feature interference caused by other lip-type driving tasks, and retain some features of other lip-type driving tasks that cooperate and promote each other with the lip-type driving task itself, thereby achieving complementary advantages of features between different lip-type driving tasks, so that in the process of joint training of lip-type driving sub-models corresponding to different lip-type driving tasks in the lip-type driving model, conflicts between lip-type driving sub-models corresponding to lip-type driving tasks are avoided, the training advantages of different lip-type driving sub-models are taken into account, the model accuracy and generalization ability of different lip-type driving sub-models are guaranteed, and the accuracy and stability of lip-type driving results corresponding to different lip-type driving sub-models are improved.

[0229] In an optional embodiment, the audio feature transformation network 1003 includes:

[0230] A space mapping network, used for mapping the sample shared audio features to the same numerical space to obtain sample space mapping features;

[0231] The feature enhancement network is used to map the sample space features, perform feature enhancement under different lip-driven tasks, and obtain sample task audio features under different lip-driven tasks.

[0232] In an optional embodiment, the feature enhancement network comprises:

[0233] A variance modulation module is used to perform variance modulation on the sample space mapping features under different lip-driven tasks to obtain sample variance modulation features;

[0234] The nonlinear transformation module is used to perform nonlinear transformation on the sample variance modulation feature under the corresponding lip-driven task to obtain the sample task audio feature under the corresponding lip-driven task.

[0235] In an optional embodiment, the space mapping network is specifically used to:

[0236] The sample shared audio features are normalized to map the sample shared audio features to the same numerical space to obtain the sample space mapping features.

[0237] In an optional embodiment, the apparatus 1000 further includes:

[0238] An alternating training module, used for, during the training process of the lip-driven model, for different lip-driven tasks, alternatingly adjusting the parameters to be trained associated with the lip-driven tasks in the lip-driven model according to different preset numbers of iterations;

[0239] Among them, the preset number of iterations corresponding to different lip-driven tasks is determined based on the data volume of the sample audio data itself.

[0240] In an optional embodiment, the apparatus 1000 further includes:

[0241] A fine-tuning data acquisition module, used to acquire fine-tuning audio data, fine-tuning drive reference data and a fine-tuning drive label of a first virtual image corresponding to the fine-tuning audio data, and fine-tuning drive reference data of a second virtual image;

[0242] a pseudo-label determination module, configured to determine, after the trained parameters corresponding to the lip-driven task of the second avatar converge, a fine-tuning pseudo-label under the lip-driven task corresponding to the second avatar based on the trained lip-driven model, the fine-tuning audio data and the fine-tuning driving reference data of the second avatar;

[0243] a parameter fine-tuning module, configured to fine-tune the trained parameters related to the joint fine-tuning task in the trained lip-actuated driving model according to the fine-tuning audio data, the fine-tuning driving reference data of the first virtual image, the fine-tuning driving reference data of the second virtual image, the fine-tuning driving label and the fine-tuning pseudo-label;

[0244] The joint fine-tuning task includes a lip-sync driving task corresponding to the first virtual image and a lip-sync driving task corresponding to the second virtual image; the amount of sample audio data corresponding to the first virtual image is greater than the amount of sample audio data corresponding to the second virtual image.

[0245] In an optional embodiment, the parameter fine-tuning module includes:

[0246] An audio feature extraction network, used for extracting fine-tuning shared audio features of the fine-tuning audio data under different lip-driven tasks;

[0247] An audio feature transformation network is used to perform feature transformation on the fine-tuning shared audio features to obtain fine-tuning task audio features under different lip-driven tasks;

[0248] a feature encoding network, for performing feature encoding of the fine-tuning driving reference data of any one of the first virtual image and the second virtual image under the corresponding lip-driven task, to obtain the fine-tuning driving reference features of the virtual image; wherein the current virtual image includes the first virtual image and the second virtual image;

[0249] A feature decoding network is used to decode the fine-tuning task audio features and the fine-tuning driving reference features corresponding to the virtual image to obtain the fine-tuning lip shape driving result of the virtual image;

[0250] A parameter fine-tuning unit is used to fine-tune the trained parameters related to the joint fine-tuning task in the trained lip-driven model according to the fine-tuning lip-driven result of the first virtual image, the fine-tuning lip-driven result of the second virtual image, the fine-tuning drive label and the fine-tuning pseudo-label.

[0251] The above-mentioned lip-driven model training device can execute the lip-driven model training method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing each lip-driven model training method.

[0252] In the technical solution disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of data such as audio data, virtual image driving reference data and driving labels involved are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0253] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0254] Fig.11A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0255] like Fig.11 As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0256] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0257] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as at least one of the lip-driven method and the lip-driven model training method. For example, in some embodiments, at least one of the lip-driven method and the lip-driven model training method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of at least one of the lip-driven method and the lip-driven model training method described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute at least one of the lip-driven method and the lip-driven model training method in any other appropriate manner (eg, by means of firmware).

[0258] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0259] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0260] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0261] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, audio input, or tactile input).

[0262] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0263] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services. The server may also be a server of a distributed system, or a server combined with a blockchain.

[0264] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, audio recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.

[0265] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and this document does not limit this.

[0266] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A lip-activated method, comprising: Acquire predicted audio data and predicted driving reference data of the predicted virtual image; wherein the predicted driving reference data is image description data of the predicted virtual image; Extracting predicted shared audio features of the predicted audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven tasks for different virtual images, and the predicted shared audio features are used to characterize the predicted audio data, and are shared features that can affect the lip changes of different virtual images under different lip-driven tasks; Performing feature transformation on the predicted shared audio features to obtain predicted task audio features under the target lip-driven task corresponding to the predicted virtual image; Performing feature encoding on the predicted driving reference data to obtain predicted driving reference features; Feature decoding is performed on the predicted driving reference features and the predicted task audio features to determine the lip-driven results of the predicted virtual image.

2. The method according to claim 1, wherein: The step of performing feature transformation on the predicted shared audio features to obtain predicted task audio features corresponding to the target lip-driven task of the predicted virtual image includes: Mapping the predicted shared audio features to the same numerical space to obtain predicted spatial mapping features; The predicted spatial mapping features are subjected to feature enhancement under the target lip-driven task to obtain the predicted task audio features.

3. The method according to claim 2, wherein: The step of performing feature enhancement on the predicted spatial mapping feature under the target lip-driven task to obtain the predicted task audio feature includes: Performing variance modulation under the target lip-driven task on the predicted spatial mapping feature to obtain a predicted variance modulation feature; The predicted variance modulation feature is subjected to nonlinear transformation under the target lip-driven task to obtain the predicted task audio feature.

4. The method according to claim 2, wherein: Mapping the predicted shared audio features to the same numerical space to obtain predicted spatial mapping features includes: The predicted shared audio features are normalized to map the predicted shared audio features to the same numerical space to obtain the predicted space mapping features.

5. A lip-driven model training method, comprising: Acquire sample audio data, sample drive reference data of a virtual image corresponding to the sample audio data, and a sample drive label of the virtual image corresponding to the sample audio data; wherein the sample drive reference data is image description data of the virtual image used to display the sample audio data; Extracting sample shared audio features of the sample audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven tasks for different virtual images, and the sample shared audio features are used to characterize the shared features of the same sample audio data that can affect the lip changes of different virtual images under different lip-driven tasks; Performing feature transformation on the sample shared audio features to obtain sample task audio features under different lip-driven tasks; Performing feature encoding on the sample drive reference data under the corresponding lip-driven task to obtain the sample drive reference feature under the corresponding lip-driven task; Performing feature decoding on the sample task audio feature and the sample driving reference feature of the corresponding virtual image to obtain a lip-activated result of the corresponding virtual image; According to the lip-driven results under different virtual images and the corresponding sample driven labels, the parameters to be trained in the lip-driven model are adjusted.

6. The method according to claim 5, wherein: The step of performing feature transformation on the sample shared audio features to obtain sample task audio features under different lip-driven tasks includes: Mapping the sample shared audio features to the same numerical space to obtain sample space mapping features; The sample space mapping features are subjected to feature enhancement under different lip-driven tasks to obtain sample task audio features under different lip-driven tasks.

7. The method according to claim 6, wherein: The step of performing feature enhancement on the sample space mapping features under different lip-driven tasks to obtain sample task audio features under different lip-driven tasks includes: Performing variance modulation under different lip-driven tasks on the sample space mapping features to obtain sample variance modulation features; The sample variance modulation feature is subjected to nonlinear transformation under the corresponding lip-driven task to obtain the sample task audio feature under the corresponding lip-driven task.

8. The method according to claim 6, wherein: Mapping the sample shared audio features to the same numerical space to obtain sample space mapping features includes: The sample shared audio features are normalized to map the sample shared audio features to the same numerical space to obtain the sample space mapping features.

9. The method according to any one of claims 5 to 8, wherein: During the training of the lip-driven model, for different lip-driven tasks, the parameters to be trained associated with the lip-driven tasks in the lip-driven model are adjusted alternately according to different preset numbers of iterations; Among them, the preset number of iterations corresponding to different lip-driven tasks is determined based on the data volume of the sample audio data itself.

10. The method according to claim 9, wherein: The method further comprises: Acquire fine-tuning audio data, fine-tuning driving reference data and a fine-tuning driving label of a first virtual image corresponding to the fine-tuning audio data, and fine-tuning driving reference data of a second virtual image; After the trained parameters corresponding to the lip-driven task of the second avatar converge, based on the trained lip-driven model, according to the fine-tuning audio data and the fine-tuning driving reference data of the second avatar, determine a fine-tuning pseudo label under the lip-driven task corresponding to the second avatar; Fine-tune the trained parameters related to the joint fine-tuning task in the trained lip-actuated drive model according to the fine-tuning audio data, the fine-tuning drive reference data of the first avatar, the fine-tuning drive reference data of the second avatar, the fine-tuning drive label, and the fine-tuning pseudo label; The joint fine-tuning task includes a lip-sync driving task corresponding to the first virtual image and a lip-sync driving task corresponding to the second virtual image; the amount of sample audio data corresponding to the first virtual image is greater than the amount of sample audio data corresponding to the second virtual image.

11. The method according to claim 10, wherein: The step of fine-tuning the trained parameters related to the joint fine-tuning task in the trained lip-actuated driving model according to the fine-tuning audio data, the fine-tuning driving reference data of the first virtual image, the fine-tuning driving reference data of the second virtual image, the fine-tuning driving label and the fine-tuning pseudo label comprises: Extracting fine-tuning shared audio features of the fine-tuning audio data under different lip-driven tasks; Performing feature transformation on the fine-tuning shared audio features to obtain fine-tuning task audio features under different lip-driven tasks; For any virtual image of the first virtual image and the second virtual image, feature encoding is performed on the fine-tuning driving reference data of the virtual image under the corresponding lip-driven task to obtain the fine-tuning driving reference feature of the virtual image; wherein the current virtual image includes the first virtual image and the second virtual image; Perform feature decoding on the fine-tuning task audio features and the fine-tuning driving reference features corresponding to the virtual image to obtain the fine-tuning lip shape driving result of the virtual image; According to the fine-tuning lip-drive result of the first virtual image, the fine-tuning lip-drive result of the second virtual image, the fine-tuning drive label and the fine-tuning pseudo-label, the trained parameters related to the joint fine-tuning task in the trained lip-drive model are fine-tuned.

12. A lip-actuating device, comprising: A prediction data acquisition module, used to acquire prediction audio data and prediction driving reference data of the prediction virtual image; wherein the prediction driving reference data is image description data of the prediction virtual image; An audio feature extraction network, used to extract predicted shared audio features of the predicted audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven different virtual images, and the predicted shared audio features are used to characterize the predicted audio data, and are shared features that can affect the lip changes of different virtual images under different lip-driven tasks; An audio feature transformation network, used for performing feature transformation on the predicted shared audio features to obtain predicted task audio features under the target lip-driven task corresponding to the predicted virtual image; A feature encoding network, used for performing feature encoding on the predicted driving reference data to obtain predicted driving reference features; The feature decoding network is used to perform feature decoding on the predicted driving reference feature and the predicted task audio feature to determine the lip-driven result of the predicted virtual image.

13. The device according to claim 12, wherein: The audio feature transformation network comprises: A spatial mapping network, used for mapping the predicted shared audio features to the same numerical space to obtain predicted spatial mapping features; The feature enhancement network is used to perform feature enhancement on the predicted spatial mapping features under the target lip-driven task to obtain the predicted task audio features.

14. The device according to claim 13, wherein: The feature enhancement network comprises: A variance modulation module, used for performing variance modulation on the predicted spatial mapping feature under the target lip-driven task to obtain a predicted variance modulation feature; The nonlinear transformation module is used to perform nonlinear transformation on the predicted variance modulation feature under the target lip-driven task to obtain the predicted task audio feature.

15. The device according to claim 13, wherein: The spatial mapping network is specifically used for: The predicted shared audio features are normalized to map the predicted shared audio features to the same numerical space to obtain the predicted space mapping features.

16. A lip-activated model training device, comprising: A sample data acquisition module, used to acquire sample audio data, sample drive reference data of a virtual image corresponding to the sample audio data, and a sample drive label of the virtual image corresponding to the sample audio data; wherein the sample drive reference data is image description data of the virtual image used to display the sample audio data; An audio feature extraction network, used to extract sample shared audio features of the sample audio data under different lip-driven tasks; wherein the lip-driven tasks include tasks of lip-driven tasks for different virtual images, and the sample shared audio features are used to characterize the shared features of the same sample audio data that can affect the lip changes of different virtual images under different lip-driven tasks; An audio feature transformation network, used for performing feature transformation on the sample shared audio features to obtain sample task audio features under different lip-driven tasks; A feature encoding network is used to perform feature encoding on the sample-driven reference data under the corresponding lip-driven task to obtain the sample-driven reference features under the corresponding lip-driven task; A feature decoding network is used to perform feature decoding on the sample task audio feature and the sample driving reference feature of the corresponding virtual image to obtain a lip-driven result of the corresponding virtual image; The parameter adjustment module is used to adjust the parameters to be trained in the lip-driven model according to the lip-driven results under different virtual images and the corresponding sample driven labels.

17. The device according to claim 16, wherein: The audio feature transformation network comprises: A space mapping network, used for mapping the sample shared audio features to the same numerical space to obtain sample space mapping features; The feature enhancement network is used to map the sample space features, perform feature enhancement under different lip-driven tasks, and obtain sample task audio features under different lip-driven tasks.

18. The device according to claim 17, wherein: The feature enhancement network comprises: A variance modulation module is used to perform variance modulation on the sample space mapping features under different lip-driven tasks to obtain sample variance modulation features; The nonlinear transformation module is used to perform nonlinear transformation on the sample variance modulation feature under the corresponding lip-driven task to obtain the sample task audio feature under the corresponding lip-driven task.

19. The device according to claim 17, wherein: The spatial mapping network is specifically used for: The sample shared audio features are normalized to map the sample shared audio features to the same numerical space to obtain the sample space mapping features.

20. The device according to any one of claims 16 to 19, wherein: The device also includes: An alternating training module, used for, during the training process of the lip-driven model, for different lip-driven tasks, alternatingly adjusting the parameters to be trained associated with the lip-driven tasks in the lip-driven model according to different preset numbers of iterations; Among them, the preset number of iterations corresponding to different lip-driven tasks is determined based on the data volume of the sample audio data itself.

21. The device according to claim 20, wherein: The device also includes: A fine-tuning data acquisition module, used to acquire fine-tuning audio data, fine-tuning drive reference data and a fine-tuning drive label of a first virtual image corresponding to the fine-tuning audio data, and fine-tuning drive reference data of a second virtual image; a pseudo-label determination module, configured to determine, after the trained parameters corresponding to the lip-driven task of the second avatar converge, a fine-tuning pseudo-label under the lip-driven task corresponding to the second avatar based on the trained lip-driven model, the fine-tuning audio data and the fine-tuning driving reference data of the second avatar; a parameter fine-tuning module, configured to fine-tune the trained parameters related to the joint fine-tuning task in the trained lip-actuated driving model according to the fine-tuning audio data, the fine-tuning driving reference data of the first virtual image, the fine-tuning driving reference data of the second virtual image, the fine-tuning driving label and the fine-tuning pseudo-label; The joint fine-tuning task includes a lip-sync driving task corresponding to the first virtual image and a lip-sync driving task corresponding to the second virtual image; the amount of sample audio data corresponding to the first virtual image is greater than the amount of sample audio data corresponding to the second virtual image.

22. The device according to claim 21, wherein The parameter fine-tuning module comprises: An audio feature extraction network, used for extracting fine-tuning shared audio features of the fine-tuning audio data under different lip-driven tasks; An audio feature transformation network is used to perform feature transformation on the fine-tuning shared audio features to obtain fine-tuning task audio features under different lip-driven tasks; a feature encoding network, for performing feature encoding of the fine-tuning driving reference data of any one of the first virtual image and the second virtual image under the corresponding lip-driven task, to obtain the fine-tuning driving reference features of the virtual image; wherein the current virtual image includes the first virtual image and the second virtual image; A feature decoding network is used to decode the fine-tuning task audio features and the fine-tuning driving reference features corresponding to the virtual image to obtain the fine-tuning lip shape driving result of the virtual image; A parameter fine-tuning unit is used to fine-tune the trained parameters related to the joint fine-tuning task in the trained lip-driven model according to the fine-tuning lip-driven result of the first virtual image, the fine-tuning lip-driven result of the second virtual image, the fine-tuning drive label and the fine-tuning pseudo-label.

23. An electronic device comprising: at least one processor; as well as 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 execute the lip-activated method described in any one of claims 1-4, and / or execute the lip-activated model training method described in any one of claims 5-11.

24. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the lip-activated method according to any one of claims 1 to 4, and / or to execute the lip-activated model training method according to any one of claims 5 to 11.

25. A computer program product, comprising a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the steps of the lip-actuated method according to any one of claims 1 to 4 are implemented, and / or the steps of the lip-actuated model training method according to any one of claims 5 to 11 are implemented.