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

面向大语言模型(LLMs)的语言感知且语言无关的分词方法研究

Towards Linguistically-Aware and Language-Independent Tokenization for Large Language Models (LLMs)

Epic Systems(Epic系统公司);Cognitive Computing Platform(认知计算平台)

Abrar Rahman, Garry Bowlin, Binit Mohanty, Sean McGunigal

AI总结:

该研究分析多款主流大语言模型的分词差异与低资源语言的子词分词挑战,结合电子健康记录场景案例,倡导语言感知的开发实践与AI服务的国际化包容性建设。

摘要:

本文针对当前最先进的大语言模型(LLMs)所采用的分词技术展开全面研究,分析其对不同语言(尤其是低资源语言)相关服务的成本与可用性的影响。研究分析了多款LLM,包括使用cl100k_base嵌入的GPT-4、采用p50k_base嵌入的GPT-3、运用r50k_base嵌入的DaVinci,以及被广泛使用的BERT base分词器。研究评估了这些模型间存在的分词差异性,探究了子词分词中语言表征面临的挑战。本研究强调推行具备语言感知的开发实践的重要性,尤其针对传统上资源匮乏的语言。此外,本文引入多项案例研究,凸显了分词选择的实际影响,尤其是在电子健康记录(EHR)系统场景下。本研究旨在推动该领域及更广泛范围内AI服务开发中可推广的国际化(I18N)实践,重点关注包容性,尤其是为AI应用中传统上代表性不足的语言提供支持。

英文摘要:

This paper presents a comprehensive study on the tokenization techniques employed by state-of-the-art large language models (LLMs) and their implications on the cost and availability of services across different languages, especially low resource languages. The analysis considers multiple LLMs, including GPT-4 (using cl100k_base embeddings), GPT-3 (with p50k_base embeddings), and DaVinci (employing r50k_base embeddings), as well as the widely used BERT base tokenizer. The study evaluates the tokenization variability observed across these models and investigates the challenges of linguistic representation in subword tokenization. The research underscores the importance of fostering linguistically-aware development practices, especially for languages that are traditionally under-resourced. Moreover, this paper introduces case studies that highlight the real-world implications of tokenization choices, particularly in the context of electronic health record (EHR) systems. This research aims to promote generalizable Internationalization (I18N) practices in the development of AI services in this domain and beyond, with a strong emphasis on inclusivity, particularly for languages traditionally underrepresented in AI applications.

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

↑