轨迹相似性度量:效率视角
Trajectory Similarity Measurement: An Efficiency Perspective
AI总结:
本文从效率视角系统比较轨迹相似性的启发式度量与基于深度学习的嵌入方法,通过时间复杂度分析和开放数据集实验揭示不同计算场景下的效率与准确性权衡。
摘要:
捕捉对象运动的轨迹具有众多应用,而轨迹之间的相似性计算往往在其中发挥关键作用。传统上,两条轨迹之间的相似性通过直接作用于轨迹的启发式度量(例如 Hausdorff 或 ERP)来量化。相比之下,近期研究利用深度学习将轨迹映射到 d 维向量,即嵌入(embeddings)。随后,对这些嵌入应用某种距离度量,例如 Manhattan 或 Euclidean,以量化轨迹相似性。由此得到的相似性并不准确:它们只是近似于使用启发式度量获得的相似性。由于对嵌入进行距离计算十分高效,研究重点一直放在获得能够产生高准确性的嵌入上。我们从效率视角出发,分析了启发式方法和基于学习的方法的时间复杂度,发现前者的时间复杂度并不一定更高。通过在开放数据集上进行大量实验,我们发现,在 CPU 和 GPU 上,只有少数基于学习的方法能够在嵌入可以预先计算时实现其所承诺的更高效率;而对于一次性计算,启发式方法效率更高。在基于学习的方法中,基于 self-attention 的方法学习嵌入的速度最快,并且这些嵌入在相似性查询中也能产生最高的准确性。这些结果对在不同应用需求下使用轨迹相似性方法具有启示意义。
英文摘要:
Trajectories that capture object movement have numerous applications, in which similarity computation between trajectories often plays a key role. Traditionally, the similarity between two trajectories is quantified by means of heuristic measures, e.g., Hausdorff or ERP, that operate directly on the trajectories. In contrast, recent studies exploit deep learning to map trajectories to d-dimensional vectors, called embeddings. Then, some distance measure, e.g., Manhattan or Euclidean, is applied to the embeddings to quantify trajectory similarity. The resulting similarities are inaccurate: they only approximate the similarities obtained using the heuristic measures. As distance computation on embeddings is efficient, focus has been on achieving embeddings yielding high accuracy. Adopting an efficiency perspective, we analyze the time complexities of both the heuristic and the learning-based approaches, finding that the time complexities of the former approaches are not necessarily higher. Through extensive experiments on open datasets, we find that, on both CPUs and GPUs, only a few learning-based approaches can deliver the promised higher efficiency, when the embeddings can be pre-computed, while heuristic approaches are more efficient for one-off computations. Among the learning-based approaches, the self-attention-based ones are the fastest to learn embeddings that also yield the highest accuracy for similarity queries. These results have implications for the use of trajectory similarity approaches given different application requirements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。