Introduction
Temporal Action Segmentation (TAS) is the task of assigning an action label to every frame in a long, untrimmed video sequence. Skeleton-based TAS (STAS) has emerged as a computationally efficient, robust, and privacy-preserving alternative to traditional video-based methods. However, existing STAS methods often suffer from "semantic blindness," treating action labels as independent one-hot vectors and failing to capture the complex, dynamic relationships between human joints.
To address these challenges, we present TRG-Net, a novel framework that bridges the gap between language and movement. By leveraging Large Language Models (LLMs) to inject semantic "common sense" into the model, TRG-Net achieves state-of-the-art performance through nuanced spatial modeling and a supervision strategy that understands the inherent relationships between different actions.
Methodology
TRG-Net introduces three core innovations: LLM-derived priors, Dynamic Spatio-Temporal Fusion Modeling (DSFM), and Absolute-Relative Inter-Class Supervision (ARIS). These are supported by a Spatial-Aware Enhancement Processing (SAEP) strategy for improved generalization.
LLM-Derived Priors
The framework utilizes GPT-4 to generate descriptive text for joints (e.g., "Right Hip: The joint where the right thigh connects to the pelvis") and actions. These descriptions are converted into embeddings using BERT, which are then used to calculate Text-Derived Joint Graphs (TJG) and Action Graphs (TAG) based on Euclidean distances in the embedding space. This provides the model with a structural prior of the human body and movement patterns.
Dynamic Spatio-Temporal Fusion Modeling (DSFM)
Rather than relying on static graphs, DSFM uses the TJG as a semantic baseline for joint relationships. It incorporates frame- and channel-level dynamic adaptations, allowing the network to adaptively focus on specific joints—such as the hands during a "clapping" action—based on the current temporal context.
Absolute-Relative Inter-Class Supervision (ARIS)
Standard models typically rely solely on Cross-Entropy loss. TRG-Net enhances this with two layers of text-aware supervision:
- Absolute Supervision: A contrastive loss aligns visual action features with their corresponding text embeddings.
- Relative Supervision: This loss ensures that the distances between predicted action features in the latent space match the semantic relationships defined in the TAG. For instance, if "walking" and "running" are semantically similar in the text space, the model is encouraged to cluster their visual features closely.
Spatial-Aware Enhancement Processing (SAEP)
To improve robustness and generalization, SAEP introduces data augmentation specifically for skeleton data: random joint occlusion (hiding 0-50% of joints) and random axial rotation (rotating the skeleton around the vertical axis). This forces the model to learn view-invariant and occlusion-robust features.
Experimental Results
TRG-Net was evaluated on four major public benchmarks: PKU-MMD (X-sub and X-view), LARa, and MCFS-130. The model achieved State-of-the-Art (SOTA) results across nearly all metrics. On PKU-MMD, it outperformed previous leading methods by 2.1% to 5.6% in frame-wise accuracy, and achieved 76.7% accuracy on the LARa dataset. Notably, the model maintains high efficiency with a parameter count of 1.36M and a computational cost of 11.0G FLOPs. Qualitative visualizations demonstrate that TRG-Net produces cleaner segmentation boundaries with significantly fewer over-segmentation errors compared to traditional Graph Convolutional Network (GCN) models.
Conclusion
TRG-Net demonstrates that integrating linguistic knowledge into skeleton-based action segmentation significantly enhances model performance and semantic understanding. By moving beyond one-hot labels to a semantically-aware relational space, the model achieves superior robustness and accuracy. While the approach significantly reduces over-segmentation, the authors note that boundary shifts still occur, representing an area for future improvement. Future research will explore finer-grained text guidance and hierarchical integration of text modalities throughout the network architecture.
Summary updated