Contrast & Compress: Learning Lightweight Embeddings for Short Trajectories
Abhishek Vivekanandan, Christian Hubschneider, J. Marius Z\"ollner

TL;DR
This paper introduces a contrastive learning framework using Transformer encoders to generate lightweight, interpretable embeddings for short trajectories, improving retrieval accuracy and efficiency in motion forecasting tasks.
Contribution
It proposes a novel contrastive learning approach with Transformer models for trajectory embedding, emphasizing interpretability and efficiency over heuristic methods.
Findings
Cosine similarity-based embeddings outperform FFT in clustering and retrieval tasks.
Low-dimensional Transformer embeddings (as small as 4D) maintain high performance.
Embeddings enable scalable, transparent motion forecasting.
Abstract
The ability to retrieve semantically and directionally similar short-range trajectories with both accuracy and efficiency is foundational for downstream applications such as motion forecasting and autonomous navigation. However, prevailing approaches often depend on computationally intensive heuristics or latent anchor representations that lack interpretability and controllability. In this work, we propose a novel framework for learning fixed-dimensional embeddings for short trajectories by leveraging a Transformer encoder trained with a contrastive triplet loss that emphasize the importance of discriminative feature spaces for trajectory data. We analyze the influence of Cosine and FFT-based similarity metrics within the contrastive learning paradigm, with a focus on capturing the nuanced directional intent that characterizes short-term maneuvers. Our empirical evaluation on the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Advanced Text Analysis Techniques
MethodsDropout · Label Smoothing · Byte Pair Encoding · Absolute Position Encodings · Layer Normalization · Dense Connections · Softmax · Transformer · Contrastive Learning · Triplet Loss
