Voice processing method, system, device and medium

Through the combination of multi-modal models and gradient inversion layers, the data acquisition and processing of speech emotion synthesis are simplified, solving the problems of difficulty in data acquisition and high computational complexity in the existing technology, and achieving efficient and low-cost speech processing. and composite effects.

CN114360485BActive Publication Date: 2024-10-22BEIHAI QIANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111619634.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-10-22
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

The existing technology requires a large amount of high-quality training data in speech emotion synthesis, which results in difficulty in data acquisition, low efficiency, high computational complexity, and difficulty in achieving high-quality speech synthesis.

Method used

Using a multi-modal algorithm model, by building a multi-modal model, using multi-modal training data for model training, and combining gradient inversion layer (GRL) for model training and speech synthesis processing, it simplifies data acquisition and processing, and reduces computational complexity. .

Benefits of technology

It achieves efficient speech processing, reduces data requirements, improves the quality and efficiency of speech synthesis, simplifies the data acquisition and processing process, and avoids cumbersome algorithms and big data calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114360485B_ABST
    Figure CN114360485B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of intelligent speech processing. In view of the defects of existing intelligent speech processing such as speech synthesis and recognition, such as the need to obtain massive training data for training, the poor quality of emotional training data and the difficulty in processing, the complex calculation and the low speech processing efficiency, the speech processing method, system, device and medium of the present invention are proposed, aiming to solve the technical problems of how to realize speech processing based on a multimodal algorithm model, and then how to simplify the difficulty and quantity of obtaining training data and reduce the complexity of calculation, and how to effectively process complex data to improve data quality and speech processing efficiency. To this end, the method of the present invention trains a multimodal model with multimodal training data and inputs data of different modes into the trained model to synthesize the corresponding emotional audio of each user, without the need for difficult data acquisition and processing, and is simple, low-cost, high-efficiency and good synthesis results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of speech processing, in particular to the field of speech synthesis processing involving emotion, and in particular to a speech processing method, system, device and medium. Background Art

[0002] In speech processing, the processing of emotional speech synthesis is usually done in the following ways: Figure 1 As shown: the emotion ID, text, speaker ID and other information are simultaneously transmitted to the encoder, and then the output of the encoder is sent to a unified decoder to obtain processed data, such as acoustic features, etc., and then the processed data such as acoustic features are output to the vocoder, and the corresponding audio data is synthesized from these acoustic feature data. This method often has high requirements for data quality. For example, if a certain emotion b of speaker A needs to be synthesized, then in the training data used for training the model algorithm of the entire speech processing process, especially the speech synthesis processing, it is best to have a large amount of high-quality speaker A's data on emotion b. Otherwise, it is difficult to obtain speaker A's emotion b speech, or the synthesized speech effect and quality are poor, and the efficiency is low. It can be seen that the data required for speech emotion synthesis in the prior art is difficult to obtain, and the model algorithm during speech synthesis requires high requirements for training data. As long as the emotion synthesis of a certain recorder is performed, a large amount of multiple emotion data of the recorder is required. These large amounts of data also have high requirements for both quality and quantity. Whether it is building a model algorithm or training a model, it is difficult, inefficient, and the process is complicated and cumbersome, and the calculation complexity is high. Therefore, a method of speech processing that is simple and effective in data acquisition and processing, good in quality and high in efficiency is needed to reduce the requirements and dependence on data. Summary of the invention

[0003] In view of the above-mentioned defects in the prior art, the present invention provides a technical solution of an optimized speech processing method, system, device and medium, aiming to solve the technical problem of how to realize speech processing based on a multimodal algorithm model; further, to solve the technical problem of how to simplify the difficulty and amount of obtaining training data and thus reduce the computational complexity; further, it can also solve the technical problem of how to effectively process complex data, improve data quality, and even improve speech processing efficiency.

[0004] In order to solve the above technical problems, the first aspect of the present invention proposes a speech processing method, comprising: based on a constructed multimodal model, using multimodal training data to perform model training; inputting data of different modalities into the trained model for speech synthesis processing to obtain the corresponding audio of each user.

[0005] Preferably, based on the constructed multimodal model, model training is performed using multimodal training data, specifically including: each of the multimodal training data includes at least one data combination ternary pair; each ternary pair contains at least first modality data, second modality data and third modality data; the first modality data and the third modality data in each ternary pair of the multimodal training data are respectively input into the multimodal model, and the model training is performed in combination with the second modality data in the ternary pair and the gradient reversal layer.

[0006] Preferably, the first modality data and the third modality data in each ternary pair of the multimodal training data are respectively input into the multimodal model, and the model training is performed in combination with the second modality data in the ternary pair and the gradient reversal layer, specifically comprising: predicting the second modality data and the third modality data corresponding to the first modality data based on main-level decoding and gradient reversal layer processing of the input first modality data; predicting the second modality data corresponding to the third modality data based on encoding and gradient reversal layer processing of the input third modality data; and performing model training using each multimodal training data in turn until a preset condition indicating that the model training is completed is met.

[0007] Preferably, predicting the second modal data and the third modal data corresponding to the first modal data according to main-level decoding and gradient inversion layer processing of the input first modal data specifically includes: encoding the input first modal data and then performing main-level decoding; performing gradient inversion layer processing on the main-level decoding information obtained by the main-level decoding; predicting the second modal data and the third modal data corresponding to the input first modal data according to the main-level decoding information after the gradient inversion layer processing; predicting the second modal data corresponding to the third modal data according to encoding and gradient inversion layer processing of the input third modal data specifically includes: encoding the input third modal data to obtain feature coding of corresponding third modal data; performing gradient inversion layer processing on the feature coding of the third modal data; and predicting the second modal data corresponding to the input third modal data according to the feature coding of the third modal data after the gradient inversion layer processing.

[0008] Preferably, the model training further includes: performing secondary decoding on the primary coding information processed by the gradient reversal layer and the feature coding of the third modality data to obtain corresponding acoustic features.

[0009] Preferably, each multimodal training data is used in turn for model training until a preset condition indicating that the model training is completed is reached, specifically including: calculating and adjusting the parameters of the model according to the input multimodal training data, the predicted second modal data and third modal data corresponding to the first modal data, the predicted second modal data corresponding to the third modal data, and the acoustic features until the calculation result meets the preset condition, thereby terminating the training; wherein the preset condition includes: a specified range of calculation results pre-set based on the calculation of the objective function and / or loss function of the model.

[0010] Preferably, the model at least includes: a first encoder, a main decoder, a first discriminator, a second encoder, a second discriminator, and a secondary decoder; the model training also includes: the first encoder encodes the input first modality data, the main decoder receives the code output by the first encoder for main-level decoding to obtain main-level decoding information, and the first discriminator predicts according to the main-level decoding information received from the main decoder and processed by the gradient reversal layer; the second encoder encodes the input third modality data to obtain feature code, and the second discriminator predicts according to the feature code received from the second encoder and processed by the gradient reversal layer; one or more secondary decoders combine the received main-level decoding information and the feature code processed by the gradient reversal layer to perform secondary decoding.

[0011] Preferably, it also includes: in the ternary pair of the multimodal training data, the first modal data is text, the second modal data is a user identification ID, and the third modal data is an emotion identification ID; the first encoder is a text encoder, the first discriminator is a speaker and emotion discriminator, the second encoder is an emotion encoder, and the second discriminator is a speaker discriminator; the model training specifically also includes: the text encoder extracts the features of the input text and encodes it to obtain text feature encoding, and outputs the text feature encoding information to the main decoder; the main decoder performs main-level decoding on the text feature encoding to obtain text feature information and processes it through a gradient inversion layer The text feature information is processed by the gradient reversal layer and then output to the speaker and emotion discriminator; the speaker and emotion discriminator predicts the user and emotion corresponding to the input text according to the received text feature information processed by the gradient reversal layer; the emotion encoder receives the input emotion identification ID and encodes it to obtain the emotion feature code, and outputs it to the speaker discriminator after processing by the gradient reversal layer; the speaker discriminator predicts the user corresponding to the input emotion identification ID according to the received emotion feature code processed by the gradient reversal layer; one or more secondary decoders perform secondary decoding in combination with the received text feature information processed by the gradient reversal layer and the emotion feature code.

[0012] Preferably, data of different modalities are input into the trained model for speech synthesis processing to obtain the corresponding audio of each user, specifically including: inputting different third modality data and first modality data into the trained model, and obtaining the acoustic features of the corresponding second modality data after secondary decoding of the model; wherein the third modality data contains emotion-related data; and performing emotional speech synthesis processing on each acoustic feature to obtain the emotional audio of the user corresponding to each acoustic feature.

[0013] In order to solve the above technical problems, the second aspect of the present invention proposes a speech processing device, comprising: a training unit, used to perform model training based on a constructed multimodal model using multimodal training data; wherein the multimodal training data at least includes first modal data, second modal data and third modal data; a synthesis unit, used to input data of different modalities into the trained model for speech synthesis processing to obtain the corresponding audio of each user.

[0014] In order to solve the above technical problems, the third aspect of the present invention proposes a speech processing system, comprising: constructing a multimodal model, the multimodal model at least comprising: a text encoder, a primary decoder, a speaker and emotion discriminator, an emotion encoder, a speaker discriminator, a secondary decoder and a vocoder; the primary decoder is respectively connected to the text encoder, the speaker and emotion discriminator and one or more secondary decoders; the emotion encoder is respectively connected to the speaker discriminator and one or more secondary decoders; the vocoder is respectively connected to one or more secondary decoders; wherein the primary decoder processes the decoded primary-level decoding information through a gradient reversal layer and outputs it to the speaker and emotion discriminator and the secondary decoder respectively; wherein the emotion encoder processes the encoded feature code through a gradient reversal layer and outputs it to the speaker discriminator and the secondary decoder respectively; and, training the multimodal model, and synthesizing the emotional audio corresponding to the speaker from the input information through the trained multimodal model.

[0015] Preferably, training the multimodal model specifically includes: obtaining multimodal training data, the multimodal training data being a ternary pair including text, speaker ID and emotion ID; the text encoder encodes the input text to obtain text feature code and outputs it to the primary decoder; the primary decoder performs primary-level decoding on the text feature code to obtain text feature information, processes the text feature information by a gradient reversal layer, and outputs it to the speaker and emotion discriminator, and the secondary decoder; the speaker and emotion discriminator predicts the speaker and the corresponding emotion corresponding to the input text according to the text feature information processed by the gradient reversal layer; the emotion encoder encodes the input emotion identification ID to obtain emotion feature code, processes the emotion feature code by a gradient reversal layer, and outputs it to the speaker discriminator and the secondary decoder; The speaker discriminator predicts the speaker corresponding to the input emotion identification ID according to the emotion feature code processed by the gradient reversal layer; the secondary decoder performs secondary decoding to obtain corresponding acoustic features according to the text feature information processed by the gradient reversal layer and the emotion feature code; the model is trained using each training data in turn until the preset conditions indicating that the model training is completed are met, and the training is terminated; and / or, the input information is synthesized into the emotion audio of the corresponding speaker through the trained multimodal model, specifically including: inputting different emotion identification IDs and texts into the trained model, and obtaining the corresponding acoustic features of one or more speakers after decoding by one or more secondary decoders of the model; each acoustic feature is processed for emotional speech synthesis through a vocoder to obtain the emotion audio of the speaker corresponding to each acoustic feature.

[0016] In order to solve the above technical problem, the fourth aspect of the present invention proposes an electronic device, which includes a processor and a memory storing computer-executable instructions, and when the computer-executable instructions are executed, the processor executes the method proposed in the first aspect.

[0017] In order to solve the above technical problem, the fifth aspect of the present invention proposes a computer-readable medium, which stores one or more programs. When the one or more programs are executed by a processor, the method proposed in the first aspect is implemented.

[0018] In order to solve the above technical problem, the sixth aspect of the present invention proposes a computer executable program, which, when executed, implements the method of the first aspect.

[0019] One embodiment of the present invention optimizes speech processing, constructs a model structure based on a multi-head structure, i.e., a multi-modal structure, optimizes or simplifies the processing of speech emotion synthesis, and then, combined with the application of the gradient reversal layer GRL in the deep learning network / model of speech processing, ensures that the output of effectively processed feature data is used to train the overall multimodal model, which is faster and more convenient, that is, it does not require difficult data acquisition and processing, is simple, low-cost, high-efficiency, and has good synthesis results. Thus, simplifying the way to obtain data reduces the difficulty and complexity of acquisition, reduces the amount of data, and does not require the acquisition of massive data, especially various types of emotional data for each user, such as each speaker, nor does it require the processing of these data to achieve high quality and appropriate quantity. The various methods bring about complex processing, low effectiveness, high time cost and other defects. It is only necessary to obtain a part of the available audio, text and other data to achieve model training, so that data requirements can be effectively processed to ensure data quality, avoid cumbersome algorithms and the amount of calculation of big data, reduce the complexity of calculation, and thus improve the efficiency of intelligent speech processing and improve the performance of intelligent speech processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects achieved more clearly, the specific embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, it should be noted that the drawings described below are only drawings of exemplary embodiments of the present invention, and those skilled in the art can obtain drawings of other embodiments based on these drawings without creative work.

[0021] Figure 1 is a schematic diagram of an example of an emotional speech synthesis processing process in speech processing in the prior art;

[0022] Figure 2 It is a schematic diagram of a preferred specific example of a multimodal model according to the implementation principle of the speech processing technical solution of the present invention;

[0023] Figure 3 is a main flow chart of an embodiment of a speech processing method according to the present invention;

[0024] Figure 4 is a structural block diagram of an embodiment of a speech processing device according to the present invention;

[0025] Figure 5 is a structural block diagram of an exemplary embodiment of an electronic device according to the present invention;

[0026] Figure 6 is a schematic diagram of a logical exemplary embodiment of a computer readable medium according to the present invention. DETAILED DESCRIPTION

[0027] The exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. Although each exemplary embodiment can be implemented in a variety of specific ways, it should not be understood that the present invention is limited to the embodiments set forth herein. On the contrary, these exemplary embodiments are provided to make the content of the present invention more complete and to facilitate the comprehensive communication of the inventive concept to those skilled in the art.

[0028] Under the premise of conforming to the technical concept of the present invention, the structure, performance, effect or other characteristics described in a specific embodiment may be combined with one or more other embodiments in any appropriate manner.

[0029] In the process of introducing specific embodiments, the detailed description of the structure, performance, effect or other characteristics is to enable those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can implement the present invention with a technical solution that does not contain the above-mentioned structure, performance, effect or other characteristics under certain circumstances.

[0030] The flowchart in the accompanying drawings is only an exemplary process demonstration, and does not mean that the solution of the present invention must include all the contents, operations and steps in the flowchart, nor does it mean that it must be executed in the order shown in the figure. For example, some operations / steps in the flowchart can be decomposed, some operations / steps can be combined or partially combined, etc. The execution order shown in the flowchart can be changed according to the actual situation without departing from the main purpose of the present invention.

[0031] Frames in the attached figure Figure 1 Generally, it refers to functional entities, which do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0032] The same reference numerals in the drawings represent the same or similar elements, components or parts, and thus the repeated description of the same or similar elements, components or parts may be omitted below. It should also be understood that although the first, second, third and other attributives representing the numbers may be used herein to describe various devices, elements, components or parts, these devices, elements, components or parts should not be limited by these attributives. In other words, these attributives are only used to distinguish one from another. For example, the first device may also be called the second device, but it does not deviate from the essential technical solution of the present invention. In addition, the terms "and / or" and "and / or" refer to all combinations including any one or more of the listed items.

[0033] The present invention optimizes and innovates speech processing in the prior art, especially for emotion synthesis in speech synthesis processing. In the traditional speech emotion synthesis method, if emotion synthesis is to be achieved, a large number of recordings of the same recorder with different emotions are usually required as training data, and such data must be of high quality or high-quality data must be obtained by effectively processing massive data. In other words, the data required for emotion synthesis is relatively high, requiring a large amount of multiple emotion data of a certain recorder, with requirements for both quality and quantity; but such data is actually difficult to collect. Generally, only a few emotion audios of a certain recorder can be collected, for example: the plain and happy emotion audios of recorder A, and the angry and frustrated emotion audios of recorder B. It is impossible to obtain all the emotion audios of everyone, and the quantity may not be large. Generally, more and more audios, texts, etc. of various people of various recordings can be collected, different recorders, whether with emotion or without emotion, etc.

[0034] Based on this, in one embodiment of the technical solution for optimizing speech processing of the present invention, the processing of speech emotion synthesis is optimized or simplified by using a multi-head structure, i.e., a multimodal model structure, and then, combined with the application of the gradient reversal layer GRL in the deep learning network / model of speech processing, it is ensured that the output of effectively processed feature data is used for training the overall multimodal model. In this way, the way of obtaining data is simplified, the difficulty and complexity of data acquisition are reduced, and only part of the available audio, text and other data is obtained, and data requirements can be effectively processed to ensure data quality, avoiding cumbersome algorithms to reduce computational complexity, thereby improving the efficiency of speech processing and improving the performance of speech intelligent processing.

[0035] Here, some technical terms that may be used in various embodiments are first explained:

[0036] Modality: Each source or form of information can be called a modality. For example, text, voice / audio, hearing, smell, etc. can all be regarded as different modalities.

[0037] Gradient Reversal Layer (GRL): In the machine learning model algorithm, this layer can be used to achieve: training on the source domain and directly migrating to the target domain, requiring the target domain to have the best possible performance. In essence, it is to find a "migration" between two data sets with different distributions. Using this layer in the deep learning network of the embodiment of the present invention can achieve the purpose of adversarial learning by transposing the direction of the gradient when training the deep learning network. Figure 2 As an example of the principle shown, using GRL, the text features output by the "main encoder" can exclude sentiment and speaker information; while the features output by the "emotion encoder" will exclude speaker features.

[0038] Speech synthesis, also known as Text To Speech (TTS), is a technology that can convert any input text into corresponding speech. In one embodiment of the speech processing solution of the present invention, the user's emotional speech during speech synthesis is mainly optimized.

[0039] [Example 1]

[0040] Combine the following Figure 2 , 3 The main flow chart of an embodiment of the speech processing method according to the technical solution of the present invention is shown to illustrate the implementation process of the optimized speech processing of the present invention.

[0041] Step S110: Based on the constructed multimodal model, model training is performed using multimodal training data.

[0042] In one embodiment, a multimodal model is first constructed, which may be a machine learning model for speech processing. Specifically, it may include various machine learning models and / or a combination of models commonly used in speech recognition, analysis, synthesis, etc. Further, it may be a combination of various deep learning networks (i.e., deep learning models) and / or various deep learning networks, such as: constructing a speech synthesis model of an autoregressive model or a parallel model.

[0043] In one example, the autoregressive model can adopt a codec model such as seq2seq combined with an attention mechanism, in which LSTM, convolutional networks, recurrent neural networks, etc. can be used to implement codec processing; and the parallel model can adopt, for example, the FastSpeech model, which has a feedforward Transformer network architecture and / or a one-dimensional convolutional network, etc. The following will mainly illustrate the deep learning network model that realizes speech processing, especially speech synthesis, through encoding and decoding. The deep learning network model mainly adopts a multi-modal or multi-head structure. The combination of each individual machine learning network or model and its structure will not be repeated.

[0044] In one embodiment, each of the multimodal training data includes at least one data combination triple pair; each triple pair includes at least first modal data, second modal data and third modal data. Further, the multimodal training data, for example, the second modal data can be a user ID (specifically, a speaker ID), the first modal data can be text, and the third modal data can be an emotion ID, that is, the training data can be any (text, speaker ID, emotion ID) triple pair.

[0045] In one embodiment, the training process includes: inputting the first modality data and the third modality data in each triple pair of multimodal training data into the multimodal model respectively, and performing model training in combination with the second modality data in the triple pair and the gradient reversal layer.

[0046] Specifically, the second modal data and the third modal data corresponding to the first modal data can be predicted based on the main level decoding and gradient reversal layer processing of the input first modal data, for example: the input first modal data is encoded and then main level decoding is performed; the main level decoding information obtained by the main level decoding is processed by the gradient reversal layer; and the second modal data and the third modal data corresponding to the input first modal data are predicted based on the main level decoding information after the gradient reversal layer processing. The second modal data corresponding to the third modal data can also be predicted based on the encoding and gradient reversal layer processing of the input third modal data, for example: the input third modal data is encoded to obtain the feature code of the corresponding third modal data; the feature code of the third modal data is processed by the gradient reversal layer; and the second modal data corresponding to the input third modal data is predicted based on the feature code of the third modal data after the gradient reversal layer processing. Furthermore, secondary decoding can also be performed in combination with the main level coding information after the gradient reversal layer processing and the feature code of the third modal data to obtain the corresponding acoustic features.

[0047] Furthermore, during the training process, each multimodal training data is used in turn for model training until a preset condition indicating that the model training is completed is reached. For example: the parameters of the model are calculated and adjusted according to the input multimodal training data, the predicted second modal data and third modal data corresponding to the first modal data, the predicted second modal data corresponding to the third modal data, and the acoustic features until the calculation results meet the preset conditions, and the training is terminated; wherein the preset conditions include, for example: a specified range of calculation results pre-set based on the calculation of the objective function and / or loss function of the model.

[0048] In one embodiment, based on the constructed multimodal model, multimodal data is used in combination with GRL for model training. Specifically, for example, the multimodal model includes at least the following components: the model includes at least: a first encoder, a main decoder, a first discriminator, a second encoder, a second discriminator, and a secondary decoder. Among them, the first encoder can encode the input first modal data, the main decoder can receive the code output by the first encoder for main-level decoding to obtain main-level decoding information, and the first discriminator can predict according to the main-level decoding information received by the main decoder and processed by the gradient reversal layer; the second encoder can also encode the input third modal data to obtain feature coding, and the second discriminator can predict according to the feature coding received by the second encoder and processed by the gradient reversal layer; further, one or more secondary decoders can perform secondary decoding in combination with the main-level decoding information received after the gradient reversal layer and the feature coding.

[0049] Further, combined with Figure 2 The preferred example of a specific multimodal model is shown for further explanation. In this preferred example, the training data contains an arbitrary triple pair (text, speaker ID, emotion ID); the first encoder is a text encoder, the first discriminator is a speaker and emotion discriminator, the second encoder is an emotion encoder, and the second discriminator is a speaker discriminator. The specific process is as follows:

[0050] S1. Encode the first modality data in the input multimodal training data and then perform main-level decoding.

[0051] For example: the text in the training data ternary pair (three different categories of modal data) is input into the model's encoder (i.e., text encoder) for text feature extraction and encoding to obtain the first encoded feature information, which is then output to the model's main decoder for main-level decoding to obtain decoded text feature information.

[0052] S2. Processing the main-level decoding information obtained by the main-level decoding through a gradient reversal layer GRL, and predicting the second modality data and the third modality data corresponding to the first modality data.

[0053] Specifically, after the main-level decoding information is processed by GRL, it does not contain characteristic information related to the second modal data and the third modal data. Preferably: GRL excludes the second modal data and the third modal data in the main-level decoding information; and uses the main-level decoding information that does not contain the second modal data and the third modal data to predict the second modal data and the third modal data corresponding to the main-level decoding information.

[0054] For example: the main-level decoded text feature information after main-level decoding is transposed via the GRL gradient direction, and the information related to the emotion and the speaker contained in the text feature information is excluded, and the main-level decoded text feature information excluding the emotion and speaker information is output to the speaker and emotion discriminator, which predicts the speaker corresponding to the text and the corresponding emotion.

[0055] S3. Encode the third modality data in the input multimodal training data to obtain the corresponding second modality data encoding features, and after processing through the gradient reversal layer GRL, predict the second modality data corresponding to the third modality data.

[0056] For example: the emotion ID in the training data triplet is input into the emotion encoder of the model for encoding to obtain the emotion feature, the emotion feature is transposed via the GRL gradient direction, and the second modal data such as speaker feature is excluded therefrom, that is, the emotion feature does not contain the speaker feature, and then the emotion feature excluding the speaker feature is output to the speaker discriminator, which predicts the speaker corresponding to the emotion identification information / emotion ID, that is, which speaker these emotion features come from.

[0057] S4. Perform secondary decoding on the second modal data encoding features after GRL processing and the primary decoding information to obtain corresponding acoustic features.

[0058] For example, the emotional features and text feature information processed by GRL are input into one or more secondary decoders, and the two types of information are combined for secondary decoding processing to obtain one or more corresponding acoustic features. One secondary decoder corresponds to one user, that is, the acoustic features output by one secondary decoder correspond to one speaker. Among them, the emotional features obtained by the secondary decoder do not contain speaker features, and the text feature information obtained does not contain emotional and speaker information.

[0059] S5. During training, the parameters of the model are adjusted according to the training data, the prediction results of the model, and the obtained acoustic features, and the training is terminated until the preset conditions for completing the model training are met, thereby obtaining a trained multimodal model; wherein the preset conditions include: a prescribed range of calculation results pre-set based on the calculation of the objective function and / or loss function of the model;

[0060] For example: when conducting model training, the text and emotion ID in the triplet are input, and after encoding and decoding and GRL excluding specific emotions, speaker information, and speaker features, prediction is performed, and the parameters of the model are adjusted according to the prediction results and / or decoded acoustic features, so as to gradually meet the preset model training goals or preset conditions, such as the calculation and confirmation of the loss function and the objective function by the deep learning network during the training process, until the preset conditions are met, such as the specified range of the loss function or the objective function, etc., the parameters are adjusted, the training is completed, and the training ends.

[0061] Thus, a trained multimodal structured speech processing model is obtained.

[0062] Furthermore, the multimodal model also includes the vocoder, which is connected to one or more secondary decoders, and performs speech synthesis using acoustic features output from the secondary decoders.

[0063] Step S120, inputting data of different modalities into the trained model to obtain emotional audio corresponding to the user.

[0064] In one embodiment, different third modal data and first modal data are input into a trained multimodal structure model. After secondary decoding of the model, the acoustic features of the corresponding second modal data can be obtained, and then the emotional audio corresponding to the second modal data, i.e., emotional speech / sound wave, can be synthesized through a vocoder.

[0065] For example: input different emotion IDs and texts into the model of the trained multimodal structure. The emotion ID obtains the emotion coding features through the emotion encoder and is provided to the secondary decoder after excluding the speaker features by GRL, and is also provided to the speaker discriminator to predict which speaker the emotion comes from; the text is extracted through the encoder and encoded with features and then input into the main decoder for decoding to obtain text feature information and is provided to the secondary decoder after excluding the emotion and speaker information by GRL, and is also provided to the speaker and emotion discriminator to predict which speaker the text comes from and which emotion. Among them, each secondary decoder corresponds to each speaker, and each acoustic feature of the decoding output also corresponds to each speaker. Further, each acoustic feature is input into the vocoder for speech synthesis. At this time, due to the predicted speaker and corresponding emotion and the emotional features contained in the acoustic features, the speech synthesis can correspond to the corresponding speaker and synthesize emotional speech.

[0066] Therefore, different emotions of different users can be provided by training the model with a small amount of training data, that is, the emotional data of other users can be used to enrich the model's own emotional data, without having to obtain all the emotional data of each different user for training, which reduces the difficulty of data acquisition and reduces the amount of data acquisition. At the same time, there is no need to process too much massive data, which also improves the effectiveness of data processing, avoids complex data processing, helps to improve data quality or eliminates the need to make too many requirements on training data; through the design of a multi-head structured model algorithm, the parallel computing efficiency is high and the reference is strong, the calculation is optimized, the complexity is reduced, and the speed of the overall model algorithm is improved, thereby improving the efficiency and performance of intelligent speech processing, especially emotional speech synthesis.

[0067] [Example 2]

[0068] See below Figure 2 The preferred specific example of a multimodal model involved in a speech processing system according to the principle of implementing the technical solution of speech processing of the present invention is shown, and the implementation of the present invention is further explained in combination with the application scenario. This is only a specific application example, and is not a limitation on the implementation of the present invention.

[0069] In this example, it can be regarded as a speech processing system, in which the front-end processing system as a whole includes at least:

[0070] An encoder that receives text as input;

[0071] A main decoder connected to the encoder and receiving the encoded information output by the encoder, processing the main decoder decoded information through GRL, and then inputting it into: the speaker and emotion discriminator connected to the main decoder, and the secondary decoder;

[0072] The speaker and emotion discriminator then discriminates based on the received decoded information and outputs the speaker ID / user ID and emotion ID corresponding to the predicted input text information;

[0073] An emotion encoder receiving input emotion identification information, i.e., emotion ID;

[0074] The emotion encoder encodes the emotion identification information and outputs the emotion feature encoding information, which is processed by GRL and then input into: the speaker discriminator and the secondary decoder connected to the emotion encoder;

[0075] The speaker discriminator discriminates based on the received emotional feature encoding information and outputs the speaker ID / user ID corresponding to the predicted output emotional ID;

[0076] Each secondary decoder decodes the feature information processed by GRL from the main decoder and the feature information processed by GRL from the emotion encoder to obtain acoustic features 1, 2...N corresponding to each user / speaker, that is, one secondary decoder corresponds to the acoustic features of one user / speaker.

[0077] Among them, the back-end processing system mainly includes a vocoder, which performs speech synthesis on the acoustic features of each user decoded by each secondary decoder, and outputs sound waves with emotions, that is, generates emotional speech of the user corresponding to the input text.

[0078] In one embodiment, the multimodal model constructed includes several functions, such as Figure 2 An example of an application scenario of the implementation principle of the technical solution of the present invention is shown as follows:

[0079] The text is input into the encoder, which extracts the features of the input text and converts the text into a context vector. In one example, the encoder uses a preprocessing network combined with a GBHG module, such as a series of nonlinear conversion layers, which converts the text into an embedding vector, and a CBHG module combined with an attention mechanism to convert the embedding vector into a context vector, etc.; another example is using a common LSTM and / or convolutional network, or a fully convolutional network, etc.

[0080] The text features and / or the encoded information such as its context vector output by the encoder are output to the main decoder. The main decoder directly decodes the encoded information such as the context vector to obtain the decoded information, for example, various speech information such as the spectrogram or the mel spectrum is decoded. Furthermore, the main decoder can also be combined with the attention mechanism, and adopt a convolution-based and / or recurrent neural network-based decoder, etc., which can better adapt to the input of various texts and improve the efficiency of the overall speech processing process.

[0081] Furthermore, the speech information output by the main decoder includes abstract feature information, which is input into the speaker and emotion discriminator, and the abstract feature information is also input into the secondary decoder 1, secondary decoder 2, ... secondary decoder N to obtain corresponding acoustic feature 1, acoustic feature 2, ... acoustic feature N. Wherein N is a natural number greater than or equal to 1.

[0082] A preferred example is that when training the entire multimodal model, this information can be first transmitted to GRL for gradient direction transposition to achieve the purpose of adversarial learning, so that the abstract feature information (text features, etc.) output by the main decoder no longer contains emotion and speaker information; then the abstract feature information that does not contain emotion and speaker information is output to the speaker and emotion discriminator, so as to try to let the main decoder confuse the speaker and emotion discriminator. In this way, the speaker and emotion discriminator perform discrimination on the obtained abstract feature information without emotion and speaker information, and predict which speaker (such as: person A, B,...) and which emotion (such as: emotion a, b, c,...) these abstract feature information come from.

[0083] The emotion ID, i.e., the emotion identification information, is input into the emotion encoder, and the emotion encoding information is output through the emotion encoder. In a preferred example, when training the entire multimodal model, the output emotion encoding information can be first transmitted to the GRL for gradient direction transposition to achieve the purpose of adversarial learning, so that the abstract feature information such as the emotion feature information in the emotion encoding information output by the emotion encoder does not contain speaker features or speaker information; and then the emotion feature information that does not contain speaker information is output to the speaker discriminator to try to let the emotion encoder confuse the speaker discriminator, so that the speaker discriminator discriminates the emotion features output from the emotion encoder and predicts which speaker, i.e., which user, these abstract features come from.

[0084] There can be one or more secondary decoders, such as 1, 2, ... N as shown in the figure. Each secondary decoder corresponds to each user, such as one secondary decoder for one speaker. The abstract feature information obtained by each secondary decoder from the output of the main decoder mainly includes two types of information: one is the text feature that does not contain emotion and speaker information, and the other is the emotion feature that only does not contain speaker information. Preferably, it is the text feature information after the main decoder decodes and is processed by GRL (which does not contain emotion and speaker information) and the emotion feature information after the emotion encoder is processed by GRL (which does not contain speaker information).

[0085] Furthermore, the secondary decoder uses the two input abstract feature information (which does not contain emotion and speaker information) output from the primary decoder and the abstract feature information (which does not contain speaker information) output from the emotion encoder to decode and output the acoustic features corresponding to each user, as shown in the figure 1, 2...N acoustic features. Furthermore, each secondary decoder can also adopt a combined attention mechanism like the primary decoder, a convolution-based and / or recurrent neural network-based decoder, etc., and each acoustic feature of the decoded output can be an original spectrogram or a mel-spectrogram, etc.

[0086] The decoded acoustic features, as shown in the figure, represent the acoustic features 1, 2, ... N corresponding to each user, such as speakers 1, 2, ... N, and are output to a vocoder, such as an autoregressive vocoder (for example, deep learning neural networks such as Wavenet / FastWavenet, WaveRNN, and SampleRNN), a parallel vocoder (for example, deep learning neural networks such as ParallelWavenet, WaveGlow, and FloWavenet), and the like. Further, the vocoder implements speech synthesis by these neural network models. In this embodiment, it can be trained by such convolutional neural networks, recurrent neural networks, etc., effectively improving the computational efficiency of network model training and subsequent synthesis, especially the vocoder model constructed by the full convolutional neural network, which is faster. Further, the vocoder can perform speech synthesis on the acoustic features of each user or each speaker, that is, quickly generate a speech waveform corresponding to the acoustic features of each user / each speaker, and then output the synthesized speech sound wave. Since each acoustic feature comes from the decoding of the secondary decoder based on the input information containing the emotional feature encoding, each acoustic feature of the decoding result contains the corresponding emotional acoustic feature. In this way, the emotional acoustic feature is also included in the synthesis of the vocoder, and the synthesized sound wave is speech containing emotion.

[0087] By using a small amount of multimodal training data, the above-mentioned front-end and / or back-end processing systems of speech processing or the models of multimodal structures can be trained to determine the parameters of the trained model, and then the trained model can be used to process the input multimodal data, such as the text data of the user (such as the "speaker"), in combination with the emotion ID to perform speech processing on the user ("speaker") corresponding to the text, especially to synthesize any emotional speech of the user, even if no emotional data of the user has been trained.

[0088] The training data may be a triple pair including text, user ID (e.g., speaker ID), and emotion ID. During training, the text and emotion ID are input respectively, and the predicted output is the user ID and the corresponding emotion ID, and the predicted output is the user ID. The parameters are continuously adjusted during the training using the training data, and the emotional speech of the user ID corresponding to the emotion ID is synthesized using the decoded acoustic features. Training is performed based on this goal, and the parameters of the entire multimodal model are adjusted, such as achieving the expected goal (e.g., minimizing the error), etc. The training is mainly based on achieving the preset conditions such as the model loss function or the objective function to determine whether the training is completed. The training method of the model is a general deep learning network training method.

[0089] The trained model is used to perform speech processing on data of different modalities input to the model, such as text data, emotion ID, user ID, etc. For example, emotional speech synthesis can synthesize the speech of emotion d of a certain speaker A (such as acoustic features generating speech and sound wave output through a vocoder). In this way, the data requirements for emotion synthesis can be effectively reduced. Specifically, if the training data only contains speaker A's emotion b and speaker C's emotion d, it is also possible to adjust the parameters by predicting the speakers and the corresponding emotions during training, and constantly approaching the target. Each speaker can use the emotions of other speakers to enrich his or her corresponding emotions, and different speakers can correspond to more other emotions; inputting different modal data such as the speaker's text and emotion ID into the trained model, when synthesizing emotional speech, it is still possible to synthesize speaker A's emotion d speech well.

[0090] In one embodiment, a trained model is used for speech processing, especially emotional speech synthesis. Specifically, after the model training is completed, different emotion IDs and texts are input, and the corresponding secondary decoder will output the emotion audio corresponding to the corresponding predicted speaker. For example, text is input to predict speaker A and the corresponding emotion ID (for example, emotion d), and the emotion ID is input to predict speaker A. The feature information of the input text after encoding by the encoder and decoding by the main decoder is combined with the emotion feature encoding information of the emotion encoder, and the acoustic features are decoded in the secondary decoder. The emotion d speech of speaker A is synthesized by the acoustic features and the predicted speaker A and the emotion d of the corresponding emotion ID.

[0091] In this way, training can be carried out as long as the voice audio and text information of various people are obtained. There is no need to obtain massive data on all the emotions of each person, nor is there any need to process the data in a complicated and tedious manner to achieve high quality and high requirements. This simplifies data acquisition and data processing, improves efficiency, improves the effectiveness of actual data processing, and enhances the efficiency and performance of overall speech processing, especially emotional speech synthesis.

[0092] Furthermore, by utilizing the constructed emotion synthesis model based on a multi-head structure (multimodal structure), combined with GRL and a multi-head structure, the excessive requirements of emotion synthesis on the quality and quantity of data can be reduced, and the complex and cumbersome data acquisition, low efficiency and high complexity of training and algorithm operation, and low performance caused by these requirements can be reduced. This avoids the situation where the synthesized emotional speech effects or results for users are poor, and effectively optimizes speech processing, speech synthesis, especially emotional speech synthesis methods.

[0093] [Example 3]

[0094] The following will be combined Figure 4 The structural block diagram of an embodiment of the speech processing device according to the present invention and embodiments 1 and 2 further illustrate the implementation of the present invention.

[0095] The training unit 410 is used to perform model training based on the constructed multimodal model using multimodal training data. Its specific functions and processing refer to the specific content of step S110, which will not be repeated here.

[0096] The synthesis unit 420 is used to input data of different modes into the trained model to obtain the emotional audio corresponding to the user. The specific functions and processing thereof refer to the specific contents of step S120, which will not be described in detail here.

[0097] Therefore, different emotions of different users can be provided by training the model with a small amount of training data, that is, the emotional data of other users can be used to enrich the model's own emotional data, without having to obtain all the emotional data of each different user for training, which reduces the difficulty of data acquisition and reduces the amount of data acquisition. At the same time, there is no need to process too much massive data, which also improves the effectiveness of data processing, avoids complex data processing, helps to improve data quality or eliminates the need to make too many requirements on training data; through the design of a multi-head structured model algorithm, the parallel computing efficiency is high and the reference is strong, the calculation is optimized, the complexity is reduced, and the speed of the overall model algorithm is improved, thereby improving the efficiency and performance of intelligent speech processing, especially emotional speech synthesis.

[0098] [Example 4]

[0099] Specifically, it also includes an embodiment of an electronic device, which includes a processor and a memory storing computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to perform the embodiment steps of the method of the present invention involved in the aforementioned embodiments 1 and 2.

[0100] An embodiment of the electronic device of the present invention is described below, and the electronic device can be regarded as a physical implementation of the method and device embodiments of the present invention described above. The details described in this embodiment of the electronic device of the present invention should be regarded as a supplement to the embodiments of the above method or device / system; details not disclosed in the embodiment of the electronic device of the present invention can be implemented with reference to the above method or device / system embodiments.

[0101] Figure 5 is a structural block diagram of an exemplary embodiment of an electronic device according to the present invention. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0102] like Figure 5 As shown, the electronic device 200 of this exemplary embodiment is in the form of a general data processing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one storage unit 220, a bus 230 connecting different system components (including the storage unit 220 and the processing unit 210), a display unit 240, etc.

[0103] The storage unit 220 stores a computer-readable program, which may be a source program or a code of a read-only program. The program may be executed by the processing unit 210, so that the processing unit 210 performs the steps of various embodiments of the present invention. For example, the processing unit 210 may perform the various steps of the methods involved in the aforementioned embodiments 1 and 2.

[0104] The storage unit 220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 2201 and / or a cache storage unit 2202, and may further include a read-only storage unit (ROM) 2203. The storage unit 220 may also include a program / utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment.

[0105] Bus 230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0106] The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboard, display, network device, Bluetooth device, etc.) so that a user can interact with the electronic device 200 via these external devices 300, and / or the electronic device 200 can communicate with one or more other data processing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 250, and may also be performed through a network adapter 260 with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet). The network adapter 260 may communicate with other modules of the electronic device 200 through the bus 230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0107] [Example 5]

[0108] Specifically, it also includes a computer-readable storage medium, which stores one or more programs, wherein when the one or more programs are executed by a processor, the embodiment steps of the method of the present invention in the above-mentioned embodiments 1 and 2 are implemented.

[0109] Figure 6 Schematic diagram of a computer readable medium embodiment of the present invention. Figure 6 As shown, the computer program can be stored on one or more computer-readable media. The computer-readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable 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 above. When the computer program is executed by one or more data processing devices, the computer-readable medium is enabled to implement the above method of the present invention, namely: the configuration service management provided by the server generates a configuration file related to the domain name; when a domain name failure occurs during the request for a business service, the client implements the automatic switching of domain name access by updating the configuration according to the configuration file.

[0110] Through the description of the above implementation modes, it is easy for those skilled in the art to understand that the exemplary embodiments described in the present invention can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation mode of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a data processing device (which can be a personal computer, a server, or a network device, etc.) to perform the above method according to the present invention.

[0111] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0112] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0113] In summary, the present invention can be implemented by a method, system, electronic device or computer readable medium that executes a computer program. In practice, a general data processing device such as a microprocessor or a digital signal processor (DSP) can be used to implement some or all functions of the present invention.

[0114] Through the front-end judgment logic control and the back-end dynamic language model based on deep learning according to the dynamic recognition method of domain information, it can adapt to different domain recognition services, simplify and reduce the model quantity or reduce the configuration requirements of servers and service engines, and a small number or a single model can adapt to the actual concurrency; further, combined with the recognition of domain information, more accurate call and matching of parameters and models for calculation can be carried out, thereby reducing the waste of computing resources. In addition, the combination of dynamic models and domain information realizes that only one model is needed to provide all services and provide hot switching of recognition services, and can directly enter the calculation of speech recognition services in the matching domain, that is, the neural network model of the embedding layer Embedding model structure is used for multi-language model switching and recognition calculation, thereby reducing the need for manual maintenance and reducing labor costs; further, the front-end judgment logic combined with the domain information to control the dynamic language model can effectively cope with long dialogue recognition, especially the situation where long dialogues continuously recognize multiple domains, and the corresponding recognition results of different domains are provided according to the dialogue that has occurred to determine the domain to which the currently recognized voice belongs, and effectively realize cross-recognition of multiple domains.

[0115] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the present invention is not inherently related to any specific computer, virtual device or electronic device, and various general devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A speech processing method, characterized in that: include: Based on the constructed multimodal model, model training is performed using multimodal training data, including: each of the multimodal training data includes at least one data combination triple pair; each triple pair includes at least first modal data, second modal data and third modal data; the first modal data and the third modal data in each triple pair of the multimodal training data are respectively input into the multimodal model, and the model training is performed in combination with the second modal data in the triple pair and the gradient reversal layer; The data of different modalities are input into the trained model for speech synthesis processing to obtain the corresponding audio of each user, and the data of different modalities include different third modality data and first modality data.

2. The method according to claim 1, characterized in that Inputting the first modality data and the third modality data in each triple pair of multimodal training data into the multimodal model respectively, and performing model training in combination with the second modality data in the triple pair and the gradient reversal layer, specifically includes: Predicting second modality data and third modality data corresponding to the first modality data according to main-level decoding and gradient reversal layer processing of the input first modality data; Predicting second modality data corresponding to the third modality data according to encoding and gradient reversal layer processing of the input third modality data; Each multimodal training data is used in turn for model training until a preset condition is met indicating that model training is complete.

3. The method according to claim 2, characterized in that According to performing main-level decoding and gradient reversal layer processing on the input first modality data, predicting second modality data and third modality data corresponding to the first modality data specifically includes: The first modal data input is encoded and then subjected to main-level decoding; the main-level decoding information obtained by the main-level decoding is subjected to gradient inversion layer processing; and the second modal data and the third modal data corresponding to the first modal data input are predicted according to the main-level decoding information after the gradient inversion layer processing; According to encoding and gradient reversal layer processing of the input third modal data, predicting second modal data corresponding to the third modal data specifically includes: encoding the input third modal data to obtain feature codes of corresponding third modal data; performing gradient reversal layer processing on the feature codes of the third modal data; and predicting second modal data corresponding to the input third modal data based on the feature codes of the third modal data after the gradient reversal layer processing.

4. The method according to claim 3, characterized in that The model training further includes: Secondary decoding is performed in combination with the primary decoding information processed by the gradient inversion layer and the feature encoding of the third modality data to obtain corresponding acoustic features.

5. The method according to claim 4, characterized in that Use each multimodal training data in turn to train the model until the preset conditions indicating that the model training is complete are met, including: The parameters of the model are calculated and adjusted according to the input multimodal training data, the predicted second modal data and third modal data corresponding to the first modal data, the predicted second modal data corresponding to the third modal data, and the acoustic features until the calculation results meet the preset conditions and the training is terminated.

6. The method according to any one of claims 1 to 5, characterized in that: The model at least includes: a first encoder, a primary decoder, a first discriminator, a second encoder, a second discriminator, and a secondary decoder; The model training also includes: The first encoder encodes the input first modal data, and the main decoder receives the code output by the first encoder and performs main-level decoding to obtain main-level decoding information; the first discriminator performs prediction based on the main-level decoding information output by the main decoder and processed by the gradient reversal layer; The second encoder encodes the input third modality data to obtain feature codes; the second discriminator predicts according to the feature codes received from the second encoder and processed by the gradient reversal layer; One or more of the secondary decoders combine the received primary decoding information processed by the gradient reversal layer and the feature code to perform secondary decoding.

7. The method according to claim 6, characterized in that Also includes: The first modality data in the ternary pair of the multimodal training data is text, the second modality data is a user identification ID, and the third modality data is an emotion identification ID; The first encoder is a text encoder, the first discriminator is a speaker and emotion discriminator, the second encoder is an emotion encoder, and the second discriminator is a speaker discriminator; The model training specifically includes: The text encoder extracts features of the input text and encodes it to obtain text feature encoding, and outputs the text feature encoding information to the main decoder; The main decoder performs main-level decoding on the text feature code to obtain text feature information and outputs it to the speaker and emotion discriminator after being processed by a gradient reversal layer; The speaker and emotion discriminator predicts the user and emotion corresponding to the input text according to the received text feature information processed by the gradient reversal layer; The emotion encoder receives the input emotion identification ID and encodes it to obtain the emotion feature code, and outputs it to the speaker discriminator after being processed by the gradient reversal layer; The speaker discriminator predicts the user corresponding to the input emotion identification ID according to the received emotion feature code processed by the gradient reversal layer; One or more of the secondary decoders perform secondary decoding in combination with the received text feature information processed by the gradient reversal layer and the emotional feature encoding.

8. The method according to any one of claims 1 to 5 and 7, characterized in that: Inputting data of different modalities into the trained model for speech synthesis processing to obtain the corresponding audio of each user, specifically including: Inputting different third modality data and first modality data into the trained model, and obtaining the acoustic features of the corresponding second modality data after secondary decoding by the model; the third modality data includes data related to emotion; Each acoustic feature is processed by emotional speech synthesis to obtain the emotional audio corresponding to each acoustic feature.

9. The method according to claim 6, characterized in that Inputting data of different modalities into the trained model for speech synthesis processing to obtain the corresponding audio of each user, specifically including: Inputting different third modality data and first modality data into the trained model, and obtaining the acoustic features of the corresponding second modality data after secondary decoding by the model; the third modality data includes data related to emotion; Each acoustic feature is processed by emotional speech synthesis to obtain the emotional audio corresponding to each acoustic feature.

10. A speech processing device, characterized in that: include: A training unit, for performing model training using multimodal training data based on the constructed multimodal model, comprising: each of the multimodal training data comprises at least one data combination triple pair; each triple pair comprises at least first modal data, second modal data and third modal data; the first modal data and the third modal data in each triple pair of the multimodal training data are respectively input into the multimodal model, and the model training is performed in combination with the second modal data in the triple pair and the gradient reversal layer; The synthesis unit is used to input data of different modalities into the trained model for speech synthesis processing to obtain the corresponding audio of each user, and the data of different modalities include different third modal data and first modal data.

11. A speech processing system, characterized in that: include: Construct a multimodal model, the multimodal model at least comprising: Text encoder, primary decoder, speaker and emotion discriminator, emotion encoder, speaker discriminator, secondary decoder, and vocoder; The main decoder is respectively connected to the text encoder, the speaker and emotion discriminator and one or more secondary decoders; The emotion encoder is respectively connected to the speaker discriminator and one or more secondary decoders; The vocoder is respectively connected to one or more of the secondary decoders; The primary decoder processes the decoded primary level decoding information through a gradient reversal layer and outputs the information to the speaker and emotion discriminator and the secondary decoder respectively; The emotion encoder processes the feature encoding obtained by encoding through a gradient reversal layer and outputs the encoded feature to the speaker discriminator and the secondary decoder respectively; as well as, Training the multimodal model, comprising: Obtain multimodal training data, each of the multimodal training data is a triple pair including text, speaker ID and emotion ID; The text encoder encodes the input text to obtain a text feature code and outputs it to the primary decoder; the primary decoder performs primary-level decoding on the text feature code to obtain text feature information, processes the text feature information by a gradient reversal layer, and outputs it to the speaker and emotion discriminator and the secondary decoder; the speaker and emotion discriminator predicts the speaker and the corresponding emotion of the input text according to the text feature information processed by the gradient reversal layer; The emotion encoder encodes the input emotion identification ID to obtain the emotion feature code, processes the emotion feature code by the gradient reversal layer, and outputs it to the speaker discriminator and the secondary decoder; the speaker discriminator predicts the speaker corresponding to the input emotion identification ID according to the emotion feature code processed by the gradient reversal layer; the secondary decoder performs secondary decoding according to the text feature information processed by the gradient reversal layer and the emotion feature code to obtain the corresponding acoustic features; Use each training data in turn to train the model until the preset conditions indicating that the model training is completed are met, and then the training ends; The trained multimodal model is used to synthesize emotional audio corresponding to the speaker from input information, wherein the information includes different third modality data and first modality data.

12. The system according to claim 11, characterized in that The input information is synthesized into the emotional audio corresponding to the speaker by the trained multimodal model, specifically including: Input different emotion identification IDs and texts into the trained model, and obtain corresponding acoustic features of one or more speakers after decoding by one or more secondary decoders of the model; Each acoustic feature is processed by a vocoder for emotional speech synthesis to obtain the emotional audio of the speaker corresponding to each acoustic feature.

13. An electronic device comprising a processor and a memory storing computer executable instructions, characterized in that: The computer executable instructions, when executed, cause the processor to perform the method of any one of claims 1 to 9.

14. A computer readable medium, characterized in that The computer-readable medium stores one or more programs, and when the one or more programs are executed by a processor, the method according to any one of claims 1 to 9 is implemented.