arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.15425cs.CLcs.LG
收藏

语言模型分词器在不同语言间引入了不公平性

Language Model Tokenizers Introduce Unfairness Between Languages

University of Oxford(牛津大学)

Aleksandar Petrov, Emanuele La Malfa, Philip H. S. Torr, Adel Bibi

AI总结:

本文揭示了语言模型分词阶段对不同语言存在长度编码差异(最高达15倍),导致部分语言群体在成本、延迟和上下文容量上受到不公平对待,主张未来应使用多语言公平的子词分词器。

摘要:

近期的语言模型展现出了令人印象深刻的多语言性能,即使在未对此进行显式训练时也是如此。尽管如此,人们仍担忧其在不同语言下输出内容的质量。在本文中,我们展示了针对不同语言处理时的差异是如何在分词阶段产生的,这甚至发生在模型被调用之前。相同的文本在翻译成不同语言后,可能会具有截然不同的分词长度,在某些情况下差异高达15倍。即使对于那些专门为多语言支持而训练的分词器,这些差异依然存在。字符级和字节级模型在某些语言对的编码长度上也表现出超过4倍的差异。这导致部分语言群体在获取商业语言服务的成本、处理时间与延迟,以及可作为上下文提供给模型的内容量方面受到不公平对待。因此,我们主张,未来应使用多语言公平的子词分词器来训练语言模型。

英文摘要:

Recent language models have shown impressive multilingual performance, even when not explicitly trained for it. Despite this, there are concerns about the quality of their outputs across different languages. In this paper, we show how disparity in the treatment of different languages arises at the tokenization stage, well before a model is even invoked. The same text translated into different languages can have drastically different tokenization lengths, with differences up to 15 times in some cases. These disparities persist even for tokenizers that are intentionally trained for multilingual support. Character-level and byte-level models also exhibit over 4 times the difference in the encoding length for some language pairs. This induces unfair treatment for some language communities in regard to the cost of accessing commercial language services, the processing time and latency, as well as the amount of content that can be provided as context to the models. Therefore, we make the case that we should train future language models using multilingually fair subword tokenizers.

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

↑