Micro-expression recognition method based on motion learning and image feature representation fusion

By adopting a heterogeneous information fusion mechanism and deep learning model in micro-expression recognition, the facial muscle movement and RGB image features are deeply fused, which solves the problem of lack of noise and facial texture information in the existing technology, and improves the recognition accuracy and model performance.

CN118609186AActive Publication Date: 2024-09-06QILU UNIVERSITY OF TECHNOLOGY (SHANDONG ACADEMY OF SCIENCES)

Patent Information

Application Number
CN202410746524.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-06
Estimated Expiration
2044-06-11

Smart Images

  • Figure CN118609186A
    Figure CN118609186A
Patent Text Reader

Abstract

The invention belongs to the field of expression recognition, and provides a micro-expression recognition method based on motion learning and image feature representation fusion, and the technical scheme is that the method comprises three parts: a motion learning stream, an image feature representation stream and a heterogeneous information fusion mechanism. The method comprises the following steps: firstly, extracting multi-scale facial muscle motion features related to micro expressions from inter-frame motion information by a motion learning stream; secondly, the image feature representation stream gradually extracts local and global facial details and semantic features from the top frame image; finally, a heterogeneous information fusion mechanism is provided, and information interaction between the motion features and the image features and fusion of classified information are achieved. Specifically, the cross fusion module aims to fuse features extracted from two streams, thereby producing a more comprehensive, richer image and motion feature mutual influence and enhanced representation. According to the result integration strategy, the results of the two streams are used as classification results of the model, and different feature information is further integrated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of expression recognition, and in particular relates to a micro-expression recognition method based on the fusion of motion learning and image feature representation. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Micro-expressions are produced by slight movements of facial muscles. The intensity of the movement is very weak and the duration is only 0.25 to 0.5 seconds. Micro-expression recognition aims to analyze the real emotions expressed by people by identifying micro-expressions. It is widely used in depression detection, lie detection and human-computer interaction.

[0004] In recent years, the important practical value of micro-expression analysis has received widespread attention. In the early stage of micro-expression recognition research, many scholars extracted micro-expression features based on traditional learning methods and performed micro-expression recognition, which promoted the development of micro-expression analysis. These methods extract micro-expression features based on local binary patterns, gradient histograms, and optical flow, and then input the features into the classifier for classification. However, traditional methods require manual feature design or selection of appropriate methods based on expert experience, which brings challenges to feature extraction and limits the generalization ability of the model.

[0005] With the development of deep learning, micro-expression recognition methods based on deep learning have attracted more and more attention from scholars. Compared with traditional learning methods, the performance of micro-expression recognition methods based on deep learning frameworks has been further improved. Micro-expression recognition methods based on deep learning automatically learn high-level feature representations through deep neural network models and classify images containing micro-expressions, thereby improving the performance and generalization ability of the model. Among them, these micro-expression recognition methods based on deep learning are divided into three categories according to network input: methods using motion information, methods using RGB image information, and methods combining the two types of information. The method using motion information captures the weak muscle movement in the micro-expression image by analyzing the changes in pixels between the start frame and the top frame, and the deep learning model learns muscle movement features to classify micro-expressions. RGB images contain the subject's facial texture information, facial muscle movement information, and personal identity information. The method using RGB image information can provide a large number of learnable features for the deep learning model. The existing method combining the two types of information combines motion information and RGB image information to obtain a more comprehensive and rich feature representation, thereby improving the learning and generalization ability of the model.

[0006] However, the existing deep learning models do not achieve good recognition accuracy. The main problems are as follows:

[0007] (1) Since the collected micro-expression dataset contains background, the motion information extracted by optical flow may contain some background information. Therefore, using only motion information for micro-expression recognition may introduce noise. At the same time, the network lacks the facial texture information of the subject, resulting in poor performance of the model;

[0008] (2) In the field of micro-expression recognition, it is crucial to accurately extract the movement characteristics of facial muscles. However, RGB images are easily affected by lighting changes and resolution limitations, which makes it impossible for the model to accurately obtain facial muscle movements, affecting model performance;

[0009] (3) Existing methods for combining motion information and RGB image information simply stack the optical flow image and the RGB image and then use a deep learning model to extract features for classification, or stack the optical flow features and RGB image features extracted by the deep learning model and then directly classify them. The features of the two images are not deeply fused, which limits the performance of the model. Summary of the invention

[0010] In order to solve at least one technical problem existing in the above-mentioned background technology, the present invention provides a micro-expression recognition method based on the fusion of motion learning and image feature representation, which utilizes the heterogeneous information fusion mechanism to realize the information interaction between motion features and image features and the fusion of classification information, thereby effectively improving the accuracy of micro-expression recognition.

[0011] In order to achieve the above object, the present invention adopts the following technical solution:

[0012] A first aspect of the present invention provides a micro-expression recognition method based on motion learning and image feature representation fusion, comprising the following steps:

[0013] Obtain an RGB image containing micro-expressions and extract facial muscle movement information from the RGB image;

[0014] Combine facial muscle movement information with motion learning flow to extract facial muscle movement features;

[0015] Combine the RGB image with the image feature representation stream to extract image features;

[0016] Based on facial muscle movement features, image features and a constructed heterogeneous information fusion mechanism, a micro-expression recognition result is obtained; wherein the construction process of the heterogeneous information fusion mechanism includes:

[0017] The levels of the motion learning stream and the image feature representation stream correspond one to one. The facial muscle motion features and image features extracted in the previous level are converted into corresponding queries, keys and values. After passing through a multi-head cross-attention layer, the query represented by the image feature is multiplied by the key of the motion feature to determine the attention weight. The attention weight and the value of the motion feature interact with each other to obtain the output of the attention head. The outputs of all attention heads are connected to obtain the cross-fused facial muscle motion features and image features, which are added to the facial muscle motion features and image features extracted in the previous level as the input of the next level. The facial muscle motion features and image features output by the last layer of the motion learning stream and the image feature representation stream are combined for classification to obtain the micro-expression classification result.

[0018] Furthermore, the facial muscle movement information is combined with the motion learning flow to extract facial muscle movement features, including:

[0019] The motion learning flow includes a multi-level structure. In each level, facial muscle movement information is used as the input of a Transformer model. The Transformer model includes a multi-head self-attention module and a multi-layer perceptron module. The facial muscle movement information is subjected to the multi-head self-attention module to extract local muscle movement information to obtain a first facial muscle movement feature. The first facial muscle movement feature and the facial muscle movement information are fused as the input of the multi-layer perceptron module. The second facial muscle movement feature is extracted by the multi-layer perceptron module. The second facial muscle movement feature and the input of the multi-layer perceptron module are combined and aggregated by an aggregation layer to obtain the local and global facial semantic information of the level.

[0020] Furthermore, the step of combining the RGB image with the image feature representation stream to extract image features includes:

[0021] The image feature representation flow includes a multi-level structure. In each level, a convolution operation is performed on the RGB image to extract fine-grained features in the local area of ​​the face. The fine-grained features are combined and a pooling layer is used to aggregate the fine-grained features learned by the convolution operation to obtain the image features of this level.

[0022] Furthermore, the start frame and the top frame images are obtained from the RGB image, and the horizontal optical flow, vertical optical flow and optical strain are extracted using the optical flow method. The horizontal optical flow, vertical optical flow and optical strain are superimposed in the spatial dimension as the facial muscle movement information.

[0023] Furthermore, the method also includes preprocessing the RGB image and the facial muscle movement information, including:

[0024] Four main facial coordinate points are detected in the top frame image, namely the left eye, the right eye, the left corner of the mouth and the right corner of the mouth; based on these four coordinate points, the RGB image and the facial muscle movement information are cropped to obtain the cropped RGB image and the facial muscle movement information.

[0025] Furthermore, after obtaining the facial detail features, position embedding is added to the facial detail features to obtain facial detail features with added spatial position information.

[0026] Furthermore, when the facial muscle motion features and image features outputted by the last layer of the motion learning stream and the image feature representation stream are combined, the normalized scores of the facial muscle motion features and the image features are added proportionally.

[0027] A second aspect of the present invention provides a micro-expression recognition system based on motion learning and image feature representation fusion, comprising:

[0028] A data acquisition module, which is used to acquire RGB images containing micro-expressions and extract facial muscle movement information from the RGB images;

[0029] A feature extraction module is used to combine facial muscle movement information with a motion learning stream to extract facial muscle movement features; and to combine an RGB image with an image feature representation stream to extract image features;

[0030] A heterogeneous information fusion mechanism is used to obtain micro-expression recognition results based on facial muscle movement features, image features and the constructed heterogeneous information fusion mechanism; wherein the construction process of the heterogeneous information fusion includes:

[0031] The levels of the motion learning stream and the image feature representation stream correspond one to one. The facial muscle motion features and image features extracted in the previous level are converted into corresponding queries, keys and values. After passing through a multi-head cross-attention layer, the query represented by the image feature is multiplied by the key of the motion feature to determine the attention weight. The attention weight and the value of the motion feature interact with each other to obtain the output of the attention head. The outputs of all attention heads are connected to obtain the cross-fused facial muscle motion features and image features, which are added to the facial muscle motion features and image features extracted in the previous level as the input of the next level. The facial muscle motion features and image features output by the last layer of the motion learning stream and the image feature representation stream are combined for classification to obtain the micro-expression classification result.

[0032] A third aspect of the present invention provides a computer-readable storage medium.

[0033] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the micro-expression recognition method based on the fusion of motion learning and image feature representation as described above.

[0034] A fourth aspect of the present invention provides a computer device.

[0035] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the micro-expression recognition method based on motion learning and image feature representation fusion as described above are implemented.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] 1. The present invention deeply integrates motion information and RGB image information. The motion learning flow extracts multi-scale motion features from micro-expression motion information based on the Transformer layer and the aggregation layer. The top frame image learns the multi-scale detail features of the subject's face through the image feature representation flow. Combining the motion learning flow and the image feature representation flow, the advantages of motion features and facial detail features are applied to the micro-expression recognition task. The two complement each other, so that the algorithm can extract richer features and describe the facial features and expression status of the subject in a more comprehensive and detailed manner.

[0038] 2. The present invention fuses motion features and facial detail features at multiple scales through a heterogeneous information fusion mechanism and uses them for micro-expression classification. The cross-fusion module aims to fuse the features extracted from the two streams to produce a more comprehensive and richer representation, in which image features and motion features influence and enhance each other. The result integration strategy integrates the results of the two streams as the classification result of the model, further integrating different feature information.

[0039] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0041] Figure 1 It is an overall framework diagram of a micro-expression recognition method based on motion learning and image feature representation fusion provided by an embodiment of the present invention;

[0042] Figure 2 is a hierarchical structure of a motion learning flow provided by an embodiment of the present invention;

[0043] Figure 3 It is a schematic diagram of a cross-fusion module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0045] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0046] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0047] This paper proposes a micro-expression recognition fusion method based on motion learning and image feature representation, which is used to fuse and classify micro-expression motion information and RGB image information. The overall framework of the fusion method is as follows: Figure 1 As shown in Figure 2, the fusion network consists of a preprocessing module, a feature extraction module, and a heterogeneous information fusion mechanism.

[0048] like Figure 1 As shown in (a), in the preprocessing stage, the original image is cropped and motion information is extracted.

[0049] like Figure 1 As shown in (b), the feature extraction module consists of a motion learning stream and an image feature representation stream, which respectively perform facial muscle motion feature learning and facial detail feature learning.

[0050] Figure 1 The motion learning flow in (b) uses the motion information between the start frame and the vertex frame as input. Figure 1 The image feature representation flow in (b) uses an image in the starting frame and the vertex frame as input. The present invention uses the vertex frame as the input of the model in the image feature representation flow. The heterogeneous information fusion mechanism combines the multi-scale motion features and the multi-scale facial detail features through a cross-fusion module, and then uses a result integration strategy to fuse the two classification results.

[0051] Embodiment 1

[0052] This embodiment provides a micro-expression recognition fusion method based on motion learning and image feature representation, comprising the following steps:

[0053] Step 1: Obtain an RGB image containing micro-expressions and extract the subject's facial muscle movement information from the image to obtain horizontal optical flow, vertical optical flow, and optical strain.

[0054] In this embodiment, the RGB image containing micro-expressions adopts a composite dataset (MEGC2019) composed of three datasets: SAMM, CASME II and SMIC, and the start frame and top frame images of each subject are obtained from MEGC2019.

[0055] MEGC2019 includes a total of 68 subjects, including 28 from SAMM, 24 from CASME II, and 16 from SMIC. MEGC2019 includes a total of 442 samples from all three datasets and classifies all samples into three categories: positive, negative, and surprise.

[0056] Use the starting frame image x of each subject in the MEGC2019 dataset onset and the top frame image x apex , use the optical flow method to extract the horizontal optical flow x u , vertical optical flow x v and light strain x o , stacking them in the spatial dimension as the subject's facial muscle movement information x m =Concat(x u ,x v ,x o ).

[0057] Step 2: Preprocess the RGB image and facial muscle movement information;

[0058] The preprocessing of the RGB image and the facial muscle movement information includes face detection and face cropping.

[0059] In this embodiment, Multi-task Cascaded Convolutional Networks (MTCNN) is used to extract the top frame image x of each subject. apex Four main facial coordinate points are detected, namely the left eye, the right eye, the left corner of the mouth and the right corner of the mouth; based on these four coordinate points, the motion information x m and the top frame image x apex Perform facial cropping to obtain cropped motion information and RGB images

[0060] Step 3: The cropped motion information Input motion learning flow, use Transformer model and aggregation layer to extract multi-scale facial muscle motion features, and transform motion information Input motion learning flow, using three levels of Transformer model Transformer i (·) and Aggregationi (·) Capture multi-scale muscle motion features

[0061] The specific calculation method is as follows:

[0062] The motion information input by the motion learning flow is represented as Where H and W are the length and width of the cropped image, respectively, and C is the number of channels of the image;

[0063] like Figure 2 As shown in Figure 1, in each level of the motion learning flow, a Transformer model with a local self-attention mechanism is used to represent local muscle motion information; an aggregation layer is used to extract local and global facial semantic information and learn the interaction of eye and lip area features; the input of the Transformer model in the i-th level is i=1,2,3, the feature extraction process can be expressed as:

[0064]

[0065] Among them, MHSA i (·), MLP i (·) respectively represent the multi-head self-attention module and multi-layer perceptron module of the Transformer model in the i-th level structure, Transformer i (·) represents the Transformer model in the i-th level structure, represents the output of the Transformer model in the i-th level structure. The layer normalization part is not reflected in the formula.

[0066] The input of the aggregation layer in the i-th level structure is Convolution and pooling operations are used to aggregate features. The convolution kernel of the convolution operation The size is 3, the step size is 1, and the padding is 1; the pooling operation uses maximum pooling The kernel size is 3, the step size is 2, and the padding is 1, so the aggregation layer can be expressed as:

[0067]

[0068] in is the output of the i-th level structure.

[0069] Step 4: Input the image feature representation stream to the cropped RGB image, and use a convolutional neural network to extract local and global facial details and semantic features in the RGB image.

[0070] The specific process is: RGB image The facial muscles are divided into four parts according to their intensity and fed into the image feature representation stream, which is composed of three levels of convolution and aggregation layers to extract the facial texture and detail features of the subject. In particular, the convolution operation Only a convolution kernel of size 1 is used to extract features, which helps to extract fine-grained features from local areas of the face in a small range; a pooling layer is used The features learned by the convolution operation are aggregated to facilitate the model to learn coarse-grained facial features; the model is defined as:

[0071]

[0072] in, Respectively represent the convolution operation and pooling operation in the i-th level structure, is the output of the i-th level structure.

[0073] Step 5: The features extracted from the motion learning stream and the image feature representation stream are used to realize the information interaction and classification information fusion between motion features and image features using the heterogeneous information fusion mechanism, and the micro-expressions are divided into three categories: "positive", "negative" and "surprise".

[0074] The specific method is as follows: The heterogeneous information fusion mechanism includes two key parts: the cross fusion module aims to combine muscle motion features with image feature representations, and the result integration strategy aims to coordinate the classification results of the two streams.

[0075] like Figure 3 As shown, the cross-fusion module is added between each level of the motion learning stream and the image feature representation stream to integrate the features of the two streams and enhance the model's understanding of micro-expressions.

[0076] The cross-fusion module includes layer normalization, linear layer, multi-head cross-attention layer and multi-layer perceptron. The input of the cross-fusion module consists of two parts, one is from the motion learning stream The other part is the facial detail features of the image feature representation stream Positional Embedding Added to facial details To help the model understand the spatial position information of each subject's face, the facial detail features after adding the position embedding are:

[0077]

[0078] The cross fusion module first transforms and The input features are mapped to a higher-dimensional space through the conversion, so as to better capture the relationship between different elements. Then, the multi-head cross-attention layer uses the cross-attention mechanism of z attention heads to focus on the information of different subspaces and capture richer feature information. In the jth attention head of the multi-head cross-attention layer, the query represented by the image feature is converted to the corresponding query, key, and value. Keys to sports features Multiply them to determine the attention weight, which represents the correlation between them. Then, the attention weight is combined with the motion feature The values ​​interact with each other and calculate the output of the jth attention head. The output of the multi-head cross attention layer is obtained by connecting the outputs of the z attention heads, that is:

[0079]

[0080] Where j=1,2,...,z is the index of the attention head, n=v and n=m refer to the operations of the image feature representation flow and motion learning flow respectively. is to scale the values ​​to prevent gradient explosion.

[0081] The outputs of the two multi-head cross attention layers are respectively put into the multi-layer perceptron to obtain the two outputs of the cross fusion module. The model is expressed in mathematical formula as follows:

[0082]

[0083] Among them, MLP m (·), MLP v (·) denotes the multilayer perceptrons of the motion learning stream and the image feature representation stream, respectively, and LN(·) denotes layer normalization; and Represents the output of the i-th cross-fusion module.

[0084]

[0085] in and They are used as input to the next hierarchy of the motion learning stream and the image feature representation stream, respectively.

[0086] The result integration strategy uses two classifiers to classify the features of the two streams respectively. Then, the normalized scores of the two streams are added proportionally to obtain the classification result of the model. If one stream performs poorly in some cases, the other stream can make up for its shortcomings, thereby improving the overall classification performance. The model is expressed by the following mathematical formula:

[0087]

[0088] in, is the final output of the classification model, λ1 and λ2 are hyperparameters, and The multi-layer perceptron inputs are the motion learning stream and the image feature representation stream respectively.

[0089] Embodiment 2

[0090] This embodiment provides a micro-expression recognition system based on motion learning and image feature representation fusion, including:

[0091] A data acquisition module, which is used to acquire RGB images containing micro-expressions and extract facial muscle movement information from the RGB images;

[0092] A feature extraction module is used to combine facial muscle movement information with a motion learning stream to extract facial muscle movement features; and to combine an RGB image with an image feature representation stream to extract image features;

[0093] A heterogeneous information fusion mechanism is used to obtain micro-expression recognition results based on facial muscle movement features, image features and a constructed heterogeneous information fusion model; wherein the construction process of the heterogeneous information fusion includes:

[0094] The levels of the motion learning stream and the image feature representation stream correspond one to one. The facial muscle motion features and image features extracted in the previous level are converted into corresponding queries, keys and values. After passing through a multi-head cross-attention layer, the query represented by the image feature is multiplied by the key of the motion feature to determine the attention weight. The attention weight and the value of the motion feature interact with each other to obtain the output of the attention head. The outputs of all attention heads are connected to obtain the cross-fused facial muscle motion features and image features, which are added to the facial muscle motion features and image features extracted in the previous level as the input of the next level. The facial muscle motion features and image features output by the last layer of the motion learning stream and the image feature representation stream are combined for classification to obtain the micro-expression classification result.

[0095] Embodiment 3

[0096] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps in the micro-expression recognition method based on the fusion of motion learning and image feature representation as described above are implemented.

[0097] Embodiment 4

[0098] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the micro-expression recognition method based on motion learning and image feature representation fusion as described above are implemented.

[0099] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0100] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0103] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A micro-expression recognition method based on motion learning and image feature representation fusion, characterized in that: The steps include: Obtain an RGB image containing micro-expressions and extract facial muscle movement information from the RGB image; Combine facial muscle movement information with motion learning flow to extract facial muscle movement features; Combine the RGB image with the image feature representation stream to extract image features; Based on facial muscle movement features, image features and a constructed heterogeneous information fusion mechanism, micro-expression recognition results are obtained; wherein the construction process of the heterogeneous information fusion includes: The levels of the motion learning stream and the image feature representation stream correspond one to one. The facial muscle motion features and image features extracted in the previous level are converted into corresponding queries, keys and values. After passing through a multi-head cross-attention layer, the query represented by the image feature is multiplied by the key of the motion feature to determine the attention weight. The attention weight and the value of the motion feature interact with each other to obtain the output of the attention head. The outputs of all attention heads are connected to obtain the cross-fused facial muscle motion features and image features, which are added to the facial muscle motion features and image features extracted in the previous level as the input of the next level. The facial muscle motion features and image features output by the last layer of the motion learning stream and the image feature representation stream are combined for classification to obtain the micro-expression classification result.

2. A micro-expression recognition method based on motion learning and image feature representation fusion as claimed in claim 1, characterized in that: The step of combining facial muscle movement information with a motion learning flow to extract facial muscle movement features includes: The motion learning flow includes a multi-level structure. In each level, facial muscle movement information is used as the input of a Transformer model. The Transformer model includes a multi-head self-attention module and a multi-layer perceptron module. The facial muscle movement information is subjected to the multi-head self-attention module to extract local muscle movement information to obtain a first facial muscle movement feature. The first facial muscle movement feature and the facial muscle movement information are fused as the input of the multi-layer perceptron module. The second facial muscle movement feature is extracted by the multi-layer perceptron module. The second facial muscle movement feature and the input of the multi-layer perceptron module are combined and aggregated by an aggregation layer to obtain the local and global facial semantic information of the level.

3. A micro-expression recognition method based on motion learning and image feature representation fusion as claimed in claim 1, characterized in that: The step of combining the RGB image with the image feature representation stream to extract image features includes: The image feature representation flow includes a multi-level structure. In each level, a convolution operation is performed on the RGB image to extract fine-grained features in the local area of ​​the face. The fine-grained features are combined and a pooling layer is used to aggregate the fine-grained features learned by the convolution operation to obtain the image features of this level.

4. A micro-expression recognition method based on motion learning and image feature representation fusion as claimed in claim 1, characterized in that: The extracting facial muscle movement information from the RGB image comprises: The start frame and the top frame images are obtained from the RGB image, and the horizontal optical flow, vertical optical flow and optical strain are extracted using the optical flow method. The horizontal optical flow, vertical optical flow and optical strain are superimposed in the spatial dimension as the facial muscle movement information.

5. A micro-expression recognition method based on motion learning and image feature representation fusion as claimed in claim 1, characterized in that: The method also includes preprocessing the RGB image and the facial muscle movement information, including: Four main facial coordinate points are detected in the top frame image, namely the left eye, the right eye, the left corner of the mouth and the right corner of the mouth; based on these four coordinate points, the RGB image and the facial muscle movement information are cropped to obtain the cropped RGB image and the facial muscle movement information.

6. A micro-expression recognition method based on motion learning and image feature representation fusion as claimed in claim 1, characterized in that: After obtaining the facial detail features, position embedding is added to the facial detail features to obtain facial detail features with added spatial position information.

7. A micro-expression recognition method based on motion learning and image feature representation fusion as claimed in claim 1, characterized in that: When combining the facial muscle motion features and image features output by the last layer of the motion learning stream and the image feature representation stream, the normalized scores of the facial muscle motion features and the image features are added proportionally.

8. A micro-expression recognition system based on motion learning and image feature representation fusion, characterized in that: include: A data acquisition module, which is used to acquire RGB images containing micro-expressions and extract facial muscle movement information from the RGB images; A feature extraction module is used to combine facial muscle movement information with a motion learning stream to extract facial muscle movement features; and to combine an RGB image with an image feature representation stream to extract image features; A heterogeneous information fusion mechanism is used to obtain micro-expression recognition results based on facial muscle movement features, image features and a constructed heterogeneous information fusion model; wherein the construction process of the heterogeneous information fusion includes: The levels of the motion learning stream and the image feature representation stream correspond one to one. The facial muscle motion features and image features extracted in the previous level are converted into corresponding queries, keys and values. After passing through a multi-head cross-attention layer, the query represented by the image feature is multiplied by the key of the motion feature to determine the attention weight. The attention weight and the value of the motion feature interact with each other to obtain the output of the attention head. The outputs of all attention heads are connected to obtain the cross-fused facial muscle motion features and image features, which are added to the facial muscle motion features and image features extracted in the previous level as the input of the next level. The facial muscle motion features and image features output by the last layer of the motion learning stream and the image feature representation stream are combined for classification to obtain the micro-expression classification result.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in a micro-expression recognition method based on motion learning and image feature representation fusion as described in any one of claims 1 to 7 are implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the micro-expression recognition method based on motion learning and image feature representation fusion as described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Stereoscopic vision comfort level evaluation method based on motion features inside area of interest

    CN103096122A

  • Micro-expression recognition method based on graph deep learning and face three-dimensional reconstruction

    CN114333002A

  • Micro-expression recognition method and device, electronic equipment and storage medium

    CN116721454A

  • Action prediction method for unknown category

    WO2023142552A1

Cited By

  • Micro-expression recognition method based on visual Transform

    CN119339422A

  • Mental health evaluation system based on AI

    CN119867756A