TrajFormer: Efficient Trajectory Classification with Transformers

被引:17
|
作者
Liang, Yuxuan [1 ]
Ouyang, Kun [1 ]
Wang, Yiwei [1 ]
Liu, Xu [1 ]
Chen, Hongyang [2 ]
Zhang, Junbo [3 ]
Zheng, Yu [3 ]
Zimmermann, Roger [1 ]
机构
[1] Natl Univ Singapore, Singapore, Singapore
[2] Zhejiang Lab, Hangzhou, Peoples R China
[3] JD Technol, JD Intelligent Cities Res & JD iCity, Beijing, Peoples R China
来源
PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2022 | 2022年
基金
中国国家自然科学基金;
关键词
Trajectory classification; urban computing; transformer;
D O I
10.1145/3511808.3557481
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Transformers have been an efficient alternative to recurrent neural networks in many sequential learning tasks. When adapting transformers to modeling trajectories, we encounter two major issues. First, being originally designed for language modeling, transformers assume regular intervals between input tokens, which contradicts the irregularity of trajectories. Second, transformers often suffer high computational costs, especially for long trajectories. In this paper, we address these challenges by presenting a novel transformer architecture entitled TrajFormer. Our model first generates continuous point embeddings by jointly considering the input features and the information of spatio-temporal intervals, and then adopts a squeeze function to speed up the representation learning. Moreover, we introduce an auxiliary loss to ease the training of transformers using the supervision signals provided by all output tokens. Extensive experiments verify that our TrajFormer achieves a preferable speed-accuracy balance compared to existing approaches.
引用
收藏
页码:1229 / 1237
页数:9
相关论文
共 50 条
  • [1] Efficient Classification of Long Documents Using Transformers
    Park, Hyunji Hayley
    Vyas, Yogarshi
    Shah, Kashif
    PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022): (SHORT PAPERS), VOL 2, 2022, : 702 - 709
  • [2] LEVERAGING EFFICIENT TRAINING AND FEATURE FUSION IN TRANSFORMERS FOR MULTIMODAL CLASSIFICATION
    Emir, Kenan A. K.
    Lee, Gwang-Gook
    Xu, Yan
    Shen, Mingwei
    2023 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2023, : 1420 - 1424
  • [3] Efficient WSI classification with sequence reduction and transformers pretrained on text
    Pisula, Juan I.
    Bozek, Katarzyna
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [4] Trajectory classification to support effective and efficient field-road classification
    Chen Y.
    Kuang K.
    Wu C.
    PeerJ Computer Science, 2024, 10
  • [5] Trajectory classification to support effective and efficient field-road classification
    Chen, Ying
    Kuang, Kaiming
    Wu, Caicong
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [6] Trajectory classification to support effective and efficient field-road classification
    Chen, Ying
    Kuang, Kaiming
    Wu, Caicong
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [7] An Efficient Approach for Trajectory Classification using FCM and SVM
    Saini, Rajkumar
    Kumar, Pradeep
    Roy, Partha Pratim
    Dogra, Debi Prosad
    2017 IEEE REGION 10 INTERNATIONAL SYMPOSIUM ON TECHNOLOGIES FOR SMART CITIES (IEEE TENSYMP 2017), 2017,
  • [8] Human Trajectory Completion with Transformers
    Ma, Junwei
    Yang, Chao
    Mao, Shiwen
    Zhang, Jian
    Periaswamy, Senthilkumar C. G.
    Patton, Justin
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2022), 2022, : 3346 - 3351
  • [9] TrajNet: An Efficient and Effective Neural Network for Vehicle Trajectory Classification
    Oh, Jiyong
    Lim, Kil-Taek
    Chung, Yun-Su
    PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION APPLICATIONS AND METHODS (ICPRAM), 2021, : 408 - 416
  • [10] Exploring Frequency-based Approaches for Efficient Trajectory Classification
    Vicenzi, Francisco
    Petry, Lucas May
    da Silva, Camila Leite
    Alvares, Luis Otavio
    Bogorny, Vania
    PROCEEDINGS OF THE 35TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING (SAC'20), 2020, : 624 - 631