[Paper Review] STPOTR: Simultaneous Human Trajectory and Pose Prediction Using a Non-Autoregressive Transformer for Robot Following Ahead
This paper proposes STPOTR, a non-autoregressive Transformer model that jointly predicts human 3D trajectory and full-body pose for robot follow-ahead tasks. By leveraging shared representations through dual encoders and decoders with multi-head attention, the model achieves fast, accurate predictions, enabling robust real-world robot following even during complex motions like sit-to-stand, outperforming prior methods in speed and generalization to diverse human behaviors.
In this paper, we develop a neural network model to predict future human motion from an observed human motion history. We propose a non-autoregressive transformer architecture to leverage its parallel nature for easier training and fast, accurate predictions at test time. The proposed architecture divides human motion prediction into two parts: 1) the human trajectory, which is the hip joint 3D position over time and 2) the human pose which is the all other joints 3D positions over time with respect to a fixed hip joint. We propose to make the two predictions simultaneously, as the shared representation can improve the model performance. Therefore, the model consists of two sets of encoders and decoders. First, a multi-head attention module applied to encoder outputs improves human trajectory. Second, another multi-head self-attention module applied to encoder outputs concatenated with decoder outputs facilitates learning of temporal dependencies. Our model is well-suited for robotic applications in terms of test accuracy and speed, and compares favorably with respect to state-of-the-art methods. We demonstrate the real-world applicability of our work via the Robot Follow-Ahead task, a challenging yet practical case study for our proposed model.
Motivation & Objective
- To address the challenge of robot follow-ahead, which is more complex than following from behind or beside due to the need for intent prediction.
- To improve robot following by incorporating human body pose, which conveys critical motion intent beyond trajectory alone.
- To develop a fast, accurate, and real-time capable model suitable for robotic deployment, overcoming limitations of autoregressive models.
- To enable generalized control policies that support multiple following behaviors (e.g., follow-beside, variable distance) using a single unified motion prediction model.
- To demonstrate real-world applicability using a 3D human pose estimation pipeline and a TurtleBot2 platform.
Proposed method
- The model uses two parallel non-autoregressive Transformers: one for predicting the hip joint trajectory and another for full-body pose relative to the hip.
- A multi-head self-attention module is applied to encoder outputs to enhance trajectory prediction by attending to relevant spatial and temporal features.
- Another multi-head self-attention module processes concatenated encoder and decoder outputs to model long-range temporal dependencies in both trajectory and pose.
- The model is trained end-to-end on observed human motion sequences, with future motion predicted in parallel, avoiding exposure bias and reducing inference time.
- Human motion is estimated in real time using a ZED2 camera and 3D pose estimation, with the last 5 frames (0.5s) fed into STPOTR to predict 20 future frames (2s).
- The robot goal is computed as 1.5m ahead of the predicted human pose at the 20th frame, with the Time Elastic Band (TEB) planner ensuring safe navigation.
Experimental results
Research questions
- RQ1Can a non-autoregressive Transformer architecture achieve faster and more accurate joint prediction of human trajectory and 3D pose compared to autoregressive models?
- RQ2Does simultaneous prediction of trajectory and pose improve performance through shared representation learning?
- RQ3Can such a model enable robust robot follow-ahead in complex real-world scenarios involving non-straightforward human motions like sit-to-stand?
- RQ4Can the model generalize to multiple robot following behaviors (e.g., follow-beside, variable distance) without retraining?
- RQ5How does the model perform under noisy real-world 3D pose estimation compared to methods relying on motion capture?
Key findings
- The model achieved significantly higher average reward in S-shaped and U-shaped trajectories compared to hand-crafted and RL-based baselines, indicating superior performance in complex motion prediction.
- The model demonstrated successful robot follow-ahead even during sit-to-stand and stand-to-sit transitions, which are challenging for trajectory-only models.
- The system generalized to follow-beside and variable-distance following without retraining, unlike the RL-based LBGP method, which required retraining for each variation.
- The model performed poorly only when the robot started on the human’s left side during U-shaped motion, likely due to initial distance and occlusion effects.
- The use of noisy ZED2-based 3D pose estimation did not degrade performance significantly, showing robustness to real-world sensor noise.
- Ablation studies confirmed that joint prediction and shared attention modules improved performance, validating the design choices.
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.