ADA-NNS is a novel angular distance-guided search method for graph-based approximate nearest neighbor search (ANNS). It effectively filters neighbors that are less relevant to the query and computes distances to the query only for the candidate neighbors. It not only achieves the state-of-the art performance for various datasets, but also maintains good compatibility with existing proximity graphs, such as NSG, Vamana, and NSSG.
Please refer to the full paper ADA-NNS.
Name | Dimension | No. of base | No. of query |
---|---|---|---|
SIFT1M | 128 | 1,000,000 | 10,000 |
GIST1M | 960 | 1,000,000 | 1,000 |
CRAWL | 300 | 1,989,995 | 10,000 |
DEEP1M | 256 | 1,000,000 | 1,000 |
DEEP100M | 96 | 100,000,000 | 1,000 |
- Clone submodules:
$ ./init.sh
-
Download datasets and build kNN graphs (NSG and NSSG)
-
Run examples
- Follow Readme in NSG, DiskANN, and NSSG.