What Makes Decoder-Based Sentence Embeddings Strong? Rethinking Encoder and Decoder Architectures for Sentence Embeddings
It is known that adapting large pre-trained decoder models for sentence embeddings achieves strong performance. However, it remains unclear whether this advantage comes from the decoder itself or from substantially larger pre-training. In this study, we systematically align encoder and decoder pairs with identical parameter counts, tokenizers, training data, and training procedures, and evaluate them in Japanese and English at 0.5B and 1B parameters. Under these controlled settings, the randomly initialized encoder consistently outperforms the randomly initialized decoder on average across all languages, model sizes, and decoder implementations, within pre-training budgets of up to 20B tokens. In contrast, a decoder pre-trained on 10T tokens surpasses the encoder when adapted with the same training recipe. These results provide no evidence that decoders are inherently superior for sentence embeddings. Instead, their advantage largely stems from transferred pre-training, and adapting a model pre-trained on 100B tokens achieves performance comparable to adapting another pre-trained one on 18T tokens, suggesting that pre-training volume alone does not fully explain the gain.…
- arXiv
- 2611.41554
- Authors
- Tatsuki Okada, Toru Sugimoto, Yusuke Sakai, Taro Watanabe
- Categories
- cs.CL · cs.AI · cs.LG