计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 115-123.doi: 10.11896/jsjkx.250900037
朱清林, 张磊, 刘佰龙
ZHU Qinglin, ZHANG Lei, LIU Bailong
摘要: 轨迹表示学习(TRL)旨在将原始轨迹序列转换成低维轨迹表示,是众多轨迹分析任务的基础。尽管现有深度学习模型在该任务中表现出色,但这些方法往往局限于挖掘轨迹自身的内部特征,未能有效利用其相似轨迹中丰富的上下文信息。因此,模型在理解群体移动规律、推断行为语义方面表现欠佳,尤其在处理稀疏或带噪声的轨迹数据时,所学表示往往语义区分度不足,泛化能力也较为有限。此外,传统注意力机制在建模轨迹序列时,通常需要计算所有时空点之间的全局关联,导致计算复杂度过高,并且难以从长程序列中捕捉局部关键依赖。针对上述问题,提出了一种基于相似轨迹增强的轨迹表示学习方法SimiTRL(Trajectory Representation Learning with enhanced trajectory Similarity)。该方法首先设计基于多视角信息的相似轨迹提取模块,通过融合时空特征构建相似度度量,检索语义相近的轨迹集合;进而构建基于交叉注意力的表征信息聚合模块,聚合相似轨迹中的上下文语义信息,增强轨迹表示的判别能力。同时,为降低计算开销并突出局部依赖,采用基于稀疏注意力的轨迹编码器,以聚焦局部细粒度依赖关系,提升计算效率。在Porto数据集上进行的多项实验结果表明,SimiTRL在轨迹分类任务中性能相较最佳基准模型平均提升17.8%,在行程时间估计任务中MAE降低5.59%,在轨迹相似度计算任务中,MR降低15.63%,HR@1和HR@5分别提高0.76%和0.31%。
中图分类号:
| [1] LIU H,JIANG W,LIU S,et al.Uncertainty-aware probabilistic travel time prediction for on-demand ride-hailing at didi[C]//Proceedings of the 29th ACM SIGKDD Conference on Know-ledge Discovery and Data Mining.2023:4516-4526. [2] FANG Y,ZHAO T,LIU Q L,et al.Trajectory Prediction Me-thod Based on Fusion of Graph Interaction and Scene Perception [J].Computer Science,2022,49(10):258-264. [3] ZHOU S,LI J,WANG H,et al.GRLSTM:trajectory similaritycomputation with graph-based residual LSTM[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2023:4972-4980. [4] YAO D,ZHANG C,ZHU Z,et al.Trajectory clustering via deep representation learning[C]//2017 International Joint Confe-rence on Neural Networks(IJCNN).IEEE,2017:3880-3887. [5] VASWANI A,SHAZEER N,PARMAR N,et al.Attention isall you need[C]//Advances in Neural Information Processing Systems.2017. [6] CHEN Y,LI X,CONG G,et al.Robust road network representation learning:When traffic patterns meet traveling semantics[C]//Proceedings of the 30th ACM International Conference on Information & Knowledge Management.2021:211-220. [7] GROVER A,LESKOVEC J.node2vec:Scalable feature learning for networks[C]//Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mi-ning.2016:855-864. [8] NGUYEN T,NGUYEN T,BARANIUK R.Mitigating Over-smoothing in Transformers via Regularized Nonlocal Func-tionals [C]//Advances in Neural Information Processing Systems.2023:80233-80256. [9] LI X,ZHAO K,CONG G,et al.Deep representation learning for trajectory similarity computation[C]//2018 IEEE 34th International Conference on Data Engineering(ICDE).IEEE,2018:617-628. [10] YANG P,WANG H,ZHANG Y,et al.T3s:Effective representation learning for trajectory similarity computation[C]//2021 IEEE 37th International Conference on Data Engineering(ICDE).IEEE,2021:2183-2188. [11] HAN P,WANG J,YAO D,et al.A graph-based approach for trajectory similarity computation in spatial networks[C]//Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining.2021:556-564. [12] ZHOU S,HAN P,YAO D,et al.Spatial-temporal fusion graph framework for trajectory similarity computation[J].World Wide Web,2023,26(4):1501-1523. [13] FANG Z,DU Y,CHEN L,et al.E 2 dtc:An end to end deep trajectory clustering framework via self-training[C]//2021 IEEE 37th International Conference on Data Engineering(ICDE).IEEE,2021:696-707. [14] WANG C,HUANG J,WANG Y,et al.A deep spatiotemporal trajectory representation learning framework for clustering[J].IEEE Transactions on Intelligent Transportation Systems,2024,25(7):7687-7700. [15] LIU Y,ZHAO K,CONG G,et al.Online anomalous trajectory detection with deep generative sequence modeling[C]//2020 IEEE 36th International Conference on Data Engineering(ICDE).IEEE,2020:949-960. [16] ZHANG Q,WANG Z,LONG C,et al.Online anomalous subtrajectory detection on road networks with deep reinforcement learning[C]//2023 IEEE 39th International Conference on Data Engineering(ICDE).IEEE,2023:246-258. [17] FUT Y,LEE W C.Trembr:Exploring road networks for trajectory representation learning[J].ACM Transactions on Intelligent Systems and Technology,2020,11(1):1-25. [18] YANG S B,GUO C,HU J,et al.Unsupervised path representation learning with curriculum negative sampling[J].arXiv:2106.09373,2021. [19] MAO Z,LI Z,LI D,et al.Jointly contrastive representationlearning on road network and trajectory[C]//Proceedings of the 31st ACM International Conference on Information & Know-ledge Management.2022:1501-1510. [20] JIANG J,PAN D,REN H,et al.Self-supervised trajectory representation learning with temporal regularities and travel semantics[C]//2023 IEEE 39th International Conference on Data Engineering(ICDE).IEEE,2023:843-855. [21] YANG S B,HU J,GUO C,et al.Lightpath:Lightweight andscalable path representation learning[C]//Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining.2023:2999-3010. [22] MA Z,TU Z,CHEN X,et al.More than routing:Joint GPS and route modeling for refine trajectory representation learning[C]//Proceedings of the ACM Web Conference 2024.2024:3064-3075. [23] ZHOU S,SHANG S,CHEN L,et al.Red:Effective trajectoryrepresentation learning with comprehensive information[J].arXiv:2411.15096,2024. [24] YANG C,GIDOFALVI G.Fast map matching,an algorithm integrating hidden Markov model with precomputation[J].International Journal of Geographical Information Science,2018,32(3):547-570. [25] VELIČKOVIĆ P,CUCURULL G,CASANOVA A,et al.Graphattention networks[J].arXiv:1710.10903,2017. [26] DEVLIN J,CHANG M W,LEE K,et al.Bert:Pre-training ofdeep bidirectional transformers for language understanding[C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.2019:4171-4186. [27] LOSHCHILOV I,HUTTER F.Decoupled weight decay regularization[J]arXiv:1711.05101,2017. |
|
||