Generative semantic communication method and system oriented to speech synthesis and computer equipment

Through the generative semantic communication method, large speech models and multi-level speech codebooks are used to transmit feature code index and text information in cross-node speech synthesis, which solves the problems of high communication overhead and high computational complexity in traditional technology, and achieves efficient, Stable speech synthesis enhances the versatility and adaptability of the system.

CN118629393AActive Publication Date: 2024-09-10THE CHINESE UNIV OF HONG KONG (SHENZHEN) +1

Patent Information

Application Number
CN202411095493.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-09-10
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

The existing technology has the problems of high communication overhead, unstable voice quality and high computational complexity in cross-node speech synthesis. The traditional communication architecture cannot meet the needs of real-time and scalability. The semantic communication architecture based on deep learning has high computational complexity. High and poor model generality.

Method used

Using the generative semantic communication method, sample speech features are extracted through the semantic knowledge base of the sending end, semantic coding and channel coding are performed, and feature code index and text information are transmitted. The receiving end uses a large speech model and a multi-level speech codebook to reconstruct the speech features, using The diffusion model and Transformer encoder synthesize the target speech.

Benefits of technology

It reduces communication overhead and computational complexity, improves speech synthesis efficiency and quality, enhances the system's versatility and adaptability, and adapts to diverse environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629393A
    Figure CN118629393A
Patent Text Reader

Abstract

The invention discloses a voice synthesis-oriented generative semantic communication method and system and computer equipment, and the method comprises the steps that a sending end semantic knowledge base obtains example voice information, characterizes the example voice information and extracts voice knowledge, and the voice knowledge comprises feature codes and feature code indexes for the example voice information; the semantic encoder carries out semantic encoding on the example voice information and the obtained text information to generate a semantic data packet, the channel encoder carries out channel encoding on the semantic data packet and the feature code index to obtain a data packet, and the data packet is sent to a receiving end through a communication channel; the channel decoder of the receiving end carries out channel decoding on the received data packet and recovers the semantic data packet and the feature code index, the semantic knowledge base of the receiving end reconstructs the voice features according to the feature code index, and the semantic decoder synthesizes the target voice by using the semantic data packet and the reconstructed voice features. The transmission data volume can be effectively reduced, and the speech synthesis efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular relates to a method, system and computer device for generative semantic communication oriented to speech synthesis. Background Art

[0002] In recent years, the rise of intelligent applications such as augmented reality and metaverse has brought huge challenges to the next generation of wireless networks. Traditional communication technologies are difficult to meet the needs of massive data transmission and ultra-reliable low-latency communication. In order to cope with the growing demand for data transmission, semantic communication has emerged as an emerging communication paradigm. The core idea of ​​semantic communication is to reduce the communication overhead of the system by transmitting the semantic information of the original data. Its original design intention is to significantly reduce the amount of data transmission and improve communication efficiency while ensuring the completion of the receiving end task. This makes semantic communication have the potential for wide application in the fields of Internet of Things, smart cities, autonomous driving, etc.

[0003] At present, the semantic communication system mainly includes five core modules: semantic encoder, channel encoder, channel decoder, semantic decoder, and semantic knowledge base. The semantic encoder is responsible for converting high-dimensional source data into low-dimensional semantic information, thereby reducing communication overhead. The channel encoder is responsible for channel encoding the semantic information to improve its reliability and anti-interference ability in the communication channel. The channel decoder is responsible for checking and correcting the received signal to recover the semantic information. The semantic decoder is responsible for using the recovered semantic information to complete the task of the receiving end. The semantic knowledge base is responsible for providing semantic knowledge to the semantic encoder and semantic decoder, thereby improving the accuracy and efficiency of semantic encoding and decoding.

[0004] Building an efficient and reliable semantic knowledge base is one of the main challenges in achieving semantic communication. In recent years, the rapid development of artificial intelligence (AI) technology, especially generative artificial intelligence (GAI) technology, has provided a new paradigm for semantic communication. By using GAI technology to build a generative semantic knowledge base, it is expected to enable semantic communication to complete a variety of tasks, thereby providing strong technical support for the next generation of wireless networks.

[0005] Text-to-Speech (TTS) is a technology that converts written text into natural speech. Its development history can be traced back to early rule-based systems and statistical parameter-based methods. In recent years, with the rapid development of AI technology, TTS systems have made a qualitative leap in the naturalness and fluency of synthesized speech, and have been widely used in voice assistants, navigation systems, entertainment media and other fields. At present, popular TTS systems usually adopt neural network architectures, such as Tacotron based on sequence-to-sequence models, WaveNet based on variational autoencoders (VAE), and generative TTS systems based on generative adversarial networks (GAN). The above models are trained with large-scale speech data and can effectively capture the subtle features and styles of speech, thereby providing realistic and personalized speech synthesis effects.

[0006] Existing TTS systems usually consider speech synthesis on a single node. However, in actual systems, the input node of the text and the output node of the target speech may not be the same node. For example, in a point-to-point communication system, the sender has a piece of text and a sample speech, and the receiver needs to synthesize the target speech based on the characteristics of the sample speech and the content of the text. This is very common in scenarios such as real-time remote collaboration and multi-node speech synthesis, and therefore has important application value. In order to meet the needs of real-time speech synthesis across nodes and achieve flexible and convenient speech synthesis goals, a new communication architecture for speech synthesis is urgently needed.

[0007] In order to achieve the goal of cross-node speech synthesis, the existing technology adopts the traditional communication architecture, that is, the text and sample speech of the sender are encoded and modulated in sequence, and then the modulated signal is transmitted to the receiving end through the communication channel, which is demodulated and decoded in sequence by the receiving end to restore the text and sample speech, and finally the target speech is synthesized using the existing TTS technology. In the point-to-point traditional communication architecture for speech synthesis tasks, the sender is composed of three parts: source encoder, channel encoder, and digital modulator, while the receiver is composed of four parts: digital demodulator, channel decoder, source decoder, and speech synthesizer. The specific workflow includes: Step 1: The source encoder digitizes the text and sample speech and compresses them into a bit stream.

[0008] Step 2: The channel encoder adds additional redundant information to the bit stream to improve the reliability and anti-interference ability of data transmission. Common channel coding includes Turbo code, LDPC code, Polar code, etc.

[0009] Step 3: The digital modulator converts the digital signal output by the channel encoder into a signal suitable for transmission on the communication channel. Common digital modulation technologies include Quadrature Phase Shift Keying (QPSK), Quadrature Amplitude Modulation (QAM), Orthogonal Frequency Division Multiplexing (OFDM), etc.

[0010] Step 4: The transmitter transmits the modulated signal to the receiver through the communication channel.

[0011] Step 5: The digital demodulator restores the received signal to a digital signal.

[0012] Step 6: The channel decoder checks and corrects the digital signal output by the digital demodulator to restore the bit stream.

[0013] Step 7: The source decoder decodes the text and sample speech from the recovered bit stream.

[0014] Step 8: Based on the decoded text and sample speech, the speech synthesizer synthesizes a target speech that meets the characteristics of the sample speech and corresponds to the text content.

[0015] Since the existing technology adopts the traditional communication architecture, it has advantages in technical compatibility. However, it has the following three main disadvantages: (1) High communication overhead: This solution needs to transmit a large amount of data (including text and sample speech), which results in long transmission delay, slow response speed and lack of real-time performance. (2) Unstable quality of synthesized target speech: In an environment with poor signal or large interference, due to the high transmission bit error rate, the receiving end cannot accurately restore the text and sample speech, resulting in poor and unstable synthesized speech quality. (3) High computational complexity of the receiving end: The receiving end not only needs to perform digital demodulation, channel decoding and source decoding, but also needs to perform text-to-speech operations, which consumes a lot of computing resources, limiting the scalability of the system.

[0016] The second existing technology adopts a semantic communication architecture based on deep learning, called DeepSC-ST, which can complete point-to-point speech synthesis tasks. In the DeepSC-ST communication architecture, the sending end is composed of two parts: the semantic encoder and the channel encoder, while the receiving end is composed of three parts: the channel decoder, the feature decoder, and the speech synthesizer. The specific workflow includes: Step 1: The semantic encoder extracts semantic features related to the speech synthesis task from the text and sample speech. The semantic encoder uses neural networks, such as convolutional neural networks, recurrent neural networks, Transformer, etc.

[0017] Step 2: The channel encoder performs channel encoding on the extracted semantic features to improve the reliability and anti-interference ability of semantic feature transmission. The channel encoder uses a neural network, such as a 2-layer fully connected layer (Dense Layer).

[0018] Step 3: The sending end transmits the data packet output by the channel encoder to the receiving end through the communication channel.

[0019] Step 4: The channel decoder performs channel decoding on the received data packet to restore the semantic features.

[0020] Step 5: The feature decoder extracts the feature information required for the speech synthesis task from the recovered semantic features.

[0021] Step 6: Based on the feature information output by the feature decoder, the speech synthesizer synthesizes a target speech that meets the characteristics of the example speech and corresponds to the text content.

[0022] Although the DeepSC-ST communication architecture adopted in the second prior art can reduce the amount of transmitted data, it has the following two major disadvantages: (1) High computational complexity: Since the semantic encoder, channel encoder, channel decoder, and feature decoder all rely on neural networks, their structures are complex and have a large number of parameters, requiring a large amount of computing resources for model training and inference. This limits the practicality of this architecture in scenarios with limited computing resources. (2) Poor model versatility: The performance of this architecture is highly dependent on the model structure and training data. The model needs to be retrained for different scenarios (such as scenarios where the signal-to-noise ratio changes dynamically). This greatly increases the complexity of system deployment and maintenance, and also limits its versatility and flexibility in complex environments. Summary of the invention

[0023] The present invention provides a method for generative semantic communication oriented to speech synthesis, comprising: The semantic knowledge base at the sending end obtains sample speech information, and represents the sample speech information to extract speech knowledge, wherein the speech knowledge includes a feature code and a feature code index for the sample speech information, the semantic encoder performs semantic encoding on the sample speech information and the obtained text information to generate a semantic data packet, the channel encoder performs channel encoding on the semantic data packet and the feature code index to obtain a data packet, and sends the data packet to the receiving end through a communication channel; The channel decoder at the receiving end performs channel decoding on the received data packets, recovers the semantic data packets and feature code indexes, the semantic knowledge base at the receiving end reconstructs the speech features according to the feature code indexes, and the semantic decoder synthesizes the target speech using the semantic data packets and the reconstructed speech features.

[0024] Furthermore, the semantic knowledge base at the sending end obtains sample speech information and represents the sample speech information to extract speech knowledge, including: The speech large model WavLM in the semantic knowledge base of the sender extracts the feature vector of the sample speech information, which is defined as the WavLM feature vector; The Transformer encoder transforms the WavLM feature vector into a source vector; The first RVQ encoder in the semantic database of the sending end quantizes and compresses the source vector, and the second RVQ encoder quantizes and compresses the quantized and compressed source vector. Multiple RVQ encoders perform multi-level quantization compression in turn, and use the nearest neighbor search method to find the feature code and feature code index corresponding to the feature vector output by each RVQ encoder in the multi-level speech code book.

[0025] Furthermore, the semantic encoder performs semantic encoding on the sample speech information and the acquired text information to generate a semantic data packet, including: The Transformer encoder in the semantic encoder extracts the residual information in the sample speech information that cannot be represented by the feature code output by the semantic knowledge base of the sender, and defines it as the residual speech information vector; The text segmenter segments and encodes the text information to obtain a text vector; The concatenator concatenates the residual speech information vector and the text vector to obtain a semantic data packet.

[0026] Furthermore, the semantic knowledge base at the receiving end reconstructs the speech features according to the feature code index, including: The semantic knowledge base at the receiving end searches for the nearest feature code from the multi-level speech codebook according to the feature code index output by the channel decoder. Each RVQ decoder converts the corresponding feature code into speech features. The speech features output by all RVQ decoders are summed up and input into the Transformer encoder to reconstruct the WavLM feature vector of the sample speech information.

[0027] Furthermore, the semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features, including: The separator separates the semantic data packets output by the channel decoder to obtain residual speech information vectors and text vectors; The a priori encoder generates a conditional speech information vector for speech synthesis tasks based on the residual speech information vector, the text vector, and the reconstructed WavLM feature vector; The diffusion model uses the conditional speech information vector, the residual speech information vector, and the reconstructed WavLM feature vector to generate a SoundStream feature vector for the sample speech information and text information; SoundStream converts the SoundStream feature vector to the target speech.

[0028] Furthermore, the a priori encoder generates a conditional speech information vector for speech synthesis tasks based on the residual speech information vector, the text vector, and the reconstructed WavLM feature vector, including: The text encoder generates a phoneme-level hidden sequence and a phoneme duration vector using the residual speech information vector, the text vector, and the reconstructed WavLM feature vector; The expander expands the phoneme-level hidden sequence into a frame-level hidden sequence according to the phoneme duration vector; The fundamental frequency predictor predicts the fundamental frequency information vector of the target speech using the residual speech information vector, the reconstructed WavLM feature vector, and the frame-level hidden sequence, and sums the fundamental frequency information vector and the frame-level hidden sequence to obtain the conditional speech information vector.

[0029] Furthermore, the diffusion model generates a SoundStream feature vector for the example speech information and text information using the conditional speech information vector, the residual speech information vector, and the reconstructed WavLM feature vector, including: The reverse process is performed. For each normalization step, the noisy SoundStream feature vector, the conditional speech information vector, the residual speech information vector, and the reconstructed WavLM feature vector are input into the noise predictor WaveNet to predict the mean of the noisy SoundStream feature vector in the current normalization step.

[0030] Based on the predicted mean, the gradient vector of the log probability density function is calculated to calculate the predicted SoundStream feature vector.

[0031] The present invention provides a system for generative semantic communication oriented to speech synthesis, comprising: a transmitting end, a communication channel and a receiving end; The sending end semantic knowledge base of the sending end obtains sample voice information, and represents the sample voice information to extract voice knowledge, wherein the voice knowledge includes a feature code and a feature code index for the sample voice information, a semantic encoder performs semantic encoding on the sample voice information and the obtained text information to generate a semantic data packet, a channel encoder performs channel encoding on the semantic data packet and the feature code index to obtain a data packet, and sends the data packet to the receiving end through the communication channel; The channel decoder at the receiving end performs channel decoding on the received data packet to restore the semantic data packet and the feature code index. The semantic knowledge base at the receiving end reconstructs the speech features according to the feature code index. The semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features.

[0032] The present invention provides a computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the method for generative semantic communication for speech synthesis as described above.

[0033] The present invention provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the method for generative semantic communication for speech synthesis as described above.

[0034] The method for generative semantic communication for speech synthesis proposed in the present invention has the following technical effects: (1) Reduce communication overhead: Since the semantic knowledge base at the sender and the semantic knowledge base at the receiver store the same speech codebook, the sender only needs to transmit the index of the feature code instead of the feature code itself (index size The size of the signature code is greatly reduced, thereby greatly reducing the amount of transmitted data.

[0035] (2) Improving speech synthesis efficiency: The semantic decoder directly synthesizes the target speech based on the reconstructed speech features and semantic data packets without restoring the original sample speech information, thereby reducing the computational overhead at the receiving end and improving the efficiency of speech synthesis. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0036] Figure 1 A flow chart of a method for generative semantic communication for speech synthesis according to an embodiment of the present invention; Figure 2 It is a point-to-point generative semantic communication architecture for speech synthesis tasks according to an embodiment of the present invention; Figure 3 This is a structural block diagram of a semantic knowledge base at the sending end according to an embodiment of the present invention; Figure 4 This is a structural block diagram of a semantic knowledge base at a receiving end according to an embodiment of the present invention; Figure 5 This is a structural block diagram of a semantic encoder according to an embodiment of the present invention; Figure 6 This is a structural block diagram of a semantic decoder according to an embodiment of the present invention; Figure 7 This is a structural block diagram of a priori encoder according to an embodiment of the present invention; Figure 8 This is a performance comparison diagram of five solutions of the present invention under additive white Gaussian noise channel conditions; Fig. 9 This is a performance comparison diagram of five solutions of the embodiment of the present invention under Rayleigh fading channel conditions; Fig.10 This is a performance comparison diagram of five solutions of the embodiment of the present invention under different traffic constraints; Fig.11 A system for generative semantic communication based on speech synthesis according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0038] like Figure 1 A method for generative semantic communication for speech synthesis provided by an embodiment of the present invention is shown, comprising: S1. The semantic knowledge base of the sending end obtains sample voice information, and represents the sample voice information to extract voice knowledge, wherein the voice knowledge includes a feature code and a feature code index for the sample voice information, a semantic encoder performs semantic encoding on the sample voice information and the obtained text information to generate a semantic data packet, a channel encoder performs channel encoding on the semantic data packet and the feature code index to obtain a data packet, and sends the data packet to the receiving end through a communication channel; The speech knowledge includes a set of feature codes (representing the speech features of the example speech information) and the index of each feature code in the speech codebook. The speech features include: pitch, timbre, loudness, etc.

[0039] S2. The channel decoder at the receiving end performs channel decoding on the received data packet to restore the semantic data packet and feature code index. The semantic knowledge base at the receiving end reconstructs the speech features according to the feature code index. The semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features.

[0040] The target speech is the speech synthesized by the receiving end that meets the characteristics of the example speech information and corresponds to the content of the text information, that is, the speech generated from the text information according to the pitch, timbre and loudness of the example speech information.

[0041] In the method of generative semantic communication for speech synthesis proposed by the present invention, since the semantic knowledge base of the sending end and the semantic knowledge base of the receiving end store the same speech codebook, the sending end only needs to transmit the index of the feature code instead of the feature code itself (index size At the same time, the sending end only needs to transmit the text information and residual information related to the speech synthesis task, without encoding all the text information and the sample speech information into a bit stream for transmission, thereby greatly reducing the amount of transmission data and improving the communication efficiency of the system.

[0042] Secondly, in the point-to-point generative semantic communication architecture, the semantic knowledge base at the sending end and the semantic knowledge base at the receiving end can assist in semantic encoding and semantic decoding respectively, significantly reducing the computational complexity of the semantic encoding and decoding process. At the same time, since the semantic decoder directly synthesizes the target speech based on the reconstructed speech features and semantic data packets without restoring the original sample speech information, the computational overhead of the receiving end is reduced and the efficiency of speech synthesis is improved. In addition, since the size of the semantic data packet and the feature code index is much smaller than the size of the semantic features extracted by the semantic encoder in the second prior art, the communication overhead of the system is also reduced. Finally, the semantic knowledge base at the sending end and the semantic knowledge base at the receiving end can be adapted to a variety of environments through pre-training, so the point-to-point generative semantic communication architecture has stronger versatility and adaptability.

[0043] like Figure 2 The figure shows a point-to-point generative semantic communication architecture for speech synthesis proposed in an embodiment of the present invention. The sending end includes: a sending end semantic knowledge base, a semantic encoder, and a channel encoder; the receiving end includes: a receiving end semantic knowledge base, a channel decoder, and a semantic decoder; the sending end and the receiving end are connected through a communication channel.

[0044] In order to extract the speech features of the sample speech information at the sending end and perform quantization compression, and reconstruct the speech features of the sample speech information at the receiving end, the present invention designs a semantic knowledge base based on the speech large model WavLM and a multi-level speech codebook. In the point-to-point generative semantic communication architecture, the sending end and the receiving end each have a semantic knowledge base.

[0045] like Figure 3 The figure shows a structure block diagram of the semantic knowledge base of the transmitter in an embodiment of the present invention. The semantic knowledge base of the transmitter includes: a speech large model WavLM, a Transformer encoder, A Residual Vector Quantization (RVQ) encoder, A voice codebook.

[0046] In step S1, the semantic knowledge base at the sending end obtains sample speech information and represents the sample speech information to extract speech knowledge, including: Step 1: The speech large model WavLM in the semantic knowledge base of the sending end extracts the feature vector of the sample speech information, which is defined as the WavLM feature vector; Step 2: The Transformer encoder converts the WavLM feature vector into a source vector; Step three, the first RVQ encoder in the semantic database of the transmitting end performs quantization compression on the source vector, the second RVQ encoder performs quantization compression on the quantized and compressed source vector, and multiple RVQ encoders perform multi-level quantization compression in turn, and use the nearest neighbor search method to find the feature code and feature code index corresponding to the feature vector output by each RVQ encoder in the multi-level speech code book.

[0047] In the embodiment of the present invention, WavLM is a pre-trained speech model with powerful speech representation capability, which is used to extract speech features of sample speech information, defined as WavLM feature vector ; The Transformer encoder transforms the WavLM feature vector into a source vector, defined as , and input the source vector into the first RVQ encoder, which is then quantized and compressed, and the nearest feature code is matched from the corresponding speech codebook. An RVQ encoder is defined with its input as , the output is ,in Indicates The model parameters of the RVQ encoder, . Through the nearest neighbor search method, from Speech Codebook Find the The output of the RVQ encoder The nearest feature code is defined as ,Right now , in, Indicates The first feature codes, Indicates the number of feature codes in each speech codebook.

[0048] Next, calculate the The output of the RVQ encoder and from The nearest feature code found in the speech codebook The difference, as the The input of the RVQ encoder ,Right now Finally, the semantic knowledge base at the sending end outputs Feature Code { } and this The index of a feature code in the corresponding speech codebook.

[0049] like Figure 4 The figure shows a structure block diagram of a semantic knowledge base at the receiving end according to an embodiment of the present invention. The semantic knowledge base at the receiving end includes: The speech codebook (with the semantic knowledge base in the sender) The same speech codebooks), RVQ decoder, Transformer encoder.

[0050] In one embodiment of the present invention, in step S2, the receiving end semantic knowledge base reconstructs the speech feature according to the feature code index, including: The receiving end semantic knowledge base searches for the nearest feature code from the multi-level speech code book according to the feature code index output by the channel decoder, and each RVQ decoder converts the corresponding feature code into a speech feature. The speech features output by all RVQ decoders are summed and input into the Transformer encoder to reconstruct the WavLM feature vector of the example speech information.

[0051] In the embodiment of the present invention, the feature code index output by the channel decoder is input into the corresponding speech code book, from which the nearest feature code is found, which is defined as . No. The RVQ decoder will find the nearest feature code Convert to a speech feature ,Right now

[0052] in, Indicates The model parameters of the RVQ decoder, . All speech features output by the RVQ decoder The sum is then input to the Transformer encoder to reconstruct the WavLM feature vector of the sample speech information, which is defined as .

[0053] The semantic knowledge base based on the speech large model WavLM and the multi-level speech codebook proposed in the present invention has the following technical effects: (1) Efficient feature extraction: The large speech model WavLM has powerful speech representation capabilities and can effectively extract speech features of example speech information.

[0054] (2) Reduce communication overhead: The semantic knowledge base at the sending end performs multi-level quantization compression on the WavLM feature vector and uses the feature code in the multi-level speech codebook to represent it. Since the semantic knowledge base at the sending end and the semantic knowledge base at the receiving end store the same speech codebook, the sending end only needs to transmit the index of the feature code instead of the feature code itself (index size The size of the signature code is greatly reduced, thereby greatly reducing the amount of transmitted data.

[0055] (3) Improve speech synthesis efficiency: The semantic knowledge base at the sender and the semantic knowledge base at the receiver store the same speech codebook. Therefore, the receiver only needs to use the feature code index output by the channel decoder to find the corresponding feature code from the speech codebook through the nearest neighbor search method and reconstruct the WavLM feature vector. This greatly reduces the computational overhead at the receiver and improves the efficiency of speech synthesis.

[0056] In the semantic knowledge base of the sender, the WavLM feature vector extracted by the speech large model WavLM After multi-level quantization compression, it is mapped into the multi-level speech codebook However, this process will lead to the loss of some voice information. In order to compensate for this part of the voice information, the present invention proposes a Transformer-based semantic encoder for extracting the sample voice information that cannot be output by the semantic knowledge base of the sending end. At the same time, in order to synthesize high-quality target speech at the receiving end, the present invention designs a semantic decoder based on a diffusion model. Figure 5 The structure block diagram of the semantic encoder of the embodiment of the present invention is shown in FIG. The semantic encoder includes three modules: a Transformer encoder, a text segmenter, and a cascader.

[0057] In one embodiment of the present invention, in step S1, the semantic encoder performs semantic encoding on the example speech information and the text information to generate a semantic data packet, including: Step 1: The Transformer encoder in the semantic encoder extracts residual information from the sample speech information that cannot be represented by the feature code output by the semantic knowledge base of the sending end, and defines it as a residual speech information vector; Step 2: The text segmenter performs segmentation and encoding on the text information to obtain a text vector; Step three: The cascade device cascades the residual speech information vector and the text vector to obtain a semantic data packet.

[0058] In the embodiment of the present invention, the Transformer encoder extracts the sample speech information that cannot be output by the semantic knowledge base of the sending end. The residual information represented by the feature code is defined as the residual speech information vector In practical applications, the Transformer encoder uses the feature code output by the semantic knowledge base of the sender to compare with the sample speech information to confirm the residual information. At the same time, the text segmenter performs word segmentation and encoding on the text information and outputs a text vector, which is defined as The cascade device converts the residual speech information vector and the text vector Cascade and output a complete semantic data packet.

[0059] In other embodiments, the Transformer encoder in the semantic encoder at the transmitting end can be replaced by other types of neural networks, such as Convolutional Neural Network (CNN) and Recurrent Neural Network (RNN). These alternatives need to be selected according to the requirements of the application scenario to optimize the corresponding system performance.

[0060] like Figure 6 The structure block diagram of the semantic decoder of the embodiment of the present invention is shown in FIG. The semantic decoder includes four modules: a separator, a priori encoder, a diffusion model, and SoundStream.

[0061] In one embodiment of the present invention, in step S2, the semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features, including: Step 1: The separator separates the semantic data packet output by the channel decoder to obtain a residual speech information vector and a text vector; Step 2: The a priori encoder generates a conditional speech information vector for a speech synthesis task according to the residual speech information vector, the text vector, and the reconstructed WavLM feature vector; Step 3: The diffusion model generates a SoundStream feature vector for the example voice information and the text information by using the conditional voice information vector, the residual voice information vector, and the reconstructed WavLM feature vector; Step 4: SoundStream converts the SoundStream feature vector into a target speech.

[0062] In the embodiment of the present invention, the separator separates the semantic data packet output by the channel decoder to obtain a residual speech information vector (defined as ) and the text vector (defined as ). The priori encoder is based on the residual speech information vector , the text vector , the reconstructed WavLM feature vector , generates a conditional speech information vector for speech synthesis tasks, defined as The diffusion model uses the conditional speech information vector , the residual speech information vector , the reconstructed WavLM feature vector , generate a SoundStream feature vector for the sample speech information and the text information, defined as . SoundStream converts the SoundStream feature vector Convert it into the target speech to complete the speech synthesis task.

[0063] like Figure 7 The figure shows a structural block diagram of the a priori encoder of an embodiment of the present invention. The a priori encoder comprises three modules: a text encoder, an expansion module, and a pitch predictor. The a priori encoder generates a conditional speech information vector for a speech synthesis task based on the residual speech information vector, the text vector, and the reconstructed WavLM feature vector, including: The text encoder generates a phoneme-level hidden sequence and a phoneme duration vector using the residual speech information vector, the text vector, and the reconstructed WavLM feature vector; the expander expands the phoneme-level hidden sequence into a frame-level hidden sequence according to the phoneme duration vector; the fundamental frequency predictor predicts the fundamental frequency information vector of the target speech using the residual speech information vector, the reconstructed WavLM feature vector, and the frame-level hidden sequence, and sums the fundamental frequency information vector and the frame-level hidden sequence to obtain the conditional speech information vector.

[0064] In the embodiment of the present invention, the text encoder uses the residual speech information vector , text vector , reconstructed WavLM feature vector , generating phoneme-level hidden sequences (defined as ) and the phoneme duration vector (defined as ). The expander is based on the phoneme duration vector , the phoneme-level hidden sequence Expanded to a frame-level hidden sequence, defined as The fundamental frequency predictor uses the residual speech information vector , the reconstructed WavLM feature vector , the frame-level hidden sequence , predict the fundamental frequency information vector of the target speech, defined as Finally, the baseband information vector and the frame-level hidden sequence Sum and obtain the conditional speech information vector, defined as .

[0065] In the embodiment of the present invention, the principle of the diffusion model is mainly divided into two parts: the forward process and the backward process. The forward process is responsible for multi-step processing of the real SoundStream feature vectors (defined as ) until it is transformed into Gaussian noise (defined as ),in represents the number of normalized steps. The reverse process is responsible for multi-step processing of the Gaussian noise Denoise until the predicted SoundStream feature vector is obtained (defined as ). It should be noted that the forward process and the backward process need to be executed in the model training phase, while only the backward process needs to be executed in the model inference phase. Both the forward process and the backward process can be described by stochastic differential equations. Among them, the forward process can be expressed as: , in, represents the standard Brownian motion, and is the scheduling function (ScheduleFunction) used to predict noise. In the reverse process, for the Normalization steps ( ), given In the case of ) obeys Gaussian distribution, that is ,in express The mean of express The variance of Represents a vector of all 1s. Definition for The gradient vector of the logarithmic probability density function. Then, the reverse process can be expressed as: .

[0066] In the embodiment of the present invention, in step 3, the diffusion model uses the conditional voice information vector, the residual voice information vector, and the reconstructed WavLM feature vector to generate a SoundStream feature vector for the example voice information and the text information, specifically including: The reverse process is performed. For each normalization step, the noisy SoundStream feature vector, the conditional speech information vector, the residual speech information vector, and the reconstructed WavLM feature vector are input into the noise predictor WaveNet to predict the mean of the noisy SoundStream feature vector in the current normalization step; based on the predicted mean, the gradient vector of the logarithmic probability density function is calculated to calculate the predicted SoundStream feature vector.

[0067] The embodiment of the present invention performs the reverse process. Normalization steps ( ), the feature vector of SoundStream with noise , conditional speech information vector , residual speech information vector , reconstructed WavLM feature vector Input a noise predictor WaveNet to predict the feature vector of SoundStream with noise in this step The mean Then, according to the predicted mean ,calculate The gradient vector of the logarithmic probability density function Finally, according to the stochastic differential equation formula of the reverse process, the predicted SoundStream feature vector is calculated .

[0068] In other embodiments, the diffusion model at the receiving end can be replaced by other types of generative models, such as Generative Adversarial Network (GAN) and Variational Autoencoder (VAE). These alternative models can achieve diverse speech synthesis effects and adapt to different scenario requirements.

[0069] The Transformer-based semantic encoder proposed in the present invention has the following technical effects: improving the quality of speech synthesis: by extracting the residual speech information vector at the sending end, the information loss of the WavLM feature vector caused by quantization compression and mapping is effectively compensated, thereby improving the quality of the target speech. At the same time, the diffusion model-based semantic decoder proposed in the present invention has the following technical effects: enhancing the versatility of the system: since the diffusion model has a strong zero-sample learning ability, it has strong generalization and adaptability to different speech inputs.

[0070] The present invention proposes a two-stage model training algorithm for training the entire point-to-point generative semantic communication system. In this embodiment, the training process of the generative semantic communication system is divided into two stages: the first stage uses a large amount of voice data to jointly train the semantic knowledge base of the sender and the semantic knowledge base of the receiver. The second stage is based on the pre-trained semantic knowledge base, and jointly trains the semantic encoder and channel encoder of the sender and the channel decoder and semantic decoder of the receiver in an end-to-end manner.

[0071] Phase 1: Training the semantic knowledge base 1. Collect datasets for speech synthesis tasks, such as the LibriTTS dataset.

[0072] 2. Establish loss function: Construct loss functions for the semantic knowledge base of the sender and the semantic knowledge base of the receiver. The modules that need to be trained include: two Transformer encoders in the semantic knowledge base of the sender and the semantic knowledge base of the receiver, RVQ encoders, RVQ decoder, multi-level speech codebook. The speech large model WavLM uses the existing pre-trained model, so no training is required. Specifically, the model parameters are defined as follows: Table 1. Semantic knowledge base model parameters

[0073] Based on this, this embodiment designs the following three sub-loss functions, including: 1) Feature Reconstruction Loss: , represents the WavLM feature vector extracted by the speech large model WavLM and the WavLM feature vector reconstructed from the semantic knowledge base at the receiving end The smaller the loss function value, the better the reconstructed WavLM feature vector Compared with the original WavLM feature vector The more similar they are, the higher the reconstruction quality.

[0074] 2) Codebook Embedding Loss: ,in [ ] is a non-gradient operator, which means that the corresponding variable has no gradient or the gradient is zero; 3) RVQ Encoder Commitment Loss: .

[0075] The total loss function for the semantic knowledge base of the sender and the semantic knowledge base of the receiver is: , in, is the weight coefficient.

[0076] 3. Training semantic knowledge base: Using the data samples in the dataset, minimize the total loss function using the stochastic gradient descent algorithm , and obtain the pre-trained models of the semantic knowledge base of the sender and the semantic knowledge base of the receiver.

[0077] Phase 2: Training other modules 1. Establish loss function: Based on the pre-trained semantic knowledge base, establish loss functions for the semantic encoder, semantic decoder, channel encoder, and channel decoder. SoundStream uses the existing pre-trained model, so no training is required. Specifically, define the model parameters as follows: Table 2. Parameters of other modules

[0078] Based on this, this embodiment designs the following three sub-loss functions, including: 1) Loss function of channel encoder and channel decoder: ,in represents the L1 norm, The feature code index output by the semantic knowledge base of the sender and the residual speech information vector in the semantic data packet of the sender are , text vector in the semantic data packet at the sender Padding to the same dimension and concatenating the resulting vector, It is the vector output by the channel decoder, which contains the semantic data packet and feature code index.

[0079] 2) Loss function of semantic encoder and prior encoder: ,in and is the true phoneme duration vector and fundamental frequency information vector of the training data sample.

[0080] 3) Loss function of semantic encoder and diffusion model: .

[0081] The total loss function of the second stage is: .

[0082] 2. End-to-end training: Using the data samples in the dataset, minimize the total loss function using the stochastic gradient descent algorithm , we get the trained models of semantic encoder, semantic decoder, channel encoder and channel decoder. The end-to-end learning algorithm of the second stage is summarized as follows: Input: Sample speech ,text .

[0083] 1: Determine the number of iterations .

[0084] 2: Initialize model parameters .

[0085] 3: .

[0086] 4: Signatures and signature indexes .

[0087] 5: Yes , execute the loop 6: .

[0088] 7: .

[0089] 8: .

[0090] 9: The sender sends the signal Transmitted to the receiving end through the communication channel, that is, in is the channel coefficient, is the channel noise.

[0091] 10: .

[0092] 11: The receiving end Separate and signature index.

[0093] 12: .

[0094] 13: .

[0095] 14: .

[0096] 15: Calculate the total loss function .

[0097] 16: Minimize the total loss function by stochastic gradient descent algorithm , get the updated model parameters .

[0098] 17: End the loop.

[0099] Output: trained model parameters .

[0100] The two-stage model training algorithm of the present invention has the following two technical effects: (1) Obtaining a high-quality semantic knowledge base: Since the first stage only jointly trains the sender semantic knowledge base and the receiver semantic knowledge base, it can ensure that the performance of the two semantic knowledge bases is not affected by other models.

[0101] (2) Achieving efficient collaboration between the sender and receiver: Since the second stage jointly trains modules other than the semantic knowledge base in an end-to-end manner, these modules can work together after training, thereby improving the efficiency of speech synthesis.

[0102] In summary, the two-stage model training algorithm of the present invention avoids the influence of other modules on the training of the semantic knowledge base by first training the semantic knowledge base and then training other modules, and at the same time realizes efficient collaboration between the sending end and the receiving end. The model training algorithm enhances the applicability and robustness of the point-to-point generative semantic communication architecture in practical applications.

[0103] In order to test the performance of the generative semantic communication solution proposed in this invention, the following experimental settings are made: Training data set: The LibriTTS data set for speech synthesis tasks is used. This data set is an English corpus with multiple speakers, which contains about 585 hours of English reading speech with a sampling rate of 24 kHz. The generative semantic communication scheme proposed in this invention is trained on the LibriTTS training set, and its performance is tested on the LibriTTS test set.

[0104] System model: In the semantic knowledge base of the sender and the semantic knowledge base of the receiver, the number of RVQ encoders, RVQ decoders, and speech codebooks are set to Each RVQ encoder contains a linear projection layer followed by a residual block, and each RVQ decoder contains a residual block followed by a linear projection layer. Number of feature codes in each speech codebook The diffusion model in the semantic decoder contains 24 WaveNet layers. In the first stage of training the semantic knowledge base, the weight coefficient is set to , .

[0105] Baseline solutions: This experiment uses the following four baseline solutions for performance comparison: 1. PCM+LDPC+YourTTS: Both the transmitter and receiver use the classic Pulse Code Modulation (PCM) method and Low-Density Parity-Check (LDPC) code for source encoding / decoding and channel encoding / decoding. Subsequently, the receiver uses the decoded sample speech information and text information to synthesize the target speech through the existing speech synthesis algorithm YourTTS.

[0106] 2. PCM+LDPC+NS2: Both the transmitter and receiver use PCM and LDPC codes for source encoding / decoding and channel encoding / decoding. The receiver then uses the decoded sample speech information and text information to synthesize the target speech using the existing speech synthesis algorithm NaturalSpeech2 (NS2).

[0107] 3.JSCC+YourTTS: Both the transmitter and receiver use deep neural networks for joint source channel coding / decoding. The receiver then uses the semantic information obtained from the decoding to synthesize the target speech through the YourTTS algorithm.

[0108] 4. JSCC+NS2: Both the transmitter and receiver use deep neural networks for joint source channel coding / decoding. The receiver then uses the semantic information obtained through decoding to synthesize the target speech through the NS2 algorithm.

[0109] Performance indicators: This experiment uses two indicators for performance evaluation: 1. Word Error Rate (WER): It measures the difference between the content in the target speech and the content in the source text. The lower the WER, the higher the accuracy of the target speech.

[0110] 2. Speaker Similarity Score (SPK): It reflects the similarity between the target speech and the real speech in terms of acoustic features. The higher the SPK, the higher the quality and authenticity of the target speech.

[0111] Figure 8 and Fig. 9 The performance comparison results of the generative semantic communication scheme and four baseline schemes are shown respectively. Figure 8 The Additive White Gaussian Noise (AWGN) channel is used. Fig. 9 A Rayleigh Fading channel was used. The sizes of the text information and sample speech information at the sender were set to 6.4 Kbits and 2,304 Kbits, respectively. For fair comparison, the total amount of data transmitted for all schemes was limited to 160 Kbits. As can be seen from the figure, in both channel scenarios, the generative semantic communication scheme can always achieve the lowest word error rate and the highest speaker similarity compared to the other four baseline schemes. The experimental results verify the effectiveness and universality of the present invention.

[0112] Fig.10 The performance comparison results of all schemes under different communication volume constraints (i.e., the total amount of data allowed to be transmitted) are shown. This experiment uses an additive white Gaussian noise channel and sets the signal-to-noise ratio to 5dB. As can be seen from the figure, under different communication volume constraints, the generative semantic communication scheme is always better than the other four baseline schemes. It is worth noting that when the total amount of data allowed to be transmitted decreases, the performance gain of the generative semantic communication scheme relative to the other four baseline schemes will increase. Therefore, in communication-constrained scenarios, the generative semantic communication scheme proposed in the present invention has higher robustness than the other four baseline schemes.

[0113] The sender semantic knowledge base and the receiver semantic knowledge base of the present invention can adopt other pre-trained large models, such as GPT or Llama. These pre-trained large models can provide diversified speech understanding and synthesis capabilities to adapt to different scene requirements.

[0114] The point-to-point generative semantic communication architecture proposed in the present invention can significantly reduce the communication overhead of the system. Specifically, by constructing semantic knowledge bases at the sending end and the receiving end respectively, the sending end only needs to transmit semantic data packets (including residual voice information vectors and text vectors) and feature code indexes corresponding to the example voice information, and the sizes of both are much smaller than the size of the semantic features extracted by the semantic encoder in the second prior art. This design significantly reduces the amount of transmitted data and improves communication efficiency. Compared with traditional communication architectures and semantic communication architectures based on deep learning, the present invention has obvious advantages in terms of communication overhead.

[0115] The present invention uses a large speech model WavLM and a multi-level speech codebook to construct a semantic knowledge base, thereby achieving efficient speech feature extraction and characterization. Specifically, the large speech model WavLM can effectively extract the speech features of the sample speech information, namely, the WavLM feature vector. At the same time, by performing multi-level quantization compression and mapping on the WavLM feature vector and characterizing it using a feature code, the receiving end can use the nearest neighbor search method to find the corresponding feature code from the multi-level speech codebook, thereby reconstructing the WavLM feature vector. This design greatly reduces the computational overhead of the receiving end and improves the efficiency of speech synthesis.

[0116] The Transformer-based semantic encoder proposed in the present invention effectively compensates for the information loss caused by quantization compression and mapping of the WavLM feature vector, thereby improving the quality of the target speech. At the same time, the semantic decoder based on the diffusion model proposed in the present invention has a strong zero-sample learning ability, and thus has strong generalization and adaptability, and can adapt to diverse speech inputs.

[0117] The two-stage model training algorithm designed by the present invention first trains the semantic knowledge base and then trains other modules, which not only avoids the influence of other modules on the training semantic knowledge base, ensures the learning of a high-quality semantic knowledge base, but also realizes efficient collaboration between the sending end and the receiving end. The model training algorithm improves the applicability and robustness of the generative semantic communication architecture in practical applications.

[0118] The point-to-point generative semantic communication architecture proposed in the present invention can synthesize natural and fluent target speech. Therefore, the present invention can be integrated into intelligent voice assistants (such as Siri, Alexa) and virtual customer service systems to provide a smooth and humanized user interaction experience. Specifically, the present invention can effectively reduce the system's computing overhead and communication overhead, reduce processing delays and bandwidth requirements, and thus ensure that high-quality voice services can be provided under various network conditions.

[0119] The present invention can be applied to augmented reality (AR) and virtual reality (VR) scenarios to enhance user immersion. Specifically, the present invention can be integrated into virtual characters and virtual environments to achieve real-time voice interaction, allowing users to have an immersive experience. For example, in VR games, the dialogue between characters can be more natural and smooth, thereby improving the player experience; in AR educational applications, the explanations of virtual teachers can be more vivid and clear, thereby improving the user's learning effect.

[0120] The present invention can be applied to a distance education platform to generate high-quality course explanations. Specifically, the present invention can significantly reduce data transmission delays and bandwidth requirements, thereby providing clear and fluent voice courses even under poor network conditions. By improving the teaching quality of distance education and the learning experience of students, especially in large open online courses, it can ensure that every student can obtain high-quality teaching content, thereby promoting the fair distribution and effective use of educational resources.

[0121] The present invention can be applied to remote medical and health monitoring systems to achieve high-quality voice communication between doctors and patients. Since the present invention can still ensure voice quality under poor network conditions, it can improve the efficiency and reliability of diagnosis and monitoring. For example, in remote diagnosis and treatment, doctors can communicate with patients through high-quality voice to obtain more patient information and feedback, thereby improving the accuracy and timeliness of diagnosis; in health monitoring equipment, voice prompts and alarms can be clearer and more timely, thereby helping patients better manage their health and improve their quality of life.

[0122] like Fig.11 As shown, the present invention also provides a system for generative semantic communication for speech synthesis, which specifically includes: a sending end, a communication channel and a receiving end.

[0123] The sending end semantic knowledge base of the sending end obtains sample voice information, and represents the sample voice information to extract voice knowledge, wherein the voice knowledge includes a feature code and a feature code index for the sample voice information, a semantic encoder performs semantic encoding on the sample voice information and the obtained text information to generate a semantic data packet, a channel encoder performs channel encoding on the semantic data packet and the feature code index to obtain a data packet, and sends the data packet to the receiving end through the communication channel; The channel decoder at the receiving end performs channel decoding on the received data packet to restore the semantic data packet and the feature code index. The semantic knowledge base at the receiving end reconstructs the speech features according to the feature code index. The semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features.

[0124] For implementation details of the above-mentioned generative semantic communication system for speech synthesis, please refer to the generative semantic communication method for speech synthesis, which will not be repeated here.

[0125] In order to solve the above technical problems, an embodiment of the present invention also provides a computer device. The computer device includes a processor, a non-volatile storage medium, a memory and a network interface connected through a system bus. Among them, the non-volatile storage medium of the computer device stores an operating system, a database and a computer-readable instruction, and the database may store a control information sequence. When the computer-readable instruction is executed by the processor, the processor can implement a method of generative semantic communication for speech synthesis. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor can execute a method of generative semantic communication for speech synthesis. The network interface of the computer device is used to connect and communicate with a terminal.

[0126] In this embodiment, the processor is used to execute the system of generative semantic communication for speech synthesis, and the memory stores the program code and various data required to execute the above modules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all submodules in the image processing method, and the server can call the program code and data of the server to execute the functions of all submodules.

[0127] The present invention also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, enables the one or more processors to execute the steps of the generative semantic communication method for speech synthesis described in any of the above embodiments.

[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0129] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0130] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for generative semantic communication for speech synthesis, characterized in that: include: The semantic knowledge base at the sending end obtains sample voice information, and represents the sample voice information to extract voice knowledge, wherein the voice knowledge includes a feature code and a feature code index for the sample voice information, the semantic encoder performs semantic encoding on the sample voice information and the obtained text information to generate a semantic data packet, the channel encoder performs channel encoding on the semantic data packet and the feature code index to obtain a data packet, and sends the data packet to the receiving end through a communication channel; The channel decoder at the receiving end performs channel decoding on the received data packet, recovers the semantic data packet and the feature code index, the semantic knowledge base at the receiving end reconstructs the speech features according to the feature code index, and the semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features.

2. The method according to claim 1, characterized in that The sending end semantic knowledge base obtains sample speech information and represents the sample speech information to extract speech knowledge, including: The speech large model WavLM in the semantic knowledge base of the sending end extracts the feature vector of the sample speech information, which is defined as the WavLM feature vector; The Transformer encoder converts the WavLM feature vector into a source vector; The first RVQ encoder in the semantic database of the transmitting end performs quantization compression on the source vector, the second RVQ encoder performs quantization compression on the source vector after quantization compression, and multiple RVQ encoders perform multi-level quantization compression in turn, and use the nearest neighbor search method to find the feature code and feature code index corresponding to the feature vector output by each RVQ encoder in the multi-level speech code book.

3. The method according to claim 1, characterized in that The semantic encoder performs semantic encoding on the sample voice information and the acquired text information to generate a semantic data packet, including: The Transformer encoder in the semantic encoder extracts residual information from the example speech information that cannot be represented by the feature code output by the semantic knowledge base of the sending end, and defines it as a residual speech information vector; The text segmenter performs segmentation and encoding on the text information to obtain a text vector; The cascader cascades the residual speech information vector and the text vector to obtain a semantic data packet.

4. The method according to claim 1, characterized in that The receiving end semantic knowledge base reconstructs the speech feature according to the feature code index, including: The receiving end semantic knowledge base searches for the nearest feature code from the multi-level speech code book according to the feature code index output by the channel decoder, and each RVQ decoder converts the corresponding feature code into a speech feature. The speech features output by all RVQ decoders are summed and input into the Transformer encoder to reconstruct the WavLM feature vector of the example speech information.

5. The method according to claim 1, characterized in that The semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features, including: The separator separates the semantic data packet output by the channel decoder to obtain a residual speech information vector and a text vector; The a priori encoder generates a conditional speech information vector for a speech synthesis task according to the residual speech information vector, the text vector, and the reconstructed WavLM feature vector; The diffusion model generates a SoundStream feature vector for the example speech information and the text information using the conditional speech information vector, the residual speech information vector, and the reconstructed WavLM feature vector; SoundStream converts the SoundStream feature vector into a target speech.

6. The method according to claim 5, characterized in that The a priori encoder generates a conditional speech information vector for a speech synthesis task according to the residual speech information vector, the text vector, and the reconstructed WavLM feature vector, including: The text encoder generates a phoneme-level hidden sequence and a phoneme duration vector using the residual speech information vector, the text vector, and the reconstructed WavLM feature vector; An expander expands the phoneme-level hidden sequence into a frame-level hidden sequence according to the phoneme duration vector; The fundamental frequency predictor predicts the fundamental frequency information vector of the target speech using the residual speech information vector, the reconstructed WavLM feature vector, and the frame-level hidden sequence, and sums the fundamental frequency information vector and the frame-level hidden sequence to obtain the conditional speech information vector.

7. The method according to claim 5, characterized in that The diffusion model generates a SoundStream feature vector for the example voice information and the text information using the conditional voice information vector, the residual voice information vector, and the reconstructed WavLM feature vector, including: Perform the reverse process. For each normalization step, input the noisy SoundStream feature vector, the conditional speech information vector, the residual speech information vector, and the reconstructed WavLM feature vector into the noise predictor WaveNet to predict the mean of the noisy SoundStream feature vector in the current normalization step. Based on the predicted mean, the gradient vector of the log probability density function is calculated to calculate the predicted SoundStream feature vector.

8. A system for generative semantic communication for speech synthesis, characterized in that: include: The sender, the communication channel and the receiver; The sending end semantic knowledge base of the sending end obtains sample voice information, and represents the sample voice information to extract voice knowledge, wherein the voice knowledge includes a feature code and a feature code index for the sample voice information, a semantic encoder performs semantic encoding on the sample voice information and the obtained text information to generate a semantic data packet, a channel encoder performs channel encoding on the semantic data packet and the feature code index to obtain a data packet, and sends the data packet to the receiving end through the communication channel; The channel decoder at the receiving end performs channel decoding on the received data packet, recovers the semantic data packet and the feature code index, the semantic knowledge base at the receiving end reconstructs the speech features according to the feature code index, and the semantic decoder synthesizes the target speech using the semantic data packet and the reconstructed speech features.

9. A computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor performs the steps of the method for generative semantic communication for speech synthesis as described in any one of claims 1 to 7.

10. A storage medium storing computer-readable instructions, which, when executed by one or more processors, causes the one or more processors to perform the steps of the method for generative semantic communication for speech synthesis as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Audio synthesis method, electronic equipment and storage medium

    CN115083386A

  • Voice compression method and system based on deep learning and vector prediction

    CN117423348A

  • Signal modulation method and device, signal demodulation method and device, and storage medium

    CN117527143A

  • Method and device for generating multimedia resources based on large model and storage medium

    CN117789680A

  • Device and method for transmitting or receiving signal in wireless communication system

    WO2024048816A1

Cited By

  • Semantic communication method and system, computer equipment and storage medium

    CN119600991A

  • Knowledge base architecture oriented to semantic communication and self-adaptive construction method

    CN120450012A

  • Semantic communication method and device, electronic equipment and storage medium

    CN120675669A

  • Semantic knowledge base recognition method based on heuristic features

    CN120897229A

  • A semantic knowledge base recognition method based on heuristic features

    CN120897229B