arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18306cs.CLcs.AI
收藏

超越英语的校准:为更好的量化多语言大语言模型的语言多样性

Calibrating Beyond English: Language Diversity for Better Quantized Multilingual LLM

Lelapa AI;Cerebras Systems, Inc;University of the Witwatersrand(乌得勒支大学);University of Cape Town(开普敦大学);South African Astronomical Observatory(南非天文台)

Everlyn Asiko Chimoto, Mostafa Elhoushi, Bruce A. Bassett

AI总结:

本文通过多语言校准集提升多语言大语言模型的量化性能,发现非英语和多语言混合校准显著降低困惑度,强调语言对齐的重要性。

摘要:

量化是减少大型语言模型(LLMs)存储足迹和计算成本的有效技术,但往往会导致性能下降。现有的后训练量化方法通常使用小规模的英语-only校准集;然而,它们对多语言模型的影响仍待探索。我们系统地评估了八种校准设置(五种单语言和三种多语言混合)在两个量化器(GPTQ、AWQ)上,针对10种语言的数据。我们的发现揭示了一个一致的趋势:非英语和多语言校准集相比英语-only基线显著提高了困惑度。具体而言,我们观察到在Llama3.1 8B和Qwen2.5 7B上,两种量化器均观察到显著的平均困惑度下降,其中多语言混合实现了最大的总体减少,最高可达3.52个困惑度点。此外,我们的分析表明,将校准集定制到评估语言会为个别语言带来最大的改进,凸显了语言学对齐的重要性。我们还识别了特定的失败案例,其中某些语言-量化器组合会降低性能,这归因于不同语言之间的激活范围分布差异。这些结果表明,静态的一刀切校准是次优的,而校准数据在语言和多样性上的定制在稳健地量化多语言LLMs中起着关键作用。

英文摘要:

Quantization is an effective technique for reducing the storage footprint and computational costs of Large Language Models (LLMs), but it often results in performance degradation. Existing post-training quantization methods typically use small, English-only calibration sets; however, their impact on multilingual models remains underexplored. We systematically evaluate eight calibration settings (five single-language and three multilingual mixes) on two quantizers (GPTQ, AWQ) on data from 10 languages. Our findings reveal a consistent trend: non-English and multilingual calibration sets significantly improve perplexity compared to English-only baselines. Specifically, we observe notable average perplexity gains across both quantizers on Llama3.1 8B and Qwen2.5 7B, with multilingual mixes achieving the largest overall reductions of up to 3.52 points in perplexity. Furthermore, our analysis indicates that tailoring calibration sets to the evaluation language yields the largest improvements for individual languages, underscoring the importance of linguistic alignment. We also identify specific failure cases where certain language-quantizer combinations degrade performance, which we trace to differences in activation range distributions across languages. These results highlight that static one-size-fits-all calibration is suboptimal and that tailoring calibration data, both in language and diversity, plays a crucial role in robustly quantizing multilingual LLMs.

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

↑