You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**🗜️ Multi-Level Quantization** — INT8 (4×), INT4 (8×), and INT2 (16×) scalar quantization with non-uniform calibration and configurable rescore
18
18
-**🗜️ VASQ Quantization** — FWHT-rotated affine INT8 quantization with exact-norm header for high-accuracy zero-copy compression (retaining 99.5%+ recall)
19
+
-**🗜️ VASQ-4 Quantization** — INT4 nibble-packed variant of VASQ achieving 6–8× compression vs float32 with 97–99% recall (with 3× rescore)
19
20
-**🎯 SpectorIndex (IVF-HNSW-VASQ)** — Multi-level adaptive vector index yielding 99.5%–100% recall on real text embeddings at aggressive 3% partition scanning rates
20
21
-**🗜️ IVF-PQ Index** — Inverted file with product quantization for 32× memory compression at billion scale
21
22
-**🤖 LLM Re-ranking** — Listwise relevance scoring via Ollama for precision-critical retrieval
VASQ achieves the compression of standard INT8 with recall approaching float32 — because the FWHT rotation ensures every dimension contributes equally to the quantized distance.
190
191
191
192
---
192
193
194
+
## 🔢 VASQ-4: INT4 Nibble-Packed Quantization
195
+
196
+
VASQ-4 extends the VASQ pipeline to 4-bit quantization, achieving **~2× additional compression** over VASQ-8 (6–8× total vs float32).
197
+
198
+
### Why It Works
199
+
200
+
The FWHT rotation that makes VASQ-8 work is equally beneficial for INT4:
201
+
202
+
- After FWHT, all dimensions contribute equally → INT4 quantization noise is **isotropic**
203
+
- With IVF residuals, the tight range means INT4 on residuals ≈ INT6–INT7 on absolute vectors
204
+
- 15 quantization levels (vs 255 for INT8) is sufficient for ranking with oversampling rescore
0 commit comments