A predictive, per-engine energy roofline of the Apple Neural Engine
Spencer H. Bryngelson
Abstract
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.
Create a lesson
Related papers
A hierarchical graph neural network for efficient particle-resolved prediction of granular flow dynamics
Shared title terminology · Kuang Shi, Qingqi Zhao, Teng Man et al.
Residual-Guided Multi-Step Conditional Generation for Fast Airfoil Flow Field Prediction
Shared title terminology · Weishao Tang, Mingcheng Lei, Yufei Zhang
Bookkeeping Is Not Judgement: EJBench, an Engineering Judgement Benchmark Built from a Conjugate Heat Transfer Design Campaign
Shared title terminology · James Sadler, Rotimi Alabi, Kotub Uddin
From Prediction to Action: An Execution-Aware End-to-End Machine Learning Framework for Structured Investment Decision Support
Shared title terminology · Aditya Bhardwaj, Xingchen Zhang
Generalized hydraulic neural operators turbocharging sewer digital twins
Shared title terminology · Ruozhou Lin, Shixun Li, Tao Shi et al.
Hierarchical Bayesian physics-augmented neural networks for populations of hyperelastic laws: specimen variability and uncertainty from scarce, noisy data
Shared title terminology · Vincent C. Scholz, Phaedon-Stelios Koutsourelakis