Addition of High-Dimensional Wikipedia Embedding Datasets (1024/4096/8192D) for enhanced Realistic ANN Benchmarking #591
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
While looking into running benchmarks for ANN algorithms, especially thinking about how they perform with embeddings from modern large language models, I noticed that most of the standard datasets currently available in
ann-benchmarks
have relatively low dimensions (like SIFT, GIST, etc.). These are great, but they don't fully capture the challenges of working with the really high-dimensional vectors (thousands of dimensions) we often see today from transformers.To help bridge this gap and provide more realistic test cases, I thought it would be useful to add support for some new, high-dimensional datasets based on Wikipedia embeddings.
This PR adds support for three new datasets:
wikipedia-1024-angular
(1024 dimensions)wikipedia-4096-angular
(4096 dimensions)wikipedia-8192-angular
(8192 dimensions)What I changed:
ann_benchmarks/datasets.py
: Added the entries for these new datasets, pointing to where their HDF5 files will be located.README.md
: Updated the Datasets table in the README to include these new Wikipedia datasets, mentioning their dimensions and adding placeholder links for download (I'll update these links once the datasets are finalized and hosted!).Potential Benefit
These datasets (each with ~1 billion vectors) should allow for more challenging and representative benchmarking of ANN algorithms, particularly testing how they scale and perform in the high-dimensional scenarios common with modern AI models.
User should be able to use them like any other dataset once the data is available, e.g.,
python run.py --dataset wikipedia-4096-angular ...
. I made sure the changes are compatible with the existing setup.Hope this addition is useful for the project! Nice repo.