{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,10]],"date-time":"2026-11-10T14:09:07Z","timestamp":1794319747438,"version":"4.9.0"},"reference-count":49,"publisher":"Association for Computing Machinery (ACM)","issue":"2","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2024,10]]},"abstract":"<jats:p>Free-space trajectory similarity calculation, e.g., DTW, Hausdorff, and Fr\u00e9chet, often incur quadratic time complexity, thus learning-based methods have been proposed to accelerate the computation. The core idea is to train an encoder to transform trajectories into representation vectors and then compute vector similarity to approximate the ground truth. However, existing methods face dual challenges of effectiveness and efficiency: 1) they all utilize Euclidean distance to compute representation similarity, which leads to the severe curse of dimensionality issue - reducing the distinguishability among representations and significantly affecting the accuracy of subsequent similarity search tasks; 2) most of them are trained in triplets manner and often necessitate additional information which downgrades the efficiency; 3) previous studies, while emphasizing the scalability in terms of efficiency, overlooked the deterioration of effectiveness when the dataset size grows. To cope with these issues, we propose a simple, yet accurate, fast, scalable model that only uses a single-layer vanilla transformer encoder as the feature extractor and employs tailored representation similarity functions to approximate various ground truth similarity measures. Extensive experiments demonstrate our model significantly mitigates the curse of dimensionality issue and outperforms the state-of-the-arts in effectiveness, efficiency, and scalability.<\/jats:p>","DOI":"10.14778\/3705829.3705853","type":"journal-article","created":{"date-parts":[[2025,2,28]],"date-time":"2025-02-28T18:21:06Z","timestamp":1740766866000},"page":"390-398","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory Similarity"],"prefix":"10.14778","volume":"18","author":[{"given":"Chuang","family":"Yang","sequence":"first","affiliation":[{"name":"The University of Tokyo"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Renhe","family":"Jiang","sequence":"additional","affiliation":[{"name":"The University of Tokyo"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaohang","family":"Xu","sequence":"additional","affiliation":[{"name":"The University of Tokyo"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chuan","family":"Xiao","sequence":"additional","affiliation":[{"name":"Osaka University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kaoru","family":"Sezaki","sequence":"additional","affiliation":[{"name":"The University of Tokyo"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,2,28]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3196959.3196972"},{"key":"e_1_2_1_2_1","volume-title":"32nd International Symposium on Computational Geometry (SoCG","volume":"51","author":"Agarwal Pankaj K.","year":"2016","unstructured":"Pankaj K. Agarwal, Kyle Fox, Jiangwei Pan, and Rex Ying. 2016. Approximating Dynamic Time Warping and Edit Distance for a Pair of Point Sequences. In 32nd International Symposium on Computational Geometry (SoCG 2016), Vol. 51. 6:1--6:16."},{"key":"e_1_2_1_3_1","volume-title":"Database Theory---ICDT 2001: 8th International Conference London, UK, January 4--6","author":"Aggarwal Charu C","year":"2001","unstructured":"Charu C Aggarwal, Alexander Hinneburg, and Daniel A Keim. 2001. On the surprising behavior of distance metrics in high dimensional space. In Database Theory---ICDT 2001: 8th International Conference London, UK, January 4--6, 2001 Proceedings 8. Springer, 420--434."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/TITS.2010.2048101"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3399631"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/TITS.2016.2547641"},{"key":"e_1_2_1_7_1","volume-title":"Database Theory---ICDT'99: 7th International Conference Jerusalem, Israel, January 10--12, 1999 Proceedings 7. Springer, 217--235","author":"Beyer Kevin","year":"1999","unstructured":"Kevin Beyer, Jonathan Goldstein, Raghu Ramakrishnan, and Uri Shaft. 1999. When is \"nearest neighbor\" meaningful?. In Database Theory---ICDT'99: 7th International Conference Jerusalem, Israel, January 10--12, 1999 Proceedings 7. Springer, 217--235."},{"key":"e_1_2_1_8_1","first-page":"46","article-title":"Approximability of the discrete Fr\u00e9chet distance","volume":"7","author":"Bringmann Karl","year":"2016","unstructured":"Karl Bringmann and Wolfgang Mulzer. 2016. Approximability of the discrete Fr\u00e9chet distance. Journal of Computational Geometry 7, 2 (2016), 46--76.","journal-title":"Journal of Computational Geometry"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/3665844.3665858"},{"key":"e_1_2_1_10_1","unstructured":"Wei Chen Yuxuan Liang Yuanshao Zhu Yanchuan Chang Kang Luo Haomin Wen Lei Li Yanwei Yu Qingsong Wen Chao Chen et al. 2024. Deep learning for trajectory data management and mining: A survey and beyond. arXiv preprint arXiv:2403.14151 (2024)."},{"key":"e_1_2_1_11_1","volume-title":"Approximating the (Continuous) Fr\u00e9chet Distance. In 37th International Symposium on Computational Geometry (SoCG","volume":"189","author":"Colombe Connor","year":"2021","unstructured":"Connor Colombe and Kyle Fox. 2021. Approximating the (Continuous) Fr\u00e9chet Distance. In 37th International Symposium on Computational Geometry (SoCG 2021), Vol. 189. 26:1--26:14."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3347146.3359342"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3534678.3539375"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3447548.3467337"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2023.3323535"},{"key":"e_1_2_1_16_1","volume-title":"Retrieved","year":"2015","unstructured":"Kaggle. 2015. Porto Dataset - ECML\/PKDD 15: Taxi Trajectory Prediction (I). Retrieved October 22, 2024 from https:\/\/www.kaggle.com\/c\/pkdd-15-predict-taxi-service-trajectory-i\/data"},{"key":"e_1_2_1_17_1","volume-title":"Ryuichi Yamamoto, Xiaofei Wang, et al.","author":"Karita Shigeki","year":"2019","unstructured":"Shigeki Karita, Nanxin Chen, Tomoki Hayashi, Takaaki Hori, Hirofumi Inaguma, Ziyan Jiang, Masao Someki, Nelson Enrique Yalta Soplin, Ryuichi Yamamoto, Xiaofei Wang, et al. 2019. A comparative study on transformer vs rnn in speech applications. In 2019 IEEE automatic speech recognition and understanding workshop (ASRU). IEEE, 449--456."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407818"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/PCI.2011.45"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.14778\/3554821.3554831"},{"key":"e_1_2_1_21_1","doi-asserted-by":"crossref","first-page":"66","DOI":"10.3923\/ajms.2011.66.70","article-title":"Concise formulas for the area and volume of a hyperspherical cap","volume":"4","author":"Li Shengqiao","year":"2010","unstructured":"Shengqiao Li. 2010. Concise formulas for the area and volume of a hyperspherical cap. Asian Journal of Mathematics & Statistics 4, 1 (2010), 66--70.","journal-title":"Asian Journal of Mathematics & Statistics"},{"key":"e_1_2_1_22_1","volume-title":"Retrieved","author":"Cadastre Marine","year":"2021","unstructured":"Marine Cadastre. 2021. AIS Data. Retrieved October 22, 2024 from https:\/\/marinecadastre.gov\/accessais\/"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2536798"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10462-018-9619-1"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.5555\/1367985.1367993"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3183743"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2015.2408351"},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the 20th International Conference on Extending Database Technology (EDBT). 378--389","author":"Tang Bo","year":"2017","unstructured":"Bo Tang, Man Lung Yiu, Kyriakos Mouratidis, and Kai Wang. 2017. Efficient motif discovery in spatial trajectories using discrete fr\u00e9chet distance. In Proceedings of the 20th International Conference on Extending Database Technology (EDBT). 378--389."},{"key":"e_1_2_1_29_1","volume-title":"\u0141 ukasz Kaiser, and Illia Polosukhin","author":"Vaswani Ashish","year":"2017","unstructured":"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, \u0141 ukasz Kaiser, and Illia Polosukhin. 2017. Attention is All you Need. In Advances in Neural Information Processing Systems, Vol. 30."},{"key":"e_1_2_1_30_1","volume-title":"International work-conference on artificial neural networks","author":"Verleysen Michel","unstructured":"Michel Verleysen and Damien Fran\u00e7ois. 2005. The curse of dimensionality in data mining and time series prediction. In International work-conference on artificial neural networks. Springer, 758--770."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v32i1.11877"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.14778\/3357377.3357380"},{"key":"e_1_2_1_33_1","volume-title":"Retrieved","year":"2024","unstructured":"Wikipedia. 2024. Gamma Function. Retrieved October 22, 2024 from https:\/\/en.wikipedia.org\/wiki\/Gamma_function"},{"key":"e_1_2_1_34_1","volume-title":"Retrieved","year":"2024","unstructured":"Wikipedia. 2024. Hypercube. Retrieved October 22, 2024 from https:\/\/en.wikipedia.org\/wiki\/Hypercube#Faces"},{"key":"e_1_2_1_35_1","volume-title":"Retrieved","year":"2024","unstructured":"Wikipedia. 2024. Inversion (discrete mathematics). Retrieved October 22, 2024 from https:\/\/en.wikipedia.org\/wiki\/Inversion_(discrete_mathematics)"},{"key":"e_1_2_1_36_1","volume-title":"Retrieved","year":"2024","unstructured":"Wikipedia. 2024. Rank correlation. Retrieved October 22, 2024 from https:\/\/en.wikipedia.org\/wiki\/Rank_correlation"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137628.3137655"},{"key":"e_1_2_1_38_1","doi-asserted-by":"crossref","first-page":"3586","DOI":"10.1109\/TVCG.2022.3165385","article-title":"EpiMob: Interactive visual analytics of citywide human mobility restrictions for epidemic control","volume":"29","author":"Yang Chuang","year":"2022","unstructured":"Chuang Yang, Zhiwen Zhang, Zipei Fan, Renhe Jiang, Quanjun Chen, Xuan Song, and Ryosuke Shibasaki. 2022. EpiMob: Interactive visual analytics of citywide human mobility restrictions for epidemic control. IEEE Transactions on Visualization and Computer Graphics 29, 8 (2022), 3586--3601.","journal-title":"IEEE Transactions on Visualization and Computer Graphics"},{"key":"e_1_2_1_39_1","volume-title":"2022 IEEE 38th International Conference on Data Engineering (ICDE). IEEE, 1700--1713","author":"Yang Peilun","year":"2022","unstructured":"Peilun Yang, Hanchen Wang, Defu Lian, Ying Zhang, Lu Qin, and Wenjie Zhang. 2022. TMN: trajectory matching networks for predicting similarity. In 2022 IEEE 38th International Conference on Data Engineering (ICDE). IEEE, 1700--1713."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE51399.2021.00221"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2019.00123"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3534678.3539358"},{"key":"e_1_2_1_43_1","volume-title":"2019 IEEE 35th international conference on data engineering (ICDE). IEEE, 1262--1273","author":"Yuan Haitao","year":"2019","unstructured":"Haitao Yuan and Guoliang Li. 2019. Distributed in-memory trajectory similarity search and join on road network. In 2019 IEEE 35th international conference on data engineering (ICDE). IEEE, 1262--1273."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2339530.2339561"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/1869790.1869807"},{"key":"e_1_2_1_46_1","volume-title":"Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI). 11--17","author":"Zhang Hanyuan","year":"2020","unstructured":"Hanyuan Zhang, Xingyu Zhang, Qize Jiang, Baihua Zheng, Zhenbang Sun, Weiwei Sun, and Changhu Wang. 2020. Trajectory similarity learning with auxiliary supervision and optimal matching. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI). 11--17."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/2743025"},{"key":"e_1_2_1_48_1","first-page":"32","article-title":"GeoLife: A collaborative social networking service among user, location and trajectory","volume":"33","author":"Zheng Yu","year":"2010","unstructured":"Yu Zheng, Xing Xie, Wei-Ying Ma, et al. 2010. GeoLife: A collaborative social networking service among user, location and trajectory. IEEE Data Eng. Bull. 33, 2 (2010), 32--39.","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1002\/sam.11161"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3705829.3705853","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,2,28]],"date-time":"2025-02-28T18:25:12Z","timestamp":1740767112000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3705829.3705853"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,10]]},"references-count":49,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2024,10]]}},"alternative-id":["10.14778\/3705829.3705853"],"URL":"https:\/\/doi.org\/10.14778\/3705829.3705853","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2024,10]]},"assertion":[{"value":"2025-02-28","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}