프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, 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를 같은 기기에서 엔진별 전력과 함께 측정하여 두 개의 유효 대역폭 기반 roofline을 세웠습니다.
  • 주요 결과 큰 정사각 GEMM에서는 GPU가 더 빠르지만 ANE는 더 적은 전력을 썼습니다.

CoreML 없이 본 ANE의 성능과 에너지

Apple Neural Engine(ANE)은 여러 기기에 탑재되어 있지만, 그 성능과 에너지 특성은 주로 CoreML을 거쳐 간접적으로 알려져 있습니다. CoreML은 어떤 연산을 ANE, GPU, CPU에 배치할지 불투명한 정책으로 결정하고, 연산별 디스패치나 에너지 측정을 노출하지 않습니다. 그래서 커뮤니티의 가이드와 공개 수치는 스케줄러의 기본값을 반영할 뿐 하드웨어의 실제 한계를 보여 준다고 보기 어렵습니다. 이 논문은 CoreML을 거치지 않는 측정 경로를 사용하여 ANE, GPU, CPU를 같은 기기에서 비교합니다.

두 개의 대역폭과 두 개의 ridge

이 논문은 기존 단일 roofline이 ANE를 잘못 예측한다고 보고합니다. 핵심 보정은 ANE가 느린 활성화 경로와 빠른 가중치 스트림 경로라는 두 개의 유효 대역폭을 가진다는 점입니다. 이에 따라 ridge도 하나가 아니라 두 개가 됩니다. 가중치 스트림 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로 두고, 두 상수를 계산 상한 스윕의 GFLOP/s/W와 GB/s/W 플래토에서 직접 얻습니다. 에너지 균형점 AI_E는 메모리 지배와 연산 지배를 에너지 측면에서 나누는 지점입니다. 적합된 ANE 가중치 경로 상수는 연산당 1.16 pJ, 바이트당 16.5 pJ이고, 활성화 경로 바이트는 503 pJ로 그 대부분이 호스트 디스패치입니다. 엔진 쌍의 교차점은 두 엔진 상수로 계산되며, 가중치 스트림 경로에서는 교차점이 음수이므로 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쪽에서 그림 영역을 추출했습니다.

단일 호스트와 외삽의 한계

측정은 하나의 Apple M5 Pro 호스트에서 수행되었고, 절대 배수는 호스트와 열 조건에 의존합니다. 따라서 다른 칩에 그대로 옮기면 안 됩니다. 활성화 경로의 에너지 교차점 AI≈933은 두 적합 상수로 계산된 외삽이며 측정 범위를 벗어납니다. 교차 세대 재현은 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
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

회원가입