用嵌入传播技术低成本实现大模型俄语适配,省去繁琐微调。
Facilitating large language model Russian adaptation with Learned Embedding Propagation
- 通过自适应嵌入传播直接注入新语言知识,避免传统微调。
- 在LLaMa-3-8B和Mistral-7B上达到OpenChat 3.5水平性能。
- 适合资源有限但需快速适配特定语言的场景。
大语言模型(LLM)技术的快速发展催生了性能媲美GPT-4的开源指令微调模型。然而,这些模型的训练数据未公开,导致结果难以复现,成果趋于封闭。尽管模型具备多语言能力,但因缺乏高质量指令数据,单独训练特定语言模型的收益仅限于推理效率提升。现有成本较低的方法如词汇扩展与继续预训练也受限于高质量指令数据缺失。为此,本文提出学习嵌入传播(LEP)方法,通过新型嵌入传播机制,最小化对原有知识的影响,跳过指令微调步骤,直接将俄语知识注入已有指令微调模型。我们在LLaMa-3-8B和Mistral-7B上评估了四种俄语词汇适配方案,结果显示LEP性能可比肩OpenChat 3.5和LLaMa-3-8B-Instruct,结合自校准与持续微调后进一步提升任务解决能力。
原文摘要 · Abstract (English)
Rapid advancements of large language model (LLM) technologies led to the introduction of powerful open-source instruction-tuned LLMs that have the same text generation quality as the state-of-the-art counterparts such as GPT-4. While the emergence of such models accelerates the adoption of LLM technologies in sensitive-information environments the authors of such models don not disclose the training data necessary for replication of the results thus making the achievements model-exclusive. Since those open-source models are also multilingual this in turn reduces the benefits of training a language specific LLMs as improved inference computation efficiency becomes the only guaranteed advantage of such costly procedure. More cost-efficient options such as vocabulary extension and subsequent continued pre-training are also inhibited by the lack of access to high-quality instruction-tuning data since it is the major factor behind the resulting LLM task-solving capabilities. To address the limitations and cut the costs of the language adaptation pipeline we propose Learned Embedding Propagation (LEP). Unlike existing approaches our method has lower training data size requirements due to minimal impact on existing LLM knowledge which we reinforce using novel ad-hoc embedding propagation procedure that allows to skip the instruction-tuning step and instead implant the new language knowledge directly into any existing instruct-tuned variant. We evaluated four Russian vocabulary adaptations for LLaMa-3-8B and Mistral-7B, showing that LEP is competitive with traditional instruction-tuning methods, achieving performance comparable to OpenChat 3.5 and LLaMa-3-8B-Instruct, with further improvements via self-calibration and continued tuning enhancing task-solving capabilities.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。