This invention relates to text-to-speech conversion (TTS). More particularly, this invention relates to a method and system for statistics-based distance definition in text-to-speech conversion.
Text-to-speech conversion refers to the technology that intelligently converts words into natural voice flow by using the designs of advanced natural language processing algorithms under the support of computers. TTS facilitates user interaction with the computer, thereby improving the flexibility of the application system.
A typical TTS system as shown in
For example, performing TTS on the text will result in the following. First the text is input into the text analysis unit 101, so that the pronunciation of each character and the phrase boundaries are identified as follows. The following example uses Chinese language text, but of course the present invention may be applied to any language.
With the above text analysis, the prosody prediction unit 102 performs prosody prediction on the characters in the text. Then, the speech synthesis unit 103 will produce the voice corresponding to said text based on the predicted prosody information. In current TTS technologies, statistics-based distance definition approaches are an important tendency. In these kinds of approaches, text analysis and prosody prediction models are trained from a large labeled corpus, and speech synthesis is always based on selection of multiple candidates for each synthesis segment. A general framework for the TTS-based corpus is shown in
In statistics based approaches, especially in prosody prediction and inventory based selection, many difficult problems involve the distance definition between a sample and a given cluster. Even with complex contexts to cluster data, the problem of data dispersing is so serious in almost every cluster, and the overlap among clusters is so serious, that it is difficult to evaluate whether the sample belongs to the given cluster.
There are some classical definitions used in current TTS, such as the weighted Euclid distance and the Mahalanobis distance. For the Euclid distance, by using an average of the used sample points as the sample point, it is often difficult to choose the most appropriate value to be the sample point. Moreover, the relationship among different dimensions may be ignored or poorly modeled by pre-given knowledge. A problem with the Mahalanobis distance is the poor capability to simulate the complex distribution.
In consideration of the above problems, the present invention is proposed, where the Gaussian Mixture Model (GMM) is applied to distance definition in TTS. More particularly, the invention relates to a novel statistics-based distance definition approach used for text-to-speech conversion. In the distance definition according to the present invention, probability distribution is prominently adopted through the GMM. The present invention may be used to better solve such difficulties as data sparseness and data dispersing in TTS statistical technology by using of the probability distribution, as compared with the afore-mentioned Euclid distance and Mahalanobis distance. GMM is an algorithm to describe some complex distribution by a cluster of Gaussian models with simple parameters for each Gaussian model. For example, the distribution of
According to embodiments of the invention, there is provided a method for distance definition in the TTS system, comprising the steps of: analyzing the text that is to be subjected to TTS, to obtain a text with descriptive prosody annotation; performing clustering for the samples in the obtained text; and generating a GMM model for each cluster, to determine the distance between the sample and the corresponding GMM model. According to embodiments of the invention, there is provided a system for distance definition in the TTS system, comprising: a text analysis unit, for analyzing the text that is to be subjected to TTS, to obtain a text with descriptive prosody annotation; a prosody prediction unit, for performing clustering for the samples in the text obtained by the text analysis unit; and a GMM model base, connected to said prosody prediction unit, for storing the generated GMM models. These first and second aspects of the invention are directed to training the GMM models by using the corpus.
According to embodiments of the invention, there is provided a method for speech synthesizing in the TTS system, comprising the steps of: determining the cluster for the unit to be subjected to TTS, thereby to determine the GMM model of said cluster; calculating the distance between the candidate samples in the cluster and the determined GMM model; and identifying the sample with the smallest distance for subsequent speech synthesizing. According to embodiments of the invention, there is provided a system for speech synthesizing in the TTS system, comprising: a cluster determining unit, for determining the cluster for the unit to be subjected to TTS, thereby to determine the GMM model of said cluster; a distance calculating unit, for calculating the distance between the candidate samples in the cluster and the determined GMM model; and an optimizing unit, for identifying the sample with the smallest distance for subsequent speech synthesizing. These third and forth aspects of the invention are directed to speech synthesis by using GMM models.
Embodiments of the invention will be described in connection with the drawings. However, it should be readily understood that these embodiments are illustrative only and should not be taken as limiting the scope of the invention.
A GMM portrays the distribution of the samples in the current cluster. For a position where the distribution is dense, the output probability is large, and for a position where the distribution is sparse, the output probability is small. The distance between a unit and a GMM model describes the degree of approximation between the unit and the cluster where the model is located. With GMM being an abstract representation of said cluster, the distance between a unit and the GMM model can be depicted by using the probability output of the unit in that model, the larger the probability, the smaller the distance, and vice versa.
Assuming that G represents the GMM model, the probability output of unit X in G is P(X|G), and the distance definition between X and G is D(X, G). Where there are two units X1 and X2, if P(X1|G)>P(X2|G), then D(X1, G)<D(X2, G); if P(X1|G)<P(X2|G), then D(X1, G)>D(X2, G); and if P(X1|G)=P(X2|G), then D(X1, G)=D(X2, G).
Now, reference is made to
Next, the specific way for clustering the samples will be elaborated. As is known by those skilled in the art, the samples can be clustered in numerous ways. For example, the samples can be clustered by dimensions, or by such conditions as “duration”. However, according to embodiments of the invention, the samples are clustered by using the decision tree. The decision tree is a data-driven auto-clustering method, wherein the clustering is decided through data, whereby it is unnecessary for the user to be knowledgeable about clustering. In TTS, decision tree is popularly used for context dependent clustering or prediction. There can be various types of decision trees, and
All of the data in the parent node of the tree is split into two child nodes by an optimized question from a pre-defined question set. Following a pre-defined criteria, the distance in any child node is small and between two child nodes is large. After each split process, an optional function can be done to merge the similar nodes among all of the leaves. All of the splitting, stop-splitting and merging are optimized by the pre-defined criteria.
Reference is now made to
Further, if two clusters are close enough in the decision tree, the two clusters can be combined for subsequent clustering. As is shown in
For more information about GMM models, please refer to N. Kambhatla, “Local Models and Gaussian Mixture Models for Statistical Data Processing” PhD thesis, Oregon Graduate Institute of Science and Technology, January, 1996.
According to embodiments of the invention, said training system 700 may also contain means for storing a series of optimization questions (not shown), means for decision making with respect to said optimization questions (not shown) and means for combining the appropriate clusters for implementing the above-mentioned decision tree.
The method and system on the synthesis section according to embodiments of the invention will now be described with reference to
Step S830 will be elaborated in detail now. As mentioned above, embodiments of the method of the invention involves the calculation of the distance between each unit that is to be synthesized and the GMM model thereof, and the sample with the smallest distance is the best. Said distance is also known as the target cost. After calculation is completed for each unit to be synthesized, the final synthesized speech is obtained by adding all the resulting units that have the smallest distance. According to embodiments of the present invention, said cost can be calculated by employing dynamic programming. That is, to find the global optimized path through local optimized cost function estimation.
According to embodiments of the invention, a transition cost can be calculated in addition to said target cost. Target cost means the distance between a unit that is to be synthesized and the GMM model thereof. The speech parameters of two consecutive synthesizing units need to satisfy certain transition relationship. Only matched unit can achieve a high degree of naturalness, and a transition model depicts this transition relationship from a modeling perspective.
An evaluation of the transition features of the speech parameters of two consecutive synthesizing units in the current transition model, that is, the distance between the transition feature and the current transition model, is known as the transition cost. This distance can also be interpreted as a GMM model distance.
As shown in
As shown in
The synthesizing process of the invention may be implemented through the synthesizing system 1000 shown in
In addition, said distance calculating unit 1002 may also comprise a target cost calculating unit and a transition cost calculating unit which are not shown.
The distance definition based on GMM is illustrated above. There are two typical scenarios to use the definition. One is to evaluate the distance between a given sample and a given cluster, which is the task of unit-selection based approach, and the other is to predict the explicit phonetic parameters through searching in the space of the given probability distributions.
The steps to apply the definition for unit selection in a TTS system are listed as follow:
(In the Training Process)
1. Extracting phonetic parameters and its context information from the labeled corpus;
2. Context equivalent clustering of phonetic parameters and the distance among phonetic parameters are given by GMM based distance definition;
3. Generating GMM to describe the probability distribution of each cluster generated in step 2.
(In the Synthesis Process)
4. Getting context information of each phonetic segment (that is, the unit to be synthesized) from the result of the text analysis unit;
5. Finding the context equivalent cluster of each segment, which is corresponding to a GMM;
6. Evaluating all of the candidates of the segment by GMM based distance definition;
7. Finding overall optimized candidate sequence based on distances given in step 6 and criteria of overall optimization such as dynamic programming;
8. Speech synthesis to generate physical voice.
The steps to apply the definition for explicit prediction are listed as follow:
(In the Training Process)
1. Extracting phonetic parameters and its context information from the labeled corpus;
2. Context equivalent clustering of phonetic parameters and the distance among phonetic parameters are given by GMM based distance definition;
3. Generating GMM to describe the probability distribution of each cluster generated in step 2;
(In the Synthesis Process)
4. Getting context information of each phonetic segment (that is, the unit to be synthesized) from the result of text analysis component;
5. Finding the context equivalent cluster of each segment, which is corresponding to a GMM;
6. In the space of the mixture model sequence, searching the best values based on the distance definition and criteria of overall optimization, and the sequence of best values is regarded as the explicit prediction;
7. Synthesis according to the explicit prediction given in step 6.
In order to implement the above operations, said cluster determining unit 1001 can further comprise a prosody annotation information acquiring means for acquiring the descriptive prosody annotation information of the unit to be synthesized; finding means for finding the cluster of each unit to be synthesized, said cluster corresponding to a GMM model; and means for searching for the optimal value based on the distance definition and the overall optimal criteria in the space of the GMM mixture model series so that the optimal series is used as the explicit prediction of the GMM model.
Correspondingly, the distance calculating unit 1002 can further comprise a prosody annotation information acquiring means for acquiring the descriptive prosody annotation information of the unit to be synthesized; finding means for finding the cluster of each unit to be synthesized, said cluster corresponding to a GMM model; and candidate evaluating means for evaluating all the candidates of the unit to be synthesized through the GMM-based distance definition. Meanwhile, the optimizing unit 1003 can further comprise a means for acquiring the overall optimal candidate series based on the distance given in the evaluation steps and the overall optimal criteria for subsequent voice synthesizing.
The essential of GMM based distance definition is to precisely simulate the probability distribution of a defined cluster in data for TTS, and then give the distance between an isolated sample and the cluster, which is very critical for unit selection based approach. Another advantage of GMM based distance definition is that some mature algorithms of tolerance, adaptation and so on can be smoothly deployed in statistical technologies of TTS.
In the TTS training and synthesizing according to embodiments of the invention, a decision tree, GMM, and dynamic programming may be combined to form a unit selection based TTS system, wherein GMM is used to describe the prediction of the target for each node in the synthesis sequence and the prediction of transition between the neighboring nodes.
The main points in the combination lie in:
The concept of prosody transitions is introduced below. As mentioned before, target prosody is broadly used, which is a natural way to predict the expectation of each segment and do selection based on the prediction. The biggest challenge may be the data dispersing problem. For example,
Smoothing criteria may be used to resolve some problems, but not all, and the most important issue is that some cases become bad with simple smoothing criteria.
Probability model for transition prosody is proposed to model the variety between the two neighboring segments. There are many transition related prosody parameters, for example, difference of log pitch, log duration and loudness values between the two segments. It is natural that the transition models generate the transition probability output in the dynamic programming searching scheme.
According to embodiments, the probability model of transition prosody integrated into the combination of decision tree, GMM, and dynamic programming. On the one hand, all of the segments in corpus can be used to train a target probability prediction tree and a single transition probability trees, which means that there are no data sparse problems in probability model building. Because of transition model, even though there are still data dispersing problems, the influence is partly removed, which makes the predicted prosody more stable and more reasonable.
The foregoing description of the exemplary embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. May modifications and various are possible in light of the above teachings. For example, this invention can be implemented by means of software, hardware or the combination thereof. It is intended that the scope of the invention be limited not with this detailed description, but rather determined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2004 1 0085186 | Sep 2004 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5230037 | Giustiniani et al. | Jul 1993 | A |
5913193 | Huang et al. | Jun 1999 | A |
5913194 | Karaali et al. | Jun 1999 | A |
5970453 | Sharman | Oct 1999 | A |
5983178 | Naito et al. | Nov 1999 | A |
6163769 | Acero et al. | Dec 2000 | A |
6185530 | Ittycheriah et al. | Feb 2001 | B1 |
6240384 | Kagoshima et al. | May 2001 | B1 |
6317867 | Elnozahy | Nov 2001 | B1 |
6332121 | Kagoshima et al. | Dec 2001 | B1 |
6338062 | Liu | Jan 2002 | B1 |
6507830 | Liu | Jan 2003 | B1 |
6961704 | Phillips et al. | Nov 2005 | B1 |
Number | Date | Country |
---|---|---|
0223014 | Sep 1986 | EP |
2259599 | Mar 1993 | GB |
Number | Date | Country | |
---|---|---|---|
20060074674 A1 | Apr 2006 | US |