Robustness evaluation method for voice conversion system

By constructing a noisy data set and using word error rate and timbre recognition accuracy indicators to evaluate the robustness of the speech conversion system, the problem of the lack of structured evaluation and limited noise samples in the existing technology is solved, and the reliability and accuracy of the system are achieved. Increased universality.

CN118609607APending Publication Date: 2024-09-06ZHEJIANG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410808735.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The robustness evaluation of existing speech conversion systems lacks a structured method, is labor-intensive, and only uses limited natural noise samples. It cannot effectively simulate complex acoustic environments and affects the reliability of the system.

Method used

By constructing a clean data set from an open source corpus and generating a noisy data set under multiple sets of noise parameters, combined with word error rate and timbre recognition accuracy indicators, the robustness of the speech conversion system is evaluated, covering continuous environmental characteristics, providing universality and Maintainability.

Benefits of technology

It realizes the performance evaluation of the speech conversion system in different application scenarios, improves the reliability and maintainability of the system, saves manpower, and has good flexibility and universality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609607A
    Figure CN118609607A
Patent Text Reader

Abstract

The invention discloses a robustness evaluation method for a voice conversion system, which comprises the following steps of: respectively testing a noise-added output data set and a clean output data set to obtain respective index scores through two indexes of word error rate and tone recognition precision, and evaluating the robustness of the voice conversion system according to the degradation degree of the scores. Therefore, the method can truly reflect the performance of the voice conversion system in an actual application scene after deployment and landing, provides a basis for ensuring and improving the reliability of the voice conversion system, is also beneficial to exploring the deep correlation between the voice conversion performance and different noise conditions in the future, and improves the reliability of the voice conversion system. The robustness of any voice conversion system in any use scene can be conveniently evaluated without changing other steps, manpower can be saved, and the method has good maintainability and expansibility. The implementation method is simple and flexible in means, noise parameters are finely adjusted in a fine-grained mode, and continuous environment characteristics are covered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of system evaluation, and in particular relates to a robustness evaluation method for a speech conversion system. Background Art

[0002] In the past few years, virtual content synthesis technology has been widely used in daily social media communication due to the growing demand for multimedia content in terms of innovation, personalization, and expressiveness. Voice Conversion (VC) is a representative technology in virtual content synthesis, which is used to convert the timbre of one person to that of another person while preserving the text content of the voice. Using advanced deep learning frameworks such as Variational Auto-Encoder (VAE), Generative Adversarial Network (GAN), and Diffusion Model, VC technology has achieved a leap in the naturalness and personalization of generated voice. This technology provides a series of expressive voice alternatives for a variety of communication scenarios, such as VoIP, video conferencing, e-commerce live broadcast, and entertainment. However, in real-world usage scenarios, the noise present in the user's input voice may degrade the quality of voice conversion. Therefore, the noise robustness of the VC system is related to its reliability in practical applications.

[0003] There is a lack of structured methods for evaluating the robustness of VC systems, which is labor-intensive. On the other hand, existing evaluations only use limited natural noise samples for testing, which is not universal for complex acoustic environments in application scenarios. Summary of the invention

[0004] In view of the problems existing in the prior art, the object of the present invention is to provide a robustness evaluation method for a speech conversion system, which is achieved by the following technical solutions:

[0005] The present invention discloses a robustness evaluation method for a speech conversion system, comprising:

[0006] Step 1: Download some clean speech audio without noise from open source corpora to build a clean dataset. The open source corpora are VCTK or LibriSpeech, LJSpeech.

[0007] Step 2: Select a set of noise parameters and calculate a single set of noisy data sets under the noise parameters from the clean data set;

[0008] Step 3: According to the needs of the actual application scenario, multiple groups of noise parameters are obtained through fine-tuning. The speech noise adding process of step 2 is repeated under each group of noise parameters to obtain a single group of noise adding data sets each time. Combine all the single group of noise adding data sets to construct a noise adding test set.

[0009] Step 4: Deploy the speech conversion system to be tested and set the timbre of any target speaker;

[0010] Step 5: The noisy test set and the clean data set are respectively passed through the speech conversion system to generate a noisy output data set and a clean output data set;

[0011] Step 6: Use the two indicators of word error rate and timbre recognition accuracy to test the noisy output dataset and the clean output dataset to obtain their respective indicator scores, and evaluate the robustness of the speech conversion system based on the degree of degradation of the scores.

[0012] As a further improvement, step 2 of the present invention is specifically as follows:

[0013] Randomly generate a white noise audio;

[0014] Input the set noise parameters and white noise into the modulation function to obtain a modulated noise;

[0015] Each speech in the clean data set is mixed with the obtained modulated noise in turn to obtain a noisy speech each time;

[0016] All the noisy speech obtained constitutes a single set of noisy data sets.

[0017] As a further improvement, the single set of noisy data sets under the noise parameters is calculated from the clean data sets in the present invention, specifically:

[0018] 1) Sample random white noise audio from Gaussian distribution, denoted as n;

[0019] 2) Pass n through a bandpass filter F l,h (·), where l and h are the lower and upper boundaries of the frequency band, respectively, and the output is denoted as n1;

[0020] 3) Pass n1 through the duty cycle filter D d,T (·), which is defined as follows:

[0021]

[0022] Where T represents the period, d represents the duty cycle, that is, the proportion of noise in the period T, and the output is recorded as n2;

[0023] 4) Scale n2 by a factor A to obtain N, and mix N with the clean speech s to add noise, where the value of A can be obtained by calculation:

[0024] N=A*D d,T (F l,h (n))

[0025]

[0026] Where P s is the power of clean speech s. For signal x∈{s,n}, its power P x The calculation method is:

[0027]

[0028] In addition, the signal-to-noise ratio SNR, period T, duty cycle d, lower frequency band boundary l, and upper frequency band boundary h are all set noise parameters; the definition of the signal-to-noise ratio is as follows:

[0029]

[0030] As a further improvement, the present invention obtains multiple groups of noise parameters by fine-tuning, and repeats the speech noise adding process of step 2 under each group of different noise parameters, specifically:

[0031] According to the actual application scenario, the range and step size of the noise parameters are first set, and multiple groups of noise parameters are obtained through the scanning algorithm. Then, each group of noise parameters is used to add noise to the speech to obtain the corresponding single group of noise data sets. Finally, the noise test set is constructed.

[0032] The noisy test set is obtained by adding modulated noise, covering the entire range of noise parameters and being able to simulate continuous environmental characteristics, rather than sampling environmental noise samples from the real world, which only covers a number of discrete environmental characteristics.

[0033] As a further improvement, the present invention provides a method of passing the noisy test set and the clean data set through a speech conversion system to generate a noisy output data set and a clean output data set, specifically:

[0034] Each speech in the noisy test set is input as the source speech to the speech conversion system for speech conversion in turn, and a generated speech is obtained each time, and all the generated speeches constitute the noisy output data set; each speech in the clean data set is input as the source speech to the speech conversion system for speech conversion in turn, and a generated speech is obtained each time, and all the generated speeches constitute the clean output data set.

[0035] As a further improvement, the word error rate described in the present invention is measured by an automatic speech recognition model, and the timbre recognition accuracy is measured by a speaker authentication model. The essence of a speech conversion system is to change the identity characteristics of a speaker while preserving the semantic content. The word error rate index reflects the ability of a speech conversion system to preserve semantic content, and the timbre recognition accuracy index reflects the ability of a speech conversion system to accurately change the identity of a speaker. Combining these two indicators can objectively measure the performance of a speech conversion system in different application scenarios, thereby evaluating the robustness of the speech conversion system.

[0036] The beneficial effects of the present invention are as follows:

[0037] The present invention uses two indicators, word error rate and timbre recognition accuracy, to test the noisy output data set and the clean output data set to obtain their respective indicator scores, and evaluates the robustness of the speech conversion system according to the degree of degradation of the scores. Therefore, the invention can truly reflect the performance of the speech conversion system in actual application scenarios after deployment, providing a basis for ensuring and improving the reliability of the speech conversion system, and is also conducive to future exploration of the deep correlation between speech conversion performance and different noise conditions.

[0038] The process of the present invention is a structured method. It only needs to change the noise parameter setting in step 3 or replace the voice conversion system to be tested in step 4, so as to conveniently evaluate the robustness of any voice conversion system in any usage scenario without changing other steps. It can save manpower and has good maintainability and scalability. The implementation method is simple and the means are flexible.

[0039] The present invention first sets the range and step size of the noise parameters according to the actual application scenario, obtains multiple groups of noise parameters through a scanning algorithm, then uses each group of noise parameters to perform speech noise addition to obtain a corresponding single group of noise-added data sets, and finally constructs a noise-added test set. The present invention covers continuous environmental features by fine-tuning the noise parameters in a fine-grained manner; in contrast, the traditional method of sampling noise samples from the real world only covers a number of discrete environmental features. Therefore, the evaluation results of the present invention are more universal for different actual application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 is a flow chart of the proposed evaluation method; DETAILED DESCRIPTION

[0042] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.

[0043] The robustness evaluation method for a speech conversion system of the present invention comprises the following steps:

[0044] Step 1: Download some clean speech audio without noise from an open source corpus, and build a clean data set from it: the open source corpus can be VCTK, LibriSpeech, etc.

[0045] Step 2: Select a set of noise parameters and calculate a single set of noisy data sets under the noise parameters from the clean data set. The specific process includes:

[0046] 1) Sample random white noise audio from Gaussian distribution, denoted as n;

[0047] 2) Pass n through a bandpass filter F l,h (·), used to modulate the noise frequency band, where l and h are the lower and upper boundaries of the frequency band, respectively, and the output is denoted as n1;

[0048] 3) Pass n1 through the duty cycle filter D d,T (·), used to modulate the noise intermittency, is defined as follows:

[0049]

[0050] Where T represents the period, d represents the duty cycle, that is, the proportion of noise in the period T, and the output is recorded as n2;

[0051] 4) Scale n2 by a factor A to obtain N, which is used to modulate the noise intensity; mix N with the clean speech s to add noise, where the value of A can be calculated:

[0052] N=A*D d,T (F l,h (n))

[0053]

[0054] Where P s is the power of clean speech s. For signal x∈{s,n}, its power P x The calculation method is:

[0055]

[0056] In addition, the signal-to-noise ratio SNR, period T, duty cycle d, lower frequency band boundary l, and upper frequency band boundary h are all set noise parameters. The definition of the signal-to-noise ratio is as follows:

[0057]

[0058] 5) Mix each speech in the clean data set with the obtained modulated noise and add noise in turn, and obtain a noisy speech each time;

[0059] 6) All the noisy speech obtained constitute a single noisy data set;

[0060] Step 3: First, set the range and step size of the noise parameters according to the actual application scenario, and obtain multiple groups of noise parameters through fine-tuning of the scanning algorithm; then use each group of noise parameters to perform the speech noise addition process in step 2, and obtain the corresponding single group of noise-added data sets each time; finally, construct a noise-added test set from all the single groups of noise-added data sets.

[0061] The noise-added test set is obtained by adding modulated noise, covers the entire range of noise parameters, and can simulate continuous environmental features, rather than sampling environmental noise samples from the real world, which only covers a number of discrete environmental features.

[0062] Step 4: Deploy the speech conversion system to be tested and set the timbre of any target speaker;

[0063] Step 5: Input each speech in the noisy test set as the source speech to the speech conversion system for speech conversion in turn, and obtain a generated speech each time, and all the generated speech constitute the noisy output data set; input each speech in the clean data set as the source speech to the speech conversion system for speech conversion in turn, and obtain a generated speech each time, and all the generated speech constitute the clean output data set.

[0064] Step 6: The word error rate and timbre recognition accuracy are used to test the noisy output data set and the clean output data set to obtain their respective index scores. The word error rate is measured by an automatic speech recognition model (which can be Wshiper, etc.), and the timbre recognition accuracy is measured by a speaker authentication model (which can be Ecapa-TDNN, etc.). The robustness of the speech conversion system is evaluated according to the degradation degree of the score.

[0065] The essence of a speech conversion system is to change the identity of the speaker while preserving the semantic content. Word error rate refers to the ratio of the number of words transcribed incorrectly by ASR (including insertions, deletions, and substitutions) to the total number of words in the speech sample, reflecting the ability of the speech conversion system to preserve semantic content; timbre recognition accuracy refers to the accuracy of speech being recognized as belonging to the target speaker, reflecting the ability of the speech conversion system to accurately change the speaker's identity. Combining these two indicators can objectively measure the performance of the speech conversion system in different application scenarios, thereby evaluating the robustness of the speech conversion system.

[0066] The above examples are only specific embodiments of the present invention. Obviously, the present invention is not limited to the above examples, and there are many variations. All variations that can be directly derived or associated with the content disclosed by a person skilled in the art should be considered as the protection scope of the present invention.

Claims

1. A robustness evaluation method for a speech conversion system, characterized in that: include: Step 1: Download some clean speech audio without noise from the open source corpus to build a clean data set. The open source corpus is VCTK or LibriSpeech, LJSpeech; Step 2: Select a set of noise parameters and calculate a single set of noisy data sets under the noise parameters from the clean data set; Step 3: According to the needs of the actual application scenario, multiple groups of noise parameters are obtained through fine-tuning. The speech noise adding process of step 2 is repeated under each group of noise parameters to obtain a single group of noise adding data sets each time. Combine all the single group of noise adding data sets to construct a noise adding test set. Step 4: Deploy the speech conversion system to be tested and set the timbre of any target speaker; Step 5: The noisy test set and the clean data set are respectively passed through the speech conversion system to generate a noisy output data set and a clean output data set; Step 6: Using the two indicators of word error rate and timbre recognition accuracy, the noisy output data set and the clean output data set are tested to obtain their respective indicator scores, and the robustness of the speech conversion system is evaluated according to the degree of degradation of the scores.

2. The robustness evaluation method for a speech conversion system according to claim 1, characterized in that: The step 2 is specifically as follows: Randomly generate a white noise audio; Input the set noise parameters and white noise into the modulation function to obtain a modulated noise; Each speech in the clean data set is mixed with the obtained modulated noise in turn to obtain a noisy speech each time; All the noisy speech obtained constitutes a single set of noisy data sets.

3. The robustness evaluation method for a speech conversion system according to claim 1 or 2, characterized in that: The single set of noisy data sets under the noise parameters is calculated from the clean data set, specifically: 1) Sample random white noise audio from Gaussian distribution, denoted as n; 2) Pass n through a bandpass filter F l,h (·), where l and h are the lower and upper boundaries of the frequency band, respectively, and the output is denoted as n1; 3) Pass n1 through the duty cycle filter D d,T (·), which is defined as follows: Where T represents the period, d represents the duty cycle, that is, the proportion of noise in the period T, and the output is recorded as n2; 4) Scale n2 by a factor A to obtain N, and mix N with the clean speech s to add noise, where the value of A can be obtained by calculation: N=A*D d,T (F l,h (n)) Where P s is the power of clean speech s. For signal x∈{x,n}, its power P x The calculation method is: In addition, the signal-to-noise ratio SNR, period T, duty cycle d, lower frequency band boundary l, and upper frequency band boundary h are all set noise parameters; the definition of the signal-to-noise ratio is as follows:

4. The robustness evaluation method for a speech conversion system according to claim 3, characterized in that , the multiple groups of noise parameters are obtained by fine-tuning, and the speech noise adding process of step 2 is repeated under each group of different noise parameters, specifically: According to the actual application scenario, the range and step size of the noise parameters are first set, and multiple groups of noise parameters are obtained through the scanning algorithm. Then, each group of noise parameters is used to add noise to the speech to obtain the corresponding single group of noise-added data sets. Finally, the noise-added test set is constructed. The noise-added test set is obtained by adding modulated noise, covers the entire range of noise parameters, and can simulate continuous environmental features, rather than sampling environmental noise samples from the real world, which only covers a number of discrete environmental features.

5. The robustness evaluation method for a speech conversion system according to claim 1, 2 or 4, characterized in that , the noisy test set and the clean data set are respectively passed through the speech conversion system to generate a noisy output data set and a clean output data set, specifically: Each speech in the noisy test set is input as a source speech to the speech conversion system for speech conversion in turn, and a generated speech is obtained each time, and all the generated speech constitutes a noisy output data set; each speech in the clean data set is input as a source speech to the speech conversion system for speech conversion in turn, and a generated speech is obtained each time, and all the generated speech constitutes a clean output data set.

6. The robustness evaluation method for a speech conversion system according to claim 5, characterized in that ,The word error rate is measured by an automatic speech recognition model, and the ,timbre recognition accuracy is measured by a speaker verification model.

Citation Information

Cited By

  • Voice transcription system evaluation method and device, related equipment and program product

    CN120071903A

  • Speech transcription system evaluation method, device, related equipment and program product

    CN120071903B