Metraipolis › archive › dc_c602134d8265

Matryoshka Hash Representations for Model-Aware Compact Semantic Retrieval — arXiv:2609.07276

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.07276
License (as archived)
CC0-1.0
Archived
2026-10-16T13:59:09.146Z
SHA-256 of the archived text
13b33723e5dca77d3934df6c983544765a16691f0197b601260c1c2e56fc8148
Stable URL of this page
https://metraipolis.com/documento/dc_c602134d8265

How to cite

Matryoshka Hash Representations for Model-Aware Compact Semantic Retrieval — arXiv:2609.07276 — arXiv (en), https://arxiv.org/abs/2609.07276 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c602134d8265 (Metraipolis archive dc_c602134d8265, sha256 13b33723e5dca77d3934df6c983544765a16691f0197b601260c1c2e56fc8148)
BibTeX
@misc{dcc602134d8265,
  title = {Matryoshka Hash Representations for Model-Aware Compact Semantic Retrieval — arXiv:2609.07276},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.07276},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c602134d8265; sha256 13b33723e5dca77d3934df6c983544765a16691f0197b601260c1c2e56fc8148},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07276. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Retrieval-augmented generation (RAG) depends on dense retrieval: each document is stored as a learned vector, and a query is answered by finding its nearest neighbors in that vector space. Keeping one full-precision vector per document is the dominant index cost at corpus scale, so retrieval systems replace each vector with a short code of a few bytes---a step called quantization. Standard quantizers such as product quantization (PQ) pick the code that reconstructs the original vector most closely. A single code is even more useful if it serves several byte budgets at once: when its short prefixes are each directly searchable, a deployment can set its efficiency--quality operating point without re-encoding the corpus. But training all prefixes under one objective makes the early bits a compromise across budgets---short codes improve while the full-width code degrades. Quantization to low-bit representation, such as binary codes, further sharpens the conflict. We introduce Matryoshka Hash Representations (MHR), a two-stage procedure that separates full-width training from prefix organization. MHR first learns a longer binary code, then freezes the model and trains additional zero-initialized residual code adaptors for directly searchable prefixes. Documents are stored at one bit per coordinate, while queries keep continuous logits like PQ to attain sufficient expressivity. We implement the search process with FAISS FastScan. Trained on MS MARCO and zero-shot transferred to seven BEIR datasets, MHR reaches .5561 NDCG@10 and .6535 Recall@100 at 32 bytes, surpassing the best baseline of the same budget. The advantage is more pronounced in lower budgets. The same code also strengthens two common pipelines: shortlisting candidates for full-precision reranking, and pruning a low-storage graph index such as LEANN.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.LG).
Categorie arXiv: Information Retrieval (cs.IR) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.07276 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T13:39:43.211Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).