Search papers, labs, and topics across Lattice.
The authors introduce a training regimen combining model distillation with task-specific contrastive loss to create compact, high-performance text embedding models. This approach outperforms purely contrastive or distillation-based methods for small models. The resulting models, jina-embeddings-v5-text-small and -nano, achieve state-of-the-art performance for their size, while also supporting long texts and maintaining robustness under truncation and quantization.
Task-targeted distillation beats standard contrastive learning for training small, high-performance text embedding models.
Text embedding models are widely used for semantic similarity tasks, including information retrieval, clustering, and classification. General-purpose models are typically trained with single- or multi-stage processes using contrastive loss functions. We introduce a novel training regimen that combines model distillation techniques with task-specific contrastive loss to produce compact, high-performance embedding models. Our findings suggest that this approach is more effective for training small models than purely contrastive or distillation-based training paradigms alone. Benchmark scores for the resulting models, jina-embeddings-v5-text-small and jina-embeddings-v5-text-nano, exceed or match the state-of-the-art for models of similar size. jina-embeddings-v5-text models additionally support long texts (up to 32k tokens) in many languages, and generate embeddings that remain robust under truncation and binary quantization. Model weights are publicly available, hopefully inspiring further advances in embedding model development.