Reproduce “Matryoshka Representation Learning” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Aditya Kusupati, Gantavya Bhatt, Aniket Rege, Matthew Wallingford, Aditya Sinha, Vivek Ramanujan, William Howard-Snyder, Kaifeng Chen and 3 more
Matryoshka Representation Learning (MRL) trains one embedding so selected prefixes support the same task, using losses from classifiers attached to logarithmically spaced dimensions. In ImageNet-1K retrieval, a 16-dimensional prefix shortlisted 200 images for re-ranking with the full 2048-dimensional vector, reaching 65.27% mAP@10 versus 65.20% for full-dimensional single-shot retrieval, with lower reported operation counts in this setup.
Key insights
- Matryoshka Representation Learning (MRL) encodes information smoothly across all intermediate dimensions, enabling effective use of any arbitrary prefix of the embedding, even those not explicitly optimized during training.
- The method is broadly applicable across various learning paradigms (supervised, contrastive, masked language modeling) and modalities (vision, vision+language, language), demonstrating its versatility.
- MRL reveals that lower-dimensional representations effectively capture superclass-level semantics, providing insights into information packing and potential for adaptive routing strategies.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.