BidirLM:通过适应和组合因果语言模型实现从文本到多模态双向编码
BidirLM: From Text to Omnimodal Bidirectional Encoders by Adapting and Composing Causal LLMs
AI总结:
本文通过系统消融实验发现,通过引入先验掩码阶段和双策略可提升因果语言模型的双向编码性能,最终提出BidirLM家族五种编码器,在文本、视觉和音频表示基准上优于现有方法。
摘要:
将因果生成语言模型转换为双向编码器为BERT式架构提供了强大替代方案。然而,现有方法仍存在局限:缺乏对最优训练目标的一致共识,规模扩大时出现灾难性遗忘,且无法灵活整合庞大的专用生成模型生态系统。在本文中,通过系统消融实验发现,通过引入先验掩码阶段和双策略可提升因果语言模型的双向编码性能,最终提出BidirLM家族五种编码器,在文本、视觉和音频表示基准上优于现有方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。