プロフィール

設定

読み込み中…

← ホーム

ヘルプ・お問い合わせ

よくある質問

ログインが必要な機能はどれですか?

公開されている論文の解説・論文情報・モデル構造・関連論文・用語は、ログインしなくても読めます。論文のアップロード、マイライブラリ、閲覧履歴、論文の評価、興味のある分野のおすすめ、メールと通知は、ログインすると使えます。

PDFファイルでもアップロードできますか?

論文はarXivまたはDOIのリンクでアップロードし、解説はすべての人に公開されます。出典と利用条件を確認できず解説を公開できない論文は、アップロードできません。PDFファイルのアップロードと非公開は購読会員だけが使え、ファイルでアップロードした論文は非公開でのみ保存します。タイトルで公式情報を探す検索は、ボタンを押したときにだけ行います。

図とAI解説は正確ですか?

図は論文に掲載されているものだけを使い、利用許諾を確認できたものだけを表示しています。解説はAIが書いた文章のため、誤りが含まれることがあります。重要な主張や数値、図の文脈は、元論文の根拠で確認してください。

著作権の問題を報告したい

ライセンスと元論文の出典は「論文情報」タブに記載しています。問題がある場合は、「お問い合わせ」で「論文の内容・図・著作権」を選び、論文のリンク、問題のある箇所、権利を確認できる根拠を送ってください。受け付けただけで権利が確定したり、すぐに削除されたりすることはありません。確認の結果は「お問い合わせ履歴」で見られます。

パスワードを忘れました

メールアドレスで登録した場合は、ログイン画面のパスワード再設定から、確認済みのメールアドレスで設定し直せます。Google・NAVER・カカオで登録した場合は、それぞれのサービスでパスワードを変更してください。

お問い合わせには何を書けばいいですか?

どの画面で何をしたときに起きた問題かを、論文のリンクと一緒に書いてください。パスワード・APIキー・認証コード・電話番号などの個人情報は書かないでください。お問い合わせと回答はRefivuに保存され、「お問い合わせ履歴」で見られます。

退会するにはどうすればいいですか?

設定の「アカウント」で「退会」を押してください。削除される内容を確認し、本人確認を済ませると退会できます。そのほかの依頼は、「お問い合わせ」で「アカウント」を選んで送ってください。

論文解説

The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary

Byte-Pair Encodingの左側の波及:すべての辞書に対する認証済みルックビハインド

  • 課題 左側の接頭辞がBPEのトークン化を変える範囲(origin radius)が、どの辞書で無限になるのか、また有限のときに計算できるのかを扱います。
  • 手法 順序条件のもとで効果的自己ペア(effective self-pair)を規則から判定し、綴りオートマトンに基づく重なりグラフのサイクルで、すべての辞書のorigin radiusを判定・計算します。
  • 結果 順序条件のもとでは、origin radiusは効果的自己ペアがあるときに限り無限になります。GPT-2の併合表は42番目の併合から無限です。1回の記号編集によるlabel distanceは、Fibonacci上界とΘ(m²)の規模で抑えられます。

左側の接頭辞がトークン化をどこまで変えるか

バイト対符号化(BPE)は、優先順位の付いた併合規則を、もう適用できなくなるまで順に適用します。そのため出力のトークン化は、入力文字列全体に依存します。Berglundとvan der Merweは、後ろに文字列を付け足す場合の伝播範囲を扱いましたが、左側に文字列を付ける場合の伝播範囲は未解決のまま残しました。この論文では、左側の接頭辞がトークン化をどこまで遠くまで変えるのか、どの辞書でその範囲が無限になるのか、有限のときに効率よく計算できるのかという3つの問いを立てています。著者らは、これらの問いにすべての辞書について答えると述べています。中心となる指標は、接頭辞が覆うスパン(covering span)が変わる最も遠い位置を数えるorigin rippleと、その上界であるorigin radiusです。

これとは別に、2つのトークン列の間の編集距離であるlabel distanceが定義されています。著者らは、origin rippleが有限ならlabel distanceも有限だと述べていますが、逆は成り立たないとしています。

Table 1: The main results, each with its hypothesis, the cost of its procedure where it has one,
and its statement, withmthe number of rules andsthe number tha…

Table 1 : The main results, each with its hypothesis, the cost of its procedure where it has one, and its statement, withmthe number of rules andsthe number that fire. Unless another parameter is named, a polynomial cost is in the size of the dictionary written out.

出典 · CC BY 4.0 · Nicklas Nidhögg · The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

効果的自己ペアと順序条件

この論文の結果の大部分は、順序条件(ordering condition)を仮定しています。この条件は、規則が作るトークンを消費するすべての規則が、その規則より後に来ることを求めるものです。この条件のもとで、著者らは規則(t, t)が、自分の段階で2つのコピーが隣接してt|tに分かれるような効果的自己ペア(effective self-pair)かどうかを確かめる基準を示しています。定理は、順序条件のもとでorigin radiusが無限であることと、効果的自己ペアが存在することが同値であると主張しています。また、効果的自己ペアは、どの辞書でもorigin radiusを無限にするとされています。

著者らは、順序条件が必要な例として規則5つからなる辞書などを挙げ、項(a)だけでは補題が成り立たないと説明しています。一方で、順序条件がなくても無限のradiusが現れる例も示されています。

Table 5: The self-pair criterion on four production merge tables. The columns give the merges,
read for GPT-2 from itsmerges.txtand derived from the rank file…

Table 5 : The self-pair criterion on four production merge tables. The columns give the merges, read for GPT-2 from itsmerges.txtand derived from the rank file for the other three, the longest ordered prefix, its rules (t, t), the effective ones, and the least effective one, counted from zero. Llama 3’s derived list is not its published pair list. The origin radius is finite exactly on the prefixes before it, the first 41 merges of GPT-2 and the empty prefix of the other three.

出典 · CC BY 4.0 · Nicklas Nidhögg · The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary · 論文の図を引用 · 元のPDFの44ページ目から図の部分を抽出しています。

正準トークンと重なりグラフによる判定

この方法のもう一つの軸は、正準トークン(canonical token)と正準隣接ペア(canonical adjacency)です。トークン列が辞書のトークン化かどうかは、各トークンと隣接ペアが許容集合に含まれるかどうかで判定します。これを使って綴りオートマトン(spelling automaton)を構成し、2つのコピーを同じ記号として読んで、表示された辺のある重なりグラフ(overlap graph)を作ります。辺は、2つのコピーの覆うスパンが異なるときに表示されます。定理3は、このグラフにサイクルがあればorigin radiusは無限で、なければ最長経路によって値が計算されると説明しています。

無限の場合には、stem、loop、exitの経路からなる認証書が与えられます。著者らは、重なりグラフのサイクル検査と最長経路の計算は多項式時間で行えると説明しています。また、尾の長さBの接尾辞ペアの積グラフであるtail productでも同じ値が計算できますが、尾の長さに対して指数的になりうるとされています。

Table 6: The right radii of GPT-2’s merge prefixes by the pruned chain search, with the
lookahead boundQ(D), the rule graph’s bounds and the states the search…

Table 6 : The right radii of GPT-2’s merge prefixes by the pruned chain search, with the lookahead boundQ(D), the rule graph’s bounds and the states the search visits; the append product agrees to 400 merges and the plain search to 1,600.

出典 · CC BY 4.0 · Nicklas Nidhögg · The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary · 論文の図を引用 · 元のPDFの46ページ目から図の部分を抽出しています。

GPT-2併合表と上界の測定

著者らは、小規模な辞書censusとGPT-2の併合表について測定結果を報告しています。GPT-2の完全な併合表は順序条件を満たし、効果的自己ペアを244個持ちます。最初の自己ペアは併合41(0から数えます)なので、42番目の併合からorigin radiusは無限です。右側のspan radiusは129で、Mamourasらの定理10が与える上界は167,515です。また、順序条件のもとで1回の記号編集がトークン化を動かす最大距離はFibonacci数F_{2m+2}以下で、基本の上界は規則m個からなる辞書に対してΘ(m²)です。論文では、この上界がある辞書族でΘ(m²)と確認されたと報告されており、正確な最適定数は未解決の問題として残されると明記されています。

Table 2: The census. Every bounded radius is attained by a replayed input; no radius was
exceeded on re-probing to lengths twelve and fourteen (0 of 114); pref…

Table 2 : The census. Every bounded radius is attained by a replayed input; no radius was exceeded on re-probing to lengths twelve and fourteen (0 of 114); prefixes of length two agree with single symbols on every dictionary, the frozen-token comparison with a two-symbol prefix exact per input on 987,360 cases.

出典 · CC BY 4.0 · Nicklas Nidhögg · The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。
Table 3: The label distance under one symbol edit over the ordered dictionaries ofmrules,
withm≥1 for the substitution and the prepend: the upper bounds, the e…

Table 3 : The label distance under one symbol edit over the ordered dictionaries ofmrules, withm≥1 for the substitution and the prepend: the upper bounds, the exact values when no self-pair is effective,kthe rules with unequal operands that fire, and the lower bounds the families attain.

出典 · CC BY 4.0 · Nicklas Nidhögg · The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary · 論文の図を引用 · 元のPDFの35ページ目から図の部分を抽出しています。
Table 4: GPT-2’s merge table and its prefixes: the origin radius and mirrored constant where
they are finite, the verdict per prepended symbol beyond, and on t…

Table 4 : GPT-2’s merge table and its prefixes: the origin radius and mirrored constant where they are finite, the verdict per prepended symbol beyond, and on the whole table the self-pairs, the right radii, the lookahead constant and the span radii inside the classes of the pre-tokenizer, merges counted from zero for the self-pair.

出典 · CC BY 4.0 · Nicklas Nidhögg · The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary · 論文の図を引用 · 元のPDFの43ページ目から図の部分を抽出しています。

適用範囲と限界

著者らは、実行による検証は与えられた長さ範囲の入力と尾の長さに限られ、任意の長さに対する保証は証明に依存すると述べています。順序条件はほとんどの結果で必要な仮定であり、この条件を満たさない辞書では、自己ペアの基準が常に成り立つとは限りません。GPT-2の結果は、前処理器をモデル化していない併合表を辞書とみなしたものです。前処理器が断片の長さを制限する場合、その長さでrippleが上から抑えられます。label distanceの正確な最適定数と、任意の規模に対する完全な実験的確認は、この論文では扱っておらず、未解決の部分として残されています。

論文情報

著者
Nicklas Nidhögg
学会・ジャーナル
arXiv · プレプリント
公開日
2026年11月9日
登録日
2026年11月11日
更新日
2026年11月9日
バージョン
v1
arXiv
2611.13061
カテゴリ
cs.FL · cs.CL · cs.DS · cs.PL
ライセンス
CC BY 4.0
掲載内容
論文情報・解説・論文の図

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

アブストラクト

Berglund and van der Merwe formalized byte-pair encoding and bounded how far an appended string can change a tokenization, leaving the converse open: how far can a string prepended on the left change it, which dictionaries make that ripple infinite, and can it be computed efficiently when finite? We answer all three for every dictionary. The origin radius, how far a prepend can change covering spans, is decided with radius certificates by a product of two runs of the automaton that guesses the final tokens, in time polynomial in the dictionary written out, and it is infinite exactly when one periodic word has two canonical tilings with no common boundary. Under their ordering condition it is infinite exactly when some rule (t, t) finds its two copies adjacent at its own stage, and such a rule makes any dictionary infinite. A finite radius makes every window of a width read off the radii have a cut, and the radius is finite exactly when such cuts are dense. The token machine completes for every dictionary, and the tokenization is subsequential, extending what Berglund, Martens and van der Merwe proved for proper ones under one pass per rule. A streaming tokenizer emits after every symbol exactly the tokens that no continuation changes, in polynomial time, answering a question of Dalirrooyfard and Ye. Boundedness of the label measure, the edit distance of the token sequences, is decided for every dictionary in polynomial time as well, and under the ordering condition the largest distance one edit causes over dictionaries of m rules lies asymptotically between m^2/10 and m^2/2. GPT-2's merge table carries 244 effective self-pairs, so its origin radius is infinite from the forty-second merge on, and that of cl100k, o200k and Llama 3 from their first. Every measured number is its program's output, and what is not executed is named.

この論文を引用

Nicklas Nidhögg (2026). The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary. arXiv:2611.13061v1. https://arxiv.org/abs/2611.13061v1

BibTeX
@misc{nidhgg2026left,
  title = {{The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary}},
  author = {Nicklas Nidhögg},
  year = {2026},
  eprint = {2611.13061},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.13061v1}
}

関連論文を見る他の論文を見る

論文プレビュー
アカウントのセキュリティ

Googleアカウントを連携

Googleアカウントを連携すると、そのアカウントでもログインできます。

Refivu

退会

Refivu
Refivu

新規登録