TrajectoryNet: a new spatio-temporal feature learning network for human motion prediction

Xiaoli Liu, Jianqin Yin, Jin Liu, Pengxiang Ding, Jun Liu, Huaping Liu · DOI

Abstract

Human motion prediction is an increasingly interesting topic in computer vision and robotics. In this paper, we propose a new 2D CNN based network, TrajectoryNet, to predict future poses in the trajectory space. Compared with most existing methods, our model focuses on modeling the motion dynamics with coupled spatio-temporal features, local-global spatial features and global temporal co-occurrence features of the previous pose sequence. Specifically, the coupled spatio-temporal features describe the spatial and temporal structure information hidden in the natural human motion sequence, which can be mined by covering the space and time dimensions of the input pose sequence with the convolutional filters. The local-global spatial features that encode different correlations of different joints of the human body are captured hierarchically by enlarging the receptive field layer by layer and residual connections from the lower layers to the deeper layers in our proposed convolutional network. Finally, future poses are approximated based on the captured motion dynamics features. Extensive experiments show that our method achieves state-of-the-art performance on three challenging benchmarks (e.g. Human3.6M, G3D, and FNTU), which demonstrates the effectiveness of our proposed method.

Introduction

Predicting human motion is a cornerstone challenge for autonomous systems, from service robots anticipating falls to self-driving cars predicting pedestrian paths. Human motion is inherently complex because spatial and temporal information are deeply coupled; for instance, the forward motion of a hand is physically constrained by the shoulder and elbow joints.

Existing approaches typically fall into two categories: Recurrent Neural Networks (RNNs) and standard Convolutional Neural Networks (CNNs). RNNs often struggle with long-term spatial relationships between distant joints, while standard CNNs frequently decouple spatial and temporal processing, breaking the natural flow of the data. Furthermore, many models overlook "global temporal co-occurrence"—the phenomenon where complex actions are composed of simpler, simultaneous sub-motions across an observation window.

Methodology: The TrajectoryNet Framework

To address these limitations, we introduce TrajectoryNet, a 2D CNN-based architecture that operates in a specialized "trajectory space." Instead of treating motion as a series of isolated snapshots, TrajectoryNet models motion as a continuous flow.

The overall architecture of TrajectoryNet, illustrating the trajectory space transformation, the hierarchical encoder-decoder structure, and the trajectory blocks.

Trajectory Space Transformation

The network begins by mapping input pose sequences into a trajectory space using $1 \times 1$ convolutional layers. In this space, each point encodes the global trajectory of a joint along the $x, y,$ or $z$ axes. By reorganizing temporal information into the depth (channel) dimension of the input tensor, the CNN can analyze the entire sequence's co-occurrence patterns simultaneously.

Coupled Spatio-Temporal Modeling

Unlike models that process space and time separately, TrajectoryNet uses 2D convolutions where filters cover both joint and time dimensions. This ensures that the physical coupling of motion is preserved throughout the feature extraction process.

Detailed visualization of the trajectory space and the application of 2D filters to capture global temporal co-occurrence features across the pose sequence.

Hierarchical Feature Learning

The encoder captures local-global spatial features hierarchically. Early layers focus on local correlations (e.g., wrist to elbow), while deeper layers expand the receptive field to capture global correlations (e.g., hand to opposite foot). A symmetrical residual design prevents the loss of fine-grained motion details as the network deepens, linking lower-level features to deeper layers.

Experimental Evaluation

TrajectoryNet was evaluated on three major benchmarks: Human3.6M, G3D, and FNTU. The model consistently outperformed previous state-of-the-art methods, such as Martinez’s RNN and LearnTrajDep.

  • Short-term Accuracy: On Human3.6M, TrajectoryNet achieved the lowest Mean Per Joint Position Error (MPJPE) across nearly all activities for short-term horizons (80ms to 400ms).
  • Long-term Stability: For predictions up to 1000ms, the model maintained realistic poses, avoiding the "drift" or collapse into unrealistic shapes common in competing models.
  • Generalization: Cross-dataset testing (training on FNTU and testing on G3D) demonstrated that TrajectoryNet learns underlying physical laws of motion rather than just memorizing dataset-specific patterns.

Conclusion

TrajectoryNet demonstrates that treating human motion as a trajectory in a unified spatio-temporal space significantly improves prediction accuracy and realism. By leveraging 2D CNNs to capture global temporal co-occurrences and coupled features, the model sets a new standard for motion dynamics modeling. Future work will explore extending this framework to multi-person interactions and integrating graph-based skeletal constraints.

Summary updated

Abstract

Human motion prediction is an increasingly interesting topic in computer vision and robotics. In this paper, we propose a new 2D CNN based network, TrajectoryNet, to predict future poses in the trajectory space. Compared with most existing methods, our model focuses on modeling the motion dynamics with coupled spatio-temporal features, local-global spatial features and global temporal co-occurrence features of the previous pose sequence. Specifically, the coupled spatio-temporal features describe the spatial and temporal structure information hidden in the natural human motion sequence, which can be mined by covering the space and time dimensions of the input pose sequence with the convolutional filters. The local-global spatial features that encode different correlations of different joints of the human body (e.g. strong correlations between joints of one limb, weak correlations between joints of different limbs) are captured hierarchically by enlarging the receptive field layer by layer and residual connections from the lower layers to the deeper layers in our proposed convolutional network. And the global temporal co-occurrence features represent the co-occurrence relationship that different subsequences in a complex motion sequence are appeared simultaneously, which can be obtained automatically with our proposed TrajectoryNet by reorganizing the temporal information as the depth dimension of the input tensor. Finally, future poses are approximated based on the captured motion dynamics features. Extensive experiments show that our method achieves state-of-the-art performance on three challenging benchmarks (e.g. Human3.6M, G3D, and FNTU), which demonstrates the effectiveness of our proposed method. The code will be available if the paper is accepted.
BibTeX
@misc{liu2019trajectorynet,
  author = {Xiaoli Liu and Jianqin Yin and Jin Liu and Pengxiang Ding and Jun Liu and Huaping Liu},
  title = {{TrajectoryNet: a new spatio-temporal feature learning network for human motion prediction}},
  year = {2019},
  eprint = {1910.06583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.06583},
}
Figure