TrajFormer: Efficient Trajectory Classification with Transformers

被引:21
作者
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 条
[41]   Fuzzy Spatiotemporal Representation Model for Human Trajectory Classification [J].
Chen, Lifeng ;
Jin, Canghong ;
Wu, Hao ;
Zhao, Jiafeng ;
Wu, Jianghong .
SENSORS AND MATERIALS, 2023, 35 (12) :4085-4104
[42]   Incorporating duration and region association information in trajectory classification [J].
Patel, Dhaval .
JOURNAL OF LOCATION BASED SERVICES, 2013, 7 (04) :246-271
[43]   Weightless neuro-symbolic GPS trajectory classification [J].
Barbosa, Raul ;
Cardoso, Douglas O. ;
Carvalho, Diego ;
Franca, Felipe M. G. .
NEUROCOMPUTING, 2018, 298 :100-108
[44]   MOVELETS: Exploring Relevant Subtrajectories for Robust Trajectory Classification [J].
Ferrero, Carlos Andres ;
Alvares, Luis Otavio ;
Zalewski, Willian ;
Bogorny, Vania .
33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, :849-856
[45]   CLIMAT: CLINICALLY-INSPIRED MULTI-AGENT TRANSFORMERS FOR KNEE OSTEOARTHRITIS TRAJECTORY FORECASTING [J].
Huy Hoang Nguyen ;
Saarakkala, Simo ;
Blaschko, Matthew B. ;
Tiulpin, Aleksei .
2022 IEEE INTERNATIONAL SYMPOSIUM ON BIOMEDICAL IMAGING (IEEE ISBI 2022), 2022,
[46]   The Story of Mobility: Combining State Space Models and Transformers for Multi-Step Trajectory Prediction [J].
Gunkel, Jonas ;
Tundis, Andrea ;
Muehlhaeuser, Max .
2ND ACM SIGSPATIAL INTERNATIONAL WORKSHOP ON THE HUMAN MOBILITY PREDICTION CHALLENGE, HUMOB-CHALLENGE 2024, 2024, :19-24
[47]   EFFICIENT SUBSEASONAL WEATHER FORECAST USING TELECONNECTION-INFORMED TRANSFORMERS [J].
Zhao, Shan ;
Xiong, Zhitong ;
Zhu, Xiao Xiang .
IGARSS 2024-2024 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM, IGARSS 2024, 2024, :2847-2852
[48]   Visual Mechanisms Inspired Efficient Transformers for Image and Video Quality Assessment [J].
You, Junyong ;
Zhang, Zheng .
ADVANCES IN INFORMATION AND COMMUNICATION, FICC, VOL 2, 2023, 652 :455-473
[49]   Design and Analysis of Efficient Attention in Transformers for Social Group Activity Recognition [J].
Tamura, Masato .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2024, 132 (10) :4269-4288
[50]   LED-DETR: Lightweight, Efficient and Decoupled Object Detection with Transformers [J].
Wei, Jianghao ;
Huang, Wei ;
Hu, Tao ;
Liu, Qiang ;
Yu, Jie ;
Duan, Xiaoqiu ;
Huang, Jiahuan .
2024 5TH INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKS AND INTERNET OF THINGS, CNIOT 2024, 2024, :390-396