Lune

SIGIR2020Top-tier venue

Convolutional Embedding for Edit Distance

Xinyan Dai, Xiao Yan, Kaiwen Zhou, Yuxuan Wang, Han Yang, James Cheng

Abstract

Edit-distance-based string similarity search has many applications such as spell correction, data de-duplication, and sequence alignment. However, computing edit distance is known to have high complexity, which makes string similarity search challenging for large datasets. In this paper, we propose a deep learning pipeline (called CNN-ED) that embeds edit distance into Euclidean distance for fast approximate similarity search. A convolutional neural network (CNN) is used to generate fixed-length vector embeddings for a dataset of strings and the loss function is a combination of the triplet loss and the approximation error. To justify our choice of using CNN instead of other structures (e.g., RNN) as the model, theoretical analysis is conducted to show that some basic operations in our CNN model preserve edit distance. Experimental results show that CNN-ED outperforms data-independent CGK embedding and RNN-based GRU embedding in terms of both accuracy and efficiency by a large margin. We also show that string similarity search can be significantly accelerated using CNN-based embeddings, sometimes by orders of magnitude.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Deep Squared Euclidean Approximation to the Levenshtein Distance for DNA Storage cites Neural Distance Embeddings for Biological Sequences
  • Levenshtein Distance Embedding with Poisson Regression for DNA Storage cites Deep Squared Euclidean Approximation to the Levenshtein Distance for DNA Storage
  • Levenshtein Distance Embedding with Poisson Regression for DNA Storage cites Neural Distance Embeddings for Biological Sequences
  • DoDo-Code: an Efficient Levenshtein Distance Embedding-based Code for 4-ary IDS Channel cites Deep Squared Euclidean Approximation to the Levenshtein Distance for DNA Storage
  • DoDo-Code: an Efficient Levenshtein Distance Embedding-based Code for 4-ary IDS Channel cites Levenshtein Distance Embedding with Poisson Regression for DNA Storage
  • DoDo-Code: an Efficient Levenshtein Distance Embedding-based Code for 4-ary IDS Channel cites Neural Distance Embeddings for Biological Sequences
  • Neural Embeddings for kNN Search in Biological Sequence cites Neural Distance Embeddings for Biological Sequences
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Neural Distance Embeddings for Biological SequencesGabriele Corso, Zhitao Ying, Michal Pándy, Petar Velickovic et al.NeurIPS 2021 · 51 citations
  2. Deep Squared Euclidean Approximation to the Levenshtein Distance for DNA StorageAlan J. X. Guo, Cong Liang, Qing-Hu HouICML 2022 · 5 citations
  3. Neural Embeddings for kNN Search in Biological SequenceZhihao Chang, Linzhu Yu, Yanchao Xu, Wentao HuAAAI 2024 · 4 citations
  4. Levenshtein Distance Embedding with Poisson Regression for DNA StorageXiang Wei, Alan J. X. Guo, Sihan Sun, Mengyi Wei et al.AAAI 2024 · 2 citations
  5. DoDo-Code: an Efficient Levenshtein Distance Embedding-based Code for 4-ary IDS ChannelAlan J. X. Guo, Sihan Sun, Xiang Wei, Mengyi Wei et al.NeurIPS 2025

Related papers

  1. TaGSim: Type-aware Graph Similarity Learning and ComputationJiyang Bai, Peixiang ZhaoVLDB 2022 · 29 citations
  2. General Neural Embedding for Sequence Distance ApproximationZhihao Chang, Ding Wang, Xiu Tang, Kingsum Chow et al.SIGIR 2025
  3. GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
  4. Computing Graph Edit Distance via Neural Graph MatchingChengzhi Piao, Tingyang Xu, Xiangguo Sun, Yu Rong et al.VLDB 2023 · 49 citations
  5. Learning-Based Efficient Graph Similarity Computation via Multi-Scale Convolutional Set MatchingYunsheng Bai, Hao Ding, Ken Gu, Yizhou Sun et al.AAAI 2020 · 130 citations
Dusk over the sea between two cliffs drawn in fine vertical lines