English

The Matryoshka Hypencoder

Information Retrieval 2026-07-20 v1

Abstract

The Hypencoder is a recently-proposed retrieval approach that encodes queries as shallow neural networks ("Q-Nets") that estimate relevance over pre-computed document embeddings. Inspired by Matryoshka Representation Learning, we show that the Hypencoder can be extended to support multiple sizes of Q-Nets, allowing trade-offs between effectiveness and efficiency when deployed. We find that this "Matryoshka Hypencoder" achieves comparable in-domain effectiveness with approximately 7x fewer active parameters in-domain and half as many active parameters out-of-domain, which corresponds to a 1.6-3.4x increase in scoring throughput. This work paves the way for practical deployment of Hypencoders.

Cite

@article{arxiv.2607.17457,
  title  = {The Matryoshka Hypencoder},
  author = {Majd Alkawaas and Sean MacAvaney},
  journal= {arXiv preprint arXiv:2607.17457},
  year   = {2026}
}

Comments

SIGIR 2026