BidirLM: From Text to Omnimodal Bidirectional Encoders by Adapting and Composing Causal LLMs
Not on the map. Why?
Abstract (arXiv)
Transforming causal generative language models into bidirectional encoders offers a powerful alternative to BERT-style architectures. However, current approaches remain limited: they lack consensus on optimal training objectives, suffer from catastrophic forgetting at scale, and fail to flexibly integrate the vast ecosystem of specialized generative models. In this work, through systematic ablations on the Gemma3 and Qwen3 families, we identify the key factors driving successful adaptation, highlighting the critical role of an often-omitted prior masking phase. To scale this process without original pre-training data, we introduce a dual strategy combining linear weight merging with a lightweight multi-domain data mixture that mitigates catastrophic forgetting. Finally, we augment our encoders by merging them with specialized causal models, seamlessly transferring modality- and domain-specific capabilities. This open-source recipe, designed for any causal decoder LLM, yields BidirLM, a family of five encoders that outperform alternatives on text, vision, and audio representation benchmarks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 46 of its 59 references that are in the map. First posted on arXiv 2 Apr 2026.
Builds on
46 of 59 references.
References · 46
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2018Experience Replay for Continual Learningcited by 1,074
34 more
- 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2023Improving Text Embeddings with Large Language Modelscited by 295
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 271
- 2019PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identificationcited by 262
- 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 252
- 2024VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Taskscited by 222
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2025Aegis2.0: A Diverse AI Safety Dataset and Risks Taxonomy for Alignment of LLM Guardrailscited by 122
- 2023Llama2Vec: Unsupervised Adaptation of Large Language Models for Dense Retrievalcited by 77
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2024FollowIR: Evaluating and Teaching Information Retrieval Models to Follow Instructionscited by 67
- 2024Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMscited by 61
- 2025Llama-Embed-Nemotron-8B: A Universal Text Embedding Model for Multilingual and Cross-Lingual Taskscited by 46
- 2023SEAHORSE: A Multilingual, Multifaceted Dataset for Summarization Evaluationcited by 42
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 40
- 2025mmBERT: A Modern Multilingual Encoder with Annealed Language Learningcited by 39
- 2025KaLM-Embedding: Superior Training Data Brings A Stronger Embedding Modelcited by 36
- 2025KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Modelcited by 35
- 2025Enhancing Multilingual LLM Pretraining with Model-Based Data Selectioncited by 33
- 2020e-SNLI-VE: Corrected Visual-Textual Entailment with Natural Language Explanationscited by 30
- 2025Should We Still Pretrain Encoders with Masked Language Modeling?cited by 15
- 2024FineMath: A Fine-Grained Mathematical Evaluation Benchmark for Chinese Large Language Modelscited by 10
- 2025Towards Better Instruction Following Retrieval Modelscited by 9
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026MVEB: Massive Video Embedding Benchmarkcited by 1
- 2026Conan-embedding-v3: Fusing Modality-Specific Models for Omni-Modal Embeddingcited by 0
- 2026MTEB-BR: A Text Embedding Benchmark for Brazilian Portuguesecited by 0
- 2026Omni-Embed-Mini: Binding Modalities Without Forgetting via Dense Distillationcited by 0
- 2026Omni-Embed-Mini: Binding Modalities Without Forgetting via Dense Distillation1 Oct 2026
- 2026MTEB-BR: A Text Embedding Benchmark for Brazilian Portuguese6 Jul 2026
- 2026MVEB: Massive Video Embedding Benchmark12 Jun 2026
- 2026Conan-embedding-v3: Fusing Modality-Specific Models for Omni-Modal Embedding8 Jun 2026