paper-with-me

홈 › Papers

Starbucks: Improved Training for 2D Matryoshka Embeddings

2024-10-17 · Shengyao Zhuang, Shuai Wang, Bevan Koopman, Guido Zuccon

Effective approaches that can scale embedding model depth (i.e. layers) and embedding size allow for the creation of models that are highly scalable across different computational resources and task requirements. While the recently proposed 2D Matryoshka training approach can efficiently produce a single embedding model such that its sub-layers and sub-dimensions can measure text similarity, its effectiveness is significantly worse than if smaller models were trained separately. To address this issue, we propose Starbucks, a new training strategy for Matryoshka-like embedding models, which encompasses both the fine-tuning and pre-training phases. For the fine-tuning phase, we discover that, rather than sampling a random sub-layer and sub-dimensions for each training steps, providing a fixed list of layer-dimension pairs, from small size to large sizes, and computing the loss across all pairs significantly improves the effectiveness of 2D Matryoshka embedding models, bringing them on par with their separately trained counterparts. To further enhance performance, we introduce a new pre-training strategy, which applies masked autoencoder language modelling to sub-layers and sub-dimensions during pre-training, resulting in a stronger backbone for subsequent fine-tuning of the embedding model. Experimental results on both semantic text similarity and retrieval benchmarks demonstrate that the proposed pre-training and fine-tuning strategies significantly improved the effectiveness over 2D Matryoshka models, enabling Starbucks models to perform more efficiently and effectively than separately trained models.

📄 PDF Abstract BibTeX arXiv:2410.13230

Code (1)

ielab/starbucks 공식 구현 pytorch

Tasks

Language Modellingtext similarity

Similar Papers 제목 키워드 기반

SMEC: Rethinking Matryoshka Representation Learning for Retrieval Embedding Compression

2025-10-14 · Biao Zhang, Lixin Chen, Tong Liu, Bo Zheng arxiv

Large language models (LLMs) generate high-dimensional embeddings that capture rich semantic and syntactic information. However, high-dimensional embeddings exacerbate computational complexity and storage requirements, t…

Dimensionality ReductionRepresentation Learning

2D Matryoshka Sentence Embeddings

2024-02-22 · Xianming Li, Zongxi Li, Jing Li, Haoran Xie 외

Common approaches rely on fixed-length embedding vectors from language models as sentence embeddings for downstream tasks such as semantic textual similarity (STS). Such methods are limited in their flexibility due to un…

RAGRepresentation LearningRetrievalSemantic Textual Similarity+5

MIPIC: Matryoshka Representation Learning via Self-Distilled Intra-Relational and Progressive Information Chaining

2026-04-27 · Phung Gia Huy, Hai An Vu, Minh-Phuc Truong, Thang Duc Tran 외 arxiv

Representation learning is fundamental to NLP, but building embeddings that work well at different computational budgets is challenging. Matryoshka Representation Learning (MRL) offers a flexible inference paradigm throu…

Representation Learning

Hierarchical Level-Wise News Article Clustering via Multilingual Matryoshka Embeddings

2025-05-30 · Hans W. A. Hanley, Zakir Durumeric

Contextual large language model embeddings are increasingly utilized for topic modeling and clustering. However, current methods often scale poorly, rely on opaque similarity metrics, and struggle in multilingual setting…

ArticlesClusteringLanguage ModelingLanguage Modelling+1

MATE: Matryoshka Audio-Text Embeddings for Open-Vocabulary Keyword Spotting

2026-01-20 · Youngmoon Jung, Myunghun Jung, Joon-Young Yang, Yong-Hyeok Lee 외 arxiv

Open-vocabulary keyword spotting (KWS) with text-based enrollment has emerged as a flexible alternative to fixed-phrase triggers. Prior utterance-level matching methods, from an embedding-learning standpoint, learn embed…

Keyword SpottingMetric Learning