Skip to main content
QUICK REVIEW

[Paper Review] TrajectoryNet: An Embedded GPS Trajectory Representation for Point-based Classification Using Recurrent Neural Networks

Xiang Jiang, Érico N. de Souza|arXiv (Cornell University)|May 7, 2017
Human Mobility and Location-Based AnalysisSocial Sciences46 references28 citations
TL;DR

TrajectoryNet proposes a novel embedded GPS trajectory representation using neural network-based feature embedding and Maxout-activated GRUs to improve point-based classification of human transportation modes from raw GPS traces. By transforming low-dimensional, heterogeneous GPS data into a distributed semantic space via basis expansion-inspired embedding, the model achieves over 98% accuracy in classifying four transportation modes and 97.3% accuracy in a seven-class setting, outperforming existing methods without external sensory data or prior knowledge.

ABSTRACT

Understanding and discovering knowledge from GPS (Global Positioning System) traces of human activities is an essential topic in mobility-based urban computing. We propose TrajectoryNet-a neural network architecture for point-based trajectory classification to infer real world human transportation modes from GPS traces. To overcome the challenge of capturing the underlying latent factors in the low-dimensional and heterogeneous feature space imposed by GPS data, we develop a novel representation that embeds the original feature space into another space that can be understood as a form of basis expansion. We also enrich the feature space via segment-based information and use Maxout activations to improve the predictive power of Recurrent Neural Networks (RNNs). We achieve over 98% classification accuracy when detecting four types of transportation modes, outperforming existing models without additional sensory data or location-based prior knowledge.

Motivation & Objective

  • To address the challenge of classifying human transportation modes from raw, low-dimensional, and heterogeneous GPS trajectory data.
  • To improve the representation of GPS features by learning distributed embeddings that capture high-level semantics and enable nonlinear decision boundaries.
  • To enhance the predictive power of RNNs through segment-based feature enrichment and Maxout activation in GRUs.
  • To achieve state-of-the-art performance on point-based trajectory classification without relying on additional sensory data or location-based priors.
  • To investigate the theoretical connections between embedding, basis expansion, and discretization in neural networks for continuous spatiotemporal data.

Proposed method

  • The model uses a novel embedding layer that maps raw GPS features (latitude, longitude, speed, heading) into a distributed vector space, acting as a form of basis expansion to improve feature representation.
  • Segment-based features are extracted by dividing trajectories into fixed-length windows, enriching the input representation with local movement patterns.
  • Maxout activations are applied within Gated Recurrent Units (GRUs) to enhance the expressive power of the memory states and improve generalization.
  • The embedding layer is trained end-to-end with the GRU classifier, allowing the network to learn semantically meaningful representations directly from GPS data.
  • Discretization of continuous features is applied via entropy-based binning, with ablation studies showing optimal performance at 20–30 bins per feature.
  • The framework is trained using cross-entropy loss and stochastic gradient descent, with early stopping to prevent overfitting.

Experimental results

Research questions

  • RQ1Can a learned embedding of raw GPS features improve classification performance in low-dimensional, heterogeneous spatiotemporal data?
  • RQ2How does the proposed embedding mechanism relate to basis expansion and piecewise function approximation in neural networks?
  • RQ3To what extent do segment-based features and Maxout activations enhance the predictive power of RNNs for trajectory classification?
  • RQ4Can a purely GPS-based model achieve state-of-the-art performance without external data or prior knowledge?
  • RQ5How does the choice of discretization granularity affect model performance on transportation mode detection?

Key findings

  • TrajectoryNet achieves 98.0% point-based classification accuracy when detecting four transportation modes (bike, car, walk, bus), significantly outperforming baseline models.
  • In a more challenging seven-class classification task (including train, subway, airplane), the model achieves 97.3% point-based accuracy and 93.0% average F1 score.
  • The model shows robustness to class imbalance, with the highest error rates occurring in underrepresented classes such as subway and airplane, which had fewer training examples.
  • Discretization of features into 20–30 bins per feature yields optimal performance, with diminishing returns beyond 30 bins.
  • Visualization of predictions shows that the majority of misclassifications occur between similar modes (e.g., car vs. bus), indicating the model captures subtle motion patterns effectively.
  • The ablation study confirms that both the embedding layer and Maxout-GRU components are critical, with performance dropping significantly when either is removed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.