Omnilingual SONAR:跨语言与跨模态句子嵌入,连接大规模多语言文本与语音
Omnilingual SONAR: Cross-Lingual and Cross-Modal Sentence Embeddings Bridging Massively Multilingual Text and Speech
AI总结:
提出OmniSONAR模型,通过渐进式训练和教师-学生蒸馏,在数千种语言上实现文本、语音、代码和数学表达式的统一语义嵌入,在跨语言检索和翻译任务上显著降低错误率,并支持零样本语音翻译。
摘要:
跨语言句子编码器通常只覆盖几百种语言,并且常常为了更强的对齐而牺牲下游质量,限制了它们的采用。我们引入了OmniSONAR,一个新的全语言、跨语言和跨模态句子嵌入模型家族,它原生地将文本、语音、代码和数学表达式嵌入到单一语义空间中,同时在数千种语言(从高资源到极低资源变体)的规模上提供最先进的下游性能。为了在不发生表示崩溃的情况下达到这一规模,我们使用了渐进式训练。我们首先使用LLM初始化的编码器-解码器,结合token级解码、新颖的分裂softmax对比损失和合成硬负样本,为200种语言学习一个强大的基础空间。在此基础上,我们通过两阶段教师-学生编码器蒸馏框架扩展到数千种语言变体。最后,我们通过将177种口语无缝映射到该空间,展示了该空间的跨模态可扩展性。OmniSONAR将200种语言的FLORES数据集上的跨语言相似性搜索错误减半,并在1560种语言的BIBLE基准上将错误减少了15倍。它还实现了强大的翻译性能,在多语言基准上优于NLLB-3B,并在1560种语言到英语的BIBLE翻译上比先前模型(包括更大的LLM)高出15个chrF++点。OmniSONAR在MTEB和XLCoST上也表现强劲。对于语音,OmniSONAR实现了43%更低的相似性搜索错误,并达到了SeamlessM4T语音到文本质量的97%,尽管对于翻译是零样本(仅在ASR数据上训练)。最后,通过训练一个编码器-解码器LM Spectrum,仅使用英语文本处理OmniSONAR嵌入序列,我们为复杂的下游任务解锁了向数千种语言和语音的高性能迁移。
英文摘要:
Cross-lingual sentence encoders typically cover only a few hundred languages and often trade downstream quality for stronger alignment, limiting their adoption. We introduce OmniSONAR, a new family of omnilingual, cross-lingual and cross-modal sentence embedding models that natively embed text, speech, code, and mathematical expressions in a single semantic space, while delivering state-of-the-art downstream performance at the scale of thousands of languages, from high-resource to extremely low-resource varieties. To reach this scale without representation collapse, we use progressive training. We first learn a strong foundational space for 200 languages with an LLM-initialized encoder-decoder, combining token-level decoding with a novel split-softmax contrastive loss and synthetic hard negatives. Building on this foundation, we expand to several thousands language varieties via a two-stage teacher-student encoder distillation framework. Finally, we demonstrate the cross-modal extensibility of this space by seamlessly mapping 177 spoken languages into it. OmniSONAR halves cross-lingual similarity search error on the 200-language FLORES dataset and reduces error by a factor of 15 on the 1,560-language BIBLE benchmark. It also enables strong translation, outperforming NLLB-3B on multilingual benchmarks and exceeding prior models (including much larger LLMs) by 15 chrF++ points on 1,560 languages into English BIBLE translation. OmniSONAR also performs strongly on MTEB and XLCoST. For speech, OmniSONAR achieves a 43% lower similarity-search error and reaches 97% of SeamlessM4T speech-to-text quality, despite being zero-shot for translation (trained only on ASR data). Finally, by training an encoder-decoder LM, Spectrum, exclusively on English text processing OmniSONAR embedding sequences, we unlock high-performance transfer to thousands of languages and speech for complex downstream tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。