Abstract
The Qwen3 Embedding series introduces state-of-the-art text embedding and reranking models built on the Qwen3 Large Language Model (LLM) foundation. By leveraging a novel multi-stage training pipeline that heavily utilizes LLM-generated synthetic data and model merging, these open-source models (available in 0.6B, 4B, and 8B sizes) achieve top-tier performance across multilingual and code retrieval benchmarks, rivaling or beating proprietary APIs like Google's Gemini and OpenAI.
Introduction
Text embedding and reranking are the backbone of modern information retrieval, powering everything from web search to Retrieval-Augmented Generation (RAG) and autonomous agent systems. Historically, these models were built on smaller, encoder-only architectures like BERT. While effective, they lack the deep reasoning, broad world knowledge, and multilingual capabilities of modern LLMs.
The challenge addressed in this work is how to effectively adapt powerful, decoder-only LLMs into specialized embedding and reranking models. Specifically, the authors tackle the bottleneck of high-quality training data by developing a pipeline to generate complex, instruction-driven retrieval tasks across dozens of languages and niche domains where human-labeled data is scarce.
Methods
The models are built on the dense versions of the Qwen3 foundation models. Both the embedding and reranking models are instruction-aware, allowing users to prepend specific instructions to queries to guide the model's focus.
Training Pipeline
The core innovation lies in a three-stage training pipeline designed to maximize the utility of synthetic data and foundation model knowledge.
- Weakly Supervised Pre-training: The model is trained on approximately 150 million pairs of synthetic data generated by a larger LLM (Qwen3-32B). This process uses "persona-based" prompting to control domain, language, and difficulty.
- Supervised Fine-Tuning (SFT): The model is fine-tuned on a mix of 7 million human-labeled pairs (e.g., MS MARCO, MIRACL) and 12 million high-quality synthetic pairs.
- Model Merging: To prevent catastrophic forgetting and boost generalization, spherical linear interpolation (slerp) is used to merge multiple model checkpoints saved during the SFT phase.
Model Architectures
The embedding model produces a single vector representation, while the reranker frames similarity assessment as a point-wise binary classification problem, asking the LLM to output "yes" or "no" to indicate relevance.
Results
The Qwen3 Embedding series demonstrates significant improvements over existing open-source and proprietary models across multiple benchmarks.
- Multilingual Performance: The flagship Qwen3-Embedding-8B achieved a score of 70.58 on the MTEB Multilingual benchmark, surpassing Google's Gemini-Embedding (68.37).
- Code Retrieval: On the MTEB Code benchmark, the 8B embedding model scored 80.68, significantly outperforming OpenAI's text-embedding-3-large (58.95) and Gemini (74.66).
- Impact of Synthetic Data: Ablation studies revealed that synthetic data is critical; removing it from the 0.6B model's training caused its MTEB (English, v2) score to drop from 70.70 to 65.59.
- Reranking Excellence: The Qwen3-Reranker-8B achieved top scores across basic relevance retrieval tasks, improving upon the 0.6B model's performance by up to 3.0 points.
Conclusion
The Qwen3 Embedding series proves that high-quality synthetic data and strategic training curricula can transform decoder-only LLMs into world-class retrieval models. By open-sourcing the 0.6B, 4B, and 8B models under the Apache 2.0 license, the authors provide the community with powerful tools for RAG and agentic workflows, demonstrating that even smaller models can punch above their weight when trained effectively.
Summary updated