Lune

SIGIR2025Top-tier venue

General Neural Embedding for Sequence Distance Approximation

Zhihao Chang, Ding Wang, Xiu Tang, Kingsum Chow, Jianwei Yin

Abstract

Sequence distance computation is a critical and fundamental task in many fields, such as bioinformatics, and time series analysis. Traditional functions for computing the distance between sequences are often based on dynamic programming to find a globally optimal alignment, which has quadratic complexity and is difficult to parallelize, thus limiting their application in large-scale datasets with long sequences. To solve this problem, various fields have designed some specialized models to approximate these distance functions inspired by deep representation learning, i.e., projecting the sequence into a geometric embedding space through an embedding function, so that the distance between sequences can be approximated by the distance in the high-dimensional embedding space, thereby reducing the quadratic complexity to linear. However, we note that even though the element types in sequence and distance functions are different across various fields, the core problem that needs to be solved remains the same. In this paper, we attempt to unify the sequence distance computation approximation from various fields and propose GnesDA. Specifically, we first unify the input representation of sequences in which the element type is the symbol and numeric values. We then encode the sequence using a convolutional block and a Transformer block sequentially, which can effectively capture local patterns and long dependencies respectively. Extensive experiments on four distance functions as well as four large-scale real-world datasets demonstrate that GnesDA achieves state-of-the-art in terms of both versatility and effectiveness. For the task of similarity retrieval, GnesDA can improve the edit distance, NW distance, DTW, and EDR by an average of 10.55%, 6.67%, 4.51%, and 12.00% on all metrics.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. GeoPTH: A Lightweight Approach to Category-Based Trajectory Retrieval via Geometric Prototype Trajectory HashingYang Xu, Zuliang Yang, Kai Ming TingAAAI 2026

Related papers

  1. Neural Distance Embeddings for Biological SequencesGabriele Corso, Zhitao Ying, Michal Pándy, Petar Velickovic et al.NeurIPS 2021 · 51 citations
  2. TaGSim: Type-aware Graph Similarity Learning and ComputationJiyang Bai, Peixiang ZhaoVLDB 2022 · 29 citations
  3. Convolutional Embedding for Edit DistanceXinyan Dai, Xiao Yan, Kaiwen Zhou, Yuxuan Wang et al.SIGIR 2020 · 27 citations
  4. GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
  5. Efficient Graph Similarity Computation with Alignment RegularizationWei Zhuo, Guang TanNeurIPS 2022 · 48 citations
Dusk over the sea between two cliffs drawn in fine vertical lines