atlas

Research map / Architectures and efficiency / Attention and transformers

Neural Embeddings for kNN Search in Biological Sequence

AAAI 2024 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Bio-kNN, which clusters all training triplets by EMD-based cell distance distributions, samples triplets per cluster, and uses a CNN backbone with per-cluster MLP heads plus CNN features for biological sequence kNN search.

Problem

Neural distance embeddings for biological sequence kNN search (approximating Needleman-Wunsch distance) are trained with triplet loss on a small, intuitively chosen subset of triplets, so they recognize only part of the distance orders; naively adding triplets to SOTA networks does not help.

Approach

Partition the full triplet selection space into cells, cluster cells by their EMD-based distance distributions, sample one triplet per cluster per anchor via a batch-wise assignment strategy, and train a CNN backbone with one MLP head per cluster, concatenating CNN features into the final embedding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Bio-kNN instead of the strongest reported baselineBiological sequence kNN search · UniprotHR@1: 49.10 -> 54.00Helped
Use Bio-kNN instead of the strongest reported baselineBiological sequence kNN search · UniprotHR@10: 34.58 -> 42.69Helped
Use Bio-kNN instead of the strongest reported baselineBiological sequence kNN search · UnirefHR@1: 35.13 -> 37.60Helped
Use Bio-kNN instead of the strongest reported baselineBiological sequence kNN search · UnirefHR@10: 28.55 -> 32.51Helped
Use clustered triplet selection rather than 1 cluster (ablation)Bio-kNN-Base · UniprotHR@1: 48.30 -> 50.50Helped
Use clustered triplet selection rather than 1 cluster (ablation)Bio-kNN-Base · UnirefHR@1: 28.30 -> 33.90Helped
Add the multi-head network rather than using a single head (ablation)Bio-kNN · UniprotHR@1: 53.20 -> 54.00Helped
Add concatenated CNN features (ablation)Bio-kNN · UniprotHR@1: 50.40 -> 54.00Helped
Replace HAC segmentation with average-based segmentation (ablation)Bio-kNN · UniprotHR@1: 54.00 -> 52.03Hurt
Add the multi-head network rather than using a single head (ablation)Bio-kNN · UnirefHR@1: 35.63 -> 37.60Helped
Add concatenated CNN features (ablation)Bio-kNN · UnirefHR@1: 33.67 -> 37.60Helped
Replace HAC segmentation with average-based segmentation (ablation)Bio-kNN · UnirefHR@1: 37.60 -> 35.43Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Uniprot Uniref

Benchmarks: Uniprot Uniref

Metrics: HR@1 HR@5 HR@10 HR@50 Top-1 Recall

Baselines: AsMac GRU CNNED NeuroSEED Global Transformer NeuroSEED Local Transformer

Builds on: CNNED GRU triplet selection triplet loss Needleman-Wunsch

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy