arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.25309cs.CL
收藏

在压缩前分离:WHHO标记化架构

Separate Before You Compress: The WWHO Tokenization Architecture

Remeinium Research(Remeinium 研究院)

Kusal Darshana

AI总结:

本文提出WHHO架构和SGPE算法,通过分离语言规则与压缩过程,实现多语言标记化,显著降低复杂Abugida语言的token数量,提升推理效率。

摘要:

当前大型语言模型(LLMs)大多使用基于BPE(字节对编码)的分词器,这些分词器在处理简单的拉丁语系结构语言如英语时非常有效。然而,标准BPE分词器在处理复杂的阿布吉达文字时存在困难,因为这些文字的结构复杂。问题在于这些分词器会将复杂的连写词(multi-codepoint grapheme clusters)分解成无意义的子字符单位。这会降低LLM的推理效率,迫使模型在推理时学习基本的拼写结构,并增加推理成本,导致全球南方地区出现显著的

英文摘要:

Current Large Language Models (LLMs) mostly use BPE (Byte Pair Encoding) based tokenizers, which are very effective for simple structured Latin scripts such as English. However, standard BPE tokenizers struggle to process complex Abugida scripts due to their structural complexity. The problem is that these tokenizers break complex conjuncts, which are multi-codepoint grapheme clusters, into meaningless sub-character units. This degrades the LLM's reasoning efficiency by forcing it to learn basic orthographic structures at inference time and raises inference costs, resulting in a significant "Token Tax" for the Global South. We propose a new three-layer architecture, the WWHO (Where-What-How Often), and an algorithm named SGPE (Syllable-aware Grapheme Pair Encoding) that separates the linguistic rules of the script from the statistical compression process while enabling seamless multilingual tokenization. Using Sinhala and Devanagari (Hindi/Sanskrit) as highly complex Abugida scripts, we trained WWHO on a cleaned 30-million-sentence dataset and evaluated on a 1,499,950-sentence test set. For Sinhala, SGPE achieves a Token to Word Ratio (TWR) of 1.274 with 4.83 characters per token, representing a 61.7 percent reduction in tokens compared to OpenAI's o200k base. For Hindi, it achieves a TWR of 1.181 (27.0 percent reduction vs o200k). On the mixed-script (Sinhala, Devanagari, and English) dataset, SGPE achieves an overall TWR of 1.240, representing token reductions of 36.7 percent, 39.6 percent, and 60.2 percent relative to o200k base, Llama 4 Scout, and DeepSeek V3, respectively. This effectively extends the usable context window by up to 4.38 times for these Abugida languages while ensuring a Linguistic Zero-Breakage Guarantee, which ensures that no valid syllable is ever split across multiple tokens.

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

↑