arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.02571cs.CV
收藏

对比与压缩:学习短轨迹的轻量级嵌入

Contrast & Compress: Learning Lightweight Embeddings for Short Trajectories

FZI Research Center for Information Technology(FZI信息技术研究中心);Karlsruhe Institute of Technology (KIT)(卡尔斯鲁厄理工学院)

Abhishek Vivekanandan, Christian Hubschneider, J. Marius Zöllner

AI总结:

本文提出用对比三元组损失训练Transformer编码器学习短轨迹的紧凑嵌入,在Argoverse 2上证明余弦相似度优于FFT基线,并实现低维嵌入下检索性能与计算开销的良好平衡。

摘要:

以准确性和效率兼具的方式检索语义和方向相似的短程轨迹,是运动预测和自主导航等下游应用的基础能力。然而,主流方法往往依赖计算密集的启发式规则或缺乏可解释性与可控性的潜在锚点表示。在本工作中,我们提出一种新颖的框架,通过利用以对比三元组损失训练的Transformer编码器来学习短轨迹的固定维度嵌入,该损失强调轨迹数据判别性特征空间的重要性。我们分析了对比学习范式下基于余弦和FFT的相似度度量所产生的影响,重点关注捕捉刻画短期机动行为的细微方向意图。我们在Argoverse 2数据集上的实证评估表明,由余弦相似度目标塑造的嵌入在按语义和方向属性对轨迹进行聚类方面表现更优,在检索任务中优于基于FFT的基线方法。值得注意的是,我们证明紧凑的Transformer架构即使在低维嵌入(例如16维,定性上可低至4维)的情况下,也能在检索性能(minADE、minFDE)与计算开销之间取得令人瞩目的平衡,这与实时系统中对可扩展且可解释的运动先验日益增长的需求相契合。所得嵌入为轨迹数据提供了一种紧凑、语义上有意义且高效的表示,为启发式相似度度量提供了稳健的替代方案,并为更透明、更可控的运动预测流程铺平了道路。

英文摘要:

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 Argoverse 2 dataset demonstrates that embeddings shaped by Cosine similarity objectives yield superior clustering of trajectories by both semantic and directional attributes, outperforming FFT-based baselines in retrieval tasks. Notably, we show that compact Transformer architectures, even with low-dimensional embeddings (e.g., 16 dimensions, but qualitatively down to 4), achieve a compelling balance between retrieval performance (minADE, minFDE) and computational overhead, aligning with the growing demand for scalable and interpretable motion priors in real-time systems. The resulting embeddings provide a compact, semantically meaningful, and efficient representation of trajectory data, offering a robust alternative to heuristic similarity measures and paving the way for more transparent and controllable motion forecasting pipelines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑