Emotion recognition model training method and device, emotion recognition method and device

By using a method that combines variable-precision neighborhood rough sets and multi-classifier fusion, the problem of insufficient consideration of feature correlation in physiological signal emotion recognition by the ReliefF algorithm is solved, and efficient emotion recognition results are achieved.

CN117542072BActive Publication Date: 2026-11-24BEIJING NORMAL UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311203626.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2026-11-24
Estimated Expiration
2043-09-18

AI Technical Summary

Technical Problem

In existing technologies for emotion recognition based on physiological signals, the ReliefF algorithm fails to effectively consider the correlation between features, resulting in low recognition accuracy and significant time consumption.

Method used

A fast forward search feature selection algorithm based on variable precision neighborhood rough sets is adopted, which is combined with support vector machines and classification regression trees. By fusing the results of the two classifiers, an emotion recognition model is constructed, and feature selection and model parameter updates are performed using variable precision neighborhood rough sets.

Benefits of technology

It improves the accuracy of emotion recognition, reduces the time spent on feature selection, enhances computational efficiency, and improves the model's running efficiency and stability while maintaining accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117542072B_ABST
    Figure CN117542072B_ABST
Patent Text Reader

Abstract

This disclosure provides a training method and apparatus for an emotion recognition model, and an emotion recognition method and apparatus. The method includes: acquiring a training sample set and an emotion category label for each training sample in the training sample set; performing feature selection on the basic features of the training samples based on a fast forward search feature selection algorithm using variable precision neighborhood rough sets to obtain target features reflecting the emotion category; classifying the target features according to a first classifier in the emotion recognition model to be trained to obtain a first classification result for the target features; classifying the target features according to a second classifier in the emotion recognition model to be trained to obtain a second classification result for the target features; and fusing the first classification result and the second classification result to obtain a fused classification result; constructing a classification loss for the emotion recognition model to be trained based on the fused classification result and the emotion category label; and updating the model parameters of the emotion recognition model to be trained based on the classification loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of emotion recognition technology, and more specifically, to a training method and apparatus for an emotion recognition model, and an emotion recognition method and apparatus. Background Technology

[0002] When performing emotion recognition on physiological signals, the ReliefF algorithm is the most commonly used algorithm for feature selection. However, the ReliefF algorithm not only fails to consider the correlation between features, leading to low recognition accuracy, but also consumes a significant amount of time in feature selection. Summary of the Invention

[0003] This disclosure provides a training method and apparatus for an emotion recognition model, as well as an emotion recognition model and apparatus.

[0004] According to a first aspect of this disclosure, a method for training an emotion recognition model is provided, the method comprising: Obtain the training sample set and the emotion category label of each training sample in the training sample set; A fast forward search feature selection algorithm based on variable precision neighborhood rough set is used to select basic features of the training samples to obtain target features that reflect the emotion category. The target feature is classified according to the first classifier in the emotion recognition model to be trained, and a first classification result of the target feature is obtained. The target feature is classified according to the second classifier in the emotion recognition model to be trained, and a second classification result of the target feature is obtained. The first classification result and the second classification result are fused to obtain a fused classification result. Based on the fusion classification results and the emotion category labels, construct the classification loss of the emotion recognition model to be trained; The model parameters of the emotion recognition model to be trained are updated based on the classification loss.

[0005] Optionally, the fast forward search feature selection algorithm based on variable precision neighborhood rough sets performs feature selection on the basic features of the training samples to obtain target features that reflect the emotion category, including: An information system is constructed based on the domain of discourse of the training sample set, the conditional attributes of the basic features, the decision attributes of the emotion category labels, the preset mapping rules that reflect the correspondence between the training samples and any of the basic features, and the value range of the training samples and any of the basic features under the corresponding mapping rules. Based on the information system, the accompanying label of each training sample in the domain is set to a first value, and the feature candidate set is set to an empty set; Obtain the neighborhood relationship between any two training samples in the universe of discourse; For any training sample, iterate through the neighborhood relationships between any training sample and other training samples, and if the neighborhood relationship between any training sample and other training samples is less than or equal to the neighborhood radius threshold, update the accompanying label of the other training samples to the second value. Construct the optimal sample set based on the training samples whose accompanying label is the first value; Obtain the positive domain of the decision attribute for the basic feature in the optimal sample set; Based on the positive domain of the decision attribute with respect to the basic feature in the optimal sample set, the dependence of the decision attribute on the basic feature is obtained. Based on the dependence of the decision attribute on the basic feature, the importance of the basic feature relative to the feature candidate set is obtained; If the importance of the basic feature relative to the feature candidate set is at its maximum, then the basic feature is added to the feature candidate set. The information system is updated. If the updated information system meets the set conditions, the feature candidate set is output, and the basic features in the feature candidate set are used as the target features. If the updated information system does not meet the set conditions, the step of obtaining the neighborhood relationship between any two training samples in the universe of discourse is continued.

[0006] Optionally, the first classifier is a support vector machine, which includes penalty coefficients and kernel function coefficients. The step of classifying the target features according to the first classifier in the emotion recognition model to be trained, to obtain the first classification result of the target features, includes: The first classifier is obtained by simultaneously optimizing the penalty coefficient and the kernel function coefficient using a genetic algorithm; and... The target features are classified according to the first classifier to obtain the first classification result of the target features.

[0007] Optionally, the second classifier is a classification regression tree. The step of classifying the target features based on the second classifier in the emotion recognition model to be trained, to obtain the second classification result of the target features, includes: The training sample set is divided into different subsets; For each subset, construct the corresponding classification and regression subtree; The target features of the training samples in the corresponding subset are classified according to the classification regression subtree to obtain the second classification result of the target features.

[0008] Optionally, the method further includes: Obtain the verification sample set and the emotion category label of each verification sample in the verification sample set; The verification sample is input into the trained emotion recognition model to obtain the predicted emotion category of the verification sample; The trained emotion recognition model is validated based on the predicted emotion category and the emotion category label.

[0009] According to a second aspect of this disclosure, an emotion recognition method is provided, the method comprising: Acquire the physiological signal to be identified; The emotion recognition model is used to perform emotion recognition on the physiological signal to be recognized, and the emotion recognition result of the physiological signal to be recognized is obtained. The emotion recognition model is trained according to the training method of the emotion recognition model described in the first aspect above.

[0010] According to a third aspect of this disclosure, a training apparatus for an emotion recognition model is provided, the apparatus comprising: The first acquisition module is used to acquire the training sample set and the emotion category label of each training sample in the training sample set; The selection module is used to perform feature selection on the basic features of the training samples based on a fast forward search feature selection algorithm with variable precision neighborhood rough set, so as to obtain target features that reflect the emotion category. The classification module is used to classify the target feature according to the first classifier in the emotion recognition model to be trained, to obtain the first classification result of the target feature; to classify the target feature according to the second classifier in the emotion recognition model to be trained, to obtain the second classification result of the target feature; and to fuse the first classification result and the second classification result to obtain the fused classification result. A construction module is used to construct the classification loss of the emotion recognition model to be trained based on the fusion classification result and the emotion category label; The update module is used to update the model parameters of the emotion recognition model to be trained based on the classification loss.

[0011] According to a fourth aspect of this disclosure, an emotion recognition device is provided, the device comprising: The second acquisition module is used to acquire the physiological signal to be identified; The recognition module is used to perform emotion recognition on the physiological signal to be recognized based on the trained emotion recognition model, and obtain the emotion recognition result of the physiological signal to be recognized. The emotion recognition model is trained according to the training method of the emotion recognition model described in the first aspect above.

[0012] According to a fifth aspect of this disclosure, an electronic device is provided, comprising a memory for storing executable computer instructions; and a processor for executing, under the control of the executable computer instructions, a training method for an emotion recognition model as described in the first aspect above or an emotion recognition method as described in the second aspect above.

[0013] According to a sixth aspect of this disclosure, a computer-readable storage medium is provided, having stored thereon computer instructions that, when executed by a processor, perform the training method for the emotion recognition model described in the first aspect above or the emotion recognition method described in the second aspect above.

[0014] The training method for the emotion recognition model according to embodiments of this disclosure involves using a fast forward search feature selection algorithm based on variable-precision neighborhood rough sets to select basic features of training samples, obtaining target features reflecting emotion categories. These target features are then classified using a first classifier in the emotion recognition model to be trained, yielding a first classification result. A second classifier in the same model is then used to classify the target features, yielding a second classification result. Finally, the first and second classification results are fused to obtain a fused classification result. Based on the fused classification result and the emotion category label, a classification loss for the emotion recognition model to be trained is constructed, and the model parameters are updated according to this loss. In other words, this disclosure uses a fast forward search feature selection algorithm based on variable-precision neighborhood rough sets to select basic features of training samples. This algorithm typically employs truncation and universe-of-discourse reduction strategies based on adjoint labels, effectively reducing the time consumption of feature selection and improving computational efficiency. Furthermore, it fuses the emotion recognition results of the two classifiers to obtain the final emotion recognition result, further improving the accuracy of emotion recognition.

[0015] Other features and advantages of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of the present disclosure and, together with their description, serve to explain the principles of the present disclosure.

[0017] Figure 1 This is a schematic diagram of the hardware configuration of an electronic device according to an embodiment of the present disclosure; Figure 2 This is a flowchart illustrating a training method for an emotion recognition model according to an embodiment of the present disclosure; Figure 3 This is a flowchart illustrating a fast forward search feature selection algorithm based on variable precision neighborhood rough set according to an embodiment of the present disclosure. Figure 4 This is a flowchart illustrating an emotion recognition method according to an embodiment of the present disclosure; Figure 5 This is a schematic block diagram of a training device for an emotion recognition model according to an embodiment of the present disclosure; Figure 6 This is a schematic block diagram of an emotion recognition device according to an embodiment of the present disclosure; Figure 7 This is a schematic diagram of the hardware configuration of an electronic device according to another embodiment of the present disclosure. Detailed Implementation

[0018] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.

[0019] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.

[0020] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0021] In all the examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.

[0022] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0023] <Hardware Configuration> Figure 1 This is a block diagram of the hardware configuration of an electronic device 1000 according to an embodiment of the present disclosure.

[0024] In one embodiment, the electronic device 1000 may be a server or a terminal device. The server may be a monolithic server or a distributed server spanning multiple computers or a computer data center. The terminal device may be a portable computer, desktop computer, wearable device, or any other device having a processor or other computing device and a memory or other storage device; this embodiment does not limit the specific device.

[0025] like Figure 1 As shown, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, etc.

[0026] Processor 1100 may be a mobile processor. Memory 1200 includes, for example, ROM (Read-Only Memory), RAM (Random Access Memory), and non-volatile memory such as a hard disk. Interface device 1300 includes, for example, a USB interface and a headphone jack. Communication device 1400 may be capable of wired or wireless communication. Communication device 1400 may include short-range communication devices, such as any device that performs short-range wireless communication based on short-range wireless communication protocols such as Hilink, WiFi (IEEE 802.11), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, and LiFi. Communication device 1400 may also include long-range communication devices, such as any device that performs WLAN, GPRS, or 2G / 3G / 4G / 5G long-range communication. Display device 1500 is, for example, an LCD screen or a touch screen. Input device 1600 may include, for example, a touch screen or a keyboard. Electronic device 1000 can output audio information through a speaker 1700 and acquire audio information through a microphone 1800.

[0027] Despite Figure 1 The electronic device 1000 shows multiple devices, but this disclosure may only relate to some of them. For example, electronic device 1000 may only relate to memory 1200 and processor 1100.

[0028] In embodiments of this disclosure, the memory 1200 of the electronic device 1000 is used to store instructions for controlling the processor 1100 to execute the training method or emotion recognition method of the emotion recognition model provided in the embodiments of this disclosure.

[0029] In the above description, those skilled in the art can design instructions based on the scheme disclosed in this disclosure. How the instructions control the processor to operate is well known in the art, and therefore will not be described in detail here.

[0030] <Method Example 1> In this embodiment, a training method for an emotion recognition model is provided. This training method can be implemented by an electronic device, which may be, for example, […]. Figure 1 The electronic device shown is 1000.

[0031] according to Figure 2 As shown, the training method of the emotion recognition model in this embodiment may include the following steps S2100 to S2500.

[0032] Step S2100: Obtain the training sample set and the emotion category label of each training sample in the training sample set.

[0033] Typically, the training sample set can be the WESAD dataset. In laboratory studies, the WESAD dataset collected physiological signals from 15 subjects at the wrist and chest. These physiological signals included, but were not limited to, blood volume pulse (BVP) signals, electrocardiogram (ECG) signals, electronic design automation (EDA) signals, electromyogram (EMG) signals, respiration (RESP) signals, body temperature (TEMP) signals, and triaxial acceleration (ACC) signals. Simultaneously, electronic devices labeled the physiological signals with emotion categories, where each physiological signal could be labeled as pleasant, neutral, or stressed.

[0034] In this embodiment, the electronic device acquires BVP signals, ECG signals, EDA signals, and TEMP signals from different subjects. The BVP signal typically includes wrist BVP signals, the ECG signal typically includes chest ECG signals, the EDA signal typically includes wrist EDA signals and chest EDA signals, and the TEMP signal typically includes wrist TEMP signals and chest TEMP signals.

[0035] Then, the electronic device uses a peak detection-based algorithm to detect heartbeats and extracts the wrist heartbeat interval (IBI) signal from the wrist BVP signal. Specifically: first, the wrist BVP signal is passed through a bandpass filter with a center frequency of 2 Hz to 8 Hz; second, a peak detection algorithm based on second-order difference is used to find the peak position; finally, the time interval between two adjacent peaks is calculated, which yields the wrist IBI signal.

[0036] Meanwhile, the electronic device employs the Pan-Tompkins algorithm (P&T) for QRS detection, extracting the chest IBI signal from the chest ECG signal. Specifically: First, a bandpass filter is used to filter the chest ECG signal to eliminate any noise outside the QRS frequency band (5-15Hz), and the filtered signal is differentiated to emphasize the QRS wave and eliminate baseline drift. Second, the differentiated signal is squared to enhance the amplitude of the QRS wave and suppress baseline drift. Third, the squared signal is integrated over a 6-second moving window to obtain the QRS wave energy. Next, a threshold is applied to the integrated signal to detect the start and end points of the QRS wave. Then, standards such as QRS width, amplitude, and morphology are used to eliminate false detections. Finally, the detected QRS_pos is differentially divided by the frequency to obtain the chest IBI signal.

[0037] In other words, a training sample can include a subject's BVP signal, ECG signal, EDA signal, and TEMP signal, and the emotion recognition label of the training sample can be one of the following: pleasant, neutral, or stressed.

[0038] Step S2200: Based on the fast forward search feature selection algorithm of variable precision neighborhood rough set, feature selection is performed on the basic features of the training samples to obtain target features that reflect the emotion category.

[0039] In this embodiment, after the electronic device acquires the training sample set and the emotion category label of each training sample in the training sample set, it first performs feature extraction on the training sample to obtain the basic features of the training sample.

[0040] For example, for IBI signals, electronic devices typically extract 11 time-domain features and 6 frequency-domain features. The 11 time-domain features can include: NNmean, NNmedian, NNmode, NNvariace, NNskew, NNkurt, SDNN, NNiqr, RMSSD, pnn50, and btsdet. The 6 frequency-domain features can include: ulf, vlf, lf, hf, lfhf, and ttlpwr.

[0041] It should be noted that since the IBI signal is a secondary signal extracted from the original signal, it will become a non-uniform signal. Therefore, the embodiments of this disclosure use the Lomb periodogram method to calculate its power spectral density (PSD). By calculating the integral or area of ​​PSD in different regions, ulf, vlf, lf, hf, lfhf, and ttlpwr are obtained respectively.

[0042] For example, six features are extracted from the EDA signal, which may include: EDAmean, EDAvariace, Deeming, EDAmax, EDASlope, and EDArange. To further utilize the EDA signal, electronic devices separate it into a tonic signal and a phase signal. The tonic signal of the EDA signal is called the skin conductance level (SCL) signal, and the phase signal is called the skin conductance response (SCR) signal. The specific separation formula is as follows:

[0043]

[0044]

[0045] in, It is a discrete approximation of the second derivative operator, expressed as: .

[0046] Furthermore, for the SCL signal, two features were extracted: SCLmean and SCLvariace. For the SCR signal, five features were extracted: SCRvariace, SCRfreq, SCRmag, SCRdur, and SCRarea. The extraction formulas for SCRfreq, SCRmag, SCRdur, and SCRarea are as follows:

[0047]

[0048]

[0049]

[0050] For example, for the TEMP signal, six features were extracted, which may include: TEMPmean, TEMPvariace, TEMPmin, TEMPmax, TEMPrange, and TEMPslope.

[0051] In this embodiment, after the electronic device extracts features from the training samples to obtain the basic features of the training samples, it performs feature selection on the basic features of the training samples based on the fast forward search feature selection algorithm of variable precision neighborhood rough set in order to obtain target features that reflect the emotion category.

[0052] In an optional embodiment, step S2200, which uses a fast forward search feature selection algorithm based on variable precision neighborhood rough sets to select basic features of the training samples and obtain target features that reflect the emotion category, may further include the following steps S2210 to S2219: Step S2210: Construct an information system based on the universe of discourse of the training sample set, the conditional attributes of the basic features, the decision attributes of the emotion category labels, the preset mapping rules reflecting the correspondence between the training samples and any of the basic features, and the value range of the training samples and any of the basic features under the corresponding mapping rules.

[0053] In step S2210, the electronic device builds a rough set framework and constructs the information system.<U,A,D,V,f> This information system<U,A,D,V,f> As shown in Table 1: Table 1: Information Systems<U,A,D,V,f>

[0054] Where U is the universe of discourse, i.e., the training samples. The set constituted. A is the conditional attribute, composed of basic features. Composition. D is the decision attribute, composed of emotion category labels. The categories formed in this three-class classification problem are {pleasant, neutral, stress}. V represents the value of each training sample in the universe of discourse under different conditional attributes. The range of values ​​below, that is, f is a mapping rule from the universe of discourse U and conditional attribute A to the domain space V. Based on U, A, D, V, and f, the information system can be obtained.<U,A,D,V,f> .

[0055] Step S2211: Based on the information system, set the accompanying label of each training sample in the domain of discourse to a first value, and set the feature candidate set to an empty set.

[0056] The first value can be 1.

[0057] In step S2211, the electronic device will first be initialized, that is, TEST=U; and each Let there be a Boolean variable w(p), let w(p) = 1, and let the feature candidate set B be empty, that is, let B = .

[0058] Step S2212: Obtain the neighborhood relationship between any two training samples in the universe of discourse.

[0059] In this step S2212, the electronic device will calculate any two training samples in the universe of discourse. Neighborhood relationships between them.

[0060] In step S2212, the electronic device uses the L2 norm in Euclidean space as a metric Δ, and denotes any two training samples... If the neighborhood relationship between them is N, then:

[0061] Among them, if , making And include it in the OVER set, where, In other words, each fixed p and q corresponds to an OVER set, denoted as OVER(p, q). Therefore, the electronic device can calculate the values ​​of any two training samples. Neighborhood relationships between them:

[0062]

[0063] Step S2213: For any training sample, traverse the neighborhood relationships between any training sample and other training samples, and if the neighborhood relationship between any training sample and other training samples is less than or equal to the neighborhood radius threshold, update the accompanying label of the other training samples to the second value.

[0064] Among them, the neighborhood radius threshold This neighborhood radius threshold can be set according to actual needs. It can be It can also be 0.01, but this embodiment does not limit it.

[0065] The second value can be 0, meaning that the second value is different from the first value.

[0066] In step S2213, during the calculation of the neighborhood relation N, the electronic device iterates through q for a fixed p, if... q makes:

[0067] Then let .

[0068] Step S2214: Construct an optimal sample set based on the training samples accompanied by the first value.

[0069] In step S2214, the electronic device iterates through p and... training samples Add to the preferred sample set: This allows us to obtain the optimal sample set for the information system. Let num be the number of them.

[0070] Step S2215: Obtain the positive domain of the decision attribute for the basic feature under the preferred sample set.

[0071] In step S2215, the decision attribute D is in the preferred sample set. The following is about The positive domain is:

[0072] in, For decision attribute D in the preferred sample set The following is about The k-lower approximation is calculated using the following formula:

[0073] Among them, basic features k-lower approximation for:

[0074] in, In order to optimize the sample set The following is about Depend on The generated neighborhood information particles are defined as follows:

[0075] in, for Included in The degree is calculated as follows: when hour:

[0076] when hour:

[0077] Step S2216: Based on the positive domain of the decision attribute with respect to the basic feature in the preferred sample set, obtain the dependence of the decision attribute on the basic feature.

[0078] In this step S2216, in the preferred sample set Below, decision attribute D is related to basic features. Dependence for:

[0079] Step S2217: Based on the dependence of the decision attribute on the basic feature, obtain the importance of the basic feature relative to the feature candidate set.

[0080] This step S2217, basic features The importance relative to the feature candidate set B is:

[0081] In step S2217, the electronic device can calculate... Importance relative to the feature candidate set.

[0082] Step S2218: If the importance of the basic feature relative to the feature candidate set is at its maximum, then the basic feature is added to the feature candidate set.

[0083] In this step S2218, the electronic device selects the basic features whose importance relative to the feature candidate set B is the maximum importance. Add to the feature candidate set B: B = {B, } Step S2219: Update the information system. If the updated information system meets the set conditions, output the feature candidate set and use the basic features in the feature candidate set as the target features. If the updated information system does not meet the set conditions, continue to execute the step of obtaining the neighborhood relationship between any two training samples in the universe of discourse.

[0084] In this step S2219, the electronic device will... Update the information system and check whether the updated information system meets the set conditions. These conditions may include: the information system's universe of discourse is empty or the found largest positive domain is empty, i.e.: If the updated information system meets the set conditions, i.e., the information system's universe of discourse is empty or the found largest positive region is empty, then the feature candidate set is output. If the updated information system does not meet the set conditions, then continue to execute step S2213 above to obtain the neighborhood relationship between any two training samples in the universe of discourse.

[0085] Based on steps S2210 to S2219 above, this embodiment proposes a fast forward search feature selection algorithm based on variable-precision neighborhood rough sets to reduce the redundancy and complexity of emotion recognition models. The algorithm mainly involves the following features: ① Constructing an information system and building a rough set framework; ② Employing neighborhood relationships, considering the mutual influence between samples, and setting a neighborhood radius to shrink the sample set and reduce redundancy; ③ Introducing an adjoint label w to reasonably truncate invalid operations and improve computational efficiency; ④ Introducing concepts such as lower approximation, positive decision region, dependency, and importance from rough sets, and evaluating features in the shrunk preferred sample set to achieve feature selection; ⑤ Employing variable-precision k-lower approximation to handle fuzzy boundaries; ⑥ Employing a universe-of-discourse reduction strategy to reduce repeated traversal and efficiently screen features.

[0086] Step S2300: Classify the target feature according to the first classifier in the emotion recognition model to be trained to obtain the first classification result of the target feature; classify the target feature according to the second classifier in the emotion recognition model to be trained to obtain the second classification result of the target feature; and fuse the first classification result and the second classification result to obtain the fused classification result.

[0087] The first classifier can be a Support Vector Machine (SVM), and the second classifier can be a Classification and Regression Tree (CART).

[0088] In this embodiment, the emotion recognition model to be trained is equipped with a first classifier and a second classifier. The first classifier can classify the target features to obtain a first classification result, and the second classifier can classify the target features to obtain a second classification result. The bagging algorithm is used to integrate and fuse the first classification result of the first classifier and the second classification result of the second classifier to obtain a fused classification result.

[0089] In an optional embodiment, the first classifier is a support vector machine (SVM), which includes a penalty coefficient C and kernel function coefficients. Step S2300, which involves classifying the target features based on the first classifier in the emotion recognition model to be trained, to obtain a first classification result for the target features, may further include: simultaneously optimizing the penalty coefficient and the kernel function coefficient using a genetic algorithm to obtain the first classifier; and classifying the target features based on the first classifier to obtain a first classification result for the target features.

[0090] It should be noted that the training sample set obtained from physiological signals is usually not linearly separable. Therefore, this embodiment employs a nonlinear support vector machine and selects the RBF kernel function. A genetic algorithm is used to optimize the penalty parameter C of the SVM. and RBF kernel function kernel function coefficients in .

[0091] Furthermore, the penalty parameter C typically ranges from [0.01, 100], while the kernel function coefficients of the RBF kernel function... The value range is usually in the interval [0.1, 10]. To simplify the computation of the model, the genetic algorithm is applied to... and This ensures interval consistency, simplifies the encoding method, and simultaneously... and Parallel optimization reduces time complexity. The specific steps are as follows: Step 1: SVM hyperparameter gene encoding Construct two populations and , respectively corresponding and The parameter set. With a step size of 0.1, 1000 parameter values ​​can be obtained in the interval [0.1, 10]. Therefore, individuals in both populations are encoded using 10-bit binary codes. To further improve local search capabilities, the binary codes are converted using the following formula. Convert to Gray code :

[0092] in, It is the XOR operator.

[0093] Step 2: Set the fitness function Set the subpopulation to 80 for each iteration and calculate its fitness:

[0094] in, , For classification accuracy.

[0095] Step 3: Select Operator After calculating fitness, first pair the parameter with the highest fitness. Save the selected data, do not participate in subsequent crossovers and mutations, proceed directly to the next round of selection, and delete the worst-performing parameter pair. The remaining individuals are then selected using the following proportional selection method:

[0096] Step 4: Crossover Operator Within each population, a single-point crossover operator with uniform probability is used for crossover, with the crossover probability set to 0.6.

[0097] Step 5: Mutation Operator Within each population, mutation is performed using the basic bit mutation operator, which involves inverting the gene value at a randomly selected mutation point, with the mutation probability set to 0.001.

[0098] Step 6: Termination Condition If the parameter pair with the highest fitness is the same for five consecutive generations, the process terminates early. Otherwise, proceed to step 2 and continue until generation 100. After completion, output the optimal parameter pair. .

[0099] According to this embodiment, the first classifier is a nonlinear support vector machine with an RBF kernel function. The penalty parameter C and the kernel function coefficient γ are optimized by a genetic algorithm to improve the classification accuracy.

[0100] In an optional embodiment, the second classifier is a classification regression tree (CART). Step S2300, which classifies the target features according to the second classifier in the emotion recognition model to be trained, to obtain a second classification result of the target features, may further include: dividing the training samples into different subsets; constructing a corresponding classification regression subtree for each subset; and classifying the target features of the training samples in the corresponding subset according to the classification regression subtree to obtain a second classification result of the target features.

[0101] In this embodiment, the following is defined:

[0102]

[0103] It can be seen that, and It satisfies reflexivity, symmetry, and transitivity, and is therefore also an equivalence relation.

[0104] Therefore, let the partitions of U under these two equivalence relations be as follows:

[0105]

[0106] Therefore, the generalization of the target features relative to D can be obtained, which is: The equivalence relation determined on U is denoted as:

[0107] Furthermore, with As the root of the decision tree, the domain of discourse in the information system is then divided into different subsets based on the attribute values:

[0108] For each subset, the Gini index is used to measure impurity, calculated as follows:

[0109] in, The Gini index represents the proportion of each category in the dataset, and c represents the number of categories. The smaller the Gini index, the lower the impurity of the dataset. Therefore, the feature with the smallest Gini index is selected as the splitting feature.

[0110] By repeating this process, each subset can be constructed from... The CART subtree under the determined root node can be used to classify the target features.

[0111] According to this embodiment, the second classifier is a CART tree. By introducing the concept of relative generalization in rough set, the training samples are divided. Each division is split according to the Gini coefficient, which reduces the complexity of the decision tree and improves the computational efficiency.

[0112] Step S2400: Based on the fusion classification result and the emotion category label, construct the classification loss of the emotion recognition model to be trained.

[0113] Step S2500: Update the model parameters of the emotion recognition model to be trained according to the classification loss.

[0114] According to the method of this disclosure, a fast forward search feature selection algorithm based on variable precision neighborhood rough sets is used to select basic features of training samples to obtain target features reflecting emotion categories. The target features are then classified according to a first classifier in the emotion recognition model to be trained, resulting in a first classification result. The target features are then classified according to a second classifier in the same model, resulting in a second classification result. Finally, the first and second classification results are fused to obtain a fused classification result. Based on the fused classification result and the emotion category label, a classification loss for the emotion recognition model to be trained is constructed, and the model parameters are updated according to the classification loss. In other words, this disclosure uses a fast forward search feature selection algorithm based on variable precision neighborhood rough sets to select basic features of training samples. This algorithm typically uses truncation and universe-of-discourse reduction strategies based on adjoint labels, which effectively reduces the time consumption of feature selection and improves computational efficiency. Furthermore, it fuses the emotion recognition results of two classifiers to obtain the final emotion recognition result, further improving the accuracy of emotion recognition.

[0115] In other words, the embodiments of this disclosure fully consider the shortcomings of commonly used feature selection methods in that they do not adequately consider the correlation between different features, and introduce rough set theory. Within the framework of rough sets, the concept of neighborhood is introduced to overcome the drawback that traditional rough sets can only handle discrete features. By setting the neighborhood radius, the correlation factors between features are reasonably considered. Based on the concept of attribute dependency in rough sets, features are further selected. By introducing the concept of variable precision, fuzzy boundaries are processed. By setting an adjoint marker, invalid operations are truncated, thereby reducing algorithm complexity and improving computational efficiency.

[0116] Furthermore, selecting appropriate features not only reduces time complexity but also improves accuracy, especially given the limited number of available features. Different features exhibit significantly different effects on emotion recognition, and the interactions between them are highly complex. This technical solution employs a fast forward search feature selection algorithm based on variable-precision neighborhood rough sets. At the sample level, it considers the mutual influence between features based on neighborhood relationships, and at the feature level, it measures the effectiveness of different features through importance. This achieves higher accuracy within a limited number of selected features and provides effective feedback for subsequent feature extraction through specific numerical values ​​such as feature importance.

[0117] Furthermore, the embodiments disclosed herein improve and integrate traditional machine learning methods. A genetic algorithm is used to optimize the hyperparameters of the SVM. The CART tree is improved through a relatively generalized definition within the rough set framework to reduce tree complexity and increase efficiency. Moreover, by setting multiple classifiers for different modalities or within the same modality, and employing a bagging algorithm for integration and fusion, the accuracy is improved through mutual reference and learning between different signals and different classifiers.

[0118] Finally, the embodiments of this disclosure combine feature layer selection with decision layer fusion to make full use of physiological signals under different modalities, thereby further improving classification accuracy and reliability.

[0119] In summary, compared with the prior art, the emotion recognition model of this disclosure effectively reduces time complexity and improves model running efficiency while maintaining accuracy, and has good stability and interpretability.

[0120] <Method Example 2> In this embodiment, an emotion recognition method is provided. This emotion recognition method can be implemented by an electronic device, which can be, for example, such as... Figure 1 The electronic device shown is 2000.

[0121] according to Figure 4 As shown, the emotion recognition method of this disclosure embodiment may include the following steps S4100 to S4200.

[0122] Step S4100: Acquire the physiological signal to be identified.

[0123] Step S4200: Perform emotion recognition on the physiological signal to be recognized according to the trained emotion recognition model to obtain the emotion recognition result of the physiological signal to be recognized.

[0124] The emotion recognition model is trained according to the training method of the emotion recognition model mentioned in the first embodiment of the above method.

[0125] According to embodiments of this disclosure, when performing emotion recognition on physiological signals to be recognized using a trained emotion recognition model, the time complexity can be effectively reduced while maintaining recognition accuracy.

[0126] <Device Example 1> In this embodiment, a training device 5000 for an emotion recognition model is provided, such as... Figure 5 As shown, the training device 5000 for the emotion recognition model may include a first acquisition module 5100, a selection module 5200, a classification module 5300, a construction module 5400, and an update module 5500.

[0127] The first acquisition module 5100 is used to acquire a training sample set and the emotion category label of each training sample in the training sample set. The selection module 5200 is used to perform feature selection on the basic features of the training samples based on the fast forward search feature selection algorithm of variable precision neighborhood rough set, so as to obtain target features that reflect the emotion category. The classification module 5300 is used to classify the target feature according to the first classifier in the emotion recognition model to be trained, to obtain a first classification result of the target feature; to classify the target feature according to the second classifier in the emotion recognition model to be trained, to obtain a second classification result of the target feature; and to fuse the first classification result and the second classification result to obtain a fused classification result. The construction module 5400 is used to construct the classification loss of the emotion recognition model to be trained based on the fusion classification result and the emotion category label. The update module 5500 is used to update the model parameters of the emotion recognition model to be trained based on the classification loss.

[0128] In one embodiment, the first classifier is a support vector machine, which includes penalty coefficients and kernel function coefficients.

[0129] The selection module 5200 is specifically used to construct an information system based on the universe of discourse composed of the training sample set, the conditional attributes composed of the basic features, the decision attributes composed of the emotion category labels, a preset mapping rule reflecting the correspondence between the training samples and any of the basic features, and the value range of the training samples under the corresponding mapping rule; using the information system as a reference, setting the accompanying label of each training sample in the universe of discourse to a first value, and setting the feature candidate set to an empty set; obtaining the neighborhood relationship between any two training samples in the universe of discourse; for any training sample, traversing the neighborhood relationships between any training sample and other training samples, and updating the accompanying labels of other training samples to a second value when the neighborhood relationship between any training sample and other training samples is less than or equal to a neighborhood radius threshold; and based on the accompanying label being the first value... The system uses training samples to construct an optimal sample set; it obtains the positive domain of the decision attribute with respect to the basic feature in the optimal sample set; it obtains the dependency of the decision attribute on the basic feature based on the positive domain of the decision attribute on the basic feature in the optimal sample set; it obtains the importance of the basic feature relative to the feature candidate set based on the dependency of the decision attribute on the basic feature; it adds the basic feature to the feature candidate set when the importance of the basic feature relative to the feature candidate set is at its maximum; it updates the information system, and outputs the feature candidate set when the updated information system meets the set conditions, and uses the basic feature in the feature candidate set as the target feature; when the updated information system does not meet the set conditions, it continues to execute the step of obtaining the neighborhood relationship between any two training samples in the universe of discourse.

[0130] In one embodiment, the first classifier is a support vector machine, which includes penalty coefficients and kernel function coefficients.

[0131] The classification module 5300 is specifically used to simultaneously optimize the penalty coefficient and the kernel function coefficient according to the genetic algorithm to obtain the first classifier; and to classify the target feature according to the first classifier to obtain the first classification result of the target feature.

[0132] In one embodiment, the second classifier is a classification regression tree.

[0133] The classification module 5300 is specifically used to divide the training sample set into different subsets; for each subset, construct a corresponding classification regression subtree; classify the target features of the training samples in the corresponding subset according to the classification regression subtree, and obtain the second classification result of the target features.

[0134] In one embodiment, the device 5000 further includes a verification module (not shown in the figure), comprising: acquiring a verification sample set and an emotion category label for each verification sample in the verification sample set; inputting the verification sample into a trained emotion recognition model to obtain a predicted emotion category for the verification sample; and verifying the trained emotion recognition model based on the predicted emotion category and the emotion category label.

[0135] According to this embodiment, a fast forward search feature selection algorithm based on variable precision neighborhood rough sets is used to select basic features of training samples to obtain target features reflecting emotion categories. These target features are then classified using a first classifier in the emotion recognition model to be trained, yielding a first classification result. A second classifier in the same model is then used to classify the target features, yielding a second classification result. Finally, the first and second classification results are fused to obtain a fused classification result. Based on the fused classification result and the emotion category label, a classification loss for the emotion recognition model to be trained is constructed, and the model parameters are updated according to this loss. In other words, this embodiment uses a fast forward search feature selection algorithm based on variable precision neighborhood rough sets to select basic features of training samples. This algorithm typically employs truncation and universe-of-discourse reduction strategies based on adjoint labels, effectively reducing the time consumption of feature selection and improving computational efficiency. Furthermore, it fuses the emotion recognition results of two classifiers to obtain the final emotion recognition result, further improving the accuracy of emotion recognition.

[0136] <Device Embodiment Two> In this embodiment, an emotion recognition device 6000 is provided, such as... Figure 6 As shown, the emotion recognition device 6000 may include a second acquisition module 6100 and a recognition module 6200.

[0137] The second acquisition module 6100 is used to acquire the physiological signal to be identified; The recognition module 6200 is used to perform emotion recognition on the physiological signal to be recognized according to the trained emotion recognition model, and obtain the emotion recognition result of the physiological signal to be recognized. The emotion recognition model is trained according to the training method of the emotion recognition model described in the first embodiment of the above method.

[0138] According to this embodiment, when performing emotion recognition on the physiological signals to be recognized using the trained emotion recognition model, the time complexity can be effectively reduced while maintaining the recognition accuracy.

[0139] <Equipment Example> Figure 7This is a schematic diagram of the hardware structure of an electronic device according to one embodiment. For example... Figure 7 As shown, the electronic device 7000 includes a processor 7100 and a memory 7200.

[0140] The memory 7200 can be used to store executable computer instructions.

[0141] The processor 7100 can be used to execute, under the control of the executable computer instructions, a training method or an emotion recognition method for an emotion recognition model according to the method embodiments of this disclosure.

[0142] The electronic device 7000 can be as follows: Figure 1 The electronic device 1000 shown may also be a device with other hardware structures, which are not limited here.

[0143] In another embodiment, the electronic device 7000 may include a training device 5000 or an emotion recognition device 6000 for the above-mentioned emotion recognition model.

[0144] In one embodiment, the modules of the above emotion recognition model training device 5000 or emotion recognition device 6000 can be implemented by the processor 7100 running computer instructions stored in the memory 7200.

[0145] Computer-readable storage media This disclosure also provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, perform the training method or emotion recognition method of the emotion recognition model provided in this disclosure.

[0146] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.

[0147] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0148] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0149] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0150] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0151] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0152] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0153] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are equivalent.

[0154] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.

Claims

1. A training method for an emotion recognition model, characterized in that, The method includes: Obtain a training sample set and an emotion category label for each training sample in the training sample set; wherein, the training sample is the physiological signal of the subject, the physiological signal includes at least one of blood volume pulse signal, electrocardiogram signal, skin conductance signal, electromyography signal, respiratory signal, body temperature signal and triaxial acceleration signal, and the emotion category label is one of pleasure, neutrality and stress; A fast forward search feature selection algorithm based on variable precision neighborhood rough set is used to select basic features of the training samples to obtain target features that reflect the emotion category. The target feature is classified according to the first classifier in the emotion recognition model to be trained, and a first classification result of the target feature is obtained. The target feature is classified according to the second classifier in the emotion recognition model to be trained, and a second classification result of the target feature is obtained. The first classification result and the second classification result are fused to obtain a fused classification result. Based on the fusion classification results and the emotion category labels, construct the classification loss of the emotion recognition model to be trained; The model parameters of the emotion recognition model to be trained are updated based on the classification loss. The fast forward search feature selection algorithm based on variable-precision neighborhood rough sets selects basic features of the training samples to obtain target features reflecting emotion categories. This includes: constructing an information system based on the universe of discourse of the training sample set, the conditional attributes of the basic features, the decision attributes of the emotion category labels, a preset mapping rule reflecting the correspondence between the training samples and any basic features, and the value range of the training samples and any basic features under the corresponding mapping rule; using the information system as a reference, setting the adjoint label of each training sample in the universe of discourse to a first value, and setting the feature candidate set to an empty set; obtaining the neighborhood relationship between any two training samples in the universe of discourse; for any training sample, traversing the neighborhood relationships between any training sample and other training samples, and considering the neighborhood relationships between any training sample and other training samples. If the neighborhood relationship between training samples is less than or equal to a neighborhood radius threshold, the adjoint label of the other training samples is updated to a second value; an optimal sample set is constructed based on the training samples with adjoint labels of a first value; the positive domain of the decision attribute relative to the basic feature in the optimal sample set is obtained; the dependency of the decision attribute on the basic feature is obtained based on the positive domain of the decision attribute on the basic feature in the optimal sample set; the importance of the basic feature relative to the feature candidate set is obtained based on the dependency of the decision attribute on the basic feature; if the importance of the basic feature relative to the feature candidate set is the maximum importance, the basic feature is added to the feature candidate set; the information system is updated, and if the updated information system meets the set conditions, the feature candidate set is output, and the basic feature in the feature candidate set is used as the target feature.

2. The method according to claim 1, characterized in that, The method includes: If the updated information system does not meet the set conditions, the step of obtaining the neighborhood relationship between any two training samples in the universe of discourse continues.

3. The method according to claim 1, characterized in that, The first classifier is a support vector machine, which includes penalty coefficients and kernel function coefficients. The step of classifying the target features according to the first classifier in the emotion recognition model to be trained, to obtain the first classification result of the target features, includes: The first classifier is obtained by simultaneously optimizing the penalty coefficient and the kernel function coefficient using a genetic algorithm; and... The target features are classified according to the first classifier to obtain the first classification result of the target features.

4. The method according to claim 1, characterized in that, The second classifier is a classification regression tree. The step of classifying the target features based on the second classifier in the emotion recognition model to be trained, to obtain the second classification result of the target features, includes: The training sample set is divided into different subsets; For each subset, construct the corresponding classification and regression subtree; The target features of the training samples in the corresponding subset are classified according to the classification regression subtree to obtain the second classification result of the target features.

5. The method according to claim 1, characterized in that, The method further includes: Obtain the verification sample set and the emotion category label of each verification sample in the verification sample set; The verification sample is input into the trained emotion recognition model to obtain the predicted emotion category of the verification sample; The trained emotion recognition model is validated based on the predicted emotion category and the emotion category label.

6. An emotion recognition method, characterized in that, The method includes: Acquire the physiological signal to be identified; The emotion recognition model is used to perform emotion recognition on the physiological signal to be recognized, and the emotion recognition result of the physiological signal to be recognized is obtained. The emotion recognition model is trained using the training method for the emotion recognition model according to any one of claims 1-5.

7. A training device for an emotion recognition model, characterized in that, The device includes: The first acquisition module is used to acquire a training sample set and an emotion category label for each training sample in the training sample set; wherein, the training sample is the physiological signal of the subject, and the physiological signal includes at least one of blood volume pulse signal, electrocardiogram signal, skin conductance signal, electromyogram signal, respiratory signal, body temperature signal and triaxial acceleration signal, and the emotion category label is one of pleasure, neutrality and stress; The selection module is used to perform feature selection on the basic features of the training samples based on a fast forward search feature selection algorithm with variable precision neighborhood rough set, so as to obtain target features that reflect the emotion category. The classification module is used to classify the target feature according to the first classifier in the emotion recognition model to be trained, to obtain the first classification result of the target feature; to classify the target feature according to the second classifier in the emotion recognition model to be trained, to obtain the second classification result of the target feature; and to fuse the first classification result and the second classification result to obtain the fused classification result. A construction module is used to construct the classification loss of the emotion recognition model to be trained based on the fusion classification result and the emotion category label; The update module is used to update the model parameters of the emotion recognition model to be trained based on the classification loss. The selection module is configured to construct an information system based on the universe of discourse of the training sample set, the conditional attributes of the basic features, the decision attributes of the emotion category labels, a preset mapping rule reflecting the correspondence between the training samples and any of the basic features, and the value range of the training samples and any of the basic features under the corresponding mapping rule; using the information system as a reference, setting the accompanying label of each training sample in the universe of discourse to a first value, and setting the feature candidate set to an empty set; obtaining the neighborhood relationship between any two training samples in the universe of discourse; for any training sample, traversing the neighborhood relationships between any training sample and other training samples, and if the neighborhood relationship between any training sample and other training samples is less than or equal to a neighborhood radius threshold. The accompanying labels of the other training samples are updated to a second value; an optimal sample set is constructed based on the training samples whose accompanying labels are a first value; the positive domain of the decision attribute with respect to the basic feature in the optimal sample set is obtained; the dependency of the decision attribute on the basic feature is obtained based on the positive domain of the decision attribute on the basic feature in the optimal sample set; the importance of the basic feature relative to the feature candidate set is obtained based on the dependency of the decision attribute on the basic feature; when the importance of the basic feature relative to the feature candidate set is the maximum importance, the basic feature is added to the feature candidate set; the information system is updated, and when the updated information system meets the set conditions, the feature candidate set is output, and the basic feature in the feature candidate set is used as the target feature.

8. An emotion recognition device, characterized in that, The device includes: The second acquisition module is used to acquire the physiological signal to be identified; The recognition module is used to perform emotion recognition on the physiological signal to be recognized based on the trained emotion recognition model, and obtain the emotion recognition result of the physiological signal to be recognized. The emotion recognition model is trained using the training method for the emotion recognition model according to any one of claims 1-5.

9. An electronic device, characterized in that, include: Memory is used to store executable computer instructions; A processor, configured to execute, under the control of the executable computer instructions, the training method of the emotion recognition model according to any one of claims 1-5 or the emotion recognition method according to claim 6.

10. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, perform the training method of the emotion recognition model according to any one of claims 1-5 or the emotion recognition method according to claim 6.

Citation Information

Patent Citations

  • Emotion recognition method and system based on mobile intelligent terminal sensor equipment

    CN111931616A

  • Construction method and device of antagonism ensemble classification model, equipment and storage medium

    CN114925765A