本文へ移動
AI NEWS JOURNAL
arXiv cs.CLAI NEWS / JOURNAL

マージベースの語彙拡張は、トークン化前の段階で停滞:ネパール語向けの英語保持型修復手法、継続的な事前学習において検証

arXiv:2610.33016v1 発表タイプ:新規 要旨:Llama-3、Qwen3 および多くの他のオープンな大規模言語モデルは、単語の種類が Unicode の文字のみを許容する正規表現を用いてテキストを事前トークン化している。デーヴァナーガリー文字の母音記号は結合記号であるため、この正規表現ではネパール語の単語が各母音記号ごとに分割され、これを採用するモデルは、同じ英語テキストに比べてネパール語に対して 2.6〜5.8 倍ものトークン数を消費する。マージベースの語彙拡張手法では、分割された部分を再結合することはできない。Llama-3 および Qwen3 においては、新たなマージ回数をいくら増やしても、このペナルティは約 2.2 を下回ることはなく、すでに公開されている 10 種類の拡張でも、この事前トークン化による下限値から 4% 以内に収まらない。そこで、我々は配備済みの正規表現に小さな修正を加え、結合記号やデーヴァナーガリー文字を含まないテキストのすべてのトークン ID を保証できるようにした。さらに 32,000 回の新たなマージを施すことで、ネパール語は英語の 1.01 倍にまで引き上げられる。

翻訳待ちです。完了すると自動更新されます。

arXiv:2610.33016v1 Announce Type: new

Abstract: Llama-3, Qwen3 and many other open LLMs pre-tokenize text with a regular expression whose word class admits only Unicode letters. Devanagari vowel signs are combining marks, so this regex splits Nepali words at every vowel sign, and models that use it spend 2.6 to 5.8 times as many tokens on Nepali as on the same English text. Merge-based vocabulary extension cannot join the split pieces: for Llama-3 and Qwen3 no number of new merges brings this premium below about 2.2, and ten released extensions already end within 4% of this pre-token floor. We give a small edit to the deployed regex that provably keeps every token id of text without combining marks or Devanagari characters. With 32,000 new merges it brings Nepali to 1.01 times English, about 54% fewer Nepali tokens than standard extension. In small-budget continued pretraining of Llama-3.2-1B and Qwen3-0.6B, the original tokenizer gave the lowest held-out Nepali bits per byte under every recipe we tested. Matching the repair's training steps to standard extension, with about 35% of the data repeated, reversed their order on Qwen but not on Llama. Whether the token savings give a favourable latency and quality trade-off in generation remains untested. We release the tokenizers and code.

情報源

arXiv cs.CL
← すべてのニュースへ