[Paper Review] Hypergraph Transformer for Skeleton-based Action Recognition
Hyperformer uses Hypergraph Self-Attention (HyperSA) and graph-distance based relative positional encoding to model high-order joint relations in skeleton data, achieving state-of-the-art results on NTU RGB+D, NTU RGB+D 120, and Northwestern-UCLA datasets.
Skeleton-based action recognition aims to recognize human actions given human joint coordinates with skeletal interconnections. By defining a graph with joints as vertices and their natural connections as edges, previous works successfully adopted Graph Convolutional networks (GCNs) to model joint co-occurrences and achieved superior performance. More recently, a limitation of GCNs is identified, i.e., the topology is fixed after training. To relax such a restriction, Self-Attention (SA) mechanism has been adopted to make the topology of GCNs adaptive to the input, resulting in the state-of-the-art hybrid models. Concurrently, attempts with plain Transformers have also been made, but they still lag behind state-of-the-art GCN-based methods due to the lack of structural prior. Unlike hybrid models, we propose a more elegant solution to incorporate the bone connectivity into Transformer via a graph distance embedding. Our embedding retains the information of skeletal structure during training, whereas GCNs merely use it for initialization. More importantly, we reveal an underlying issue of graph models in general, i.e., pairwise aggregation essentially ignores the high-order kinematic dependencies between body joints. To fill this gap, we propose a new self-attention (SA) mechanism on hypergraph, termed Hypergraph Self-Attention (HyperSA), to incorporate intrinsic higher-order relations into the model. We name the resulting model Hyperformer, and it beats state-of-the-art graph models w.r.t. accuracy and efficiency on NTU RGB+D, NTU RGB+D 120, and Northwestern-UCLA datasets.
Motivation & Objective
- Incorporate skeletal structure information into Transformer models via a graph-distance based relative positional embedding.
- Introduce Hypergraph Self-Attention (HyperSA) to capture high-order relations among joints.
- Build a lightweight Transformer architecture that rivals graph-based methods in accuracy and efficiency.
- Demonstrate automatic partition learning to better encode joint groupings in the skeleton.
Proposed method
- Propose a relative positional embedding based on graph distance to encode skeleton structure during training.
- Develop Hypergraph Self-Attention (HyperSA) to capture both pairwise and higher-order joint relations via hyperedges.
- Compute hyperedge representations from joint features using incidence and degree matrices with a learnable projection.
- Introduce a learned partition strategy for grouping joints, with softmax relaxation to enable end-to-end learning.
- Remove MLP layers in the Transformer to create a lightweight model, and use a Multi-Scale Temporal Convolution (MS-TC) for temporal modeling.
- Stack HyperSA and temporal convolution modules in an alternating fashion to form the Hyperformer architecture.
Experimental results
Research questions
- RQ1How can skeleton connectivity be integrated into Transformer models to improve action recognition?
- RQ2Do high-order joint relations (modeled via hypergraphs) provide performance gains beyond pairwise joint interactions?
- RQ3Can a graph-distance based relative positional encoding enhance Transformer performance for skeleton data?
- RQ4Is a lightweight Transformer with HyperSA competitive with state-of-the-art graph-based methods in accuracy and efficiency?
Key findings
- Hyperformer achieves state-of-the-art performance on NTU RGB+D, NTU RGB+D 120, and Northwestern-UCLA benchmarks.
- HyperSA significantly improves accuracy compared to vanilla Transformer baselines, with further gains from incorporating hyperedge relations and k-Hop RPE.
- A learned partition strategy for joint groups yields better results than fixed empirical partitions.
- Removing MLP layers and using MS-TC for temporal modeling yields a lighter model with competitive or superior accuracy.
- The model remains efficient in terms of parameters and FLOPs while outperforming many graph-based approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.