arXiv:2511.13741cs.LG2025-11KDD被引 12

通过分层模糊编码保留轨迹的时空细节,提升轨迹表示学习效果

Blurred Encoding for Trajectory Representation Learning

  • 用渐进降精度方法生成多层级空间块,兼顾细粒度与整体模式
  • 在3个下游任务中平均优于最佳基线30.90%,显著提升轨迹分类与检索精度
  • 适合需要精细轨迹建模的场景,如交通行为分析、路径推荐

轨迹表示学习(TRL)将轨迹映射为向量嵌入,支持轨迹分类和相似性搜索等任务。现有先进方法将原始GPS轨迹转换为网格或道路轨迹以捕捉高层次出行语义(如区域与道路),但会丢失细粒度时空信息,因多个GPS点被合并至单一网格单元或道路段。为此,我们提出BLUrred Encoding(BLUE)方法,通过逐步降低GPS坐标精度,构建具有多层级的分块结构:低层级块较小,保留精细时空细节;高层级块较大,捕捉整体出行模式。BLUE采用金字塔结构的编码器-解码器架构,在每层使用Transformer学习当前层级的轨迹嵌入;编码器通过池化操作准备更高层级输入,解码器通过上采样为低层级提供引导。模型通过轨迹重建任务和MSE损失进行训练。我们在3个下游任务中对比8种先进方法,结果表明BLUE始终表现更优,平均超过最佳基线30.90%。代码已开源:https://github.com/slzhou-xy/BLUE。

原文摘要 · Abstract (English)

Trajectory representation learning (TRL) maps trajectories to vector embeddings and facilitates tasks such as trajectory classification and similarity search. State-of-the-art (SOTA) TRL methods transform raw GPS trajectories to grid or road trajectories to capture high-level travel semantics, i.e., regions and roads. However, they lose fine-grained spatial-temporal details as multiple GPS points are grouped into a single grid cell or road segment. To tackle this problem, we propose the BLUrred Encoding method, dubbed BLUE, which gradually reduces the precision of GPS coordinates to create hierarchical patches with multiple levels. The low-level patches are small and preserve fine-grained spatial-temporal details, while the high-level patches are large and capture overall travel patterns. To complement different patch levels with each other, our BLUE is an encoder-decoder model with a pyramid structure. At each patch level, a Transformer is used to learn the trajectory embedding at the current level, while pooling prepares inputs for the higher level in the encoder, and up-resolution provides guidance for the lower level in the decoder. BLUE is trained using the trajectory reconstruction task with the MSE loss. We compare BLUE with 8 SOTA TRL methods for 3 downstream tasks, the results show that BLUE consistently achieves higher accuracy than all baselines, outperforming the best-performing baselines by an average of 30.90%. Our code is available at https://github.com/slzhou-xy/BLUE.

轨迹学习多层级建模Transformer

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。