Connecting Compression Spaces with Transformer for Approximate Nearest Neighbor Search
Not on the map. Why?
Abstract (arXiv)
We propose a generic feature compression method for Approximate Nearest Neighbor Search (ANNS) problems, which speeds up existing ANNS methods in a plug-and-play manner. Specifically, based on transformer, we propose a new network structure to compress the feature into a low dimensional space, and an inhomogeneous neighborhood relationship preserving (INRP) loss that aims to maintain high search accuracy. Specifically, we use multiple compression projections to cast the feature into many low dimensional spaces, and then use transformer to globally optimize these projections such that the features are well compressed following the guidance from our loss function. The loss function is designed to assign high weights on point pairs that are close in original feature space, and keep their distances in projected space. Keeping these distances helps maintain the eventual top-k retrieval accuracy, and down weighting others creates room for feature compression. In experiments, we run our compression method on public datasets, and use the compressed features in graph based, product quantization and scalar quantization based ANNS solutions. Experimental results show that our compression method can significantly improve the efficiency of these methods while preserves or even improves search accuracy, suggesting its broad potential impact on real world applications.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 Jul 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 3; 2024: 1; 2025: 1.
5 papers.
- 2023Similarity search in the blink of an eye with compressed indicescited by 21
- 2023NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learningcited by 7
- 2023LeanVec: Searching vectors faster by making them fitcited by 5
- 2024GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reductioncited by 0
- 2025Dual-Branch HNSW Approach with Skip Bridges and LID-Driven Optimizationcited by 0
- 2025Dual-Branch HNSW Approach with Skip Bridges and LID-Driven Optimization23 Jan 2025
- 2024GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reduction14 Oct 2024
- 2023LeanVec: Searching vectors faster by making them fit26 Dec 2023
- 2023NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning19 Jun 2023
- 2023Similarity search in the blink of an eye with compressed indices7 Apr 2023