<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Multi-modal Micro-gesture Classification via Multi-scale Heterogeneous Ensemble Network</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hexiang Huang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yuhan Wang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kerui Linghu</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhaoqiang Xia</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Innovation Center NPU Chongqing, Northwestern Polytechnical University</institution>
          ,
          <addr-line>Chongqing 400000</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>School of Electronics and Information, Northwestern Polytechnical University</institution>
          ,
          <addr-line>Xi'an 710129</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Micro-gesture classification has become an important research topic in the field of emotion analysis and human-computer interaction, and recently has received more and more attention. Although certain models of action recognition for normal behaviors have demonstrated promising results in classifying micro-gestures, these models still encounter significant challenges when processing micro-gestures that occur within subtle temporal windows. To end this, we propose a multi-scale heterogeneous ensemble network for micro-gesture classification with multi-modal data. This framework combines two models with diferent architectures and employs multi-scale residual connections within these models to capture ifne-grained features and extend the range of receptive field. Simultaneously, we employ a novel data group training strategy, which can more efectively address the class-imbalance problem for model learning over the data. Finally, our model was evaluated on the iMiGUE dataset with Top-1 accuracy of 0.7019, placing second ranking in the MiGA2024 Challenge (Track 1: Micro-gesture Classification).</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Micro-gesture classification</kwd>
        <kwd>Multi-scale</kwd>
        <kwd>Heterogeneous ensemble network</kwd>
        <kwd>Class-imbalance</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        task of micro-expression recognition [
        <xref ref-type="bibr" rid="ref1">1, 2</xref>
        ] and the action recognition [3]. With the continuous
development of action recognition algorithms [4], many models using diferent modalities have
emerged. The MiG datasets such as SMG and iMiGUE [5, 6] encompasses a diverse array of
multi-modal data types, which are characterized by their ability to integrate and represent
diferent forms of information. However, in the initial phase of research conducted on the
MiG data, the studies predominantly focused on the utilization of either RGB (Red, Green,
Blue) imagery or skeleton modality data individually and often just transferring normal action
classification algorithms directly to the task of MiG classification. To cite a few, the temporal
segmentation network (TSN) [7], the temporal relation network (TRN) [8] and the temporal
shift module (TSM) [4] have been proposed based on the RGB data, while spatio-temporal graph
convolution network (ST-GCN) [9], multi-scale graph convolution (MS-G3D) [10] and enhanced
hypergraph-convolution transformer (EHCT) [11, 12] have been presented with the skeleton
data. While these methodologies are indeed valuable for conducting specific analyses, they may
not fully exploit the extensive potential inherent in the multi-modal characteristics.
      </p>
      <p>As the RGB data usually contains the color and texture information, it can capture the subtle
changes of the human body under diferent lighting and background. However, this modality is
greatly afected by environmental factors, which may lead to the deterioration of image quality
and blur for fast-moving human bodies, afecting the recognition efect. Diferent from the RGB
modality, skeleton data usually records the position coordinates of human joints, which can
obtain the precise position of the human skeleton joint and is not afected by environmental
factors. However, for the human body with partial occlusion or complex posture, the recognition
accuracy may decline. Therefore, the proposed method can provide comprehensive information
about human appearance and movements by combining the dual-modal data of RGB and
skeleton [13]. Among them, the RGB modality can provide contextual information to help
skeleton-modal data more accurately identify human posture and movements. The stability of
skeleton-modal data can make up for the lack of RGB-modal data afected by environmental
factors.</p>
      <p>To more efectively capture micro-reactions within MiGs, we construct a Res2Net3D structure
utilizing the multi-scale residual architecture from Res2Net [14]. The Res2Net framework
enhances feature extraction across diferent scales by incorporating multi-scale residual modules,
allowing the simultaneous processing of local and global information and thereby augmenting
the model’s feature representation capability. This multi-scale feature representation enables the
model to detect subtle changes and details across various scales, which is crucial for identifying
MiG categories. By extending the Res2Net architecture to a 3D version (Res2Net3D), the model
can process spatiotemporal information and capture dynamic gesture patterns. This extension is
vital for handling time-dependent information in MiG classification, facilitating the identification
of continuous micro-gesture variations. In addition, we find that a single network may overfit a
particular data distribution and not generalize well to other scenario (i.e., other subjects). By
fusing diferent network structures, this problem can be alleviated and the generalization ability
of the model can be improved, making its performance on diferent settings and tasks more
stable. Since diferent network architectures have their own advantages and advantages, these
advantages can be comprehensively utilized in one model to improve the overall performance
by combining multiple structures. Therefore, we ensemble heterogeneous sub-networks on the
basis of our previous model [11] for MiGA2023 challenge, and continue to achieve significant
performance improvement on the iMiGUE dataset [6]. The main contributions of this paper can
be summarized as:
• We propose a deep framework with multi-modal and multi-scale heterogeneous ensemble
network (M2HEN) for the task of MiG classification, capturing the diversity of data and
enhancing the representation of the model..
• We design a multi-scale residual module in 3D structure to improve the sensitivity of the
model for micro-gestures.
• We employ a novel data group training strategy, which can more efectively address the
class-imbalanced problem in the data.
• We perform extensive experiments and achieve the second ranking in the Track 1 of</p>
      <p>MiGA2024 Challenge.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <p>The main framework of our proposed method (M2HEN) is shown in Fig. 1. In the framework, we
construct a heterogeneous ensemble network, using two deep models with completely diferent
structures (one is based on 3D convolution, and the other is based on Transformer) for ensemble
learning. By designing this heterogeneous ensemble model, we can increase the diversity of
features and improve the representation ability of the model. For the base model, we propose
MiG-enhanced Multi-modal and Multi-scale 3D Convolutional sub-Network (M3CN) as the 3D
convolution model and Ensemble Hypergraph-Convolution Transformer (EHCT) [11] as the
Transformer model.</p>
      <sec id="sec-2-1">
        <title>2.1. Multi-modal and Multi-scale 3D Convolutional Network</title>
        <p>The M3CN sub-network uses both skeleton-modal and RGB-modal data. Inspired by PoseC3D
[13], we transform the raw skeleton data ⃗ = {︁⃗1 , ⃗2 , ..., ⃗ }︁ into a 3D heatmap volume
with the size of  ×  ×  ×  , where ⃗ = {⃗1, ⃗2, ..., ⃗},  is the number of key points, 
is the number of frames in a clip,  and  are the height and width of the heatmap. Through
the coordinates of skeleton joints ⃗ = (, , ), joint heatmap  can be obtained by combining
 Gaussian mappings centered on each joint:
 = − (− )22* +(2− )2 * ,
(1)
where the parameter  represents the variance of the Gaussian graph, and (, ) and  are the
position coordinates and confidence score of the -th joint, respectively.</p>
        <p>To be able to better capture the subtle and detailed gesture changes in one video, we extend
the Res2Net [14] into 3D version (Res2Net3D) as the backbone network for feature extraction,
which induces the multi-scale information compared to the ResNet3D. In the bottleneck module
of Res2Net3D, after the first 3D convolution with a kernel of 1 × 1 × 1, the obtained feature
map  ∈ R,,, is evenly divided into 4 feature maps 1, 2, 3, 4 ∈ R/4,,, in the
channel dimension, and each feature map is processed by convolution and residual fusion, so as
RGB</p>
        <sec id="sec-2-1-1">
          <title>Heatmap</title>
        </sec>
        <sec id="sec-2-1-2">
          <title>Skeleton</title>
          <p>re
y
a
L
m
eS
t
re
y
a
L
m
eS
t
1
re
y
a
L
D
3
t
e
N
se2
R</p>
          <p>T</p>
          <p>C</p>
          <p>TC TCH H
TC H
H
2
re
y
a
L
D
3
t
e
N
se2
R
1
re
y
a
L
D
3
t
e
N
se2
R
3
re
y
a
L
D
3
t
e
N
se2
R
2
re
y
a
L
D
3
t
e
N
se2
R
4
re
y
a
L
D
3
t
e
N
se2
R
3
re
y
a
L
D
3
t
e
N
se2
R
.
lavgA ling</p>
          <p>o
lob oP
G
.
lavgA ling</p>
          <p>o
lob oP
G
.
lavgA ling</p>
          <p>o
lob oP
G
d
lly tece
uF non</p>
          <p>C
d
lly tece
uF non</p>
          <p>C
d
lly tece
uF non</p>
          <p>C
LogitsHeatRGB
LPose</p>
          <p>M3CN
LogitsHyper
EHCT
itissougn
F
o
L</p>
        </sec>
        <sec id="sec-2-1-3">
          <title>Class</title>
          <p>where  denotes the 3D convolution with a kernel of 1 × 3 × 3 and  (. . . ,  = 1)
denotes the concatenation of the inner elements in the second dimension (the channel
dimension).</p>
          <p>In terms of multi-modal data feature fusion, M3CN uses a two-branch structure similar to
SlowFast[15], the RGB branch uses a smaller frame number and a larger channel number, and
the Skeleton branch uses a larger frame number and a smaller channel number. As shown
in Fig. 1, the outputs of Res2Net3D Layer2 and 3 in the RGB branch are cross-fused with the
outputs of Res2Net3D Layer1 and 2 in the Skeleton branch, and are equally fused in the final
fully connected layer of both.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Ensemble Hypergraph-Convolution Transformer</title>
        <p>The Ensemble Hypergraph-Convolution Transformer (EHCT) model only uses raw skeleton
data as input. The input ⃗ = {⃗1, ⃗2, ..., ⃗} represents  key points extracted from frame ,
including those pertaining to the body, face, left and right hands, are presented in 2D format
⃗ = (, , ) by using the protocol of OpenPose [16]. In the EHCT model, the
hypergraphconvolutional Transformer and the enhanced hypergraph self-attention mechanism are used
to process these key points, and then the main classifier and auxiliary classifier are used for
multi-branch ensemble learning. Finally, the output of the two classifiers is combined to obtain
the classification results of recognizing micro-gestures.</p>
        <p>In the self-attention module of EHCT shown in Fig. 1, the feature  with the hyperedges of
hypergraph is constructed by Eq. 3:
 = − 1 ,
(3)
where  represents the incidence matrix of key points and hyperedges. In the matrix , each
row represents a key point and each column represents a hyperedge.  is the diagonal matrix
representing the degree matrix of hyperedges, and  represents the projection matrix of
hyperedges. For more details on EHCT, please see the previous work [11].</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Training Strategy</title>
        <p>The MiG data used in our study usually exhibits a long-tail distribution, as illustrated in Fig. 2
(Taking iMiGUE for example). In our prior work of EHCT [11], we has proposed the utilization
of primary and auxiliary classifiers to mitigate imbalanced classes. Building upon this, we
partition the imbalanced dataset into four parts (  ,   ,   , and   )
and trained the model using various combinations of these subsets on each occasion. This
approach efectively enhances the accuracy of tail classes and consequently elevates the overall
classification performance.</p>
        <p>4120</p>
        <p>Part A</p>
        <p>Part B</p>
        <p>Part C</p>
        <p>Part D
2332
1247
961 871
705 659</p>
        <p>421 376 322 315 293 218 174 163 101 87 87 85 80 65 61 42 39 28 27 23 11 11 6 3 2</p>
        <p>The allocation of the dataset for training the model is as follows:
  = ∑︁  {, , , } +ℎ, 1 ≤  ≤ 4,
⏟  ⏞
(4)
where   means that the model is trained using  parts of the data (eg.  3 =
   +    +    + ℎ3) and ℎ means an even selection of a certain
number of categories from the currently unused part (head categories) as a category called
"OTHERS", which can efectively prevent the accuracy of the head categories from decreasing.
In addition, the training set when  = 4 is called the primary training set, and the training set
when  &lt; 4 is called the tail training set.</p>
        <p>Since dividing the training set into diferent parts changes the label distribution, when the
model predicts a non-OTHERS category, the labels of the categories in the tail training set
are mapped one-to-one to the original labels in the primary training set. With the logits from
diferent classifiers which use diferent training data, the way of combining these outputs is
calculated as follows:</p>
        <p>4
 = ∑︁   ·  { +  },</p>
        <p>=1</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Experiments</title>
      <p>In this section, we evaluate our model on the iMiGUE dataset [6] by following the protocol of
MiGA2024 Challenge (Track 1: Micro-gesture Classification). The dataset, metrics, ablation
study and comparison experiments are reported in the following subsections.
where the hyperparameter   denoted as the weight by which the logits of the -th classifier,
and   means when the model predicts a tail category, it is weighted into the primary logit
by using a mapping relationship between labels.
(5)
(6)
(7)
(8)</p>
      <sec id="sec-3-1">
        <title>3.1. Dataset and Metrics</title>
        <p>In this challenge, the iMiGUE [6] dataset with fixed training and test samples is used to evaluate
our proposed method. This dataset includes a total of 32 categories of MiGs, and covers two
emotions as well as 72 subjects with each gender accounting for half of the total number of
subjects. It consists of 18,499 samples taken from 359 videos with a resolution of 1280 × 720.
Each video is about 0.5-25.8 minutes long. Since the iMiGUE dataset is collected in-the-wild
setting, the overall dataset presents a long-tailed (unbalanced) distribution.</p>
        <p>To evaluate the classification performance of our model, we employ Top-1, Top-5 and Class
Average Accuracy as evaluation metrics, the equations of the metrics are as follows:
 − 1 =
∑︀=1[( (|)) = ]</p>
        <p>,
_ =
1 ∑︁  − 1 ,
 =1
where  denotes the number of samples,  denotes the number of categories,  denotes the
feature of the -th sample,  denotes the true label of the -th sample,  (|) denotes the
probability distribution obtained from the model’s predictions for the -th sample, 5 denotes
the top five categories with the highest probabilities, and _ denotes the average accuracy
for each category.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Ablation Study</title>
        <p>Firstly, in order to verify the efectiveness of the proposed model, we conduct a series of
ablative experiments, and the specific results can be obtained from Table 1. We employ ResNet3D
as the baseline network and train it using both single-modal and multi-modal data. It is observed
that the dual-modality fusion approach indeed significantly enhances the performance of the
model. Based on this, in order to more accurately capture the subtle movements and changes in
MiGs, we adopt Res2Net3D as the backbone network. The experimental results show that this
multi-scale residual structure significantly improves the sensitivity and accuracy of the model
for MiG classification. Numerically, this improved method promotes the accuracy of the model
by 0.84%.</p>
        <p>Since the frame length of the input data is diferent, the model needs to be down-sampled to
the required number of frames, which will produce a certain loss of information. Therefore,
diferent   are experimented, in which the selected frame index for each clip is diferent from
each other, which can efectively alleviate this problem. In order to capture the diversity of data
and enhance the representation capability of the model, we further construct a heterogeneous
ensemble model using 3D CNN and Transformer. Compared with the single model, the accuracy
of the proposed method increases by 1.3% for Top-1 and 0.98% for Top-5.</p>
        <p>In terms of dealing with class-imbalanced problem, we use the strategy of group training to
efectively alleviate the long-tail efect of the model, and the Top-1 accuracy of the model is
increased by 0.72%, and the average accuracy of the class is increased by 7.07%.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Comparison to State-of-the-art Methods</title>
        <p>Our proposed method is also examined through a comparative analysis on iMiGUE dataset,
which is shown in Table 2. We compare our proposed method with state-of-the-art methods.
Compared with the single-modal EHCT [11], we introduce a multi-modal model of RGB image
and skeleton data, which significantly improves the accuracy by 7.17%. Furthermore, compared
to the RGBPoseC3D[13] model, which also uses multi-modal inputs, we used a heterogeneous
ensemble network, and this innovative architecture design enabled us to improve the accuracy
of our model again by 2.92%.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusions</title>
      <p>In conclusion, in the study of micro-gesture (MiGs) classification, we significantly improved the
accuracy of MiG classification through a series of innovative techniques. We designed a 3D
multi-scale residual module to improve the sensitivity of the model to small changes in MiGs.
A heterogeneous ensemble network was constructed to enhance the ability of data diversity
capture and model characterization. A novel data grouping training strategy was implemented
to efectively solve the class-imbalanced problem. The comprehensive application of these
strategies not only optimized the performance of the model, but also layed a foundation for
future research on MiG classification.
Image Processing (2020) 8590–8605.
[2] X. Guo, X. Zhang, L. Li, Z. Xia, Micro-expression spotting with multi-scale local transformer
in long videos, Pattern Recognit. Lett. (2023) 146–152.
[3] W. Peng, J. Shi, Z. Xia, G. Zhao, Mix dimension in poincaré geometry for 3d skeleton-based
action recognition, ACM International Conference on Multimedia (ACM MM) (2020)
1432–1440.
[4] J. Lin, C. Gan, S. Han, Tsm: Temporal shift module for eficient video understanding,</p>
      <p>International Conference on Computer Vision (ICCV) (2019) 7082–7092.
[5] H. Chen, X. Liu, X. Li, H. Shi, G. Zhao, Analyze spontaneous gestures for emotional
stress state recognition: A micro-gesture dataset and analysis with deep learning, IEEE
International Conference on Automatic Face &amp; Gesture Recognition (FG 2019) (2019) 1–8.
[6] X. Liu, H. Shi, H. Chen, Z. Yu, X. Li, G. Zhao, imigue: An identity-free video dataset for
micro-gesture understanding and emotion analysis, IEEE Conference on Computer Vision
and Pattern Recognition (CVPR) (2021) 10626–10637.
[7] L. Wang, Y. Xiong, Z. Wang, Y. Qiao, D. Lin, X. Tang, L. V. Gool, Temporal segment
networks for action recognition in videos, IEEE Transactions on Pattern Analysis and
Machine Intelligence (2019) 2740–2755.
[8] B. Zhou, A. Andonian, A. Torralba, Temporal relational reasoning in videos, European</p>
      <p>Conference on Computer Vision (ECCV) (2018) 831–846.
[9] S. Yan, Y. Xiong, D. Lin, Spatial temporal graph convolutional networks for skeleton-based
action recognition, AAAI Conference on Artificial Intelligence (AAAI) (2018) 7444–7452.
[10] Z. Liu, H. Zhang, Z. Chen, Z. Wang, W. Ouyang, Disentangling and unifying graph
convolutions for skeleton-based action recognition, IEEE Conference on Computer Vision
and Pattern Recognition (CVPR) (2020) 140–149.
[11] H. Huang, X. Guo, W. Peng, Z. Xia, Micro-gesture classification based on ensemble
hypergraph-convolution transformer, IJCAI Workshop&amp;Challenge on Micro-gesture
Analysis for Hidden Emotion Understanding (MiGA) (2023) 1–9.
[12] X. Guo, W. Peng, H. Huang, Z. Xia, Micro-gesture online recognition with
graphconvolution and multiscale transformers for long sequence, IJCAI Workshop&amp;Challenge
on Micro-gesture Analysis for Hidden Emotion Understanding (MiGA) (2023) 1–8.
[13] H. Duan, Y. Zhao, K. Chen, D. Lin, B. Dai, Revisiting skeleton-based action recognition.,</p>
      <p>IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2022) 2959–2968.
[14] S.-H. Gao, M.-M. Cheng, K. Zhao, X.-Y. Zhang, M.-H. Yang, P. Torr, Res2net: A new
multi-scale backbone architecture, IEEE Transactions on Pattern Analysis and Machine
Intelligence (2021) 652–662.
[15] C. Feichtenhofer, H. Fan, J. Malik, K. He, Slowfast networks for video recognition,
International Conference on Computer Vision (ICCV) (2019) 6201–6210.
[16] Z. Cao, G. Hidalgo, T. Simon, S.-E. Wei, Y. Sheikh, Openpose: Realtime multi-person 2d
pose estimation using part afinity fields, IEEE Transactions on Pattern Analysis and
Machine Intelligence (2018) 172–186.
[17] Y. Zhou, C. Li, Z.-Q. Cheng, Y. Geng, X. Xie, M. Keuper, Hypergraph transformer for
skeleton-based action recognition, arXiv abs/2211.09590 (2022).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Xia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Peng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.-Q.</given-names>
            <surname>Khor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <article-title>Zhao, Revealing the invisible with model and data shrinking for composite-database micro-expression recognition</article-title>
          , IEEE Transactions on
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>