プロフィール

設定

読み込み中…

← ホーム

ヘルプ・お問い合わせ

よくある質問

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

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

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

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

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

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

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

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

パスワードを忘れました

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

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

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

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

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

論文解説

Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence

厳密な整数演算による決定論的で再現可能な推論、およびその帰結としての検証可能な分散推論

  • 課題 浮動小数点数による推論は、ハードウェア、コンパイラ、スレッド数によってビットが変わるため、再現と検証が難しいです。
  • 手法 tritifyは実行経路を整数演算に置き換え、各演算に浮動小数点数の参照を用意して出力のビットを検証します。
  • 結果 整数経路は、CPU命令セット間およびCPUとGPU間で同じSHA-256を再現します。GLM-4.5-Airは、複数の機器に分けて実行しても単一ホストの参照と同じビットを出力しました。

浮動小数点数推論の再現性の問題

既存の最適化された浮動小数点数推論では、同じモデルでもハードウェア、コンパイラ、スレッド数によって異なるビットが出力されることがあります。IEEE-754の加算は結合法則が成り立たないため、総和の順序が変わると下位ビットが変わります。数学関数ライブラリも、丸め方がそれぞれ異なります。本論文は、参照BLASのような方法で再現可能な浮動小数点数を実現できるものの、コストがかかり、デフォルトではないと指摘しています。そのうえで、実行経路そのものを整数演算に置き換える方向を扱います。

整数の順伝播と検証用の参照構造

tritifyは実行時の順伝播をforward_intの経路で行い、浮動小数点数はオフラインの重み量子化と検証用のforward_refにだけ残します。重みは、b=12トリットの平衡3進格子により一度だけ量子化されます。レベル数はLW=(3^12−1)/2=265,720です。活性値は、キャリブレーションデータを使わず、実行時にテンソルごとの最大値で動的に量子化されます。行列積の累算、再量子化、残差加算、RMSNormの逆RMS、GELUとsoftmaxのexpのルックアップテーブルは、すべて整数経路にあります。各演算は整数経路と浮動小数点数参照の2つのメソッドの契約を持つため、検証ゲートは2つの結果の差、決定性、SHA-256をあわせて確認できます。

Table 1: Error of representative operations against the float reference:Mmarks an empirically measured
maximum,Da derived representational bound

Table 1 :Error of representative operations against the float reference:Mmarks an empirically measured maximum,Da derived representational bound.

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

再現性と判定の忠実度の検証

再現性の主張は、固定された入力に対して整数経路がCPU命令セット間およびCPUとGPU間で同じビットを出力するかどうかで確かめられます。Qwen2.5-0.5Bのseq 512条件では、Apple M3 MaxのARM/NEONとAMD EPYC 9454Pのx86-64/AVX-512が、同じロジットのSHA-256を出力しました。判定の忠実度の主張は、同じ実験でテンソル全体のビット一致とは区別して測定されます。512トークンの合成プローブでは、整数argmaxは参照と509/512の位置で一致し、残りの3か所は僅差の同点でした。SAM 2.1では、選ばれたマスクは0/65536ピクセルの差で同一で、IoUは1.0000でした。

論文では、この結果は普遍的な保証ではなく、測定された例外であると明記されています。

Table 2: Cross-hardware reproducibility (Claim 1) and decision fidelity (Claim 2)

Table 2 :Cross-hardware reproducibility (Claim 1) and decision fidelity (Claim 2).

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

層の深さに応じた忠実度

OLMoE-1B-7Bは16層すべて、GLM-4.5-Airは前半の16層について、層ごとに残差ストリームの位置別コサインをfp32参照と比較しました。GLM-4.5-Airの前半16層の中央値は0.9996717、最小値は0.9873843です。著者らは、この結果を系統的な発散ではなく僅差の同点と解釈しています。GLMの16層以降の曲線は外挿であり、全深度での浮動小数点数の忠実度は測定していないと明記されています。

Table 4: Per-layer fidelity of the integer path against the fp32 reference, measured after every layer; no
fidelity cliff. Both sides run at each model’s owntr…

Table 4 :Per-layer fidelity of the integer path against the fp32 reference, measured after every layer; no fidelity cliff. Both sides run at each model’s owntransformers-configured ε — OLMoE-1B-7B at1e−5 (the engine’s family default was aligned to this shipped value; see text) and GLM-4.5-Air at its stated 1e−5— so each column is decision fidelity to thatshippedcheckpoint, unmodified.

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。
Figure 1: Fidelity does not cliff with depth. Per-layer residual cosine to the fp32 reference, both
sides at the checkpoint’s ownε (zoomed axis). Solid: the pe…

Figure 1 :Fidelity does not cliff with depth. Per-layer residual cosine to the fp32 reference, both sides at the checkpoint’s ownε (zoomed axis). Solid: the per-positionmedian, near1 .0throughout. Dashed/shaded: the singleworstprobe position, dipping to≈ 0.996(OLMoE) and ≈ 0.99(GLM) at the deepest layers and no further — a bounded spread, not a collapse.

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

位置の独立性と分散実行

Claim 3は、出力が演算を実行する位置に依存しないという主張です。整数演算は連結の順序が変わっても同じ結果になるため、層の範囲や専門家を複数の機器に分けても、結合結果は単一機器の出力と一致します。活性値と専門家の出力だけがネットワークを通過し、専門家の重みは各ワーカーにとどまります。GLM-4.5-Airの整数コードは427,409,005,056バイトでした。3台の機器のどれも、コード全体をRAMに収められませんでしたが、単一ホストのストリーミング参照と同じSHA-256 564f495c...を、46層すべてで再現しました。この分散実行は往復通信を追加するため、速度向上とは解釈しません。

Figure 4: The distributed seam (schematic). The coordinator routes each token locally and sends its
activationto the worker holding each selected expert, which…

Figure 4 :The distributed seam (schematic). The coordinator routes each token locally and sends its activationto the worker holding each selected expert, which returns the expert’soutput vector; expert weightsstay resident and never cross the wire (so per-token traffic is kilobytes). The split shown (3local, 3+2remote) is an example — the real placement is the oracle’s. Recombination is placement-independent, so the output carries one SHA-256, identical on every node (Claim 3).

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。
Table 5: The flagship run (GLM-4.5-Air, 46 layers,427GB of codes) across a fleet none of which can
hold its full codes in RAM, against a single-host streamed r…

Table 5 :The flagship run (GLM-4.5-Air, 46 layers,427GB of codes) across a fleet none of which can hold its full codes in RAM, against a single-host streamed reference. Every memory figure is measured on its node; “resident” is measured RAM, distinct from the assigned expert ranges.

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの12ページ目から図の部分を抽出しています。
Figure 6: No single node holds the model. Measured RAM of each machine versus GLM-4.5-Air’s427
GB of codes (dashed). Every node is left of the line, yet the tw…

Figure 6 :No single node holds the model. Measured RAM of each machine versus GLM-4.5-Air’s427 GB of codes (dashed). Every node is left of the line, yet the two workers together (576GB) exceed the 399GB of routed codes they hold — so the fleet runs a model no single node can hold in RAM at once (the single-host reference runs thesamemodel by streaming). Labels anonymized as in the text.

出典 · CC BY 4.0 · Sayed Amir Karim · Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

適用範囲と限界

整数経路は、一般的なCPUやGPUで最適化された浮動小数点数推論より高速ではなく、分散実行はネットワーク遅延を追加します。論文では、分散の利点を速度ではなく、単一機器の容量を超えるモデルの実行、検証可能性、局所性として説明しています。ビットの一致は検証可能性をもたらしますが、機密性はもたらしません。層を実行するサーバーは活性値を見ることができます。動的なテンソルごとの量子化のため、バッチ構成やプリフィルとデコードの分割が変わると、整数経路はスケジュール不変ではありません。Qwen2.5-0.5Bでこの影響を測定したところ、すべてのargmax判定は保たれましたが、整数経路の値そのものは変わることがあります。

GPUバックエンドのビット一致は、Apple M3 Metalの3進GEMMでのみ報告されており、モデル全体ではまだ報告されていません。

論文情報

著者
Sayed Amir Karim
学会・ジャーナル
arXiv · プレプリント
公開日
2026年11月10日
登録日
2026年11月11日
更新日
2026年11月10日
バージョン
v1
arXiv
2611.13730
DOI
10.5281/zenodo.23986737
カテゴリ
cs.LG · cs.DC · cs.SE
ライセンス
CC BY 4.0
掲載内容
論文情報・解説・論文の図

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

アブストラクト

Optimized floating-point inference is not reproducible across environments: the same model on different hardware, compilers or thread counts can produce different bits. We present tritify, an open-source runtime that executes the forward pass of real models -- decoder-only language models, Mixture-of-Experts decoders, and the Segment Anything 2.1 image/video stack -- with the entire run-time path in exact integer arithmetic; floating point is confined to offline quantization and the float reference used for verification. We make three separate claims and verify each. (1) Cross-hardware reproducibility: the integer path produces bit-identical output run to run, across CPU instruction-set architectures, and across CPU/GPU, carried by a reproducing SHA-256 of the output. (2) Decision fidelity: the integer path reproduces the float reference's decision on the models and inputs tested, with the numeric exceptions measured; per-layer fidelity through sixteen layers of OLMoE-1B-7B and of a 106-billion-parameter MoE shows no fidelity cliff. (3) Location independence: a model's computation can be split across instruction sets, CPU and GPU, and networked machines with zero effect on the output bits. GLM-4.5-Air (106,852,251,264 parameters, 427 GB of integer codes) generated its answer across three machines, none of which can hold its integer codes in RAM, bit-identically to a single-host reference. The consequence is verifiable distributed inference: an untrusted server or a fleet of devices runs the model while an open scalar oracle re-derives the exact bytes; a guarantee against a dishonest server is future work. We do not claim a per-device speed-up, bit-equality of floating-valued intermediates, or confidentiality. Code: https://github.com/pelloran-inc/tritify

この論文を引用

Sayed Amir Karim (2026). Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence. arXiv:2611.13730v1. https://doi.org/10.5281/zenodo.23986737

BibTeX
@article{karim2026deterministic,
  title = {{Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence}},
  author = {Sayed Amir Karim},
  year = {2026},
  eprint = {2611.13730},
  archivePrefix = {arXiv},
  doi = {10.5281/zenodo.23986737},
  url = {https://arxiv.org/abs/2611.13730v1}
}

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

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

Googleアカウントを連携

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

Refivu

退会

Refivu
Refivu

新規登録