Autoencoder Trajectory Compression
Reference
- Kölle, M., Illium, S., Hahn, C., Schauer, L., Hutter, J., and Linnhoff-Popien, C. 2023. Compression of GPS Trajectories using Autoencoders. arXiv preprint arXiv:2301.07420.
The proliferation of location-aware mobile devices generates vast amounts of GPS trajectory data, necessitating efficient storage solutions. While various compression techniques aim to reduce data volume, preserving essential spatio-temporal information remains crucial.

This paper introduces a novel approach for compressing and reconstructing GPS trajectories using a Long Short-Term Memory (LSTM) autoencoder. The autoencoder learns a compressed latent representation of the trajectory sequence, which can then be decoded to reconstruct the original path.
Our method was evaluated on two distinct datasets: one from a gaming context and another real-world dataset (T-Drive). We assessed performance across a range of compression ratios and trajectory lengths, comparing it against the widely used traditional Douglas-Peucker algorithm.
Key findings:
- The LSTM autoencoder approach significantly outperforms Douglas-Peucker in terms of reconstruction accuracy, as measured by both discrete Fréchet distance and Dynamic Time Warping (DTW).
- Unlike point-reduction techniques like Douglas-Peucker, our method performs a lossy reconstruction at every point along the trajectory. This offers potential advantages in maintaining temporal resolution and providing greater flexibility for downstream analysis.
Experimental results demonstrate the effectiveness and potential benefits of using deep learning, specifically LSTM autoencoders, for GPS trajectory compression, offering improved accuracy over conventional geometric algorithms. [Kölle et al. 2023]