Topology-aware MLP for Skeleton-based Action Recognition

Shaojie Zhang, Jianqin Yin, Yonghao Dang, Jiajun Fu

TL;DR

This paper introduces SiT-MLP, the first MLP-based model for skeleton-based action recognition that eschews complex human priors and graph convolutions. It achieves competitive performance with significantly fewer parameters by employing a novel Spatial Topology Gating Unit (STGU) that learns point-wise, sample-specific spatial-temporal relationships.

What Problem Does This Paper Address?

Skeleton-based action recognition aims to understand human actions by analyzing sequences of human joint positions. While Graph Convolutional Networks (GCNs) have been highly successful, they often rely on pre-defined human skeleton structures (priors) and complex aggregation mechanisms. These dependencies limit their generalizability and make them computationally expensive. The authors question whether these priors are truly essential for performance, proposing that modeling global spatial relationships, similar to how GCNs operate, might be achievable with simpler architectures like MLPs. They aim to develop a model that is more efficient, generalizable, and less reliant on hand-crafted features.

Methods

The core innovation is the Spatial Topology Gating Unit (STGU). Unlike GCNs that use fixed graph structures, STGU is an MLP-based module designed to learn spatial dependencies without explicit priors. It works by:

  1. Feature Transformation: Input features are projected into a higher-dimensional space.
  2. Point-wise Attention Modeling: An attention map is generated, which dynamically captures relationships between joints for each specific input sample. This is achieved through spatial linear layers that encourage communication between joints.
  3. Sample-specific Aggregation: The attention map is used to "gate" or select important features from the transformed input, allowing the model to adaptively focus on discriminative parts of the skeleton sequence for that particular action. This is a point-wise aggregation, meaning each joint's feature is weighted by its corresponding attention value.
  4. Sample-generic Aggregation: A separate module learns common connectivity patterns across all samples, similar to the role of GCNs.
  5. Feature Updating: The outputs from sample-specific and sample-generic aggregations are fused to produce the final STGU output.

The overall SiT-MLP architecture stacks these STGU modules with Multi-Scale Temporal Convolution (MS-TC) modules for temporal modeling, forming a simple yet effective sequence of blocks. Crucially, the model uses learnable embeddings to retain positional information, addressing a common limitation of permutation-sensitive MLPs.

Datasets

The proposed SiT-MLP was evaluated on three large-scale datasets:

  • NTU RGB+D 60: A widely used dataset for skeleton-based action recognition, evaluated on cross-subject (X-sub) and cross-view (X-view) benchmarks.
  • NTU RGB+D 120: An extension of NTU RGB+D 60 with more classes and data, evaluated on cross-subject (X-sub) and cross-setup (X-set) benchmarks.
  • Northwestern-UCLA: A dataset with 10 actions captured from multiple camera views.

Key Insights and Ideas

  • MLPs can model spatial dependencies: The paper demonstrates that MLPs, when equipped with appropriate attention mechanisms, can effectively capture spatial relationships in skeleton data, challenging the necessity of GCNs for this task.
  • Prior-free design enhances generalizability: By removing reliance on pre-defined human skeleton structures, SiT-MLP is expected to be more robust and adaptable to variations in pose estimation or different human body types.
  • Point-wise, sample-specific attention is key: The STGU's ability to generate dynamic attention maps for each sample and each point (joint) allows for fine-grained, adaptive feature selection, leading to improved performance.
  • Efficiency gains are substantial: The MLP-based approach, combined with the STGU's design, significantly reduces parameter count and computational cost compared to state-of-the-art GCNs.

Key Results

  • Competitive Performance: SiT-MLP achieved competitive accuracy on all three datasets. For example, on NTU RGB+D 60 (X-sub), it reached 92.3% accuracy, and on NTU RGB+D 120 (X-sub), it achieved 89.0%.
  • Parameter Reduction: SiT-MLP significantly reduces the number of parameters. For instance, the "SiT-MLP (Joint Only)" model has only 0.6M parameters, a fraction of many GCN-based methods.
  • Efficiency: The model demonstrates superior throughput (sequences processed per second) and lower memory usage compared to existing methods, making it suitable for real-time applications and resource-constrained environments.
  • Ablation Studies: These confirmed the importance of both sample-specific and sample-generic aggregation within STGU, as well as the temporal modeling component.

Limitations and Future Work

The authors acknowledge that SiT-MLP falls slightly behind some top-performing GCN methods, particularly HD-GCN, which might be due to its focus on global spatial relations at the expense of fine-grained local details. They also note that the frame-wise attention modeling can hinder the capture of the general periodicity of actions, leading to performance drops on repetitive actions.

Future work will focus on:

  • Complementary local and global modeling: Combining local and global information to improve fine-grained action recognition.
  • Inter-frame-wise topology attention: Developing mechanisms to better capture periodic actions.

Summary updated

Abstract

Graph convolution networks (GCNs) have achieved remarkable performance in skeleton-based action recognition. However, previous GCN-based methods rely on elaborate human priors excessively and construct complex feature aggregation mechanisms, which limits the generalizability and effectiveness of networks. To solve these problems, we propose a novel Spatial Topology Gating Unit (STGU), an MLP-based variant without extra priors, to capture the co-occurrence topology features that encode the spatial dependency across all joints. In STGU, to learn the point-wise topology features, a new gate-based feature interaction mechanism is introduced to activate the features point-to-point by the attention map generated from the input sample. Based on the STGU, we propose the first MLP-based model, SiT-MLP, for skeleton-based action recognition in this work. Compared with previous methods on three large-scale datasets, SiT-MLP achieves competitive performance. In addition, SiT-MLP reduces the parameters significantly with favorable results. The code will be available at https://github.com/BUPTSJZhang/SiT?MLP.
BibTeX
@article{zhang2023topology,
  author = {Shaojie Zhang and Jianqin Yin and Yonghao Dang and Jiajun Fu},
  title = {{Topology-aware MLP for Skeleton-based Action Recognition}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2023},
  doi = {10.48550/arxiv.2308.16018},
}
Figure