CoDiEmb: A Collaborative yet Distinct Framework for Unified Representation Learning in Information Retrieval and Semantic Textual Similarity
Not on the map. Why?
Abstract (arXiv)
Learning unified text embeddings that excel across diverse downstream tasks is a central goal in representation learning, yet negative transfer remains a persistent obstacle. This challenge is particularly pronounced when jointly training a single encoder for Information Retrieval (IR) and Semantic Textual Similarity (STS), two essential but fundamentally disparate tasks for which naive co-training typically yields steep performance trade-offs. We argue that resolving this conflict requires systematically decoupling task-specific learning signals throughout the training pipeline. To this end, we introduce CoDiEmb, a unified framework that reconciles the divergent requirements of IR and STS in a collaborative yet distinct manner. CoDiEmb integrates three key innovations for effective joint optimization: (1) Task-specialized objectives paired with a dynamic sampler that forms single-task batches and balances per-task updates, thereby preventing gradient interference. For IR, we employ a contrastive loss with multiple positives and hard negatives, augmented by cross-device sampling. For STS, we adopt order-aware objectives that directly optimize correlation and ranking consistency. (2) A delta-guided model fusion strategy that computes fine-grained merging weights for checkpoints by analyzing each parameter's deviation from its pre-trained initialization, proving more effective than traditional Model Soups. (3) An efficient, single-stage training pipeline that is simple to implement and converges stably. Extensive experiments on 15 standard IR and STS benchmarks across three base encoders validate CoDiEmb. Our results and analysis demonstrate that the framework not only mitigates cross-task trade-offs but also measurably improves the geometric properties of the embedding space.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 47 of its 55 references that are in the map. First posted on arXiv 15 Aug 2025.
Builds on
47 of 55 references.
References · 47
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
35 more
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
- 2021Merging Models with Fisher-Weighted Averagingcited by 621
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2024Multilingual E5 Text Embeddings: A Technical Reportcited by 372
- 2018Deep Interest Evolution Network for Click-Through Rate Predictioncited by 338
- 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 278
- 2019PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identificationcited by 264
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
- 2024Generative Representational Instruction Tuningcited by 233
- 2021Optimizing Dense Retrieval Model Training with Hard Negativescited by 155
- 2024jina-embeddings-v3: Multilingual Embeddings With Task LoRAcited by 141
- 2013A Theoretical Analysis of NDCG Type Ranking Measurescited by 119
- 2021mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Datasetcited by 116
- 2022Task-aware Retrieval with Instructionscited by 107
- 2023AnglE-optimized Text Embeddingscited by 99
- 2025Gemini Embedding: Generalizable Embeddings from Geminicited by 94
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Modelscited by 83
- 2022PromptBERT: Improving BERT Sentence Embeddings with Promptscited by 75
- 2021ESimCSE: Enhanced Sample Building Method for Contrastive Learning of Unsupervised Sentence Embeddingcited by 74
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 72
- 2023Large Language Model based Long-tail Query Rewriting in Taobao Searchcited by 62
- 2023T2Ranking: A large-scale Chinese Benchmark for Passage Rankingcited by 60
- 2021Not All Negatives are Equal: Label-Aware Contrastive Loss for Fine-grained Text Classificationcited by 43
- 2022Multi-CPR: A Multi Domain Chinese Dataset for Passage Retrievalcited by 27
- 2022SimANS: Simple Ambiguous Negatives Sampling for Dense Text Retrievalcited by 21
- 2022Uni-Retriever: Towards Learning The Unified Embedding Based Retriever in Bing Sponsored Searchcited by 17
- 2022Improving Contrastive Learning of Sentence Embeddings with Case-Augmented Positives and Retrieved Negativescited by 16
- 2023Alleviating Over-smoothing for Unsupervised Sentence Representationcited by 16
- 2022DuReader_retrieval: A Large-scale Chinese Benchmark for Passage Retrieval from Web Search Enginecited by 15
- 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generationcited by 15
- 2023CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thoughtcited by 8
- 2024Advancing Semantic Textual Similarity Modeling: A Regression Framework with Translated ReLU and Smooth K2 Losscited by 5
- 2024Pcc-tuning: Breaking the Contrastive Learning Ceiling in Semantic Textual Similaritycited by 5
- 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Passcited by 3
Built on by
Citing papers per year: 2025: 2.
2 papers.