Speech emotion recognition method, system and device and storage medium

The phoneme, syllable and sentence features in the speech signal are extracted through a multi-granularity time-frequency network, combined with the dynamic feature fusion and width learning system, which solves the problem of not utilizing the time-frequency characteristics of the speech signal in the existing technology, and improves the accuracy of speech emotion recognition. degree and efficiency.

CN118737201APending Publication Date: 2024-10-01SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410981125.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing speech emotion recognition technology fails to make full use of the phoneme and syllable features in the speech signal and ignores the time-frequency characteristics, resulting in the model being unable to fully utilize the effective information in the speech signal.

Method used

A multi-granularity time-frequency network is used to obtain Mel Cepstrum Coefficient (MFCC) features, perform feature segmentation processing to obtain phoneme, syllable and sentence representations, combine multiple emotion sensing units to extract time-frequency features of different granularities, and use dynamic features Multi-granularity time-frequency features are fused to form, and finally a width learning system is used for emotion classification.

Benefits of technology

It improves the accuracy of speech emotion recognition, provides richer emotional information, can effectively utilize the time domain and frequency domain information of speech signals, reduces model complexity and improves running speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737201A_ABST
    Figure CN118737201A_ABST
Patent Text Reader

Abstract

The invention discloses a voice emotion recognition method, system and device and a storage medium, and the method comprises the steps: obtaining a voice signal, and obtaining an MFCC feature according to the voice signal; performing feature segmentation processing on the MFCC features to obtain phoneme characterization, syllable characterization and sentence characterization; according to the phoneme characterization, the syllable characterization and the sentence characterization, obtaining emotional time-frequency features of different granularities, and fusing the emotional time-frequency features of different granularities to obtain final multi-granularity time-frequency features; and performing sentiment classification according to the multi-granularity time-frequency features to obtain a recognition result. According to the method, phoneme, syllable and sentence features are used as input features of the model at the same time, richer emotion information is provided for a subsequent model by using inherent features of different granularities in the speech, and the speech emotion recognition accuracy is improved; meanwhile, time domain and frequency domain information of the voice signals is considered, and effective emotion representation with large information amount can be obtained. The method can be widely applied to the technical field of voice processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of speech processing technology, and in particular to a speech emotion recognition method, system, device and storage medium. Background Art

[0002] Emotion is a strong psychological or physiological reaction that people show when facing certain external stimuli or events. Speech is the most direct way of communication between humans. Speech not only contains semantic information but also the emotional state of the speaker. When people's emotions change, their vocal cord state and breathing pattern will change accordingly, which leads to corresponding changes in the acoustic properties of speech. The acoustic properties that are more related to emotions are: pitch, volume, speaking speed, timbre and rhythm. When people are angry, fearful or excited, the pitch, volume and speaking speed of the voice are significantly increased, while these properties are relatively low when the emotions are calmer. By analyzing the relationship between emotions and acoustic properties, the emotional state of the speaker can be obtained.

[0003] Existing speech emotion recognition methods usually use Mel-scale Frequency Cepstral Coefficients (MFCC) or spectrogram as the input features of the model. MFCC features are extracted based on the auditory principle of the human ear, which can reflect the essential characteristics of speech; Spectrogram features are two-dimensional representations of the time-frequency of speech signals, which can reflect the changes in the pitch, intensity and timbre of speech. Traditional speech emotion recognition usually uses convolutional neural networks (CNN) or recurrent neural networks (RNN) to extract the emotional features of speech. With the development of artificial intelligence technology, existing speech emotion recognition methods usually use bi-long short-term memory networks (Bi-LSTM) or attention mechanisms as the basic structure of the network. Through these structural models, contextual information can be better understood and people's emotional state can be better understood. However, the existing speech emotion recognition technology still has the following shortcomings: 1) It does not take into account the basic features such as phonemes and syllables in speech signals, that is, it does not fully utilize these features. 2) Existing speech emotion recognition technology ignores the time-frequency characteristics of speech, resulting in the model being unable to fully utilize the effective information in the speech signal. Summary of the invention

[0004] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the object of the present invention is to provide a speech emotion recognition method, system, device and storage medium based on a multi-granularity time-frequency network.

[0005] The first technical solution adopted by the present invention is:

[0006] A speech emotion recognition method comprises the following steps:

[0007] Acquire a speech signal, and obtain MFCC features according to the speech signal;

[0008] Perform feature segmentation processing on MFCC features to obtain phoneme representation, syllable representation and sentence representation;

[0009] The emotional time-frequency features of different granularities are obtained according to the phoneme representation, syllable representation and sentence representation, and the emotional time-frequency features of different granularities are fused to obtain the final multi-granularity time-frequency features;

[0010] Emotion classification is performed based on multi-granularity time-frequency features to obtain recognition results.

[0011] Furthermore, obtaining MFCC features according to the speech signal includes:

[0012] Use the opensmile toolbox to extract MFCC features of speech signals.

[0013] Furthermore, the feature segmentation processing is performed on the MFCC features to obtain the phoneme representation, the syllable representation and the sentence representation, including:

[0014] The MFCC features are segmented using windows of different lengths to obtain phoneme representation, syllable representation and sentence representation.

[0015] Furthermore, the emotional time-frequency features of different granularities are obtained according to the phoneme representation, syllable representation and sentence representation, and the emotional time-frequency features of different granularities are fused to obtain the final multi-granularity time-frequency features, including:

[0016] The phoneme representation, syllable representation and sentence representation respectively represent features of different granularities in the time domain. Emotional time-frequency features of different granularities are obtained by stacking multiple emotion perception units, and then the features of different time-frequency granularities are fused through a dynamic feature fusion method to obtain the final multi-granularity time-frequency features.

[0017] Furthermore, the emotion perception unit includes two dilated convolutional layers and a residual connection operation; wherein the dilated convolutional layer is used to enable the deep emotion perception unit to obtain the emotion information in time and frequency with a sufficiently large receptive field; the residual connection operation can make the model converge faster;

[0018] Finally, a trainable weight parameter is used to fuse the outputs of each layer of emotion perception units to dynamically adjust the importance of features of different granularities during the training process, and ultimately obtain multi-granularity time-frequency features with emotional information.

[0019] Furthermore, the emotion classification is performed according to the multi-granularity time-frequency features to obtain the recognition result, including:

[0020] Map multi-granularity time-frequency features to a feature space that is more suitable for emotion classification through feature nodes;

[0021] Use enhanced nodes to perform nonlinear transformations on feature nodes to enhance the network’s expressiveness and enable the network to capture more complex data patterns.

[0022] The data of the obtained feature nodes and enhanced nodes are converted into an enhanced feature matrix. The pseudo-inverse is solved by ridge regression to obtain the parameters of the network. Finally, the sentiment label is calculated by solving the obtained network parameters to obtain the recognition result.

[0023] Furthermore, the width learning system is used as a sentiment classifier in the speech emotion recognition process.

[0024] The second technical solution adopted by the present invention is:

[0025] A speech emotion recognition system, comprising:

[0026] A feature processing module is used to obtain MFCC features according to speech signals, and perform feature segmentation processing on the MFCC features to obtain phoneme representation, syllable representation and sentence representation;

[0027] The multi-granularity time-frequency feature extraction module is used to obtain emotional time-frequency features of different granularities based on phoneme representation, syllable representation and sentence representation, and fuse the emotional time-frequency features of different granularities to obtain the final multi-granularity time-frequency features;

[0028] The sentiment classification module is used to perform sentiment classification based on multi-granularity time-frequency features to obtain recognition results.

[0029] Furthermore, the multi-granularity time-frequency feature extraction module is composed of a plurality of emotion perception units stacked;

[0030] The emotion classification module includes a width learning system, and the width learning system is used as a speech emotion recognition network classifier.

[0031] The third technical solution adopted by the present invention is:

[0032] A speech emotion recognition device, comprising:

[0033] at least one processor;

[0034] at least one memory for storing at least one program;

[0035] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0036] The fourth technical solution adopted by the present invention is:

[0037] A computer-readable storage medium stores a program executable by a processor, wherein the program executable by the processor is used to execute the method described above when executed by the processor.

[0038] The beneficial effects of the present invention are as follows: the present invention uses phoneme, syllable and sentence features as input features of the model at the same time, and by utilizing the different granularity features inherent in these speech, provides the subsequent model with richer emotional information, thereby improving the accuracy of speech emotion recognition. At the same time, the time domain and frequency domain information of the speech signal are taken into account, and multiple emotion perception units are stacked to extract emotional information of different granularity, so that a large amount of information and effective emotional representation can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 is an overall flow chart of a method for speech emotion recognition in an embodiment of the present invention;

[0041] Figure 2 is a working schematic diagram of a feature processing module in an embodiment of the present invention;

[0042] Figure 3 is a working schematic diagram of a multi-granularity time-frequency feature extraction module in an embodiment of the present invention;

[0043] Figure 4 is a working schematic diagram of the sentiment classification module in an embodiment of the present invention;

[0044] Figure 5 It is a flow chart of the steps of a method for speech emotion recognition in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0046] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0047] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, and the meanings of "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the meanings of "above", "below", "within" and the like are understood as including the number itself. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, "and / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0048] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0049] Belong to explanation:

[0050] OpenSmile Toolbox: openSMILE (Open Source Media Interpretation by Largefeature-space Extraction) is an open source toolkit designed for audio signal processing and specific feature extraction. It is mainly used in speech recognition, sentiment computing, music information acquisition and other fields. openSMILE is a command line tool that extracts audio features by configuring a config file. It also contains a series of predefined configuration files that can extract various complex acoustic features, such as MFCC (Mel-frequency cepstral coefficients), F0 (fundamental frequency), etc. These features play a vital role in speech sentiment analysis.

[0051] Acoustic research shows that features such as phonemes and syllables can improve the accuracy of speech emotion recognition. Phonemes are the smallest speech units divided according to the natural properties of speech. In the perceptual, acoustic and biomechanical metric spaces, phonemes can be well mapped to the emotional dimension; syllables are the smallest sound structure units that humans can naturally produce and perceive, usually composed of several phonemes. There is a correlation between syllable rate and emotional expression, and different emotional speech has different syllable representations. In summary, phonemes and syllables, as the basic components of speech, can be used as effective acoustic features for emotion recognition, but existing work has not made good use of these features. Based on this, the present invention retains the feature integrity of the speech signal in the time domain by dividing the features of the input model into phoneme, syllable and sentence representations, thereby improving the utilization rate of speech information.

[0052] In addition, the time domain characteristics of speech signals describe the characteristics of speech signals changing over time, such as amplitude, energy, and duration, etc. Time domain analysis can reveal the rhythm and strength changes of speech; while the frequency domain characteristics describe the characteristics of speech signals in frequency distribution, such as frequency components and spectral density, etc. Frequency domain analysis can reveal the pitch and timbre changes of speech. Therefore, the present invention proposes a multi-granularity time-frequency feature extraction module, which extracts emotional information in the time domain and frequency domain of different granularities through multi-layer stacked emotion perception units, thereby improving the accuracy of speech emotion recognition.

[0053] like Figure 5 As shown, this embodiment provides a method for speech emotion recognition, comprising the following steps:

[0054] S1. Acquire a speech signal, and obtain MFCC features according to the speech signal.

[0055] First, the input speech signal is converted into MFCC features through the feature processing module. Specifically, the MFCC features can be extracted using the Opensmile toolbox, or other tools can be used to extract MFCC features.

[0056] S2. Perform feature segmentation processing on the MFCC features to obtain phoneme representation, syllable representation and sentence representation.

[0057] The MFCC features are then segmented into phoneme, syllable, and sentence features using a fixed-duration feature segmentation method.

[0058] S3. Acquire emotional time-frequency features of different granularities according to phoneme representation, syllable representation and sentence representation, fuse the emotional time-frequency features of different granularities, and obtain the final multi-granularity time-frequency features.

[0059] Then, in the multi-granularity time-frequency feature extraction module, multiple emotion perception modules are stacked to obtain emotional time-frequency features of different granularities, and then the features of different time-frequency granularities are fused through the dynamic feature fusion method.

[0060] S4. Perform sentiment classification based on multi-granularity time-frequency features to obtain recognition results.

[0061] Finally, in the sentiment classification module, a width learning system is used to obtain sentiment labels, which reduces the complexity of the model and improves the working speed of the model.

[0062] The speech emotion recognition method based on multi-granularity network proposed in the embodiment of the present invention includes a feature processing module, a multi-granularity time-frequency feature extraction module and a sentiment classification module. The overall flow chart is as follows: Figure 1 As shown. The feature processing module can convert speech signals into MFCC features that are easier for the model to learn. Secondly, in order to better utilize the time domain information of the speech signal, the MFCC features are divided into phoneme, syllable and sentence features. These features represent the time domain attributes of speech from fine granularity to coarse granularity. In the multi-granularity time-frequency feature extraction module, the multi-layer emotion perception module processes phoneme, syllable and sentence features at the same time, so that frequency domain features of different granularities can be obtained. The final multi-granularity time-frequency feature is obtained through the dynamic feature fusion method. This feature contains time domain and frequency domain information of different granularities at the same time, providing the classifier with richer emotion information for classification. In the emotion classification module, for the purpose of simplifying the model complexity and optimizing the model running time, a classifier based on the width learning system is used to obtain the final emotion label.

[0063] Each module is explained in detail below with reference to the accompanying drawings and specific embodiments.

[0064] (1) Feature processing module

[0065] See also Figure 2As an optional implementation, in the feature processing module, the original speech signal is used as input, and then the opensmile toolbox is used to extract the MFCC features of the speech. Specifically, the frame length is set to 50ms, the frame shift is 12.5ms, the sampling rate is 22050HZ, and the Hamming window is used as the window function. Taking the Emo-DB data set as an example, the original data uses a fixed 96000 frame length to unify the frame length of each speech segment, and the resulting data set size is (535, 96000), where 535 represents the number of samples and 96000 represents the feature length of each sample. After that, the opensmile toolbox is used to extract the MFCC features, and the resulting MFCC feature size is (535, 188, 39). Finally, the MFCC features are segmented using windows of 50ms, 150ms, and 1950ms in length, respectively, to obtain phoneme representation, syllable representation, and sentence representation.

[0066] (2) Multi-granularity time-frequency feature extraction module

[0067] See also Figure 3 As an optional implementation, the multi-granularity time-frequency feature extraction module takes phoneme representation, syllable representation and sentence representation as input. Phoneme representation, syllable representation and sentence representation respectively represent features of different granularities in the time domain, and the feature extraction module stacked by multiple emotion perception units represents features of different granularities in the frequency domain. The emotion perception unit contains two dilated convolution layers and a residual connection operation. The dilated convolution is used to enable deep emotion perception units to obtain emotional information in time and frequency with a sufficiently large receptive field, and the residual connection enables the model to converge faster. Finally, a trainable weight parameter is used to fuse the outputs of each layer of emotion perception units, so that the model can dynamically adjust the importance of features of different granularities during the training process, and finally obtain multi-granularity time-frequency features with emotional information.

[0068] In some embodiments, the dilated convolution method in the above-mentioned multi-granularity time-frequency feature extraction module can be replaced by traditional convolutional neural networks, long short-term memory networks, attention networks, etc. to extract emotional features of speech signals.

[0069] (3) Sentiment classification module

[0070] See also Figure 4As an optional implementation, multi-granularity time-frequency features are used as input in the sentiment classification module, and the final speech emotion label is obtained through the width learning system. The width learning system is proposed to solve the large number of parameters and high computational cost of deep learning models, and has the characteristics of low complexity, high running speed and low number of parameters. In the classification process, the multi-granularity time-frequency features are first mapped to a feature space that is more suitable for emotion classification through feature nodes; then the feature nodes are nonlinearly transformed using enhanced nodes to enhance the network's expressive power, while enabling the network to capture more complex data patterns; finally, the obtained feature node and enhanced node data are converted into an enhanced feature matrix, and the pseudo-inverse is solved by ridge regression to obtain the network parameters, and finally the emotional label of the test sample is calculated by solving the obtained network parameters.

[0071] In summary, the method of the present invention has at least the following advantages and beneficial effects compared to the prior art:

[0072] 1) The present invention proposes a method for using phoneme, syllable and sentence features as model input features at the same time. By utilizing the different granularity features inherent in these speech, it can provide richer emotional information to the subsequent model, which is an effective feature extraction method. Phoneme, syllable and sentence features are inherent attributes in speech signals. Segmenting speech signals in these units can retain the integrity of the emotional information in the features to the greatest extent. In addition, phoneme, syllable and sentence features represent speech features from fine-grained to coarse-grained. These features can form a complementary relationship and provide more effective information for speech emotion recognition.

[0073] 2) The present invention proposes a multi-granularity time-frequency feature extraction module, which takes into account the time domain and frequency domain information of the speech signal. In addition, multiple emotion perception modules are stacked to extract emotional information of different granularities, so as to obtain a large amount of information and effective emotion representation. Traditional methods often ignore the time-frequency linkage of speech signals when performing speech emotion recognition. The multi-granularity time-frequency feature extraction module proposed in the present invention can extract multi-granularity speech emotion features from the perspective of both the time domain and the frequency domain. Finally, through the dynamic feature fusion method, the time domain and frequency domain features of different granularities are fused to form an effective multi-granularity time-frequency emotion representation.

[0074] 3) The present invention proposes to use a wide learning system as an emotion classifier in the process of speech emotion recognition, which can effectively utilize the lightweight characteristics of the wide learning system without reducing the network accuracy. As a lightweight network, the wide learning system can be used as a classifier to reduce the complexity of the model and improve the running speed of the model while ensuring the accuracy remains unchanged.

[0075] This embodiment also provides a speech emotion recognition system, including:

[0076] A feature processing module is used to obtain MFCC features according to speech signals, and perform feature segmentation processing on the MFCC features to obtain phoneme representation, syllable representation and sentence representation;

[0077] The multi-granularity time-frequency feature extraction module is used to obtain emotional time-frequency features of different granularities based on phoneme representation, syllable representation and sentence representation, and fuse the emotional time-frequency features of different granularities to obtain the final multi-granularity time-frequency features;

[0078] The sentiment classification module is used to perform sentiment classification based on multi-granularity time-frequency features to obtain recognition results.

[0079] A speech emotion recognition system of this embodiment can execute a speech emotion recognition method provided by the method embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0080] This embodiment also provides a speech emotion recognition device, comprising:

[0081] at least one processor;

[0082] at least one memory for storing at least one program;

[0083] When the at least one program is executed by the at least one processor, the at least one processor implements Figure 5 The method shown.

[0084] A speech emotion recognition device of this embodiment can execute a speech emotion recognition method provided by the method embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0085] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 5 The method shown.

[0086] This embodiment also provides a storage medium, which stores instructions or programs that can execute a speech emotion recognition method provided by an embodiment of the method of the present invention. When the instructions or programs are run, any combination of implementation steps of the method embodiment can be executed, and the corresponding functions and beneficial effects of the method can be obtained.

[0087] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0088] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0089] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0090] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0091] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0092] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0093] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0094] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0095] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A speech emotion recognition method, characterized in that: The following steps are involved: Acquire a speech signal, and obtain MFCC features according to the speech signal; Perform feature segmentation processing on MFCC features to obtain phoneme representation, syllable representation and sentence representation; The emotional time-frequency features of different granularities are obtained according to the phoneme representation, syllable representation and sentence representation, and the emotional time-frequency features of different granularities are fused to obtain the final multi-granularity time-frequency features; Emotion classification is performed based on multi-granularity time-frequency features to obtain recognition results.

2. A speech emotion recognition method according to claim 1, characterized in that: The obtaining of MFCC features according to the speech signal comprises: Use the opensmile toolbox to extract MFCC features of speech signals.

3. A speech emotion recognition method according to claim 1, characterized in that: The feature segmentation process of the MFCC features to obtain phoneme representation, syllable representation and sentence representation includes: The MFCC features are segmented using windows of different lengths to obtain phoneme representation, syllable representation and sentence representation.

4. A speech emotion recognition method according to claim 1, characterized in that: The emotional time-frequency features of different granularities are obtained according to the phoneme representation, syllable representation and sentence representation, and the emotional time-frequency features of different granularities are fused to obtain the final multi-granularity time-frequency features, including: The phoneme representation, syllable representation and sentence representation respectively represent features of different granularities in the time domain. Emotional time-frequency features of different granularities are obtained by stacking multiple emotion perception units, and then the features of different time-frequency granularities are fused through a dynamic feature fusion method to obtain the final multi-granularity time-frequency features.

5. A speech emotion recognition method according to claim 4, characterized in that: The emotion perception unit includes two dilated convolutional layers and a residual connection operation; wherein the dilated convolutional layer is used to enable the deep emotion perception unit to obtain the emotion information in time and frequency with a sufficiently large receptive field; the residual connection operation can make the model converge faster; Finally, a trainable weight parameter is used to fuse the outputs of each layer of emotion perception units to dynamically adjust the importance of features of different granularities during the training process, and ultimately obtain multi-granularity time-frequency features with emotional information.

6. A speech emotion recognition method according to claim 1, characterized in that: The emotion classification is performed according to the multi-granularity time-frequency features to obtain the recognition result, including: Map multi-granularity time-frequency features to a feature space that is more suitable for emotion classification through feature nodes; Use enhanced nodes to perform nonlinear transformations on feature nodes to enhance the network’s expressiveness and enable the network to capture more complex data patterns. The data of the obtained feature nodes and enhanced nodes are converted into an enhanced feature matrix. The pseudo-inverse is solved by ridge regression to obtain the parameters of the network. Finally, the sentiment label is calculated by solving the obtained network parameters to obtain the recognition result.

7. A speech emotion recognition method according to claim 1, characterized in that: Using a wide learning system as a sentiment classifier in speech emotion recognition.

8. A speech emotion recognition system, characterized in that: include: A feature processing module is used to obtain MFCC features according to the speech signal, and perform feature segmentation processing on the MFCC features to obtain phoneme representation, syllable representation and sentence representation; The multi-granularity time-frequency feature extraction module is used to obtain emotional time-frequency features of different granularities based on phoneme representation, syllable representation and sentence representation, and fuse the emotional time-frequency features of different granularities to obtain the final multi-granularity time-frequency features; The sentiment classification module is used to perform sentiment classification based on multi-granularity time-frequency features to obtain recognition results.

9. A speech emotion recognition device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Cited By

  • Speech emotion recognition method based on diffusion enhancement and multi-granularity feature fusion

    CN119296588A

  • A speech emotion recognition method based on diffusion enhancement and multi-granularity feature fusion

    CN119296588B