[Paper Review] Representation Learning of Pedestrian Trajectories Using Actor-Critic Sequence-to-Sequence Autoencoder
This paper proposes TREP, a reinforcement learning-based sequence-to-sequence autoencoder that learns fixed-length vector representations of pedestrian trajectories by modeling spatial-aware action sequences through an actor-critic framework. It achieves high-fidelity trajectory representation without requiring complete training data, outperforming existing methods in capturing both environmental constraints and diverse pedestrian dynamics on synthetic and real-world datasets.
Representation learning of pedestrian trajectories transforms variable-length timestamp-coordinate tuples of a trajectory into a fixed-length vector representation that summarizes spatiotemporal characteristics. It is a crucial technique to connect feature-based data mining with trajectory data. Trajectory representation is a challenging problem, because both environmental constraints (e.g., wall partitions) and temporal user dynamics should be meticulously considered and accounted for. Furthermore, traditional sequence-to-sequence autoencoders using maximum log-likelihood often require dataset covering all the possible spatiotemporal characteristics to perform well. This is infeasible or impractical in reality. We propose TREP, a practical pedestrian trajectory representation learning algorithm which captures the environmental constraints and the pedestrian dynamics without the need of any training dataset. By formulating a sequence-to-sequence autoencoder with a spatial-aware objective function under the paradigm of actor-critic reinforcement learning, TREP intelligently encodes spatiotemporal characteristics of trajectories with the capability of handling diverse trajectory patterns. Extensive experiments on both synthetic and real datasets validate the high fidelity of TREP to represent trajectories.
Motivation & Objective
- To address the challenge of representing variable-length pedestrian trajectories as fixed-length vectors that preserve spatiotemporal and environmental constraints.
- To overcome the limitations of traditional sequence-to-sequence autoencoders that rely on maximum log-likelihood and require complete training data to generalize.
- To model heterogeneous pedestrian dynamics in semi-constrained environments such as indoor walkways, where movement patterns vary significantly.
- To develop a representation learning framework that is robust to diverse trajectory patterns and does not memorize training samples.
- To enable effective downstream data mining by transforming raw timestamp-coordinate trajectories into compact, informative feature vectors.
Proposed method
- TREP employs a sequence-to-sequence autoencoder architecture with an encoder-decoder structure to map variable-length trajectories into fixed-length latent vectors.
- The model uses an actor-critic reinforcement learning framework to optimize a spatial-aware objective function formulated as a reward signal.
- The reward function evaluates trajectory reconstruction fidelity while incorporating environmental constraints such as walls and forbidden regions.
- The decoder generates action sequences (e.g., move forward, turn right) that simulate pedestrian motion, with the policy network guiding exploration and exploitation.
- The encoder learns to compress trajectories into a latent representation that captures both local movements and global dynamics.
- The method avoids reliance on maximum log-likelihood training by using a non-differentiable, environment-aware reward, enabling generalization to unseen trajectory patterns.
Experimental results
Research questions
- RQ1Can a representation learning framework effectively encode both spatial constraints and dynamic pedestrian behaviors in semi-constrained environments without requiring complete training data?
- RQ2How well can a reinforcement learning-based autoencoder reconstruct trajectories with diverse patterns compared to supervised or maximum-likelihood approaches?
- RQ3To what extent does allowing a tolerable reconstruction error improve the model’s ability to capture global trajectory dynamics and support clustering?
- RQ4Can the learned representations enable high-fidelity clustering and downstream data mining tasks on real-world pedestrian trajectories?
- RQ5How sensitive is the performance to hyperparameters such as representation size and reconstruction error tolerance?
Key findings
- TREP achieves superior clustering performance on real-world trajectory data from the ATC shopping center, with improved cluster arrangement as representation size increases, though gains plateau beyond 128 dimensions.
- Allowing a moderate reconstruction error (δ > 0) leads to better overall performance than exact reconstruction (δ = 0), indicating that the model captures global dynamics more effectively when not forced to memorize every movement.
- The model demonstrates high fidelity in representing trajectories with diverse patterns, even without full coverage of all possible spatiotemporal behaviors in the training data.
- Experiments on synthetic data confirm that TREP effectively learns to model environmental constraints such as walls and forbidden regions.
- The actor-critic framework enables stable training and generalization to unseen trajectory patterns, outperforming standard autoencoders that overfit to training samples.
- Representation size D = 256 yields the best clustering arrangement, though the improvement over D = 128 is marginal, suggesting diminishing returns beyond moderate dimensions.
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.