用前缀适配实现零样本多语言迁移,效果优于主流微调方法。
Zero-Shot Cross-Lingual Transfer using Prefix-Based Adaptation
- 用前缀技术替代传统微调,仅用123万参数实现跨语言适配。
- 在35种语言上测试,Llama 3.1 8B模型提升最高达6%。
- 适合低资源语言场景,尤其适合参数受限的多语言应用。
随着 Llama 和 Mistral 等大语言模型的发布,由于其多语言预训练和强泛化能力,零样本跨语言迁移变得愈发可行。然而,将这些解码器仅结构的 LLM 适配到新任务并跨语言部署仍具挑战性。尽管参数高效微调(PeFT)如低秩适应(LoRA)广泛应用,但基于前缀的技术(如软提示微调、前缀微调、Llama Adapter)在解码器仅模型中的零样本迁移中研究较少。本文系统评估了三种前缀方法在从英语到35种以上高/低资源语言的零样本跨语言迁移中的表现。分析涵盖语言家族与书写系统的迁移差异,以及模型规模从10亿到240亿的扩展影响。使用 Llama 3.1 8B 模型,前缀方法在 Belebele 基准上比 LoRA 基线最高提升6%;类似效果也在 Mistral v0.3 7B 上观察到。即使仅使用123万学习参数,前缀微调在多种基准上均表现一致提升。结果表明,前缀技术是替代 LoRA 的有效且可扩展方案,尤其适用于低资源多语言场景。
原文摘要 · Abstract (English)
With the release of new large language models (LLMs) like Llama and Mistral, zero-shot cross-lingual transfer has become increasingly feasible due to their multilingual pretraining and strong generalization capabilities. However, adapting these decoder-only LLMs to new tasks across languages remains challenging. While parameter-efficient fine-tuning (PeFT) techniques like Low-Rank Adaptation (LoRA) are widely used, prefix-based techniques such as soft prompt tuning, prefix tuning, and Llama Adapter are less explored, especially for zero-shot transfer in decoder-only models. We present a comprehensive study of three prefix-based methods for zero-shot cross-lingual transfer from English to 35+ high- and low-resource languages. Our analysis further explores transfer across linguistic families and scripts, as well as the impact of scaling model sizes from 1B to 24B. With Llama 3.1 8B, prefix methods outperform LoRA-baselines by up to 6% on the Belebele benchmark. Similar improvements were observed with Mistral v0.3 7B as well. Despite using only 1.23M learning parameters with prefix tuning, we achieve consistent improvements across diverse benchmarks. These findings highlight the potential of prefix-based techniques as an effective and scalable alternative to LoRA, particularly in low-resource multilingual settings.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。