KaLM-Embedding:优质训练数据打造更强的嵌入模型
KaLM-Embedding: Superior Training Data Brings A Stronger Embedding Model
AI总结:
针对现有嵌入模型研究忽视训练数据质量的问题,本研究提出KaLM-Embedding多语言嵌入模型,通过优质训练数据与三类优化技术训练,在MTEB基准上超越同规模模型,树立了10亿参数以下多语言嵌入模型的新标杆。
摘要:
随着检索增强生成在大语言模型中普及,嵌入模型的重要性日益凸显。尽管通用嵌入模型数量不断增长,但现有研究往往忽视了训练数据质量的关键作用。本研究提出KaLM-Embedding,这是一款通用多语言嵌入模型,依托大量更清洁、更多样且覆盖特定领域的训练数据构建。模型采用经证实可提升性能的关键技术训练:(1)基于角色人设的合成数据,从大语言模型中蒸馏生成多样化样本;(2)排序一致性过滤,剔除信息量较低的样本;(3)半同质任务批次采样,提升训练效率。不同于传统类BERT架构,我们选用Qwen2-0.5B作为预训练模型,推动自回归语言模型适配通用嵌入任务。在MTEB基准上开展的多语言全面评估显示,该模型性能优于同等规模的其他模型,为参数量低于10亿的多语言嵌入模型树立了新标杆。
英文摘要:
As retrieval-augmented generation prevails in large language models, embedding models are becoming increasingly crucial. Despite the growing number of general embedding models, prior work often overlooks the critical role of training data quality. In this work, we introduce KaLM-Embedding, a general multilingual embedding model that leverages a large quantity of cleaner, more diverse, and domain-specific training data. Our model has been trained with key techniques proven to enhance performance: (1) persona-based synthetic data to create diversified examples distilled from LLMs, (2) ranking consistency filtering to remove less informative samples, and (3) semi-homogeneous task batch sampling to improve training efficacy. Departing from traditional BERT-like architectures, we adopt Qwen2-0.5B as the pre-trained model, facilitating the adaptation of auto-regressive language models for general embedding tasks. Extensive evaluations of the MTEB benchmark across multiple languages show that our model outperforms others of comparable size, setting a new standard for multilingual embedding models with <1B parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。