Interaction-unrestricted voice enhancement method, system and terminal based on ultrasonic sensing
By combining ultrasonic signal processing from microphones and speakers, and utilizing an ultrasonic speech enhancement network with a memory module, the problems of multiple speakers and low signal-to-noise ratio are solved, thereby improving the performance and interactivity of speech enhancement.
Patent Information
- Application Number
- CN202311818345.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-12-26
AI Technical Summary
Existing speech enhancement technologies suffer from poor interactivity and insufficient performance when dealing with complex noise scenarios such as multiple speakers and low signal-to-noise ratios, and their use is particularly limited on mobile terminals.
By acquiring the target audio signal received by the microphone and the ultrasonic signal reflected by the speaker, and combining short-time Fourier transform and a memory-based ultrasonic speech enhancement network, speaker feature vectors are fused to generate ultrasonic feature vectors for speech enhancement.
It improves the performance of speech enhancement, enabling it to handle complex noisy environments with multiple speakers and low signal-to-noise ratios, while maintaining good interactivity and being unaffected by distance and angle.
Smart Images

Figure CN117935825B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of speech enhancement technology, and in particular to an interactive, unrestricted speech enhancement method, system, and terminal based on ultrasonic sensing. Background Technology
[0002] With the development of speech recognition and natural language processing, Voice User Interfaces (VUIs) that allow interaction with various mobile terminals via voice have become an indispensable part of human life. Voice can be used to wake up the voice assistant on a mobile terminal using a wake word, such as "Hey Siri" or "Xiaoyi Xiaoyi" (a phrase set on the mobile terminal). Then, further interaction with the voice assistant can be achieved through voice commands. Voice can also be used for identity authentication, unlocking devices or terminals. This unlocking relies on the user's specific voiceprint as a feature for identification. Statistics show that in 2000 voiceprint-related cases, the failure rate for voiceprint authentication was only 0.31%. Its reliability has led to more and more terminals supporting voice unlocking. For example, Google Assistant on Android devices supports voice command unlocking; users can say "Ok Google" to activate the device and perform operations including unlocking. Samsung devices use the Bixby voice assistant, allowing users to unlock their phones via voice commands. Furthermore, voice is also one of the important mediums for communication between people via mobile terminals. Besides traditional telephone communication channels, more and more people are choosing to communicate via WeChat voice messages or WeChat calls. This demonstrates that, with the development of technology, voice interfaces have greatly promoted the evolution of the way people interact with mobile terminals.
[0003] However, this interaction method is susceptible to noise interference. When noise is mixed into speech, it inevitably reduces the recognition rate of wake words, the accuracy of voiceprint authentication, and the clarity and fluency of voice communication, thus affecting the user experience and enthusiasm, and to some extent limiting the usage scenarios (requiring an environment free of strong noise). The emergence of speech enhancement technology can effectively solve the problems caused by noise. Speech enhancement refers to eliminating noise, distortion, echoes, and other unwanted sounds in the speech signal without changing the original meaning of the target speaker's speech signal.
[0004] Early speech enhancement techniques were primarily based on signal processing methods. These methods attempted to recover a clean signal from a noisy signal by analyzing the statistical properties of speech and noise. For example, spectral subtraction analyzes the spectrum of a noisy signal, estimates the power spectrum of the noise, and then subtracts it from the power spectrum of the noisy signal. Wiener filters consider the power spectral density ratio of noise to signal, improving signal quality by minimizing the mean square error. However, these traditional speech enhancement methods often rely heavily on prior knowledge and are unable to cope with complex and varied noise environments in practical applications.
[0005] With the rise of deep learning technology, neural networks have been applied to the field of speech enhancement, hoping to solve the problem of insufficient generalization. Researchers began to investigate whether deep neural networks could be used to mine and extract potential target speaker speech signals from noisy frequencies, thereby achieving the purpose of speech enhancement. Deep learning technology uses a large amount of clear and noisy speech data for supervised training of neural networks. Through the powerful nonlinear fitting ability of neural networks, they can cope with the varied noise conditions in daily life.
[0006] Initially, researchers relied solely on noisy frequencies as input to neural networks for speech enhancement tasks. This invention defines this method of speech enhancement using only audio modalities as audio-only speech enhancement. SEGAN models the temporal sequence of noisy audio, introducing the idea of Generative Adversarial Networks (GANs) into time-domain processing. It first trains a discriminator to determine whether the input audio sequence contains noise, then fixes the weights of this discriminator and trains a generator under its guidance. This generator can be used to perform time-domain speech enhancement tasks, receiving a noisy audio signal sequence and generating a denoised audio signal sequence. Because this method directly processes the audio signal in the time domain, it is also called a T-domain method. PHASEN, on the other hand, is a typical TF (Time-Frequency) domain method. It first converts the time-domain audio signal into a time-frequency spectrum through a short-time Fourier transform, and then processes it through a neural network. This method considers the amplitude and phase components of the time-frequency spectrum, performing nonlinear mapping on the amplitude and phase using a two-stream neural network structure to obtain the recovered audio spectrogram. The spectrogram is then converted into an audio sequence using an inverse Fourier transform. This TF domain method, due to its consideration of frequency domain information, often achieves better performance than T domain methods. However, because it requires additional signal processing, its processing speed is slightly slower than T domain methods. Both T and TF domain methods offer excellent interactivity. Users do not need to maintain specific postures with the mobile terminal; as long as the mobile terminal can receive the user's audio signal, this method can be used to process noisy audio. However, when relying solely on noisy frequencies as input, this type of method can only distinguish between human voices and background noise. It cannot handle complex noise scenarios such as multiple speakers or low signal-to-noise ratios. In multi-speaker scenarios, where noisy speech includes the target speaker's voice information as well as that of other speakers, clean audio containing only the target speaker's voice information cannot be recovered from noisy speech using only the information contained in the audio. This also limits the application scenarios of voice enhancement technology on mobile terminals to some extent.
[0007] To address the complexities of multi-speaker noise and low signal-to-noise ratio in noisy speech, researchers have attempted to introduce additional modal information. Psychological and biological studies have shown that observing a speaker's lips in noisy environments aids auditory perception. Therefore, some researchers have tried using noisy frequencies and corresponding video sequences containing facial or lip movements of the speaker as input for audio-visual speech enhancement. This method leverages video sequences as clues to uncover audio information about the target speaker within the noisy frequencies, effectively addressing multi-speaker noise and low signal-to-noise ratio issues. However, this method relies on additional video sequence input and is affected by lighting conditions. Furthermore, it requires a camera to capture the user's facial or lip movements during speech, raising privacy concerns and limiting the user's interaction with the mobile device.
[0008] Researchers in the field of wireless sensing have achieved audio-ultrasonic speech enhancement by using ultrasonic signals instead of visual modalities. They utilize the speaker on a smart device to emit a non-invasive microphone signal, which receives the ultrasonic signal. This ultrasonic signal is then used to sense the lip movements of the target speaker, providing clues to address issues like multi-speaker noise and low signal-to-noise ratio. This method, compared to audio-visual methods, does not raise privacy concerns. However, a major drawback of existing ultrasonic-based methods is their heavy reliance on the availability of the ultrasonic signal. Since ultrasonic signals are highly susceptible to distance and angle, this lip-movement sensing ultrasonic method requires the user's lips to maintain a certain angle and distance from the mobile terminal's microphone in practical use, resulting in poor interactivity. Summary of the Invention
[0009] In view of the shortcomings of the prior art described above, the purpose of this invention is to provide an interactive, unrestricted voice enhancement method, system, and terminal based on ultrasonic sensing, to solve the problems of the prior art.
[0010] To achieve the above and other related objectives, this invention provides an interactive, unrestricted speech enhancement method based on ultrasonic sensing. The method includes: acquiring multiple target audio signals received from a speaker via a microphone and corresponding ultrasonic signals emitted by a speaker and reflected by the speaker's lips; constructing a noisy audio signal by linearly adding noise to the target audio signals; wherein the noisy audio signal and the corresponding ultrasonic signal constitute noisy audio data; preprocessing the ultrasonic signals of each noisy audio data to obtain corresponding amplitude and phase; processing the noisy audio signals and corresponding target audio signals of each noisy audio data using short-time Fourier transform to obtain corresponding time-frequency spectra; and utilizing the ultrasonic signals corresponding to each noisy audio data... The amplitude and phase of the noise audio signal, the time spectrum of the corresponding target audio signal, and the corresponding speaker feature vector constitute the training data set for each noise audio data to construct an audio training dataset. Based on the audio training dataset, a memory-based ultrasonic speech enhancement network is constructed. The noise audio signal from the speaker's noise audio data to be enhanced is obtained from the microphone. The noise audio signal is processed by short-time Fourier transform to obtain the corresponding time spectrum. Based on the constructed memory-based ultrasonic speech enhancement network, the enhanced speech signal corresponding to the noise audio signal to be enhanced is obtained according to the time spectrum of the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced.
[0011] In one embodiment of the present invention, the ultrasonic speech enhancement network based on a memory module includes: an audio feature extractor, an ultrasonic feature extractor, a memory module, a decoder, and an enhancement module; wherein, the audio feature extractor is used to process the time spectrum of the input noisy audio signal and fuse it with the speaker feature vector corresponding to the noisy audio signal to extract an audio feature vector; the ultrasonic feature extractor is used to process the amplitude and phase corresponding to the input ultrasonic signal to extract an ultrasonic feature vector; the memory module is used to input the extracted feature vector and output the corresponding virtual ultrasonic feature vector; wherein, the feature vector input during the training phase is an audio feature vector and an ultrasonic feature vector, and the feature vector input during the inference phase is an audio feature vector; the decoder is used to combine the input extracted audio feature vector and the corresponding virtual ultrasonic feature vector to output the corresponding ideal amplitude mask estimate of the enhanced speech; the enhancement module is used to multiply the obtained ideal amplitude mask estimate with the time spectrum of the corresponding noisy audio signal to output the enhanced speech signal.
[0012] In one embodiment of the present invention, the method of training and constructing an ultrasonic speech enhancement network based on an audio training dataset includes: inputting the time spectrum of the noisy audio signal and the corresponding speaker feature vector in each training data group to an audio feature extractor to extract the corresponding audio feature vector; inputting the amplitude and phase of the ultrasonic signal in each training data group to an ultrasonic feature extractor to extract the corresponding ultrasonic feature vector; inputting the audio feature vector and ultrasonic feature vector corresponding to each training group to a memory module to output two virtual ultrasonic feature vectors corresponding to each training group, so as to be used together with the ultrasonic feature vector as input ultrasonic feature vectors; and inputting each The audio feature vectors corresponding to the training group and each input ultrasonic feature vector are input to the decoder to obtain the ideal amplitude mask estimate of the enhanced speech for each input ultrasonic feature vector of each training group. The time spectrum of the noisy audio signal of each training group and each ideal amplitude mask estimate are input to the enhancement module and multiplied to obtain the enhanced speech signal corresponding to each ideal amplitude mask estimate. Based on the enhanced speech signal corresponding to each ideal amplitude mask estimate of each training group and the time spectrum of the target audio signal, the total model loss of each training group is calculated to adjust the parameters of the memory module-based ultrasonic speech enhancement network to obtain the final memory module-based ultrasonic speech enhancement network.
[0013] In one embodiment of the present invention, obtaining the enhanced speech signal corresponding to the noise audio signal to be enhanced based on the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced includes: inputting the time spectrum corresponding to the noise audio signal to be enhanced and the corresponding speaker feature vector to an audio feature extractor to extract the corresponding audio feature vector; inputting the extracted audio feature vector to a memory module to output the corresponding virtual ultrasonic feature vector; inputting the audio feature vector of the noise audio signal to be enhanced and the virtual ultrasonic feature vector to a decoder to obtain the ideal amplitude mask estimate of the corresponding enhanced speech; and inputting the time spectrum corresponding to the noise audio signal to be enhanced and the ideal amplitude mask estimate to an enhancement module for multiplication to obtain the corresponding enhanced speech signal.
[0014] In one embodiment of the present invention, the memory module maintains two vector parameter matrices, each having a set number of slots; wherein the two vector parameter matrices include: an audio vector parameter matrix and an ultrasonic vector parameter matrix having a mapping relationship; the method by which the memory module inputs the extracted feature vector and outputs the corresponding virtual ultrasonic feature vector includes: quantizing the similarity between the input feature vector and each slot in its corresponding vector parameter matrix; calculating the weight distribution of the input feature vector in the corresponding vector parameter matrix based on the similarity of each slot in the vector parameter matrix corresponding to the input feature vector; and calculating the virtual ultrasonic feature vector corresponding to the input feature vector based on the weight distribution of the input feature vector in the corresponding vector parameter matrix and the ultrasonic vector parameter matrix.
[0015] In one embodiment of the present invention, the calculation of the total model loss of each training group based on the time-spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates of each training group includes: calculating the error of the ultrasonic feature vector and the virtual ultrasonic feature vector corresponding to the ultrasonic feature vector of each training group to calculate the first loss of each training group; calculating the difference between the weight distribution of the audio feature vector corresponding to each training group in the corresponding audio vector parameter matrix and the weight distribution of the corresponding ultrasonic feature vector in the corresponding ultrasonic vector parameter matrix to obtain the second loss of each training group; calculating the third loss of each training group based on the time-spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates of each training group; and combining the first loss, the second loss and the third loss corresponding to each training group to obtain the total model loss of each training group.
[0016] In one embodiment of the present invention, the calculation of the third loss of each training group based on the time spectrum of the enhanced speech signal corresponding to each ideal amplitude mask estimate and the target audio signal includes: calculating the error between the spectral amplitude of the enhanced speech signal corresponding to each ideal amplitude mask estimate and the spectral amplitude of the time spectrum of the corresponding target audio signal to obtain the third loss of each training group.
[0017] In one embodiment of the present invention, the method of preprocessing the ultrasonic signal to obtain the corresponding amplitude and phase includes: filtering the ultrasonic signal, extracting the I and Q components by sliding window mean sampling, and obtaining the corresponding amplitude and phase.
[0018] To achieve the above and other related objectives, this invention provides an interactive, unrestricted speech enhancement system based on ultrasonic sensing. The system includes: a signal acquisition module for acquiring noise audio signals from noise audio data to be enhanced received by a microphone from a speaker; a noise audio signal processing module connected to the signal acquisition module for processing the noise audio signals using short-time Fourier transform to obtain the corresponding time spectrum; and a speech enhancement module connected to the noise audio signal processing module for obtaining the enhanced speech signal corresponding to the noise audio signal based on a constructed memory-based ultrasonic speech enhancement network, according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced. The method for constructing the memory-based ultrasonic speech enhancement network is as follows: acquiring noise audio signals from noise audio data received by a microphone from a speaker; processing noise audio signals from noise audio data received by a microphone to obtain the corresponding time spectrum; and processing noise audio signals from noise audio data received by a microphone to obtain the corresponding time spectrum. Multiple target audio signals from the speaker and corresponding ultrasonic signals emitted by a loudspeaker and reflected by the speaker's lips are received. Noise is added linearly to the target audio signals to construct a noisy audio signal. The noisy audio signal and the corresponding ultrasonic signal constitute the noisy audio data. The ultrasonic signal of each noisy audio data is preprocessed to obtain the corresponding amplitude and phase. The noisy audio signal and the corresponding target audio signal of each noisy audio data are processed by short-time Fourier transform to obtain the corresponding time spectrum. The amplitude and phase of the ultrasonic signal of each noisy audio data, the time spectrum of the noisy audio signal, the time spectrum of the corresponding target audio signal, and the corresponding speaker feature vector are used to construct a training data set for each noisy audio data to build an audio training dataset. An ultrasonic speech enhancement network based on a memory module is constructed based on the audio training dataset.
[0019] To achieve the above and other related objectives, the present invention provides an interactive unrestricted voice enhancement terminal based on ultrasonic sensing, comprising: one or more memories and one or more processors; the one or more memories are used to store a computer program; the one or more processors are connected to the memories and are used to run the computer program to execute the interactive unrestricted voice enhancement method based on ultrasonic sensing.
[0020] As described above, this invention is an interactive, unrestricted speech enhancement method, system, and terminal based on ultrasonic sensing, which has the following beneficial effects: This invention processes the noise audio signal in the noise audio data to be enhanced received from the speaker via a microphone using short-time Fourier transform to obtain the corresponding time spectrum. Based on a constructed ultrasonic speech enhancement network with a memory module, the enhanced speech signal corresponding to the noise audio signal to be enhanced is obtained according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced. This invention, by fusing the speaker feature vector and the memory module into the ultrasonic speech enhancement network, enables the generation of the corresponding ultrasonic feature vector using only the noise audio input, thus achieving the purpose of ultrasonic speech enhancement. Compared to other ultrasonic speech enhancement methods, it enhances interactivity. Compared to pure audio modal speech enhancement methods, it improves performance and can handle complex noise environments such as multiple speakers and low signal-to-noise ratios. Attached Figure Description
[0021] Figure 1 The diagram shown is a flowchart illustrating an interactive, unrestricted voice enhancement method based on ultrasonic sensing, according to an embodiment of the present invention.
[0022] Figure 2 The diagram shown is a schematic representation of the structure of an ultrasonic voice enhancement network based on a memory module according to an embodiment of the present invention.
[0023] Figure 3 The diagram shows a framework schematic of an ultrasonic voice enhancement network based on a memory module according to an embodiment of the present invention.
[0024] Figure 4 The diagram shown is a schematic representation of the neural network training phase in one embodiment of the present invention.
[0025] Figure 5 The diagram shown is a schematic representation of the inference stage flow in one embodiment of the present invention.
[0026] Figure 6 The diagram illustrates the effects of SDR, PESQ, and STOI on the test set in one embodiment of the present invention.
[0027] Figure 7 The diagram shows the effects of SDR, PESQ, and STOI in three scenarios according to an embodiment of the present invention.
[0028] Figure 8 The diagram shows test results on five average signal-to-noise ratio test sets according to an embodiment of the present invention.
[0029] Figure 9The diagram shown is a structural schematic of an interactive, unrestricted voice enhancement system based on ultrasonic sensing, according to an embodiment of the present invention.
[0030] Figure 10 The diagram shown is a structural schematic of an interactive, unrestricted voice enhancement terminal based on ultrasonic sensing, according to an embodiment of the present invention. Detailed Implementation
[0031] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.
[0032] It should be noted that in the following description, reference is made to the accompanying drawings, which illustrate several embodiments of the invention. It should be understood that other embodiments may also be used, and changes in mechanical composition, structure, electrical system, and operation may be made without departing from the spirit and scope of the invention. The following detailed description should not be considered limiting, and the scope of the embodiments of the invention is defined only by the claims of the published patents. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. Spatially related terms, such as “upper,” “lower,” “left,” “right,” “below,” “below,” “lower part,” “above,” “upper part,” etc., may be used herein to illustrate the relationship between one element or feature shown in the figures and another element or feature.
[0033] Throughout this specification, when it is said that a part is "connected" to another part, this includes not only "direct connection" but also "indirect connection" by placing other elements in between. Furthermore, when it is said that a part "includes" a certain constituent element, unless otherwise stated otherwise, this does not exclude other constituent elements, but rather means that other constituent elements may also be included.
[0034] The terms "first," "second," and "third," etc., used herein are for the purpose of describing various parts, components, regions, layers, and / or segments, but are not limiting. These terms are used only to distinguish one part, component, region, layer, or segment from others. Therefore, the "first part," "component," "region," "layer," or "segment" described below may refer to a "second part," "component," "region," "layer," or "segment" without departing from the scope of this invention.
[0035] Furthermore, as used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms “comprising,” “including,” indicate the presence of the stated feature, operation, element, component, item, kind, and / or group, but do not preclude the presence, occurrence, or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms “or” and “and / or” as used herein are interpreted as inclusive, or mean any one or any combination thereof. Thus, “A, B, or C” or “A, B, and / or C” means “any one of: A; B; C; A and B; A and C; B and C; A, B, and C.” Exceptions to this definition arise only when combinations of elements, functions, or operations are inherently mutually exclusive in some manner.
[0036] While introducing additional modalities can indeed solve the problem of multi-speaker noise, it reduces the interactivity between the user and the mobile terminal. This invention, starting from the research focus on ultrasonic speech enhancement, explores a method that, in practical use, only requires noisy frequencies as input. This method, while preserving interactivity, can solve the problems of multi-speaker noise and low signal-to-noise ratio, and its performance far surpasses methods that use only audio modalities for speech enhancement.
[0037] Therefore, this invention provides an interactive, unrestricted speech enhancement method based on ultrasonic sensing. It processes the noise audio signal in the speaker's noise audio data received from a microphone using short-time Fourier transform to obtain the corresponding time-spectrum. Based on a constructed ultrasonic speech enhancement network with a memory module, it obtains the enhanced speech signal corresponding to the noise audio signal to be enhanced, according to the time-spectrum of the noise audio signal and the speaker feature vector corresponding to the noise audio data. This invention integrates the speaker feature vector and the memory module into the ultrasonic speech enhancement network, enabling the generation of corresponding ultrasonic feature vectors using only the noise audio input, thus achieving the purpose of ultrasonic speech enhancement. Compared to other ultrasonic speech enhancement methods, it enhances interactivity. Compared to pure audio modal speech enhancement methods, it improves performance and can handle complex noise environments such as multiple speakers and low signal-to-noise ratios.
[0038] The present invention will now be described in detail with reference to the accompanying drawings, so that those skilled in the art can readily implement it. The present invention can be embodied in many different forms and is not limited to the embodiments described herein.
[0039] like Figure 1 This diagram illustrates a flowchart of an interactive, unrestricted voice enhancement method based on ultrasonic sensing, as described in an embodiment of the present invention.
[0040] The method comprises two phases: a training phase and an inference phase; steps S1-S5 constitute the training phase; steps S6-S8 constitute the inference phase. The training phase is for adjusting the parameters of the neural network, while the inference phase is for practical application. The inputs and processes of these two phases differ to some extent.
[0041] The specific method is as follows:
[0042] Step S1: Acquire multiple target audio signals from the speaker received by the microphone and the corresponding ultrasonic signals emitted by the speaker and reflected by the speaker's lips. Construct a noisy audio signal by linearly adding noise to the target audio signals.
[0043] In detail, the noise audio signal and the corresponding ultrasonic signal together constitute the noise audio data.
[0044] In one embodiment, during the training phase, noise-free audio data for training is acquired using the mobile device's speaker as the ultrasonic transmitter and the microphone as the audio and ultrasonic receiver. These audio signals are then processed using bandpass and low-pass filters to obtain the corresponding ultrasonic and audio signals. These audio signals are considered the target audio signal.
[0045] The corresponding noisy audio signal is obtained by linearly adding noise to the target audio signal.
[0046] In one embodiment, a speaker sensor of a mobile device (such as a smartphone, tablet, etc.) is used as a signal transmitter Tx, and a microphone sensor is used as a signal receiver Rx. The signal transmitter Tx generates ultrasonic waves with multiple frequency bands, which are composed of n superimposed frequencies with uniform frequency spacing between the frequency bands, covering a total frequency range of 17kHz to 22kHz.
[0047] Step S2: Preprocess the ultrasonic signals of each noise audio data to obtain the corresponding amplitude and phase.
[0048] In one embodiment, the ultrasonic signal is filtered and the I and Q components are extracted by sliding window mean sampling to obtain the corresponding amplitude and phase.
[0049] Specifically, assume that the ultrasonic signal with n frequency bands emitted at time t is... The received ultrasonic signal at time t is: Changes in the amplitude and phase of the received signal reflect the motion characteristics of the perceived object. For each frequency band of ultrasonic signal, through... By using a high-pass filter with a threshold of 2f, the first term in the above equation can be filtered out, thereby extracting the I component (In-Phase). Similarly, processing R(t) using sin(2πft) yields the Q component (Quadrature). After obtaining the I and Q components, the relevant amplitude and phase information U can be further extracted. real .
[0050] Step S3: Process the noise audio signal of each noise audio data and the corresponding target audio signal through short-time Fourier transform to obtain the corresponding time spectrum.
[0051] In detail, the time spectrum S of each noise audio signal is obtained by processing the noise audio signal and the corresponding target audio signal of each noise audio data through short-time Fourier transform. noise And the time spectrum S of the corresponding target audio signal clean .
[0052] Step S4: Use the amplitude and phase of the ultrasonic signal corresponding to each noisy audio data, the time spectrum of the noisy audio signal, the time spectrum of the corresponding target audio signal, and the corresponding speaker feature vector to construct a training data set for each noisy audio data, so as to build an audio training dataset.
[0053] In one embodiment, each noisy audio data corresponds to a speaker feature vector f spk It is pre-stored; speaker feature vector f spk The acquisition method involves capturing noise-free audio of the target speaker using a mobile device, and then extracting the target speaker's feature vector f using a pre-trained speaker feature extraction network. spk And store it;
[0054] Then the amplitude and phase U corresponding to the ultrasonic signal of each noise audio data real The time spectrum S of the noisy audio signal noise The time spectrum S corresponding to the target audio signal cleaan , corresponding speaker feature vector f spk The training data sets are constructed to correspond to each noisy audio data point, and the training data sets are composed of quadruples. <f spk S noise U real S clean >To be represented.
[0055] Step S5: Construct an ultrasonic speech enhancement network based on memory modules using the audio training dataset.
[0056] In one embodiment, such as Figure 2 The ultrasonic voice enhancement network based on the memory module includes: an audio feature extractor 101, an ultrasonic feature extractor 102, a memory module 103, a decoder 104, and an enhancement module 105.
[0057] The audio feature extractor 101 is used to extract the time-spectrum S of the input noisy audio signal during the training and inference phases. noise Process and match with the speaker feature vector f corresponding to the noisy audio signal. spk Fusion, extracting audio feature vector f a Specifically, for the time spectrum S of the input noisy audio signal... noise The audio feature vector is processed by an audio feature extractor, which extends the speaker's feature vector in the time dimension and concatenates it with the intermediate results of the audio feature extractor in the feature dimension. Then, it is processed by a bidirectional long short-time neural network to obtain the final audio feature vector f. a .
[0058] Ultrasonic feature extractor 102 is used during the training phase to extract the amplitude and phase U corresponding to the input ultrasonic signal. real Processing is performed to extract the ultrasonic feature vector f. u ;
[0059] Memory module 103 is used to input the extracted feature vector and output the corresponding virtual ultrasonic feature vector;
[0060] In the training phase, the input feature vector is the audio feature vector f. a and the ultrasonic feature vector f u ; Memory module receives f a As input, the output is the generated virtual ultrasonic feature vector f′ u ; Memory module receives f u As input, the output is the generated virtual ultrasonic feature vector. The input feature vector during the inference phase is the audio feature vector f. a The memory module outputs the generated virtual ultrasonic feature vector f′ u ;
[0061] Decoder 104 is used to combine the input extracted audio feature vector and the corresponding virtual ultrasonic feature vector to output the corresponding ideal amplitude mask estimate of the enhanced speech.
[0062] Specifically, during the training phase, the extracted audio feature vector f a and the corresponding ultrasonic feature vector f u As input, the output is the target speech ideal amplitude mask estimate Mask1. The extracted audio feature vector f... a and virtual ultrasonic feature vector As input, the output is the target speech ideal amplitude mask estimate Mask2. The extracted audio feature vector f... aand virtual ultrasonic feature vector f′ u As input, the output is the target speech ideal amplitude mask estimate Mask3. During the inference phase, the extracted audio feature vector f... a and virtual ultrasonic feature vector f′ u As input, the output is the target speech ideal amplitude mask estimate (Mask).
[0063] The enhancement module 105 is used to multiply the obtained ideal amplitude mask estimate and the time spectrum of the corresponding noise audio signal to output the enhanced speech signal.
[0064] Specifically, during the training phase, the obtained ideal amplitude mask estimates Mask1, Mask2, Mask3 and the corresponding time spectrum S of the noisy audio signal are used. noise Multiply to output the enhanced speech signal Mask1*S noise Mask2*S noise Mask3*S noise During the inference phase, the time spectrum S of the noisy audio signal corresponding to the obtained ideal amplitude mask estimate Mask is calculated. noise Multiply to output the enhanced speech signal Mask*S noise .
[0065] In one embodiment, the method of training and constructing a memory-based ultrasonic speech enhancement network based on an audio training dataset includes:
[0066] The time-frequency spectrum S of the noisy audio signal in each training data set. noise and the corresponding speaker feature vector f spk The audio feature vector f is extracted by the audio feature extractor 101. a ;
[0067] The amplitude and phase U corresponding to the ultrasonic signal in each training data set real Input the ultrasonic feature extractor 102 to extract the corresponding ultrasonic feature vector f u ;
[0068] The audio feature vector f corresponding to each training group a and the ultrasonic feature vector f u The input is fed into the memory module, which outputs two virtual ultrasonic feature vectors f′ for each training group. u as well as To provide for the ultrasonic eigenvector f u Together they serve as the input ultrasonic feature vector;
[0069] The audio feature vector f corresponding to each training group a and each input ultrasonic feature vector fu f′ u as well as The input is fed into the decoder to obtain three ideal amplitude mask estimates for the enhanced speech corresponding to each input ultrasonic feature vector of each training group: Mask1, Mask2, and Mask3.
[0070] The time-frequency spectrum S of the noise audio signal for each training group noise The ideal amplitude mask estimates Mask1, Mask2, and Mask3 are input to the enhancement module and multiplied to obtain the enhanced speech signal Mask1*S corresponding to each ideal amplitude mask estimate. noise Mask2*S noise Mask3*S noise ;
[0071] The total model loss for each training group is calculated based on the time spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates for each training group. The parameters of the memory module-based ultrasonic speech enhancement network are then adjusted to obtain the final memory module-based ultrasonic speech enhancement network.
[0072] In one embodiment, the memory module of the present invention is as follows: Figure 3 As shown, this is used to construct the mapping relationship from audio feature vectors to ultrasonic feature vectors. It maintains two parameter matrices: the audio vector parameter matrix and the ultrasonic feature vector parameter matrix. and ultrasonic vector parameter matrix This module maintains separate memory structures for audio and ultrasound, mapping audio feature vectors to ultrasound feature vectors. Here, N represents the number of slots in each memory structure, and D represents the feature dimension of the slot. The inputs received by this memory module differ between the training and inference phases; during training, it receives audio feature vectors. and ultrasonic feature vectors As input, the parameters within the two parameter matrices are used for dynamic training and adjustment, where T represents the time dimension and D represents the feature dimension. During the inference phase, the parameters within the parameter matrices are fixed, and only the audio table feature vector f needs to be received. a This module can be used to generate the corresponding ultrasonic feature vector f′. u .
[0073] The memory module inputs the extracted feature vector and outputs the corresponding virtual ultrasonic feature vector in the following ways:
[0074] The similarity between the input feature vector and each slot in the corresponding vector parameter matrix is quantized. Specifically, for a feature vector f at a certain time i, its similarity with the j-th slot of the parameter matrix M can be quantized using the similarity calculation formula:
[0075]
[0076] During the training phase, the input feature vector is the audio feature vector f. a and the ultrasonic feature vector f u The similarity between two feature vectors and each slot in their corresponding vector parameter matrix needs to be quantized; during the inference phase, the input feature vector is the audio feature vector f. a The similarity between the feature vector and each slot in its corresponding vector parameter matrix is quantized.
[0077] The weight distribution of the input feature vector in the corresponding vector parameter matrix is calculated based on the similarity of each slot in the vector parameter matrix corresponding to the input feature vector; specifically, based on the feature vector at time i, f i The similarity with the j-th slot is calculated using the weight distribution formula for the eigenvector at time i. i The proportion of similarity with the j-th slot in the overall weight distribution, calculated using the following formula:
[0078]
[0079] Where τ is a temperature coefficient used to adjust the overall distribution trend. A at time i. i From α i Composition, namely A i ={α 1,i α 2,i α 3,i , ..., α n,i During the training phase, the input feature vector is the audio feature vector f. a and the ultrasonic feature vector f u The corresponding A can be calculated. a And A u During the inference phase, the input feature vector is the audio feature vector f. a The corresponding A can be calculated. a .
[0080] The virtual ultrasonic feature vector is obtained by calculating the weight distribution of the input feature vector in the corresponding vector parameter matrix and the ultrasonic vector parameter matrix.
[0081] Specifically, during the training phase, the input feature vector is the audio feature vector f. a and the ultrasonic feature vector f u The corresponding A can be calculated. a And A u For f u It is expected that the following relationship can be satisfied. For f a The corresponding ultrasonic feature vector f can be generated through the memory module. u ',have During the inference phase, the input feature vector is the audio feature vector f. a The corresponding A can be calculated. a The corresponding ultrasonic feature vector f is generated through the memory module. u ',have
[0082] In one embodiment, calculating the total model loss for each training group based on the time spectrum of the enhanced speech signal and the target audio signal corresponding to each ideal amplitude mask estimate of each training group includes:
[0083] The ultrasonic feature vector f for each training group is calculated using the first loss calculation formula. u and the virtual ultrasonic feature vector corresponding to the ultrasonic feature vector. The error calculation for each training group's first loss L recon ;
[0084] The formula for calculating the first loss is:
[0085]
[0086] The weight distribution A of the audio feature vector in the corresponding audio vector parameter matrix for each training group is calculated using the second loss calculation formula. a The weight distribution A of the corresponding ultrasonic feature vector in the corresponding ultrasonic vector parameter matrix. u The difference between them yields the second loss L for each training group. KL ;
[0087] The formula for calculating the second loss is:
[0088] L KL =D KL (A u ||A a (4)
[0089] Enhanced speech signal Mask1*S based on the corresponding ideal amplitude mask estimates for each training group noise Mask2*S noise Mask3*S noise and the time spectrum S of the target audio signal clean Calculate the third loss L1, L2, and L3 for each training group;
[0090] The first loss L for each training group recon Second loss LKL The total model loss L for each training group is obtained by combining the third loss L1, L2 and L3.
[0091] In one embodiment, calculating the third loss for each training group based on the time spectrum of the enhanced speech signal corresponding to each ideal amplitude mask estimate and the target audio signal for each training group includes:
[0092] Calculate the spectral amplitude Mask1*S of the enhanced speech signal for each training group corresponding to the ideal amplitude mask estimate. noise Mask2*S noise Mask3*S noise The time spectrum S of the corresponding target audio signal noise Error of spectral amplitude: L1=||Mask1*S noise -S clean ||2, L2=||Mask2*S noise -S clean ||2, L3=||Mask3*S noise -S clean ||2; Obtain the third loss for each training group.
[0093] In one embodiment, the first loss L corresponding to each training group is... recon Second loss L KL The third loss, L1, L2, and L3, are summed according to their weights to obtain the total model loss L for each training group:
[0094] L=λ1L1+λ2L2+λ3L3+λ4L recon +λ5L KL (5)
[0095] Here, λ represents the weight of each component of the loss function. Through iteration, the value of the loss function is minimized. In this process, the parameter weights of the memory module are adjusted so that it has the ability to generate ultrasonic feature vectors based on noisy audio feature vectors, and the entire neural network is adapted to speech enhancement tasks.
[0096] Step S6: Acquire the noise audio signal from the noise audio data to be enhanced received from the speaker by the microphone.
[0097] In detail, audio data is acquired by using the mobile device's speaker as the ultrasonic wave transmitter and the microphone as the audio signal receiver. The audio data is then processed through filters to obtain the corresponding noise audio signals.
[0098] Step S7: Process the noisy audio signal using short-time Fourier transform to obtain the corresponding time spectrum.
[0099] In detail, the time spectrum S of each noise audio signal is obtained by processing the noise audio signal through short-time Fourier transform. noise .
[0100] Step S8: Based on the constructed ultrasonic speech enhancement network based on memory modules, obtain the enhanced speech signal corresponding to the noise audio signal to be enhanced according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced.
[0101] In one embodiment, step S8 includes:
[0102] The time spectrum S corresponding to the noise audio signal to be enhanced noise and the corresponding speaker feature vector f spk The audio feature vector f is extracted by the audio feature extractor 101. a ;
[0103] The extracted audio feature vector f a The input is sent to memory module 102, which outputs the corresponding virtual ultrasonic feature vector f′. u ;
[0104] The audio feature vector f of the noisy audio signal to be enhanced a and the virtual ultrasonic feature vector f′ u The input is fed into decoder 103 to obtain the ideal amplitude mask estimate value Mask for the corresponding enhanced speech;
[0105] The time spectrum f corresponding to the noise audio signal to be enhanced a The ideal amplitude mask estimate (Mask) is input into the enhancement module and multiplied to obtain the corresponding enhanced speech signal Mask*S. noise .
[0106] To better illustrate the above-mentioned interactive unrestricted speech enhancement system based on ultrasonic sensing, the present invention provides the following specific embodiments.
[0107] Example 1: An interactive, unrestricted speech enhancement method based on ultrasonic sensing.
[0108] This solution includes a training phase and an inference phase;
[0109] The specific training phase includes the following steps:
[0110] 1) Data acquisition phase:
[0111] Twenty noise-free audio clips of the target speaker were captured using a mobile device. The feature vector f of the target speaker was extracted using a pre-trained speaker feature extraction network. spkThese 20 noise-free audio clips do not require specific text content, but they are not the same as the audio content used in the training set.
[0112] Noise-free audio samples were collected from multiple volunteers using the speaker and microphone of a mobile device. These audio samples were then processed with bandpass and lowpass filters to obtain the corresponding ultrasonic and audio signals. These audio signals were considered the target audio signal.
[0113] Audio through linear superposition noise =Audio clean +Noise adds noise to the target audio signal, creating a noisy audio signal. To ensure noise diversity, the added noise includes both speaker noise and ambient noise.
[0114] The ultrasonic signal is processed to obtain U real The noisy audio signal is processed to obtain S. noise ; Perform signal processing on the target audio to obtain S clean These are related to the feature vector f of the target speaker. spk Together, they form the audio dataset used for training. Each pair of training data consists of a quadruple. <f spk S noise U real S clean Composition.
[0115] 2) Neural network training phase:
[0116] like Figure 4 As shown, for each pair of training data, the following steps are included:
[0117] ST001: Audio Feature Extractor Receiver S noise and f spk As input, the output audio feature vector f a .
[0118] ST002: Ultrasonic Feature Extractor Receiver U real As input, the output is the ultrasonic feature vector f. u .
[0119] ST003: Memory module receives f a As input, the generated ultrasonic feature vector f′ is output. u .
[0120] ST004: Memory module receives f u As input, the generated ultrasonic feature vector is output.
[0121] ST005: Decoder receives f a and f u As input, the output is the target speech ideal amplitude mask estimate Mask1.
[0122] ST006: Decoder receives f a and As input, the output is the target speech ideal amplitude mask estimate Mask2.
[0123] ST007: Decoder receives f a and f′ u As input, the output is the target speech ideal amplitude mask estimate Mask3.
[0124] ST008: Pass Calculate the error between the virtual ultrasonic eigenvector and the real ultrasonic eigenvector.
[0125] ST009: Via L KL =D KL (A u ||A a Calculate A a and A u The distribution differences.
[0126] ST010: Calculate the spectral amplitude of the enhanced speech and the spectral amplitude S of the target speech signal, respectively. clean Error: L1 = ||Mask1*S noise -S clean ||2, L2=||Mask2*S noise -S clean ||2, L3=||Mask3*S noise -S clean ||2.
[0127] ST011: In one training session, the total error is L = L1 + L2 + L3 + L recon +L KL .
[0128] Steps ST001 to ST011 are repeated multiple times to adjust all parameters in the neural network. This enables it to generate the ultrasonic features of the target speaker based on noisy audio and to perform ultrasonic speech enhancement.
[0129] Specifically, in the reasoning stage, such as Figure 5 As shown, it includes the following steps
[0130] SI001: Audio Feature Extractor Receives S noise and f spk As input, the output audio feature vector fa Note: f here spk Extraction of audio from user-registered audio files.
[0131] S1002: Memory module receives f a As input, the generated ultrasonic feature vector f′ is output. u .
[0132] SI003: Decoder receives f a and f′ u As input, the output is the target speech ideal amplitude mask estimate, Mak.
[0133] SI004: Obtain the spectral amplitude S of the enhanced speech. enhance =Mask*S noise .
[0134] To verify the performance of this embodiment, tests were conducted on various noisy environment datasets, including ambient noise, speaker noise, and a mixture of both. The signal-to-noise ratio of the target audio signal to the noise was [-5, 5] dB. Figure 6 The effectiveness of the proposed method on the test set for SDR, PESQ, and STOI is demonstrated. It can be observed that, compared to pure audio speech enhancement methods, the method proposed in this embodiment can effectively handle scenarios such as speaker noise and mixed noise.
[0135] To verify the interactivity of this embodiment, data on various interactive postures were collected and compiled into a test set for testing. This test set included three interactive scenarios: 1) the phone is placed on a stand, 40-50cm away from the user (simulating a car scenario); 2) the user holds the phone while making a phone call; 3) the user holds the phone while sending a WeChat voice message, with their lips 3-5cm away from the microphone, but they must be walking while speaking. In these three scenarios, ultrasound cannot accurately model the user's lip movements due to the influence of angle, distance, and changes in reflecting objects. Figure 7 The effects of the proposed methods on SDR, PESQ, and STOI in these three scenarios are demonstrated. It can be seen that, due to the influence of the ultrasonic signal, the ultrasonic speech enhancement effect is even inferior to pure audio speech enhancement methods. However, the method proposed in this embodiment is unaffected because it only relies on noisy audio as input during the inference phase.
[0136] To verify the performance of the method proposed in this embodiment under different signal-to-noise ratios, this embodiment conducts tests on test sets with average signal-to-noise ratios of -5, -2.5, 0, 2.5, and 5. Figure 8The relevant results are presented. ΔSDR represents the difference in SDR between the current method and pure audio speech enhancement. w / o spk represents the removal of speaker embedding. It can be observed that even under the poor signal-to-noise ratio condition of -5dB, with the help of speaker embedding, the method proposed in this embodiment still has a very significant improvement compared to the pure audio speech enhancement method.
[0137] Similar to the principles of the above embodiments, the present invention provides an interactive, unrestricted voice enhancement system based on ultrasonic sensing.
[0138] The following specific embodiments are provided in conjunction with the accompanying drawings:
[0139] like Figure 9 This diagram illustrates the structure of an interactive, unrestricted voice enhancement system based on ultrasonic sensing, according to an embodiment of the present invention.
[0140] The system includes:
[0141] Signal acquisition module 1 is used to acquire the noise audio signal in the noise audio data to be enhanced received from the speaker by the microphone;
[0142] The noise audio signal processing module 2 is connected to the signal acquisition module 1 and is used to process the noise audio signal through short-time Fourier transform to obtain the corresponding time spectrum;
[0143] The speech enhancement module 3 is connected to the noise audio signal processing module 2. It is used to obtain the enhanced speech signal corresponding to the noise audio signal to be enhanced based on the constructed ultrasonic speech enhancement network based on the memory module, according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced.
[0144] One method for constructing an ultrasonic speech enhancement network based on memory modules is as follows:
[0145] The system acquires multiple target audio signals received from the speaker via a microphone and corresponding ultrasonic signals emitted by a speaker and reflected by the speaker's lips. It then constructs a noisy audio signal by linearly adding noise to the target audio signals. The noisy audio signal and the corresponding ultrasonic signal together constitute the noisy audio data.
[0146] The ultrasonic signals of each noise audio data are preprocessed to obtain the corresponding amplitude and phase.
[0147] The time spectrum is obtained by processing the noise audio signal and the corresponding target audio signal of each noise audio data through short-time Fourier transform.
[0148] The training data set for each noisy audio data is constructed by using the amplitude and phase of the ultrasonic signal corresponding to each noisy audio data, the time spectrum of the noisy audio signal, the time spectrum of the corresponding target audio signal, and the corresponding speaker feature vector.
[0149] An ultrasonic speech enhancement network based on memory modules was constructed using an audio training dataset.
[0150] This invention uses a designed memory module to remember the mapping relationship between noise audio features and ultrasonic signal features. In practical use, the memory module can be used to generate virtual but usable ultrasonic signal features from the noise audio signal as auxiliary information, thereby achieving the goal of ultrasonic voice enhancement with only one modal input and obtaining two modal features.
[0151] It should be noted that, as should be understood Figure 9 The division of modules in the system embodiment is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these units can be implemented entirely in software through processing element calls; they can be implemented entirely in hardware; or some units can be implemented by processing element calls to software, while others are implemented in hardware.
[0152] Since the implementation principle of the interactive unrestricted voice enhancement system based on ultrasonic sensing has been described in the foregoing embodiments, it will not be repeated here.
[0153] The interactive unrestricted voice enhancement method based on ultrasonic sensing provided in this invention can be implemented on the terminal side or the server side. For the hardware structure of the interactive unrestricted voice enhancement terminal based on ultrasonic sensing, please refer to [link to relevant documentation]. Figure 10 This is a schematic diagram of an optional hardware structure for an interactive, unrestricted voice enhancement terminal 1000 based on ultrasonic sensing, provided in an embodiment of the present invention. The terminal 1000 can be a mobile phone, computer device, tablet device, personal digital processing device, factory back-end processing device, etc. The terminal 1000 includes: at least one processor 1001, a memory 1002, at least one network interface 10010, and a user interface 10010. The various components in the device are coupled together through a bus system 1005. It is understood that the bus system 1005 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 1005 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 10 The general will label all buses as bus systems.
[0154] The user interface 10010 may include a monitor, keyboard, mouse, trackball, clicker, button, touchpad, or touch screen.
[0155] It is understood that memory 1002 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM) or programmable read-only memory (PROM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM) and synchronous static random access memory (SSRAM). The memories described in the embodiments of this invention are intended to include, but are not limited to, these and any other suitable categories of memory.
[0156] In this embodiment of the invention, the memory 1002 is used to store various types of data to support the operation of the terminal 1000. Examples of this data include: any executable program for operation on the terminal 1000, such as the operating system 10021 and application program 10022; the operating system 10021 contains various system programs, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and handling hardware-based tasks. The application program 10022 may contain various applications, such as a media player, browser, etc., for implementing various application services. The interactive unrestricted voice enhancement method based on ultrasonic perception provided in this embodiment of the invention can be included in the application program 10022.
[0157] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 1001 or by instructions in the form of software. The processor 1001 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor 1001 may be a microprocessor or any conventional processor, etc. The steps of the accessory optimization method provided in the embodiments of the present invention can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in a memory. The processor reads the information in the memory and combines it with its hardware to complete the steps of the aforementioned method.
[0158] In an exemplary embodiment, the terminal 1000 may be used to execute the aforementioned method by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), or complex programmable logic devices (CPLDs).
[0159] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented using computer program-related hardware. The aforementioned computer program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0160] In the embodiments provided in this application, the computer-readable and writable storage medium may include read-only memory, random access memory, EEPROM, CD-ROM or other optical disc storage devices, disk storage devices or other magnetic storage devices, flash memory, USB flash drive, portable hard drive, or any other medium capable of storing desired program code in the form of instructions or data structures and accessible by a computer. Additionally, any connection may be appropriately referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. However, it should be understood that computer-readable and writable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are intended for non-transient, tangible storage media. The disks and optical discs used in the application include compact discs (CDs), laser discs, optical discs, digital multifunction discs (DVDs), floppy disks, and Blu-ray discs, where disks typically copy data magnetically, while optical discs use lasers to copy data optically.
[0161] In summary, the interactive, unrestricted speech enhancement method, system, and terminal based on ultrasonic sensing of the present invention process the noise audio signal in the noise audio data to be enhanced received from the speaker by the microphone using short-time Fourier transform to obtain the corresponding time spectrum. Based on a constructed ultrasonic speech enhancement network with a memory module, the enhanced speech signal corresponding to the noise audio signal to be enhanced is obtained according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced. By fusing the speaker feature vector and the memory module into the ultrasonic speech enhancement network, the present invention enables the generation of corresponding ultrasonic feature vectors using only the noise audio input, thus achieving the purpose of ultrasonic speech enhancement. Compared with other ultrasonic speech enhancement methods, it enhances interactivity. Compared with pure audio modal speech enhancement methods, it improves performance and can handle complex noise environments such as multiple speakers and low signal-to-noise ratio. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has high industrial application value.
[0162] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. An interactive, unrestricted speech enhancement method based on ultrasonic sensing, characterized in that, The method includes: The system acquires multiple target audio signals received from the speaker via a microphone and corresponding ultrasonic signals emitted by a speaker and reflected by the speaker's lips. It then constructs a noisy audio signal by linearly adding noise to the target audio signals. The noisy audio signal and the corresponding ultrasonic signal together constitute the noisy audio data. The ultrasonic signals of each noise audio data are preprocessed to obtain the corresponding amplitude and phase. The time spectrum is obtained by processing the noise audio signal and the corresponding target audio signal of each noise audio data through short-time Fourier transform. The training data set for each noisy audio data is constructed by using the amplitude and phase of the ultrasonic signal corresponding to each noisy audio data, the time spectrum of the noisy audio signal, the time spectrum of the corresponding target audio signal, and the corresponding speaker feature vector. An ultrasonic speech enhancement network based on memory modules was constructed using an audio training dataset. Acquire the noise audio signal from the noise audio data to be enhanced received from the speaker via the microphone; The time spectrum is obtained by processing the noisy audio signal using short-time Fourier transform; Based on the constructed memory module-based ultrasonic speech enhancement network, the enhanced speech signal corresponding to the noise audio signal to be enhanced is obtained according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced.
2. The interactive, unrestricted speech enhancement method based on ultrasonic sensing as described in claim 1, characterized in that, The ultrasonic voice enhancement network based on the memory module includes: an audio feature extractor, an ultrasonic feature extractor, a memory module, a decoder, and an enhancement module; The audio feature extractor is used to process the time spectrum of the input noisy audio signal and fuse it with the speaker feature vector corresponding to the noisy audio signal to extract the audio feature vector. An ultrasonic feature extractor is used to process the amplitude and phase of an input ultrasonic signal to extract ultrasonic feature vectors. The memory module is used to input the extracted feature vector and output the corresponding virtual ultrasonic feature vector; wherein, the feature vectors input during the training phase are the audio feature vector and the ultrasonic feature vector, and the feature vector input during the inference phase is the audio feature vector. The decoder combines the extracted audio feature vectors and the corresponding virtual ultrasonic feature vectors to output the ideal amplitude mask estimate of the enhanced speech. The enhancement module is used to multiply the obtained ideal amplitude mask estimate with the time spectrum of the corresponding noisy audio signal to output the enhanced speech signal.
3. The interactive, unrestricted speech enhancement method based on ultrasonic sensing as described in claim 2, characterized in that, The method of training and constructing a memory-based ultrasonic speech enhancement network based on an audio training dataset includes: The time spectrum of the noisy audio signal in each training data group and the corresponding speaker feature vector are input into the audio feature extractor to extract the corresponding audio feature vector; The amplitude and phase of the ultrasonic signal in each training data set are input into the ultrasonic feature extractor to extract the corresponding ultrasonic feature vector; The audio feature vector and ultrasonic feature vector corresponding to each training group are input into the memory module and output as two virtual ultrasonic feature vectors corresponding to each training group, which are used together with the ultrasonic feature vector as input ultrasonic feature vectors. The audio feature vector corresponding to each training group and each input ultrasonic feature vector are input into the decoder to obtain the ideal amplitude mask estimate of the enhanced speech for each input ultrasonic feature vector of each training group. The time spectrum of the noisy audio signal of each training group and the estimated value of each ideal amplitude mask are input into the enhancement module and multiplied to obtain the enhanced speech signal corresponding to each ideal amplitude mask estimate; The total model loss for each training group is calculated based on the time spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates for each training group. The parameters of the memory module-based ultrasonic speech enhancement network are then adjusted to obtain the final memory module-based ultrasonic speech enhancement network.
4. The interactive, unrestricted speech enhancement method based on ultrasonic sensing as described in claim 3, characterized in that, The step of obtaining the enhanced speech signal corresponding to the noise audio signal to be enhanced based on the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced includes: The time spectrum of the noisy audio signal to be enhanced and the corresponding speaker feature vector are input into the audio feature extractor to extract the corresponding audio feature vector; The extracted audio feature vector is input into the memory module and the corresponding virtual ultrasonic feature vector is output. The audio feature vector of the noisy audio signal to be enhanced and the virtual ultrasonic feature vector are input into the decoder to obtain the ideal amplitude mask estimate of the corresponding enhanced speech; The time spectrum of the noisy audio signal to be enhanced and the estimated value of the ideal amplitude mask are input into the enhancement module and multiplied to obtain the corresponding enhanced speech signal.
5. The interactive, unrestricted speech enhancement method based on ultrasonic sensing according to claim 4, characterized in that, The memory module maintains two vector parameter matrices and has a set number of slots; wherein, the two vector parameter matrices include: an audio vector parameter matrix and an ultrasonic vector parameter matrix with a mapping relationship; The memory module inputs the extracted feature vector and outputs the corresponding virtual ultrasonic feature vector in the following ways: The similarity between the input feature vector and each slot in its corresponding vector parameter matrix is quantized. The weight distribution of the input feature vector in the corresponding vector parameter matrix is calculated based on the similarity of each slot in the vector parameter matrix corresponding to the input feature vector. The virtual ultrasonic feature vector is obtained by calculating the weight distribution of the input feature vector in the corresponding vector parameter matrix and the ultrasonic vector parameter matrix.
6. The interactive, unrestricted speech enhancement method based on ultrasonic sensing as described in claim 5, characterized in that, The calculation of the total model loss for each training group based on the time-spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates of each training group includes: Calculate the first loss for each training group by calculating the error of the ultrasonic feature vector and the virtual ultrasonic feature vector corresponding to the ultrasonic feature vector. The second loss for each training group is obtained by calculating the difference between the weight distribution of the audio feature vector in the corresponding audio vector parameter matrix and the weight distribution of the corresponding ultrasound feature vector in the corresponding ultrasound vector parameter matrix. The third loss for each training group is calculated based on the time spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates of each training group. The first loss, second loss, and third loss corresponding to each training group are combined to obtain the total model loss for each training group.
7. The interactive, unrestricted speech enhancement method based on ultrasonic sensing as described in claim 6, characterized in that, The calculation of the third loss for each training group based on the time-spectrum of the enhanced speech signal and the target audio signal corresponding to the ideal amplitude mask estimates of each training group includes: The third loss for each training group is obtained by calculating the error between the spectral amplitude of the enhanced speech signal corresponding to each ideal amplitude mask estimate and the spectral amplitude of the corresponding target audio signal.
8. The interactive, unrestricted speech enhancement method based on ultrasonic sensing as described in claim 1, characterized in that, The methods for preprocessing ultrasonic signals to obtain the corresponding amplitude and phase include: The ultrasonic signal is filtered and the I and Q components are extracted by sliding window mean sampling to obtain the corresponding amplitude and phase.
9. An interactive, unrestricted speech enhancement system based on ultrasonic sensing, characterized in that, The system includes: The signal acquisition module is used to acquire the noise audio signal from the noise audio data to be enhanced received by the microphone from the speaker; A noise audio signal processing module, connected to the signal acquisition module, is used to process the noise audio signal through short-time Fourier transform to obtain the corresponding time spectrum; The speech enhancement module, connected to the noise audio signal processing module, is used to obtain the enhanced speech signal corresponding to the noise audio signal to be enhanced based on the constructed ultrasonic speech enhancement network based on the memory module, according to the time spectrum corresponding to the noise audio signal to be enhanced and the speaker feature vector corresponding to the noise audio data to be enhanced. One method for constructing an ultrasonic speech enhancement network based on memory modules is as follows: The system acquires multiple target audio signals received from the speaker via a microphone and corresponding ultrasonic signals emitted by a speaker and reflected by the speaker's lips. Noise is then linearly added to the target audio signals to construct a noise audio signal. The noise audio signal and the corresponding ultrasonic signal together constitute noise audio data. The ultrasonic signals of each noise audio data are preprocessed to obtain the corresponding amplitude and phase. The time spectrum is obtained by processing the noise audio signal and the corresponding target audio signal of each noise audio data through short-time Fourier transform. The training data set for each noisy audio data is constructed by using the amplitude and phase of the ultrasonic signal corresponding to each noisy audio data, the time spectrum of the noisy audio signal, the time spectrum of the corresponding target audio signal, and the corresponding speaker feature vector. An ultrasonic speech enhancement network based on memory modules was constructed using an audio training dataset.
10. An interactive, unrestricted voice enhancement terminal based on ultrasonic sensing, characterized in that, include: One or more memories and one or more processors; The one or more memories are used to store computer programs; The one or more processors are connected to the memory and are used to run the computer program to perform the method as described in any one of claims 1 to 8.
