{"id":{"repo_id":"washington","oai_identifier":"oai:digital.lib.washington.edu:1773/50379"},"canonical_url":"https://search.ndltd.org/etd/washington/oai:digital.lib.washington.edu:1773/50379","repository":{"repo_id":"washington","name":"University of Washington","base_url":"https://digital.lib.washington.edu/server/oai/request"},"display":{"title":"MRL-AdANNS: Matryoshka Representation Learning for Web-Scale Adaptive Semantic Search","abstract":"Learned representations are essential in modern ML systems, but often struggle to adapt to the re quired capacity of various downstream tasks. In this thesis, we propose Matryoshka Represen tation Learning (MRL) [64] to address this challenge, which learns coarse-to-fine representations with minimal overhead to existing representation learning frameworks at no additional training or inference cost. MRL achieves accuracy and robustness comparable to low-dimensional represen tations, with benefits like up to 14× smaller ImageNet-1K embeddings and 14× speed-ups for large-scale retrieval. It extends seamlessly to web-scale datasets (ImageNet, JFT) across Vision (ResNet, ViT), Language (BERT), and V+L (ALIGN) modalities. In modern web-scale search systems, rigid high-dimensional representations are learned via a deep encoder and hooked into an approximate nearest neighbor search (ANNS) pipeline to retrieve similar data points. Using these rigid representations is computationally expensive and inflexible to compute-constrained environ ments. To overcome this, we introduce the novel AdANNS framework [92] to leverage the flexi bility of Matryoshka Representations at each stage of the ANNS pipeline and provide compute aware elastic search. We demonstrate state-of-the-art accuracy-compute trade-offs using novel AdANNS-based key ANNS building blocks like search data structures (AdANNS-IVF) [102] and quantization (AdANNS-OPQ) [29]. For example on ImageNet retrieval, AdANNS-IVF is up to 1.5% more accurate than the rigid representations-based IVF [102] at the same compute budget; and matches accuracy while being up to 90× faster in wall-clock time. For Natural Questions, 32-byte AdANNS-OPQ matches the accuracy of the 64-byte OPQ baseline [29] con structed using rigid representations– same accuracy at half the cost! We further show that the gains from AdANNS translate to modern-day composite ANNS indices that combine search struc tures and quantization. Finally, we demonstrate that AdANNS can enable inference-time adap tivity for compute-aware search on ANNS indices built non-adaptively on matryoshka represen tations. The code is open-sourced at https://github.com/RAIVNLab/MRL and https: //github.com/RAIVNLab/AdANNS.","abstract_html":"Learned representations are essential in modern ML systems, but often struggle to adapt to the re quired capacity of various downstream tasks. In this thesis, we propose Matryoshka Represen tation Learning (MRL) [64] to address this challenge, which learns coarse-to-fine representations with minimal overhead to existing representation learning frameworks at no additional training or inference cost. MRL achieves accuracy and robustness comparable to low-dimensional represen tations, with benefits like up to 14× smaller ImageNet-1K embeddings and 14× speed-ups for large-scale retrieval. It extends seamlessly to web-scale datasets (ImageNet, JFT) across Vision (ResNet, ViT), Language (BERT), and V+L (ALIGN) modalities. In modern web-scale search systems, rigid high-dimensional representations are learned via a deep encoder and hooked into an approximate nearest neighbor search (ANNS) pipeline to retrieve similar data points. Using these rigid representations is computationally expensive and inflexible to compute-constrained environ ments. To overcome this, we introduce the novel AdANNS framework [92] to leverage the flexi bility of Matryoshka Representations at each stage of the ANNS pipeline and provide compute aware elastic search. We demonstrate state-of-the-art accuracy-compute trade-offs using novel AdANNS-based key ANNS building blocks like search data structures (AdANNS-IVF) [102] and quantization (AdANNS-OPQ) [29]. For example on ImageNet retrieval, AdANNS-IVF is up to 1.5% more accurate than the rigid representations-based IVF [102] at the same compute budget; and matches accuracy while being up to 90× faster in wall-clock time. For Natural Questions, 32-byte AdANNS-OPQ matches the accuracy of the 64-byte OPQ baseline [29] con structed using rigid representations– same accuracy at half the cost! We further show that the gains from AdANNS translate to modern-day composite ANNS indices that combine search struc tures and quantization. Finally, we demonstrate that AdANNS can enable inference-time adap tivity for compute-aware search on ANNS indices built non-adaptively on matryoshka represen tations. The code is open-sourced at https://github.com/RAIVNLab/MRL and https: //github.com/RAIVNLab/AdANNS.","abstract_has_math":false,"creators":["Rege, Aniket"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Farhadi, Ali","Shapiro, Linda"],"committee_chairs":[],"committee_members":[],"year":2023,"date_issued":"2023-08-14","date_published":"2023-08-14","updated_at":"2026-11-18T20:05:02Z","subjects":["Classification","Computer Vision","Deep Learning","Representation Learning","Retrieval","Search","Electrical engineering","Computer science","Computer engineering","Electrical and computer engineering"],"languages":["en_US"],"rights":["CC BY"],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["Rege_washington_0250O_25349.pdf"],"render_values":[{"text":"Rege_washington_0250O_25349.pdf","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1773/50379","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1773/50379","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Awashington%3Aoai%3Adigital.lib.washington.edu%3A1773%2F50379","prefix":"oai_dc"},"source_record":{"url":"https://digital.lib.washington.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adigital.lib.washington.edu%3A1773%2F50379","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Farhadi, Ali","Shapiro, Linda"]},{"key":"dc:creator","label":"Author","values":["Rege, Aniket"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2023-08-14T17:04:29Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2023-08-14T17:04:29Z"]},{"key":"dc:date.issued","label":"Date","values":["2023-08-14"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2023"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Classification","Computer Vision","Deep Learning","Representation Learning","Retrieval","Search","Electrical engineering","Computer science","Computer engineering"]},{"key":"dc:subject.other","label":"Dc Subject Other","values":["Electrical and computer engineering"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]},{"key":"dc:rights","label":"Dc Rights","values":["CC BY"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["Rege_washington_0250O_25349.pdf"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1773/50379"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Thesis (Master's)--University of Washington, 2023"]},{"key":"dc:description.abstract","label":"Abstract","values":["Learned representations are essential in modern ML systems, but often struggle to adapt to the re quired capacity of various downstream tasks. In this thesis, we propose Matryoshka Represen tation Learning (MRL) [64] to address this challenge, which learns coarse-to-fine representations with minimal overhead to existing representation learning frameworks at no additional training or inference cost. MRL achieves accuracy and robustness comparable to low-dimensional represen tations, with benefits like up to 14× smaller ImageNet-1K embeddings and 14× speed-ups for large-scale retrieval. It extends seamlessly to web-scale datasets (ImageNet, JFT) across Vision (ResNet, ViT), Language (BERT), and V+L (ALIGN) modalities. In modern web-scale search systems, rigid high-dimensional representations are learned via a deep encoder and hooked into an approximate nearest neighbor search (ANNS) pipeline to retrieve similar data points. Using these rigid representations is computationally expensive and inflexible to compute-constrained environ ments. To overcome this, we introduce the novel AdANNS framework [92] to leverage the flexi bility of Matryoshka Representations at each stage of the ANNS pipeline and provide compute aware elastic search. We demonstrate state-of-the-art accuracy-compute trade-offs using novel AdANNS-based key ANNS building blocks like search data structures (AdANNS-IVF) [102] and quantization (AdANNS-OPQ) [29]. For example on ImageNet retrieval, AdANNS-IVF is up to 1.5% more accurate than the rigid representations-based IVF [102] at the same compute budget; and matches accuracy while being up to 90× faster in wall-clock time. For Natural Questions, 32-byte AdANNS-OPQ matches the accuracy of the 64-byte OPQ baseline [29] con structed using rigid representations– same accuracy at half the cost! We further show that the gains from AdANNS translate to modern-day composite ANNS indices that combine search struc tures and quantization. Finally, we demonstrate that AdANNS can enable inference-time adap tivity for compute-aware search on ANNS indices built non-adaptively on matryoshka represen tations. The code is open-sourced at https://github.com/RAIVNLab/MRL and https: //github.com/RAIVNLab/AdANNS."]},{"key":"dc:embargo.terms","label":"Dc Embargo Terms","values":["Open Access"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["MRL-AdANNS: Matryoshka Representation Learning for Web-Scale Adaptive Semantic Search"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Farhadi, Ali","Shapiro, Linda"],"dc:creator":["Rege, Aniket"],"dc:date.accessioned":["2023-08-14T17:04:29Z"],"dc:date.available":["2023-08-14T17:04:29Z"],"dc:date.issued":["2023-08-14"],"dc:date.submitted":["2023"],"dc:description":["Thesis (Master's)--University of Washington, 2023"],"dc:description.abstract":["Learned representations are essential in modern ML systems, but often struggle to adapt to the re quired capacity of various downstream tasks. In this thesis, we propose Matryoshka Represen tation Learning (MRL) [64] to address this challenge, which learns coarse-to-fine representations with minimal overhead to existing representation learning frameworks at no additional training or inference cost. MRL achieves accuracy and robustness comparable to low-dimensional represen tations, with benefits like up to 14× smaller ImageNet-1K embeddings and 14× speed-ups for large-scale retrieval. It extends seamlessly to web-scale datasets (ImageNet, JFT) across Vision (ResNet, ViT), Language (BERT), and V+L (ALIGN) modalities. In modern web-scale search systems, rigid high-dimensional representations are learned via a deep encoder and hooked into an approximate nearest neighbor search (ANNS) pipeline to retrieve similar data points. Using these rigid representations is computationally expensive and inflexible to compute-constrained environ ments. To overcome this, we introduce the novel AdANNS framework [92] to leverage the flexi bility of Matryoshka Representations at each stage of the ANNS pipeline and provide compute aware elastic search. We demonstrate state-of-the-art accuracy-compute trade-offs using novel AdANNS-based key ANNS building blocks like search data structures (AdANNS-IVF) [102] and quantization (AdANNS-OPQ) [29]. For example on ImageNet retrieval, AdANNS-IVF is up to 1.5% more accurate than the rigid representations-based IVF [102] at the same compute budget; and matches accuracy while being up to 90× faster in wall-clock time. For Natural Questions, 32-byte AdANNS-OPQ matches the accuracy of the 64-byte OPQ baseline [29] con structed using rigid representations– same accuracy at half the cost! We further show that the gains from AdANNS translate to modern-day composite ANNS indices that combine search struc tures and quantization. Finally, we demonstrate that AdANNS can enable inference-time adap tivity for compute-aware search on ANNS indices built non-adaptively on matryoshka represen tations. The code is open-sourced at https://github.com/RAIVNLab/MRL and https: //github.com/RAIVNLab/AdANNS."],"dc:embargo.terms":["Open Access"],"dc:format.mimetype":["application/pdf"],"dc:identifier.other":["Rege_washington_0250O_25349.pdf"],"dc:identifier.uri":["http://hdl.handle.net/1773/50379"],"dc:language.iso":["en_US"],"dc:rights":["CC BY"],"dc:subject":["Classification","Computer Vision","Deep Learning","Representation Learning","Retrieval","Search","Electrical engineering","Computer science","Computer engineering"],"dc:subject.other":["Electrical and computer engineering"],"dc:title":["MRL-AdANNS: Matryoshka Representation Learning for Web-Scale Adaptive Semantic Search"],"dc:type":["Thesis"],"others:access_status":["open.access"]},"updated_at":"2026-11-18T20:05:02Z"}