[Paper Review] Focal and Global Spatial-Temporal Transformer for Skeleton-based Action Recognition
This paper proposes FG-STFormer, a novel transformer-based model for skeleton-based action recognition that enhances spatial and temporal modeling through focal joint selection and global part interaction. By integrating focal and global attention mechanisms with dilated convolutions in the temporal stream, it achieves state-of-the-art performance on NTU-60, NTU-120, and NW-UCLA, outperforming existing transformer and GCN-based methods.
Despite great progress achieved by transformer in various vision tasks, it is still underexplored for skeleton-based action recognition with only a few attempts. Besides, these methods directly calculate the pair-wise global self-attention equally for all the joints in both the spatial and temporal dimensions, undervaluing the effect of discriminative local joints and the short-range temporal dynamics. In this work, we propose a novel Focal and Global Spatial-Temporal Transformer network (FG-STFormer), that is equipped with two key components: (1) FG-SFormer: focal joints and global parts coupling spatial transformer. It forces the network to focus on modelling correlations for both the learned discriminative spatial joints and human body parts respectively. The selective focal joints eliminate the negative effect of non-informative ones during accumulating the correlations. Meanwhile, the interactions between the focal joints and body parts are incorporated to enhance the spatial dependencies via mutual cross-attention. (2) FG-TFormer: focal and global temporal transformer. Dilated temporal convolution is integrated into the global self-attention mechanism to explicitly capture the local temporal motion patterns of joints or body parts, which is found to be vital important to make temporal transformer work. Extensive experimental results on three benchmarks, namely NTU-60, NTU-120 and NW-UCLA, show our FG-STFormer surpasses all existing transformer-based methods, and compares favourably with state-of-the art GCN-based methods.
Motivation & Objective
- To address the limitations of existing transformer models in skeleton-based action recognition, which treat all joints equally and fail to model local dynamics effectively.
- To improve spatial modeling by focusing on discriminative local joints (focal joints) while preserving global structural dependencies through body part representation.
- To enhance temporal modeling by explicitly capturing short-range motion patterns using dilated convolutions within the self-attention mechanism.
- To jointly learn interactions between focal joints and body parts via cross-attention to improve spatial dependency representation.
- To achieve state-of-the-art performance on standard skeleton action recognition benchmarks without relying on graph convolutional networks.
Proposed method
- Proposes FG-SFormer, a spatial transformer that adaptively selects informative focal joints and models their correlations using multi-head self-attention, excluding non-informative joints.
- Introduces global body part representation to capture structural context, with mutual cross-attention between focal joints and body parts to enhance spatial collaboration.
- Designs FG-TFormer, a temporal transformer that integrates dilated convolutions into the global self-attention mechanism to explicitly model local temporal motion patterns.
- Uses a two-stream architecture: FG-SFormer for spatial modeling and FG-TFormer for temporal modeling, both operating on joint and part representations.
- Employs a learnable attention score mechanism to identify and prioritize focal joints based on their informativeness for each action.
- Fuses features from four modalities—joint, bone, joint motion, and bone motion—for improved generalization and robustness.
Experimental results
Research questions
- RQ1Can a transformer-based model effectively model both local discriminative joints and global body part structures in skeleton-based action recognition?
- RQ2How can the lack of inductive bias in vanilla transformers be mitigated to capture short-term temporal dynamics in long skeleton sequences?
- RQ3Does explicitly modeling local temporal patterns via dilated convolutions improve temporal representation learning in transformers for action recognition?
- RQ4Can joint-part interaction modeling through cross-attention enhance spatial dependency learning compared to standard self-attention over all joints?
- RQ5Can a pure transformer architecture outperform or match the performance of state-of-the-art GCN-based models on standard skeleton action recognition benchmarks?
Key findings
- FG-STFormer achieves 92.6% top-1 accuracy on NTU-60 (X-Sub) and 96.7% on NTU-60 (X-View), surpassing all existing transformer-based methods.
- On NTU-120, FG-STFormer attains 89.0% top-1 accuracy (X-Sub) and 90.6% (X-Set), outperforming the previous SOTA method STST by 0.1% and 1.6% respectively.
- On NW-UCLA, FG-STFormer achieves 97.0% top-1 accuracy, exceeding the previous SOTA CTR-GCN by 0.5% and setting a new state-of-the-art.
- Ablation studies confirm that both focal joint selection and dilated convolution integration significantly improve performance, especially on fine-grained actions involving hands, feet, and head.
- Visualization results show that focal joints are consistently selected on key body parts (e.g., hands, feet, shoulders), and attention weights reveal meaningful joint-part interactions aligned with action semantics.
- The FG-TFormer block improves accuracy on fine-grained action classes compared to a basic transformer baseline, demonstrating its effectiveness in capturing subtle motion patterns.
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.