脚本碎片化与格式:是什么导致了开放大语言模型中的英语-孟加拉语性能差距?
Script Fragmentation and Format: What Drives the English-Bengali Performance Gap in Open LLMs?
AI总结:
本研究通过翻译8个英语基准测试,评估10个开放LLM的英语-孟加拉语性能差距,发现差距部分源于测量伪影(格式失败不对称)和分词器设计导致的token成本差异,而非脚本本身。
摘要:
孟加拉语有超过2.3亿使用者,然而目前尚无标准化的工具能在用于评测前沿模型的任务类别中,对大型语言模型(LLM)的孟加拉语能力进行评估。我们发布了8个英语基准测试的孟加拉语翻译版本,采用单一一致的流水线,并利用它们对来自4个家族的10个开放LLM在配对的英语和孟加拉语输入上进行了评估。脚本碎片化是子词分词器对孟加拉语元音附标文字所做的处理,其书写单元是跨越多个Unicode码点的字素簇:分词器将脚本切割成比字符更小的片段,其代价由词汇表而非脚本本身决定。格式属于评估范畴,是精确匹配评分所要求的答案形状,无论模型是否知道答案。除了确认存在显著差距(宏观LLM评判得分英语为0.79,孟加拉语为0.63)外,我们表明部分差距是测量伪影:精确匹配准确性将正确性与格式遵循混为一谈,并且由于格式失败在不同语言间不对称,它使某些模型的表观差距扭曲了3到5倍,甚至对一个推理调优模型逆转了其符号。在碎片化方面,孟加拉语每个词平均消耗的token数约为英语的5倍,10个模型仅共享4个词汇表,且该成本在不同词汇表间差异达两倍(Llama 3下为每词7.9个token,Tekken下为4.0),在四个词汇表中的三个下,平均孟加拉语token的字节数少于单个码点。孟加拉语在此是常量,而词汇表不是,因此孟加拉语文本的成本由分词器设计而非脚本决定。繁殖度(fertility)和序列长度与得分仅弱相关(r = -0.23),因此我们将其视为成本和分割问题,而非差距的驱动因素。数据集、流水线和评估代码已发布。
英文摘要:
Bengali is spoken by more than 230 million people, yet no standardized instrument evaluates large language models (LLMs) on Bengali across the task categories used to benchmark frontier models. We release 8 English benchmarks translated into Bengali with a single consistent pipeline and use them to evaluate 10 open LLMs from 4 families on paired English and Bengali inputs. Script fragmentation is what subword tokenizers do to Bengali's alphasyllabary, whose written units are grapheme clusters spanning several Unicode code points: they cut the script into pieces smaller than a character, at a cost set by the vocabulary rather than the script itself. Format belongs to the evaluation, the answer shape that exact-match scoring demands regardless of whether the model knew the answer. Beyond confirming a substantial gap (macro LLM-judge score 0.79 in English versus 0.63 in Bengali), we show that part of it is a measurement artifact: exact-match accuracy conflates correctness with format adherence and because format failure is asymmetric across languages it distorts the apparent gap for some models three to five fold and even reverses its sign for one reasoning-tuned model. On the fragmentation side, Bengali costs roughly five times more tokens per word than English, the 10 models share only 4 vocabularies and that cost varies twofold across them (7.9 tokens per word under Llama~3, 4.0 under Tekken), and under three of the four the average Bengali token spans fewer bytes than a single code point. Bengali is the constant here and the vocabularies are not, so what Bengali text costs is set by tokenizer design rather than by the script. Fertility and sequence length correlate only weakly with scores (r = -0.23), so we present this as a cost and segmentation concern rather than a driver of the gap. The datasets, pipeline and evaluation code are released.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。