Micro-expression recognition method and system based on adaptive feature decoupling and multi-task enhancement

By employing adaptive feature decoupling and multi-task enhancement, the emotional and noise features in the micro-expression recognition model are explicitly separated. Combined with action unit-assisted supervision, this solves the problem of feature extraction in complex noisy environments and achieves higher recognition accuracy and stability.

CN123161279APending Publication Date: 2026-11-24HARBIN ENG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610754898.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing micro-expression recognition models are easily affected by head shaking, lighting changes, and differences in identity texture in uncontrolled environments, leading to difficulties in feature extraction, overfitting, and insufficient cross-subject generalization ability, making it difficult to accurately recognize micro-expressions in complex and noisy environments.

Method used

We adopt an adaptive feature decoupling and multi-task enhancement approach. Through a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhancement supervision module, we explicitly separate sentiment features from noise features and introduce action units to assist supervision. We then construct a joint loss function for training.

Benefits of technology

It significantly improves the model's robustness and generalization ability in recognizing micro-expressions, enhances the interpretability and stability of features, and improves recognition accuracy in complex noisy environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161279A_ABST
    Figure CN123161279A_ABST
Patent Text Reader

Abstract

This invention relates to a micro-expression recognition method and system based on adaptive feature decoupling and multi-task enhancement, comprising: acquiring micro-expression video sequence data and preprocessing it, locating the start frame and peak frame, and constructing a sample dataset; constructing a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhancement supervision module; using the dual-branch feature extraction module to encode the start frame and peak frame in the sample dataset with shared weights to obtain global spliced ​​features; using the orthogonal feature decoupling module to separate the global spliced ​​features into an emotion subspace and a noise subspace to obtain pure emotion features; using the multi-task enhancement supervision module to predict micro-expression categories and detect action units to obtain emotion category probabilities and action unit activation probabilities; constructing a joint loss function to train the micro-expression recognition model, and using the trained micro-expression recognition model to perform micro-expression recognition and obtain micro-expression categories.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a micro-expression recognition method and system based on adaptive feature decoupling and multi-task enhancement, belonging to the field of micro-expression recognition technology. Background Technology

[0002] Microexpressions are involuntary facial muscle movements that are extremely short in duration and have very low amplitude, often occurring when an individual attempts to conceal their true emotions. Due to their transient, minute, and localized characteristics, microexpression recognition has high application value in scenarios such as security interrogation, psychological assessment, clinical assistance, and human-computer interaction. However, the microexpression signals themselves are extremely weak, and the sample size of publicly available datasets is limited, making existing recognition models prone to problems such as difficulty in feature extraction, severe overfitting, and insufficient cross-subject generalization ability.

[0003] In uncontrolled environments, micro-expression videos are often accompanied by head movements, blinking, changes in lighting, and differences in the texture of the subject's identity. These macroscopic disturbances and the weak movements of micro-expressions are coupled in the observation space, causing the model to easily misinterpret background changes unrelated to emotion as discriminatory cues. Especially under small sample conditions, if a single-stream classification network is directly used to train on peak frames or short sequences, the model will often prioritize learning static identity textures or global pseudo-motions, thereby weakening recognition robustness.

[0004] Existing noise-suppressed micro-expression recognition methods mainly fall into two categories:

[0005] (1) Attention- or saliency-weighted methods: These methods enhance the response of local regions by using spatial attention, channel attention, or region of interest weighting. These methods are soft suppression strategies, which can only attenuate noise by weighting it, and are difficult to explicitly separate emotional components from noise components in the feature space. When there are large changes in head posture or lighting disturbances, a large amount of background information may still remain in the emotional features.

[0006] (2) Methods based on multi-branch or auxiliary supervision: Enhance the network's ability to perceive weak motion through differential input, optical flow coding, or auxiliary tasks. Although these methods can improve the model's sensitivity to local actions to a certain extent, if there is a lack of clear geometric decoupling constraints, there may still be a mixture of noise and sentiment semantics in the features; at the same time, if the auxiliary supervision is not designed properly, it may also lead to the dilution of the main task semantics or semantic collapse.

[0007] Therefore, there is an urgent need for a method that can explicitly model the dynamic differences between the start frame and the peak frame, perform hard orthogonal separation of emotional features and noise features in the latent space, and use the anatomical prior of the action unit to perform multi-task enhanced supervision of emotional features, so as to improve the discrimination and generalization ability of micro-expression recognition in complex noisy environments. Summary of the Invention

[0008] To address the problems in existing technologies where weak micro-expression signals are easily obscured by head movements, lighting changes, and identity texture noise, and where single-classification supervision struggles to simultaneously guarantee feature purity and discriminative power, this invention provides a micro-expression recognition method and system based on adaptive feature decoupling and multi-task enhancement. By constructing a dual-branch feature extraction module with shared weights, an orthogonal feature decoupling module, and an action unit-assisted multi-task enhancement supervision module, explicit separation of micro-expression emotional features and noise features is achieved, and the model's ability to represent fine-grained muscle movements is improved.

[0009] Terminology Explanation:

[0010] 1. Onset Frame: Refers to the reference frame before micro-expressions begin to occur, used to represent the identity texture and background information of the subject in a non-expression state.

[0011] 2. Apex Frame: The keyframe with the largest amplitude of micro-expression movement, used to represent the most significant instantaneous muscle changes in expression.

[0012] 3. Noise subspace: refers to the potential representation space used to absorb interference components that are weakly correlated with micro-expression categories, such as head posture, identity texture, and lighting changes.

[0013] 4. Action Unit (AU): refers to the basic muscle movement unit in the facial motion coding system, which can serve as auxiliary supervisory information with anatomical significance.

[0014] 5. Multi-task enhanced supervision: This refers to introducing an action unit detection task in addition to the main task of micro-expression classification, in order to improve the fine-grained interpretability and stability of features.

[0015] 6. Frobenius Norm: The square root of the sum of the squares of the matrix elements, used to measure the overall size of the matrix. In this method, it is used to measure the overall correlation between the sentiment feature matrix and the noise feature matrix.

[0016] The technical solution of the present invention is as follows:

[0017] The first aspect of the present invention provides a micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement, comprising:

[0018] Step 1: Acquire micro-expression video sequence data and preprocess it, locate the start frame and peak frame, and construct a sample dataset;

[0019] Step 2: Construct a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhanced supervision module;

[0020] The starting frame and peak frame in the sample dataset are encoded with shared weights by a dual-branch feature extraction module to obtain global splicing features.

[0021] By using the orthogonal feature decoupling module, the global spliced ​​features are separated into the emotion subspace and the noise subspace to obtain pure emotion features;

[0022] Micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module to obtain the probability of emotion category and the activation probability of action unit;

[0023] Step 3: Construct a joint loss function to train the micro-expression recognition model, and use the trained micro-expression recognition model to identify micro-expressions and obtain micro-expression categories.

[0024] According to a preferred embodiment of the present invention, the specific implementation process of step 1 includes:

[0025] The micro-expression video sequence is obtained, and face detection, key point localization and geometric alignment are performed on the micro-expression video sequence. After cropping to a uniform resolution, normalization processing is performed to obtain the face region sequence.

[0026] Starting frame for locating face region sequence With peak frames The starting frame was used as the reference for expressionless data, and the peak frame was used as the frame with the most significant expression. Micro-expression keyframe pairs were constructed, and micro-expression category labels and action unit labels were bound to the micro-expression keyframe pairs to obtain the sample dataset.

[0027] According to a preferred embodiment of the present invention, a dual-branch feature extraction module is used to perform shared weight encoding on the starting frame and the peak frame in the sample dataset to obtain global splicing features; including:

[0028] The dual-branch feature extraction module comprises two identical backbone networks with shared weights, which respectively receive the start frame and peak frame from the sample dataset for feature extraction; wherein, the mapping function of the backbone network is... ,in Indicating shared training parameters, the outputs of the two backbone networks are as follows:

[0029] ;

[0030] ;

[0031] in, Indicates a reference feature, Represent target features;

[0032] Performing high-dimensional difference interactions in the feature space yields the difference features, as shown below:

[0033] ;

[0034] in, This represents the difference feature; the target feature and the difference feature are concatenated along the channel dimension to obtain the global concatenated feature, as shown below:

[0035] ;

[0036] in, This indicates a global concatenation feature, and Concat represents the concatenation operation.

[0037] Further preferred, the backbone network is the ResNet-18 network model.

[0038] According to a preferred embodiment of the present invention, the global splicing features are separated into emotional and noise subspaces using an orthogonal feature decoupling module to obtain pure emotional features; including:

[0039] The orthogonal feature decoupling module consists of two identical lightweight projection layers. and Normalization layer, orthogonal projection layer;

[0040] Global splicing features Two lightweight projection layers are input separately and linearly projected to obtain the initial sentiment representation and the initial noise representation, as shown below:

[0041] ;

[0042] ;

[0043] in, This represents the initial emotional representation. Indicates the initial noise characterization;

[0044] The initial noise representation is normalized to the L2 norm through a normalization layer to obtain the noise direction vector, as shown below:

[0045] ;

[0046] in, Represents the noise direction vector. Represents the numerical stability constant;

[0047] The projection vector of the initial sentiment representation onto the noise direction is calculated by an orthogonal projection layer, and the projection component is subtracted from the initial sentiment representation to obtain the orthogonalized pure sentiment features, as shown below:

[0048] ;

[0049] in, Represents pure emotional characteristics; I is the identity matrix; This indicates the calculation of the projection vector, i.e. ;

[0050] Further preferred, lightweight projection layer and Each includes a first linear layer, a first activation function layer, a second linear layer, and a second activation function layer;

[0051] Global splicing features The initial emotion representation or initial noise representation is obtained by sequentially passing through the first linear layer, the first activation function layer, the second linear layer, and the second activation function layer.

[0052] According to a preferred embodiment of the present invention, micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module; including:

[0053] The multi-task enhanced supervision module includes a micro-expression classification branch and a motion unit detection branch;

[0054] Both the micro-expression classification branch and the action unit detection branch include fully connected layers and the Softmax function;

[0055] Pure emotional characteristics Inputting the micro-expression classification branch, we predict the micro-expression category using a fully connected layer and a Softmax function, and output the sentiment category probability, as shown below:

[0056] ;

[0057] in, Represents the probability of sentiment category, Represents the sentiment weight matrix. Represents the sentiment bias vector;

[0058] Pure emotional characteristics The input action unit detection branch performs action unit detection through a fully connected layer and a softmax layer, and outputs the activation probability of the action units:

[0059] ;

[0060] in, This represents the activation probability of an action unit. Represents the action unit weight matrix. This represents the action unit bias vector.

[0061] According to a preferred embodiment of the present invention, step 3 specifically includes the following steps:

[0062] The joint loss function includes micro-expression classification loss, action unit detection loss, and orthogonal decoupling loss, as shown below:

[0063] ;

[0064] in, For micro-expression classification loss, To detect loss for the action unit, This is the orthogonal decoupling loss; and These are non-negative equilibrium hyperparameters;

[0065] The loss for micro-expression classification is defined as:

[0066] ;

[0067] in, This indicates the batch size, and C represents the total number of micro-expression emotion categories. This represents the true one-hot label of the i-th sample in the c-th class of the sample dataset. This represents the probability that the i-th sample belongs to the c-th class.

[0068] The action unit detection loss is defined as:

[0069] ;

[0070] Where M is the total number of action units. These are the positive sample weight coefficients for the action unit. Let be the predicted probability of the j-th action unit of the i-th sample. This represents the true label of the j-th action unit in the i-th sample;

[0071] The orthogonal decoupling loss is defined as:

[0072] ;

[0073] Among them, ||·|| F Represents the Frobenius norm;

[0074] Further preferred, It is 0.1. The value is 0.01. The Adam optimizer is used for updates during training, with 100 training epochs and a batch size of 32.

[0075] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of a micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement.

[0076] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement.

[0077] A second aspect of the present invention provides a micro-expression recognition system based on adaptive feature decoupling and multi-task enhancement, comprising:

[0078] The sample dataset construction module is configured to: acquire micro-expression video sequence data and perform preprocessing, locate the start frame and peak frame, and construct the sample dataset.

[0079] The micro-expression recognition model building module is configured to: build a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhanced supervision module;

[0080] The starting frame and peak frame in the sample dataset are encoded with shared weights by a dual-branch feature extraction module to obtain global splicing features.

[0081] By using the orthogonal feature decoupling module, the global spliced ​​features are separated into the emotion subspace and the noise subspace to obtain pure emotion features;

[0082] Micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module to obtain the probability of emotion category and the activation probability of action unit;

[0083] The training module is configured to: construct a joint loss function to train the micro-expression recognition model, use the trained micro-expression recognition model to perform micro-expression recognition, and obtain the micro-expression category.

[0084] The beneficial effects of this invention are as follows:

[0085] 1. This invention uses a dual-branch differential feature extraction method with the starting frame as a reference to explicitly reduce the interference of static identity texture and background lighting at the source of feature construction, thereby improving the model's sensitivity to subtle dynamic changes.

[0086] 2. This invention constructs an emotion subspace and a noise subspace in the latent space through an orthogonal feature decoupling module, and uses geometric projection to hard-remove noise-related components. Compared with the traditional soft attention suppression method, it has a stronger noise separation capability.

[0087] 3. This invention introduces anatomical prior knowledge into the micro-expression recognition process through a multi-task enhanced supervision mechanism assisted by action units, effectively avoiding the problem of feature semantic collapse after decoupling and enhancing the interpretability and stability of features.

[0088] 4. This invention achieves simultaneous improvement in feature purity and discriminative power by jointly optimizing micro-expression classification loss, action unit detection loss and orthogonal decoupling loss, thereby improving the robustness of the model under head shaking, illumination changes and cross-subject conditions.

[0089] 5. The method of this invention is applicable to micro-expression recognition tasks with different label granularities, such as three-class and five-class classification, and can achieve better performance on public datasets such as CASME II, SAMM, and SMIC, and has good engineering scalability. Attached Figure Description

[0090] Figure 1 This is a structural diagram of the micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement of the present invention;

[0091] Figure 2 This is a schematic diagram of the dual-branch feature extraction module structure of the present invention;

[0092] Figure 3 This is a schematic diagram of the orthogonal feature decoupling module structure of the present invention. Detailed Implementation

[0093] The present invention will be further described below with reference to the embodiments and accompanying drawings, but is not limited thereto.

[0094] Example 1

[0095] Micro-expression recognition methods based on adaptive feature decoupling and multi-task enhancement, such as Figure 1 As shown, it includes:

[0096] Step 1: Acquire micro-expression video sequence data and preprocess it, locate the start frame and peak frame, and construct a sample dataset;

[0097] Step 2: Construct a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhanced supervision module;

[0098] The starting frame and peak frame in the sample dataset are encoded with shared weights by a dual-branch feature extraction module to obtain global splicing features.

[0099] By using the orthogonal feature decoupling module, the global spliced ​​features are separated into the emotion subspace and the noise subspace to obtain pure emotion features;

[0100] Micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module to obtain the probability of emotion category and the activation probability of action unit;

[0101] Step 3: Construct a joint loss function to train the micro-expression recognition model, and use the trained micro-expression recognition model to identify micro-expressions and obtain micro-expression categories.

[0102] Example 2

[0103] The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement described in Example 1 differs in that:

[0104] The specific implementation process of step 1 includes:

[0105] Obtain micro-expression video sequences (e.g., publicly available micro-expression databases such as CASME II, SAMM, and SMIC), perform face detection, key point localization, and geometric alignment on the micro-expression video sequences (using the Dlib toolkit for face detection and 68-point facial key point localization; geometric alignment calculates affine or similar transformations based on key points such as the center of the eyes, the tip of the nose, and the corners of the mouth), and then crop them to a uniform resolution (e.g., 224×224) and normalize them to obtain a face region sequence;

[0106] Starting frame for locating face region sequence With peak frames Using the starting frame as the reference for expressionless faces and the peak frame as the frame with the most significant expression, micro-expression keyframe pairs were constructed. Micro-expression keyframe pairs were then bound to micro-expression category labels and action unit labels (micro-expression category labels include five categories: happiness, disgust, surprise, fear, and sadness, and three categories: positive, negative, and surprise; action unit AU labels are facial action unit labels, such as AU1 inner eyebrow raised, AU2 outer eyebrow raised, AU4 eyebrow lowered, AU5 upper eyelid lifted, AU12 corner of mouth raised, AU17 chin tightened, AU26 / 27 jaw pulled down, etc.) to obtain the sample dataset.

[0107] The starting frame and peak frame in the sample dataset are encoded with shared weights using a dual-branch feature extraction module to obtain global concatenated features; for example... Figure 2 As shown, it includes:

[0108] The dual-branch feature extraction module comprises two identical backbone networks with shared weights, which respectively receive the start frame and peak frame from the sample dataset for feature extraction; wherein, the mapping function of the backbone network is... ,in Indicating shared training parameters, the outputs of the two backbone networks are as follows:

[0109] ;

[0110] ;

[0111] in, Indicates the reference feature (output of the starting frame branch). Represents target features (output of the peak frame branch);

[0112] Performing high-dimensional difference interactions in the feature space yields the difference features, as shown below:

[0113] ;

[0114] in, This represents the difference feature; the target feature and the difference feature are concatenated along the channel dimension to obtain the global concatenated feature, as shown below:

[0115] ;

[0116] in, This indicates a global concatenation feature, and Concat represents the concatenation operation.

[0117] The backbone network is a ResNet-18 network model (including 7×7 convolution, normalization, activation function and four basic blocks; each basic block includes max pooling, 3×3 convolution, normalization, activation function, 3×3 convolution, normalization, residual connection and activation function).

[0118] The orthogonal feature decoupling module separates the global spliced ​​features into emotional and noise subspaces, resulting in pure emotional features; for example... Figure 3 As shown, it includes:

[0119] The orthogonal feature decoupling module consists of two identical lightweight projection layers. and Normalization layer, orthogonal projection layer;

[0120] Global splicing features Two lightweight projection layers are input separately and linearly projected to obtain the initial sentiment representation and the initial noise representation, as shown below:

[0121] ;

[0122] ;

[0123] in, This represents the initial emotional representation. Indicates the initial noise characterization;

[0124] The initial noise representation is normalized to the L2 norm through a normalization layer to obtain the noise direction vector, as shown below:

[0125] ;

[0126] in, Represents the noise direction vector. Represents the numerical stability constant (e.g.) );

[0127] The projection vector of the initial sentiment representation onto the noise direction is calculated by an orthogonal projection layer, and the projection component is subtracted from the initial sentiment representation to obtain the orthogonalized pure sentiment features, as shown below:

[0128] ;

[0129] in, Represents pure emotional characteristics; I is the identity matrix; This indicates the calculation of the projection vector, i.e. Orthogonal projection layer operations are used to explicitly remove components that are collinear with the direction of noise, thereby enhancing the purity of emotional representations.

[0130] Lightweight projection layer and Each includes a first linear layer, a first activation function layer, a second linear layer, and a second activation function layer;

[0131] Global splicing features The initial sentiment representation or initial noise representation is obtained by sequentially passing through the first linear layer, the first activation function layer (ReLU activation function), the second linear layer, and the second activation function layer (ReLU activation function).

[0132] Micro-expression category prediction and action unit detection are performed using a multi-task enhanced supervision module; including:

[0133] The multi-task enhanced supervision module includes a micro-expression classification branch and a motion unit detection branch;

[0134] Both the micro-expression classification branch and the action unit detection branch include fully connected layers and the Softmax function;

[0135] Pure emotional characteristics Inputting the micro-expression classification branch, we predict the micro-expression category using a fully connected layer and a Softmax function, and output the sentiment category probability, as shown below:

[0136] ;

[0137] in, Represents the probability of sentiment category, Represents the sentiment weight matrix. Represents the sentiment bias vector;

[0138] Pure emotional characteristics The input action unit detection branch performs action unit detection through a fully connected layer and a softmax layer, and outputs the activation probability of the action units:

[0139] ;

[0140] in, This represents the activation probability of an action unit. Represents the action unit weight matrix. The action unit bias vector is represented by the micro-expression classification branch, which is a multi-classification task, and the action unit detection branch is a multi-label binary classification task. The action unit detection branch is used to introduce anatomically significant local priors to prevent semantic collapse during orthogonal decoupling.

[0141] The specific implementation process of step 3 includes:

[0142] The joint loss function includes micro-expression classification loss, action unit detection loss, and orthogonal decoupling loss, as shown below:

[0143] ;

[0144] in, The loss for micro-expression classification is multi-class cross-entropy loss. The action unit detection loss is the weighted binary cross-entropy loss for action unit detection. This is the orthogonal decoupling loss (batch-level orthogonal decoupling loss). and These are non-negative equilibrium hyperparameters;

[0145] The loss for micro-expression classification is defined as:

[0146] ;

[0147] in, This indicates the batch size, and C represents the total number of micro-expression emotion categories. This represents the true one-hot label of the i-th sample in the c-th class of the sample dataset, with a value of 0 or 1. This represents the probability that the i-th sample belongs to the c-th class.

[0148] The action unit detection loss is defined as:

[0149] ;

[0150] Where M is the total number of action units (the number of preset action unit AU label dimensions in the auxiliary action unit AU detection task). These are the positive sample weight coefficients for the action unit. Let be the predicted probability of the j-th action unit of the i-th sample. This represents the true label of the j-th action unit in the i-th sample;

[0151] The orthogonal decoupling loss is defined as:

[0152] ;

[0153] Among them, ||·|| F Represents the Frobenius norm;

[0154] It is 0.1. The value is 0.01. The Adam optimizer is used for updates during training. The number of training epochs is 100, the batch size is 32, and leave-one-out cross-validation strategy is used to evaluate the micro-expression recognition model.

[0155] Micro-expression recognition tests were performed on raw videos from the CASME II, SAMM, and SMIC datasets. The five-class classification task was performed on the CASME II and SAMM datasets, and the three-class classification task was performed on the CASME II, SAMM, and SMIC datasets.

[0156] Table 1. Results of the Five-Classification Test;

[0157]

[0158] Table 2. Results of the three-class classification test;

[0159]

[0160] The test results of this invention are compared with existing traditional methods and deep learning methods, as shown in Tables 1 and 2. In the five-class classification task, the method of this invention achieves 92.2% accuracy, 90.3% UF1, and 91.9% UAR on the CASME II dataset, and 86.1% accuracy, 81.7% UF1, and 81.0% UAR on the SAMM dataset. In the three-class classification task, the method of this invention achieves 93.0%, 88.0%, and 81.7% accuracy on the CASME II, SAMM, and SMIC datasets, respectively, demonstrating good overall recognition performance and cross-subject robustness.

[0161] Example 3

[0162] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement described in Embodiment 1 or 2.

[0163] Example 4

[0164] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement described in Embodiment 1 or 2.

[0165] Example 5

[0166] A micro-expression recognition system based on adaptive feature decoupling and multi-task enhancement includes:

[0167] The sample dataset construction module is configured to: acquire micro-expression video sequence data and perform preprocessing, locate the start frame and peak frame, and construct the sample dataset.

[0168] The micro-expression recognition model building module is configured to: build a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhanced supervision module;

[0169] The starting frame and peak frame in the sample dataset are encoded with shared weights by a dual-branch feature extraction module to obtain global splicing features.

[0170] By using the orthogonal feature decoupling module, the global spliced ​​features are separated into the emotion subspace and the noise subspace to obtain pure emotion features;

[0171] Micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module to obtain the probability of emotion category and the activation probability of action unit;

[0172] The training module is configured to: construct a joint loss function to train the micro-expression recognition model, use the trained micro-expression recognition model to perform micro-expression recognition, and obtain the micro-expression category.

Claims

1. A micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement, characterized in that, include: Step 1: Acquire micro-expression video sequence data and preprocess it, locate the start frame and peak frame, and construct a sample dataset; Step 2: Construct a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhanced supervision module; The starting frame and peak frame in the sample dataset are encoded with shared weights by a dual-branch feature extraction module to obtain global splicing features. By using the orthogonal feature decoupling module, the global spliced ​​features are separated into the emotion subspace and the noise subspace to obtain pure emotion features; Micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module to obtain the probability of emotion category and the activation probability of action unit; Step 3: Construct a joint loss function to train the micro-expression recognition model, and use the trained micro-expression recognition model to identify micro-expressions and obtain micro-expression categories.

2. The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement according to claim 1, characterized in that, The specific implementation process of step 1 includes: The micro-expression video sequence is obtained, and face detection, key point localization and geometric alignment are performed on the micro-expression video sequence. After cropping to a uniform resolution, normalization processing is performed to obtain the face region sequence. Starting frame for locating face region sequence With peak frames The starting frame was used as the reference for expressionless data, and the peak frame was used as the frame with the most significant expression. Micro-expression keyframe pairs were constructed, and micro-expression category labels and action unit labels were bound to the micro-expression keyframe pairs to obtain the sample dataset.

3. The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement according to claim 2, characterized in that, The starting frame and peak frame in the sample dataset are encoded with shared weights using a dual-branch feature extraction module to obtain global concatenated features; including: The dual-branch feature extraction module comprises two identical backbone networks with shared weights, which respectively receive the start frame and peak frame from the sample dataset for feature extraction; wherein, the mapping function of the backbone network is... ,in Indicating shared training parameters, the outputs of the two backbone networks are as follows: ; ; in, Indicates a reference feature, Represent target features; Performing high-dimensional difference interactions in the feature space yields the difference features, as shown below: ; in, This represents the difference feature; the target feature and the difference feature are concatenated along the channel dimension to obtain the global concatenated feature, as shown below: ; in, This indicates the global concatenation feature; Concat represents the concatenation operation. Further preferred, the backbone network is the ResNet-18 network model.

4. The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement according to claim 3, characterized in that, The global spliced ​​features are separated into sentiment and noise subspaces using an orthogonal feature decoupling module to obtain pure sentiment features; including: The orthogonal feature decoupling module consists of two identical lightweight projection layers. and Normalization layer, orthogonal projection layer; Global splicing features Two lightweight projection layers are input separately and linearly projected to obtain the initial sentiment representation and the initial noise representation, as shown below: ; ; in, This represents the initial emotional representation. Indicates the initial noise characterization; The initial noise representation is normalized to the L2 norm through a normalization layer to obtain the noise direction vector, as shown below: ; in, Represents the noise direction vector. Represents the numerical stability constant; The projection vector of the initial sentiment representation onto the noise direction is calculated by an orthogonal projection layer, and the projection component is subtracted from the initial sentiment representation to obtain the orthogonalized pure sentiment features, as shown below: ; in, Represents pure emotional characteristics; I is the identity matrix; This indicates the calculation of the projection vector, i.e. ; Further preferred, lightweight projection layer and Each includes a first linear layer, a first activation function layer, a second linear layer, and a second activation function layer; Global splicing features The initial emotion representation or initial noise representation is obtained by sequentially passing through the first linear layer, the first activation function layer, the second linear layer, and the second activation function layer.

5. The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement according to claim 4, characterized in that, Micro-expression category prediction and action unit detection are performed using a multi-task enhanced supervision module; including: The multi-task enhanced supervision module includes a micro-expression classification branch and a motion unit detection branch; Both the micro-expression classification branch and the action unit detection branch include fully connected layers and the Softmax function; Pure emotional characteristics Inputting the micro-expression classification branch, we predict the micro-expression category using a fully connected layer and a Softmax function, and output the sentiment category probability, as shown below: ; in, Represents the probability of sentiment category, Represents the sentiment weight matrix. Represents the sentiment bias vector; Pure emotional characteristics The input action unit detection branch performs action unit detection through a fully connected layer and a softmax layer, and outputs the activation probability of the action units: ; in, This represents the activation probability of an action unit. Represents the action unit weight matrix. This represents the action unit bias vector.

6. The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement according to claim 5, characterized in that, The specific implementation process of step 3 includes: The joint loss function includes micro-expression classification loss, action unit detection loss, and orthogonal decoupling loss, as shown below: ; in, For micro-expression classification loss, To detect loss for the action unit, This is the orthogonal decoupling loss; and These are non-negative equilibrium hyperparameters; The loss for micro-expression classification is defined as: ; in, This indicates the batch size, and C represents the total number of micro-expression emotion categories. This represents the true one-hot label of the i-th sample in the c-th class of the sample dataset. This represents the probability that the i-th sample belongs to the c-th class. The action unit detection loss is defined as: ; Where M is the total number of action units. These are the positive sample weight coefficients for the action unit. Let be the predicted probability of the j-th action unit of the i-th sample. This represents the true label of the j-th action unit in the i-th sample; The orthogonal decoupling loss is defined as: ; Among them, ||·|| F This represents the Frobenius norm.

7. The micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement according to claim 6, characterized in that, It is 0.

1. The value is 0.

01. The Adam optimizer is used for updates during training, with 100 training epochs and a batch size of 32.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement as described in any one of claims 1-7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the micro-expression recognition method based on adaptive feature decoupling and multi-task enhancement as described in any one of claims 1-7.

10. A micro-expression recognition system based on adaptive feature decoupling and multi-task enhancement, characterized in that, include: The sample dataset construction module is configured to: acquire micro-expression video sequence data and perform preprocessing, locate the start frame and peak frame, and construct the sample dataset. The micro-expression recognition model building module is configured to: build a micro-expression recognition model, including a dual-branch feature extraction module, an orthogonal feature decoupling module, and a multi-task enhanced supervision module; The starting frame and peak frame in the sample dataset are encoded with shared weights by a dual-branch feature extraction module to obtain global splicing features. By using the orthogonal feature decoupling module, the global spliced ​​features are separated into the emotion subspace and the noise subspace to obtain pure emotion features; Micro-expression category prediction and action unit detection are performed through a multi-task enhanced supervision module to obtain the probability of emotion category and the activation probability of action unit; The training module is configured to: construct a joint loss function to train the micro-expression recognition model, use the trained micro-expression recognition model to perform micro-expression recognition, and obtain the micro-expression category.