TL;DR
Gamba introduces a novel architecture that seamlessly fuses Graph Convolutional Networks (GCNs) and State Space Models (Mamba) for skeleton-based human action recognition. By introducing a semantic node classification module, it reorganizes non-linear skeletal graph data into structured sequences, allowing Mamba to efficiently capture long-range spatiotemporal dependencies without the heavy computational overhead of self-attention.
What Problem Does This Paper Address?
Skeleton-based human action recognition (HAR) is highly robust against background noise, making it a popular choice for computer vision tasks. Traditionally, Graph Convolutional Networks (GCNs) have been used to model the human skeleton. However, standard GCNs rely on fixed, predefined physical bone connections, which fail to capture dynamic, movement-specific interactions (e.g., the coordination between a hand and the head during a "headache" action). While self-attention mechanisms can model these dynamic relationships, they suffer from quadratic computational complexity.
Recently, State Space Models (SSMs) like Mamba have emerged as highly efficient alternatives for long-range sequence modeling. However, Mamba expects linear, sequential data. Directly feeding a raw skeleton joint sequence into Mamba forces it to process nodes based on their arbitrary layout in memory rather than their actual kinematic relationships. This mismatch causes Mamba to learn spurious, physically meaningless correlations.
Methods
To bridge the gap between graph structures and sequential state-space modeling, the authors propose Gamba (Mamba-based graph convolutional network). The architecture relies on two key innovations:
- Classification-based Mamba (Cls-Mamba) Module: Instead of feeding raw joint sequences into Mamba, Gamba introduces a Node Classification Module (NCM). The NCM uses a Multi-Layer Perceptron (MLP) and a Gumbel-Softmax activation to dynamically categorize skeleton joints into distinct semantic types based on local motion patterns. Joints belonging to the same category are aggregated together, effectively reorganizing the node sequence before it enters the Mamba layer. This ensures that Mamba's hidden state transitions follow meaningful kinematic and semantic boundaries.
- Mamba-TCN (MTCN) Module: For temporal modeling, Gamba processes each joint's time-series features independently through Mamba to capture long-range dependencies across frames. It then passes these features to a standard Temporal Convolutional Network (TCN) to aggregate local temporal patterns, overcoming the receptive-field limitations of conventional TCNs.
Datasets
The authors evaluated Gamba on three widely accepted benchmark datasets for human action recognition:
- NTU RGB+D 60: Contains 56,880 action samples across 60 classes, evaluated using Cross-Subject (X-Sub) and Cross-View (X-View) protocols.
- NTU RGB+D 120: An extension containing 113,945 samples across 120 classes, evaluated via Cross-Subject (X-Sub) and Cross-Set (X-Set) protocols.
- Northwestern-UCLA (NW-UCLA): Contains 1,494 samples across 10 action categories captured from multiple camera viewpoints.
Key Insights and Ideas
- Semantic Reordering is Key for Graphs in SSMs: The "aha moment" of the paper is that Mamba's sequential bias can be neutralized if the input sequence is sorted semantically rather than spatially or textually. Grouping nodes by motion type allows a single-direction scan to capture both local intra-class interactions and global inter-class dependencies effectively.
- Eliminating Multi-Directional Scanning: Unlike Vision Mamba variants that rely on costly multi-directional (e.g., 4-way or 8-way) scanning to handle 2D/spatial data, Gamba's structure-guided reordering achieves superior spatial modeling with a simple, computationally efficient unidirectional scan.
Key Results
Gamba achieves state-of-the-art (SOTA) accuracy across all three benchmarks while maintaining high computational efficiency:
- NTU RGB+D 60: Achieved 93.4% on Cross-Subject and 97.3% on Cross-View, outperforming top GCN and Transformer models like BlockGCN and Skeleton MixFormer.
- NTU RGB+D 120: Achieved 90.1% (X-Sub) and 91.9% (X-Set).
- NW-UCLA: Reached 97.3% Top-1 accuracy.
- Efficiency: Gamba requires only 11.1G FLOPs, making it more computationally efficient than competing models like CTR-GCN (14.4G) and MDR-GCN (15.3G), though it carries a slightly higher parameter count (4.5M) due to the Mamba blocks.
Limitations and Future Work
While Gamba significantly reduces computational complexity (FLOPs) compared to attention-based models, it introduces a trade-off in parameter footprint, requiring 4.5 million trainable parameters compared to the ~1.2–1.3 million parameters of pure GCN baselines. The authors suggest that future work will continue to explore deeper fusions of graph data and sequence models to optimize this parameter-efficiency balance.
Summary updated