Lune

AAAI2024Top-tier venue

Neural Embeddings for kNN Search in Biological Sequence

Zhihao Chang, Linzhu Yu, Yanchao Xu, Wentao Hu

Abstract

Biological sequence nearest neighbor search plays a fundamental role in bioinformatics. To alleviate the pain of quadratic complexity for conventional distance computation, neural distance embeddings, which project sequences into geometric space, have been recognized as a promising paradigm. To maintain the distance order between sequences, these models all deploy triplet loss and use intuitive methods to select a subset of triplets for training from a vast selection space. However, we observed that such training often enables models to distinguish only a fraction of distance orders, leaving others unrecognized. Moreover, naively selecting more triplets for training under the state-of-the-art network not only adds costs but also hampers model performance. In this paper, we introduce Bio-kNN: a kNN search framework for biological sequences. It includes a systematic triplet selection method and a multi-head network, enhancing the discernment of all distance orders without increasing training expenses. Initially, we propose a clustering-based approach to partition all triplets into several clusters with similar properties, and then select triplets from these clusters using an innovative strategy. Meanwhile, we noticed that simultaneously training different types of triplets in the same network cannot achieve the expected performance, thus we propose a multi-head network to tackle this. Our network employs a convolutional neural network(CNN) to extract local features shared by all clusters, and then learns a multi-layer perception(MLP) head for each cluster separately. Besides, we treat CNN as a special head, thereby integrating crucial local features which are neglected in previous models into our model for similarity recognition. Extensive experiments show that our Bio-kNN significantly outperforms the state-of-the-art methods on two large-scale datasets without increasing the training cost.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Neural Distance Embeddings for Biological Sequences cites Convolutional Embedding for Edit Distance
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Neural Distance Embeddings for Biological SequencesGabriele Corso, Zhitao Ying, Michal Pándy, Petar Velickovic et al.NeurIPS 2021 · 51 citations
  2. Convolutional Embedding for Edit DistanceXinyan Dai, Xiao Yan, Kaiwen Zhou, Yuxuan Wang et al.SIGIR 2020 · 27 citations

Related papers

  1. General Neural Embedding for Sequence Distance ApproximationZhihao Chang, Ding Wang, Xiu Tang, Kingsum Chow et al.SIGIR 2025
  2. TRIDENT: Cross-Domain Trajectory Spatio-Temporal Representation via Distance-Preserving Triplet LearningGuan Yi Jhang, Jeng-Chung Lien, Yu Hui-Ching, Hsu-Chao Lai et al.ICLR 2026
  3. FedKNN: Secure Federated k-Nearest Neighbor SearchXinyi Zhang, Qichen Wang, Cheng Xu, Yun Peng et al.SIGMOD 2024 · 15 citations
  4. Geometric Graph Representation Learning on Protein Structure PredictionTian Xia, Wei-Shinn KuKDD 2021 · 28 citations
  5. Deep Squared Euclidean Approximation to the Levenshtein Distance for DNA StorageAlan J. X. Guo, Cong Liang, Qing-Hu HouICML 2022 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines