RaBitQ with many centroids and a 4-bit query, as VectorChord uses it
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 56/100
Research direction
Start with src/shrinkvec/codecs/rabitq.py and the rabitqlib k-means used in tests. Add IVF centroids, per-centroid residuals, and an optional 4-bit query quantizer to match VectorChord's setup. Run the rabitq-1-ivf cross-check; it is done when recall matches rabitqlib at the same settings.
Written by the indexing model from the issue text.
Description
The lab's RaBitQ uses one centroid and a full-precision query. VectorChord uses IVF centroids and quantizes the query to 4 bits. Matching that setup makes lab and Postgres numbers directly comparable.
Where to start: src/shrinkvec/codecs/rabitq.py. k-means for the centroids (or the rabitqlib k-means in tests), residuals per centroid, and an optional query quantizer.
Done when: rabitq-1-ivf matches rabitqlib's IVF recall at the same settings in the cross-check.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 3m
- Merged PRs (30d)
- 4
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ahmad-codex/shrinkvec
-
area: report enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ahmad-codex/shrinkvec#15 ·
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ahmad-codex/shrinkvec#13 ·
-
area: report enhancement
Difficulty 4/5 3-5 days Newbie friendliness 56/100
ahmad-codex/shrinkvec#16 ·
-
Faster lab scansOpenarea: lab help wanted performance
Difficulty 4/5 3-5 days Newbie friendliness 42/100
ahmad-codex/shrinkvec#14 ·
-
enhancement good first issue performance
Difficulty 3/5 1-2 days Newbie friendliness 72/100
ahmad-codex/shrinkvec#12 ·
All issues in ahmad-codex/shrinkvec
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sylvainmetayer/homelab#851 ·
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
kubeflow/docs-agent#279 ·
Maintainers usually reply within 3 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Qiskit/qiskit-ibm-runtime#3523 ·
Maintainers usually reply within 1 day