arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.19453cs.CL
收藏

ShifCon:通过基于偏移的多语言对比框架增强非主导语言能力

ShifCon: Enhancing Non-Dominant Language Capabilities with a Shift-based Multilingual Contrastive Framework

Tsinghua University(清华大学);Microsoft(微软);University of Southern California(南加州大学);University of California, San Diego(加州大学圣地亚哥分校);University of California, Los Angeles(加州大学洛杉矶分校)

Hengyuan Zhang, Chenming Shang, Sizhe Wang, Dongdong Zhang, Yiyao Yu, Feng Yao, Renliang Sun, Yujiu Yang, Furu Wei

AI总结:

针对大型语言模型在主导和非主导语言间的性能差距,提出基于偏移的多语言对比框架ShifCon,通过将非主导语言表示偏移至主导语言子空间并引入子空间距离度量与多语言对比学习,显著提升非主导语言特别是低资源语言的性能。

摘要:

尽管使用多语言数据微调大型语言模型(LLMs)可以快速增强其多语言能力,但由于不同语言间训练数据的不平衡,模型在主导语言(如英语)和非主导语言之间仍存在性能差距。为了进一步提升非主导语言的性能,我们提出了ShifCon,一个基于偏移的多语言对比框架,该框架将其他语言的内部前向过程对齐到主导语言的过程。具体而言,它将非主导语言的表示偏移到主导语言子空间中,使其能够访问模型参数中编码的相对丰富的信息。这些丰富的表示随后在生成前被偏移回其原始语言子空间。此外,我们引入了子空间距离度量来精确定位偏移表示的最佳层区域,并采用多语言对比学习进一步增强该区域内表示的对齐。实验表明,我们的ShifCon框架显著提升了非主导语言的性能,特别是对于低资源语言。进一步的分析提供了额外的见解,验证了ShifCon的有效性并推动未来研究。

英文摘要:

Although fine-tuning Large Language Models (LLMs) with multilingual data can rapidly enhance the multilingual capabilities of LLMs, they still exhibit a performance gap between the dominant language (e.g., English) and non-dominant ones due to the imbalance of training data across languages. To further enhance the performance of non-dominant languages, we propose ShifCon, a Shift-based multilingual Contrastive framework that aligns the internal forward process of other languages toward that of the dominant one. Specifically, it shifts the representations of non-dominant languages into the dominant language subspace, allowing them to access relatively rich information encoded in the model parameters. The enriched representations are then shifted back into their original language subspace before generation. Moreover, we introduce a subspace distance metric to pinpoint the optimal layer area for shifting representations and employ multilingual contrastive learning to further enhance the alignment of representations within this area. Experiments demonstrate that our ShifCon framework significantly enhances the performance of non-dominant languages, particularly for low-resource ones. Further analysis offers extra insights to verify the effectiveness of ShifCon and propel future research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑