Fast Subtrajectory Similarity Search in Road Networks under Weighted Edit Distance Constraints
Satoshi Koide, Chuan Xiao, Yoshiharu Ishikawa
Abstract
In this paper, we address a similarity search problem for spatial trajectories in road networks. In particular, we focus on the subtrajectory similarity search problem, which involves finding in a database the subtrajectories similar to a query trajectory. A key feature of our approach is that we do not focus on a specific similarity function; instead, we consider weighted edit distance (WED), a class of similarity functions which allows user-defined cost functions and hence includes several important similarity functions such as EDR and ERP. We model trajectories as strings, and propose a generic solution which is able to deal with any similarity function belonging to the class of WED. By employing the filter-and-verify strategy, we introduce subsequence filtering to efficiently prunes trajectories and find candidates. In order to choose a proper subsequence to optimize the candidate number, we model the choice as a discrete optimization problem (NP-hard) and compute it using a 2-approximation algorithm. To verify candidates, we design bidirectional tries, with which the verification starts from promising positions and leverage the shared segments of trajectories and the sparsity of road networks for speed-up. Experiments are conducted on large datasets to demonstrate the effectiveness of WED and the efficiency of our method for various similarity functions under WED.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0fd9b69c-371a-4fa6-a69f-76d675c3f514Cited by top-tier papers9
- Spatio-Temporal Trajectory Similarity Learning in Road NetworksZiquan Fang, Yuntao Du, Xinjun Zhu, Danlei Hu et al.KDD 2022 · 68 citations
- Trajectory Similarity Measurement: An Efficiency PerspectiveYanchuan Chang, Egemen Tanin, Gao Cong, Christian S. Jensen et al.VLDB 2024 · 28 citations
- SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory SimilarityChuang Yang, Renhe Jiang, Xiaohang Xu, Chuan Xiao et al.VLDB 2025 · 8 citations
- Parallel Online Similarity Join over Trajectory StreamsZhongjun Ding, Ke Li, Lisi Chen, Shuo ShangWWW 2025 · 5 citations
- Weighted Edit Distance Computation: Strings, Trees, and DyckDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka et al.STOC 2023 · 4 citations
Related papers
- Efficient Non-Learning Similar Subtrajectory SearchJiabao Jin, Peng Cheng, Lei Chen, Xuemin Lin et al.VLDB 2023 · 4 citations
- Exact and Efficient Similar Subtrajectory Search: Integrating Constraints and SimplificationLiwei Deng, Fei Wang, Tianfu Wang, Yan Zhao et al.ICDE 2025 · 1 citation
- Boosting Graph Similarity Search through Pre-ComputationJongik KimSIGMOD 2021 · 10 citations
- Speeding Up GED Verification for Graph Similarity SearchLijun Chang, Xing Feng, Xuemin Lin, Lu Qin et al.ICDE 2020 · 31 citations
- GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
