Tibetan dialect automatic identification method

By using multi-feature fusion of MFCC, GFCC and STE features in automatic identification of Tibetan dialects, and using the Bi-LSTM model, the problem of poor dialect identification and model overfitting when there is insufficient data in the existing technology is solved. It achieves higher recognition accuracy and dialect difference differentiation.

CN118762687APending Publication Date: 2024-10-11TIBET UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411149007.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing technology has difficulties in speech feature extraction and recognition model design in automatic recognition of Tibetan dialects, especially for multi-dialect recognition tasks. The model is prone to over-fitting when there is insufficient data, has weak anti-noise capabilities, and has many problems. Feature fusion does not work well with large-scale data.

Method used

Using a multi-feature fusion method, including Mel Frequency Cepstral Coefficient (MFCC), Gamma Frequency Cepstral Coefficient (GFCC) and Acoustic Feature Extraction (STE), these features are input into the Bidirectional Long Short-Term Memory Network (Bi-LSTM) model , capture the long-term dependencies of sequences and achieve dialect identification.

Benefits of technology

The accuracy of Tibetan dialect identification is improved. The results output through multi-feature fusion and Bi-LSTM network are more accurate, which can effectively distinguish dialect differences and improve the recognition effect, especially in the case of insufficient data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762687A_ABST
    Figure CN118762687A_ABST
Patent Text Reader

Abstract

The invention discloses a Tibetan dialect automatic identification method, which comprises the steps of preprocessing a Tibetan dialect, carrying out feature extraction on the preprocessed Tibetan dialect, fusing and inputting the extracted features into a Bi-LSTM model, capturing a long-term dependency relationship in a sequence, carrying out feature extraction on the Tibetan dialect, and carrying out feature extraction on the preprocessed Tibetan dialect, wherein the feature extraction comprises MFCC feature extraction, GFCC feature extraction and STE feature extraction; and the Bi-LSTM model outputs a dialect identification result. Compared with the prior art, the Tibetan dialect automatic identification method is based on multi-feature fusion and is suitable for Tibetan dialect automatic identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-feature fusion speech recognition, and in particular to an automatic Tibetan dialect recognition method. Background Art

[0002] Tibetan is spoken by a large number of people, and there is a great demand for modern speech applications. However, there are many Tibetan dialects, and the phonetic differences between dialects are large, which is not conducive to the research of general speech processing tasks.

[0003] For speech recognition, it is impossible to complete the recognition task of multiple dialects with only a single model, and it is costly to train a recognition model for each dialect. By summarizing and organizing many dialects through dialect classification and identification research, the recognition task can be better completed with fewer dialect models.

[0004] In addition, it has certain applications in public fields such as multi-dialect information consultation, criminal investigation and security, so the automatic recognition and classification research of Tibetan dialects has great practical value.

[0005] As a classification task, the difficulty of automatic dialect recognition lies in the extraction of speech features and the design of recognition models. Phonemes are the smallest speech units in a language. After the speech data is annotated with phonemes, the phoneme combinations of different dialects are calculated as the language models of the corresponding dialects. Finally, the automatic recognition task is achieved by extracting the phoneme combination features of the recognition object and performing pattern matching with the original dialect phoneme language model.

[0006] In the prior art, a parallel PRLM method has emerged to automatically recognize multiple languages, but it has high requirements for early phoneme annotation and is not suitable for large-scale data processing. There is also a method of using a GMM generator to replace the phoneme recognizer in PRLM, and achieving the same recognition effect as the PRLM system, or adding a machine learning classification model to the back end to improve the recognition effect of this method and using an artificial neural network (ANN) as a back-end classifier to recognize Mandarin Chinese and three dialects.

[0007] There is also a UBM-GMM dialect identification method, which is designed based on the assumption that each dialect has a unique distribution of speech features. However, UBM-GMM has disadvantages such as weak noise resistance and the model is prone to overfitting when there is insufficient training data.

[0008] However, research has found that the fusion of multiple features can better distinguish dialect differences than a single feature, and when there is sufficient data, the dialect identification method based on deep learning is more accurate than traditional machine learning and statistical language models. Existing dialect identification tasks mostly focus on using acoustic features that can be automatically extracted as a method to represent information about differences between dialects. Although a high level of identification accuracy has been achieved based on large-scale data, the results are often unsatisfactory when it comes to dialect identification tasks with less dedicated data. Summary of the invention

[0009] The technical problem to be solved by the present invention is to overcome the above technical defects and provide a Tibetan dialect automatic identification method based on multi-feature fusion and suitable for Tibetan dialect automatic identification.

[0010] To solve the above technical problems, the technical solution provided by the present invention is: a method for automatic identification of Tibetan dialects, comprising preprocessing the Tibetan dialect, extracting features of the preprocessed Tibetan dialect, wherein the feature extraction comprises MFCC feature extraction, GFCC feature extraction and STE feature extraction, and the extracted features are fused and input into a Bi-LSTM model to capture long-term dependencies in the sequence, and the Bi-LSTM model outputs a dialect identification result.

[0011] Preferably, the STE feature extraction includes characterizing unvoiced and voiced sounds, specifically:

[0012]

[0013] Wherein x_m(n) is the m-th frame audio signal after preprocessing, L is the frame length, and E(m) is the frame energy of the m-th frame audio signal.

[0014] Preferably, the MFCC feature extraction includes removing silent segments, framing and windowing, converting the time domain signal into a frequency domain signal by FFT processing, converting the frequency domain signal into a Mel spectrum after passing through a Mel filter, performing a logarithmic operation to obtain a logarithmic Mel spectrum coefficient, and obtaining an MFCC coefficient by discrete cosine transform. When the input signal is X(n), the following is obtained:

[0015]

[0016] Where: x w [n] = x[n]·w[n] is the windowed signal, FFT(x w [n])[k] is the FFT result of the windowed signal, |FFT(x w [n])[k]| 2 is the power spectrum, H m [k] is the frequency response of the m-th Mel filter, log(·) is the logarithmic operation, and DCT(·) is the n-th coefficient of discrete cosine transform.

[0017] Preferably, the GFCC feature extraction is different from the MFCC feature extraction in that the gamma filter is used to convert the gamma spectrum, the gamma spectrum is logarithmically operated to obtain the logarithmic gamma audio spectrum coefficient, and the GFCC coefficient is obtained through CT transformation, which is specifically:

[0018]

[0019] Where: H(k,l) is the lth filter in the gamma filter bank, K represents the number of filters in the filter bank, and the gamma filter bank simulates the frequency selectivity of the human auditory system.

[0020] Preferably, the number of Mel filters and gamma filters is 13 groups, and the dimension of the feature matrix is ​​27\n when the features are fused, where 27 is the number of features and n is the number of samples.

[0021] Preferably, the Bi-LSTM model includes an input layer, a first batch normalization layer, a first bidirectional LSTM layer, a second batch normalization layer, a second bidirectional LSTM layer, a Dropout layer 1, an attention mechanism layer, a fully connected layer 1, a Dropout layer 2, a fully connected layer 2 and an output layer;

[0022] The feature dimension of the input layer is 27, the number of audio frames is n, and the number of units in the first bidirectional LSTM layer and the second bidirectional LSTM layer is 128.

[0023] The advantages of the present invention over the prior art are as follows: in the present invention, Mel-frequency cepstral coefficients (MFCC) and STE features are extracted from dialect speech data; then, the MFCC and GFCC features of each frame are spliced ​​by column to achieve multi-feature fusion, which can effectively improve the accuracy of dialect recognition, and output the automatic recognition result of the Tibetan dialect through a bidirectional long short-term memory (Bidirectional Long Short-Term Memory Network, Bi-LSTM) network, thereby ensuring the accuracy of the output result and being easy to promote and use. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a schematic diagram of an automatic Tibetan dialect recognition method integrating multiple features.

[0025] Figure 2 It is a consonant syllable Schematic diagram of the average STE high value distribution of pronunciations in different dialects.

[0026] Figure 3 It is the feature fusion graph.

[0027] Figure 4This is a schematic diagram of the Tibetan dialect identification method based on Bi-LSTM. DETAILED DESCRIPTION

[0028] The following is combined with Figure 1-4 The present invention is described in further detail.

[0029] The method of the present invention has two parts. Firstly, Mel frequency cepstral coefficient (MFCC) and STE feature extraction are performed on dialect speech data; then, the MFCC and GFCC features of each frame are spliced ​​by column, and the STE of each frame is repeatedly expanded to the same dimension as the MFCC and GFCC and then spliced ​​by column to form a final feature vector; then, the obtained spliced ​​features are input into a bidirectional long short-term memory (Bidirectional Long Short-Term Memory Network, Bi-LSTM) network, and the Bi-LSTM layer processes the input features through a bidirectional LSTM unit to capture the long-term dependency in the sequence; the output of the LSTM layer is transmitted to a fully connected layer, and the probability distribution of each category is generated through an activation function.

[0030] The STE value is used to represent the voiced and unvoiced characteristics of dialect speech, MFCC and GFCC are used as the acoustic features of dialect speech, and finally the one-dimensional STE value is repeatedly expanded to the same number of rows as the above acoustic features frame by frame and concatenated with them to form a multi-information fusion Tibetan dialect recognition feature.

[0031] Unvoiced and voiced are descriptions of the sound quality characteristics of consonants in phonetics. Unvoiced refers to consonants whose vocal cords do not vibrate when pronounced, such as / p / ; while voiced refers to consonants whose vocal cords vibrate when pronounced, such as / b / .

[0032] The devoicing of voiced sounds is a common law of language evolution, which is particularly evident in the differentiation of Tibetan dialects. ( / zam / ) is pronounced as / sam / , / sa / , / sam / in the U-Tsang dialect, Kham dialect, Amdo dialect, etc. (U-Tsang dialect and Kham dialect have different tones, but they do not affect the voiced and unvoiced features used in the present invention). The degree of devoicing of complex consonants varies in different dialects. The complex consonants in the U-Tsang dialect are basically devoiced, while in the Kham dialect and Amdo dialect, they are still pronounced as voiced. For example, in the pronunciation of Lhasa in the U-Tsang dialect, the original complex consonants evolved into single consonant syllables, and the phenomenon of g→c voiced devoicing appeared. In the pronunciation of Derge in the Kham dialect, both the front and back consonants are lost, but the remaining consonants are In the pronunciation of Alike in the Ando dialect, although the front consonant and the back consonant have some devoicing imagination, they are still retained, and the consonant is still voiced, as shown in Table 1.

[0033] Table 1: Compound consonant syllables Evolution in different dialects

[0034]

[0035] In the present invention, voiced and unvoiced consonants are used in the recognition model as a difference between dialects. There is no need for precise division, so the relationship between voiced and unvoiced consonants and STE is used for characterization. Voiceless consonants are phonemes without vocal cord vibration, and their STE is usually low, while voiced consonants are pronounced with vocal cord vibration, and their STE is often high.

[0036] The calculation method is as follows:

[0037] x_m(n) is the preprocessed m-th frame audio signal, L is the frame length, and E(m) is the frame energy of the m-th frame audio signal.

[0038] When used specifically, in order to perform STE, calculations are used The average STE of pronunciation of ( / brgjad / ) in Lhasa, Derge, Alike, etc. is shown in Table 2:

[0039]

[0040] by Taking the distribution of STE values ​​in different dialects as an example, the difference between the unvoiced and unvoiced sounds in the U-Tsang dialect, the Kham dialect, and the Amdo dialect is quite obvious. Figure 2 shown.

[0041] The highest peak is In the STE distribution of the Amdo dialect pronunciation, the peak is in the middle for the Kang dialect pronunciation, and the lowest peak is for the U-Tsang dialect pronunciation.

[0042] In the present invention, MFCC and GFCC are both acoustic features designed to simulate the perception mechanism of the human ear to sound. MFCC uses a linear Mel filter bank, while GFCC uses a nonlinear Gamma filter bank.

[0043] MFCC coefficient extraction steps: (1) Preprocessing, including removing silent segments, framing and windowing. (2) Perform Fast Fourier Transform (FFT) on each frame of speech signal to convert the time domain signal into a frequency domain signal. (3) Filter the frequency domain signal through a group of Mel filters to convert the spectrum into a Mel spectrum. The Mel filter bank is a group of triangular filters whose center frequencies are arranged according to the Mel scale. (4) Take the logarithm of the Mel spectrum to obtain the logarithmic Mel spectrum coefficients. (5) Perform Discrete Cosine Transform (DCT) on the logarithmic Mel spectrum coefficients to obtain the MFCC coefficients. Assuming the input signal is X(n), we get:

[0044]

[0045] Among them, x w [n] = x[n]·w[n] is the windowed signal, FFT(x w [n])[k] is the fast Fourier transform result of the windowed signal, |FFT(x w [n])[k]| 2 is the power spectrum, H m [k] is the frequency response of the m-th Mel filter, log(·) is the logarithmic operation, and DCT(·) is the n-th coefficient of the discrete cosine transform.

[0046] The GFCC feature extraction steps are similar to those of MFCC, except that a linear gamma filter is used. This filter is designed based on the cochlear auditory model and can better simulate the frequency division characteristics of the basilar membrane.

[0047] The specific steps are as follows: (1) Preprocessing. (2) Perform FFT operation on a frame basis. (3) Filter the frequency domain signal through a set of gamma filters to convert the spectrum into a gamma spectrum. Gamma filters are a set of bandpass filters whose center frequencies are arranged according to the Mel scale. (4) Take the logarithm of the gamma spectrum to obtain the logarithmic gamma audio spectrum coefficients. (5) Perform DCT transformation on the logarithmic gamma spectrum coefficients to obtain GFCC coefficients, which are fundamentally different from MFCC in the filter. The calculation method is as follows:

[0048]

[0049] Where H(k,l) is the lth filter in the Gammatone filter bank, K represents the number of filters in the filter bank, and the Gammatone filter simulates the frequency selectivity of the human auditory system.

[0050] When multiple features are fused, the present invention uses 13 groups of Mel filters and gamma filters in the process of extracting MFCC and GFCC, so the feature shape of each audio's MFCC and GFCC after column splicing is 13×2×n, where n is the number of audio frames. STE is calculated by frame, with only one value per frame, while the MFCC+GFCC feature has two rows of 26-bit values ​​per frame, so the dimensions are not consistent. In order to prevent the STE information from being masked by the MFCC+GFCC splicing feature, the spectrum tilt value of each frame is expanded to a one-dimensional array of length 13 by repeated expansion and spliced ​​to the MFCC+GFCC feature. The dimension of the final feature matrix is ​​27\n, where 27 is the number of features and n is the number of samples, such as Figure 3 shown.

[0051] Bi-LSTM is selected because it performs better in processing complex sequence tasks such as dialect recognition that need to consider context and long-term dependencies.

[0052] The Bi-LSTM in the present invention includes the following layers: an input layer, the feature dimension after input splicing is 27, and the number of frames of each audio is n; a batch normalization layer, which normalizes the input data to stabilize the training process; the first bidirectional LSTM layer, the number of units is 128, and the sequence is returned; a Dropout layer, to prevent overfitting, and the Dropout rate is 0.3; a batch normalization layer again, which normalizes the output of the LSTM layer; a second bidirectional LSTM layer, the number of units is 128, and the sequence is returned; a Dropout layer, to prevent overfitting, and the Dropout rate is 0.3; an attention mechanism layer, focusing on important frames; a fully connected layer 1, 64 units, ReLU activation function; a Dropout layer, to prevent overfitting, and a Dropout rate of 0.3; a fully connected layer 2, an output layer, the number of units is the number of categories, and a Softmax activation function; an output layer, output category probabilities, specifically as Figure 4 shown.

[0053] The present invention is specifically implemented:

[0054] The Tibetan dialect data used has a total of 56,717 voice data, including three Tibetan dialects: U-Tsang dialect, Amdo dialect, and Kham dialect. There is no background noise, and males and females account for 50% each. The training set, test set, and validation set are divided according to the ratio of 8:1:1, as shown in the following table:

[0055]

[0056] The experimental parameters are as follows:

[0057]

[0058]

[0059] In order to verify the effectiveness of the method of the present invention, a Tibetan dialect recognition experiment based on a single feature MFCC was designed, and dialect recognition experiments using RNN, LSTM and Bi-LSTM models were performed respectively.

[0060] According to the experimental results, under the conditions of the same MFCC features and the same scale of training data, the recognition accuracy of the Tibetan dialect of the Bi-LSTM model is 6.04% and 4.15% higher than that of RNN and LSTM respectively.

[0061] Comparative experiment 1

[0062]

[0063] According to the above experimental results, in order to verify the effectiveness of the multi-feature fusion method in this paper, on the Bi-LSTM model, MFCC, GFCC, STE, MFCC+GFCC, and the feature MFCC+GFCC+STE of this paper were used to perform recognition experiments with different methods:

[0064] Comparative experiment 2

[0065]

[0066] When MFCC or GFCC features were used alone to perform Tibetan dialect recognition tests on LSTM, the recognition results were close, 84.16% and 84.11% respectively. The recognition effect based on MFCC was only 0.05% higher than that based on GFCC.

[0067] When STE is used alone as feature input, its recognition effect is very poor and cannot be applied;

[0068] The fusion method of MFCC and GFCC is more effective than a single feature. The two acoustic features use different filters in the extraction process, and the combination can capture more speech information;

[0069] The recognition effect of Tibetan dialect based on MFCC+GFCC feature fusion is 2.49% higher than that of the single MFCC feature recognition method, reaching 86.6%;

[0070] After the introduction of the STE value, because it carries voiced and unvoiced sound information, the feature contains richer dialect difference information. In the experiment, the Tibetan dialect recognition method based on the multi-feature fusion of MFCC+GFCC+spectral tilt value achieved an accuracy of 94.89%, the highest accuracy.

[0071] Therefore, the present invention uses the speech features that are a fusion of acoustic features and linguistic features to achieve high-quality automatic recognition of the three major Tibetan dialects.

[0072] The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.

[0073] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. A method for automatically identifying Tibetan dialects, characterized in that: The method includes preprocessing the Tibetan dialect, extracting features of the preprocessed Tibetan dialect, wherein the feature extraction includes MFCC feature extraction, GFCC feature extraction and STE feature extraction, fusing the extracted features and inputting them into a Bi-LSTM model to capture long-term dependencies in the sequence, and the Bi-LSTM model outputs a dialect recognition result.

2. The method for automatically identifying Tibetan dialects according to claim 1, characterized in that: The STE feature extraction includes characterizing unvoiced and voiced sounds, specifically: Wherein x_m(n) is the preprocessed m-th frame audio signal, L is the frame length, and E(m) is the frame energy of the m-th frame audio signal.

3. The method for automatically identifying Tibetan dialects according to claim 2, characterized in that: The MFCC feature extraction includes removing silent segments, framing and windowing, converting the time domain signal into the frequency domain signal through FFT processing, converting the frequency domain signal into the Mel spectrum after passing the Mel filter, performing logarithmic operation to obtain the logarithmic Mel spectrum coefficient, and obtaining the MFCC coefficient through discrete cosine transformation. When the input signal is X(n), the following is obtained: Where: x w [n] = x[n]·w[n] is the windowed signal, FFT(x w [n])[k] is the FFT result of the windowed signal, FFT(x w [n])[k] 2 is the power spectrum, H m [k] is the frequency response of the m-th Mel filter, log(·) is the logarithmic operation, and DCT(·) is the n-th coefficient of discrete cosine transform.

4. The method for automatically identifying Tibetan dialects according to claim 3, characterized in that: The GFCC feature extraction is different from the MFCC feature extraction in that the gamma filter is used to convert the gamma spectrum, and the logarithmic operation of the gamma spectrum is performed to obtain the logarithmic gamma audio spectrum coefficient, and the GFCC coefficient is obtained through CT transformation, which is specifically: Where: H(k,l) is the lth filter in the gamma filter bank, K represents the number of filters in the filter bank, and the gamma filter bank simulates the frequency selectivity of the human auditory system.

5. The method for automatically identifying Tibetan dialects according to claim 4, characterized in that: The number of Mel filters and gamma filters is 13 groups each. When the features are fused, the dimension of the feature matrix is ​​27\n, where 27 is the number of features and n is the number of samples.

6. The method for automatically identifying Tibetan dialects according to claim 5, characterized in that: The Bi-LSTM model includes an input layer, a first batch normalization layer, a first bidirectional LSTM layer, a second batch normalization layer, a second bidirectional LSTM layer, a Dropout layer 1, an attention mechanism layer, a fully connected layer 1, a Dropout layer 2, a fully connected layer 2 and an output layer; The feature dimension of the input layer is 27, the number of audio frames is n, and the number of units in the first bidirectional LSTM layer and the second bidirectional LSTM layer is 128.

Citation Information

Cited By

  • Tibetan speech data generation method based on fast Fourier transform

    CN119091857A

  • Tibetan language three-dialect parallel corpus data set generation method based on multi-dialect text-to-speech model

    CN120708597A