プロフィール

設定

読み込み中…

← ホーム

ヘルプ・お問い合わせ

よくある質問

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

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

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

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

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

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

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

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

パスワードを忘れました

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

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

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

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

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

論文解説

A predictive, per-engine energy roofline of the Apple Neural Engine

Apple Neural Engineの予測型エンジン別エネルギールーフライン

  • 課題 Apple Neural Engineは、CoreMLを経由するとどの演算がどこで実行されるのか、エンジンごとのエネルギーも分からないため、性能特性を把握しにくいです。
  • 手法 CoreMLを使わずにfused-graph経路でANEを直接駆動し、GPUとCPUを同じ機器上でエンジンごとの電力とともに測定しました。2つの実効帯域幅に基づくルーフラインを立てています。
  • 結果 大きな正方形GEMMではGPUの方が速いものの、ANEはより少ない電力で済みました。

CoreMLを使わずに見たANEの性能とエネルギー

Apple Neural Engine(ANE)は複数の機器に搭載されていますが、その性能とエネルギー特性は主にCoreMLを経由して間接的に知られています。CoreMLは、どの演算をANE、GPU、CPUに配置するかを不透明な方針で決め、演算ごとのディスパッチやエネルギー測定は公開しません。そのため、コミュニティのガイドや公開された数値は、スケジューラの既定値を反映しているだけで、ハードウェアの実際の限界を示しているとは言いにくいです。この論文は、CoreMLを経由しない測定経路を使い、ANE、GPU、CPUを同じ機器で比較します。

2つの帯域幅と2つのridge

論文では、従来の単一ルーフラインはANEを誤って予測すると報告されています。中心となる補正は、ANEが遅い活性化経路と速い重みストリーム経路という2つの実効帯域幅を持つ点です。これにより、ridgeも1つではなく2つになります。重みストリームのridgeは約71 FLOP/Bで、GPUの134より低いため、同じ演算でもANEではより低い算術強度で演算律速の領域に入ります。さらに、ANEの単一融合オペランドGEMMの演算上限は、サイズが大きくなると平坦にならず低下します。そのため、大きなオペランドを避けるよりも、演算融合を高速な経路に保つことが重要です。

Figure 1: Square-matmul throughput versus dimension 𝑁 on the M5 Pro (ANE fp16, GPU MLX fp16). The ANE
roof peaks then falls; the GPU’s rises and plateaus

Fig. 1 . Square-matmul throughput versus dimension 𝑁 on the M5 Pro (ANE fp16, GPU MLX fp16). The ANE roof peaks then falls; the GPU’s rises and plateaus.

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。
Table 2: Bandwidth ceilings (M5 Pro), GPU and ANE in fp16

Table 2 . Bandwidth ceilings (M5 Pro), GPU and ANE in fp16.

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。
Figure 2: Weight-stream effective bandwidth versus weight dimension 𝐾=𝑁 for a decode GEMV (𝑀= 1) on
the M5 Pro. The ANE’s bandwidth exceeds the GPU’s up to𝐾= 2…

Fig. 2 . Weight-stream effective bandwidth versus weight dimension 𝐾=𝑁 for a decode GEMV (𝑀= 1) on the M5 Pro. The ANE’s bandwidth exceeds the GPU’s up to𝐾= 2048( 76 GB/s versus 32 GB/s) as it amortizes its dispatch floor, then plateaus near 130–143 GB/s; the GPU’s unified memory is higher from𝐾= 4096and reaches 221 GB/s.

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。
Figure 3: Per-device roofline on the M5 Pro: five operator archetypes on the ANE (triangles) and the GPU
(circles), placed by arithmetic intensity. The ANE sho…

Fig. 3 . Per-device roofline on the M5 Pro: five operator archetypes on the ANE (triangles) and the GPU (circles), placed by arithmetic intensity. The ANE shows two bandwidth slopes, a24 GB/sstandalone-activation path and a faster weight-stream path used by compiled programs; per-archetype, per-device placement is in Tables 3 and 4.

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。
Table 3: Per-device roof and ridge (recomputed from the saturation and bandwidth JSONs). The ANE has
two bandwidths (Sections 3.2 and 3.3) and therefore two ri…

Table 3 . Per-device roof and ridge (recomputed from the saturation and bandwidth JSONs). The ANE has two bandwidths (Sections 3.2 and 3.3) and therefore two ridges: a standalone-activation path near 24 GB/s and a weight-stream path near 143 GB/s.

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

演算ごとのエネルギー予測と配置規則

論文では、演算ごとのエネルギーをE(AI)=e_flop+e_byte/AIとおき、2つの定数を演算上限スイープのGFLOP/s/WとGB/s/Wのプラトーから直接求めています。エネルギーの均衡点AI_Eは、エネルギーの観点からメモリ律速と演算律速を分ける地点です。適合したANE重みパスの定数は演算あたり1.16 pJ、バイトあたり16.5 pJです。活性化経路のバイトは503 pJで、その大部分はホストのディスパッチによるものです。エンジン対の交点は2つのエンジン定数から計算されます。重みストリーム経路では交点が負になるため、ANEはすべての算術強度でより低いエネルギーになります。活性化経路では交点は約933と計算されるため、それ以下の独立実行演算はGPUに配置するのが規則です。

Figure 4: Energy roofline (energy per FLOP versus arithmetic intensity) on the M5 Pro, fitted from the same
active-package-power measurements as the perf/watt…

Fig. 4 . Energy roofline (energy per FLOP versus arithmetic intensity) on the M5 Pro, fitted from the same active-package-power measurements as the perf/watt tables. Solid green is the ANE weight-stream path, dashed green the standalone-activation path; open circles mark each path’s energy balance point AI𝐸 and gray droplines the corresponding time ridge AI𝑇 .

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。

単一ストリームのデバイスマップの結果

M5 Proで、13個の合成ワークロードクラスを単一ストリームで比較しました。大きな正方形fp16 GEMM(K=4096)では、GPUが2.8倍速く、精度も高かったものの、ANEは8.71 Wで、GPUの33.05 Wより大幅に少ない電力でした。合成ワークロードでは、ANEは11クラスでperf/wattが高く、ResNet系の畳み込みスタックでは13倍の差がありました。繰り返し実験では、group_normはGPUがわずかに先行し、DFTはパリティを含めて方向を決められませんでした。実際のモデルでは、ResNet-18とMiniLMでANEにエネルギー面での利点が見られましたが、ViT-B/16ではGPUの方が速かったです。

Table 6: Real models (latency ms; energy mJ/inference; all GPU arms fp16 unless marked). MPS is torch-MPS
(.half()) and MLX-c is graph-compiled MLX (mx.compile…

Table 6 . Real models (latency ms; energy mJ/inference; all GPU arms fp16 unless marked). MPS is torch-MPS (.half()) and MLX-c is graph-compiled MLX (mx.compile); MiniLM and ViT-B/16 run as MLX ports loading the same weights (online supplement, formulation-fairness appendix). The ANE and MPS energies are means over𝑁=16cold starts, andadv. MPSis their geometric-mean ratio with a 95 % interval, whose width is set mostly by the GPU arm (online supplement, Table S6). The fp32 MPS column† is single-session and carries no interval. The MLX-c energies andadv. MLX-care paired repetitions interleaved with the ANE within one session (𝑁=5for ResNet-18, 𝑁=10for the others), with a 95 %𝑡 -interval on the mean ratio. Eachadv. MLX-c ratio pairs a compiled-MLX run with an ANE run from the same session, so it is not the quotient of the printed cold-start ANE energy (the in-session ANE energies are in the online supplement, formulation-fairness appendix). Latency is the device-map probe, except MLX-c, which is the sustained time of its energy window.

出典 · CC0 1.0 · Spencer H. Bryngelson · A predictive, per-engine energy roofline of the Apple Neural Engine · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

単一ホストと外挿の限界

測定は1つのApple M5 Proホストで行われ、絶対的な倍率はホストと熱条件に依存します。そのため、ほかのチップにそのまま当てはめるべきではありません。活性化経路のエネルギー交点AI≈933は、2つの適合定数から計算された外挿であり、測定範囲の外にあります。世代をまたぐ再現は、M2 Pro、M1 Max、M4で、単一または二重実行によって確認されています。

論文情報

著者
Spencer H. Bryngelson
学会・ジャーナル
arXiv · プレプリント
公開日
2026年11月14日
登録日
2026年11月17日
更新日
2026年11月14日
バージョン
v1
arXiv
2611.19101
カテゴリ
cs.CE · cs.AR · cs.LG · cs.PF
ライセンス
CC0 1.0
掲載内容
論文情報・解説・論文の図

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

アブストラクト

The Apple Neural Engine (ANE) is in over a billion devices, but is characterized indirectly via CoreML. Using a CoreML-free fused-graph dispatch path, we measure the ANE, along with the Apple GPU and CPU on the same device, with per-engine energy accounting. The consumer-available roofline does not predict the ANE in practice. A critical correction is that the ANE sees two effective memory bandwidths: a slow activation path and a fast weight-stream path. Two roofline ridges follow, and the weight-stream ridge is below that of the GPU. The ANE single-operand compute peak decreases instead of plateauing. Its weight stream is byte-bound in fp16 but limited by the dequantizer's element rate in int8. As a result, int8 compression saves energy at unchanged throughput and an int4 lookup-table stream raises throughput and efficiency at a cost of 2.55 points of ImageNet top-1. The corrected roofline identifies the lower-energy ANE paths and bounds it from below. A constructed device map reproduces across four unique ANE generations. Results show that operators should be placed by arithmetic intensity and fused for optimal performance.

この論文を引用

Spencer H. Bryngelson (2026). A predictive, per-engine energy roofline of the Apple Neural Engine. arXiv:2611.19101v1. https://arxiv.org/abs/2611.19101v1

BibTeX
@misc{bryngelson2026predictive,
  title = {{A predictive, per-engine energy roofline of the Apple Neural Engine}},
  author = {Spencer H. Bryngelson},
  year = {2026},
  eprint = {2611.19101},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19101v1}
}

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

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

Googleアカウントを連携

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

Refivu

退会

Refivu
Refivu

新規登録