﻿# NPUMoE on Apple Silicon: ANE prefill and energy evidence

NPUMoE groups MoE experts for Apple Neural Engine and CPU execution. Examine M2 prefill results, overflow pruning, short outputs and energy-measurement limits.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/npumoe-apple-ane-cpu-prefill-energy-evidence/
Language: en

On 20 April 2026, University of Virginia researchers Afsara Benazir and Felix Xiaozhu Lin introduced NPUMoE in a [preprint](https://arxiv.org/abs/2604.18788), an experimental Apple Silicon mixture-of-experts inference system. It offloads suitable computation to Apple Neural Engine (ANE), while leaving irregular operations to the CPU. The authors report faster input processing and lower energy than several Core ML implementations. These are developer results rather than independent testing.

Potential uses include local long-document processing or answering questions in large contexts while freeing CPU resources and preserving the GPU for other work. However, a description involving three devices needs qualification: the documented main NPUMoE path coordinates ANE and CPU while leaving the GPU available for background tasks. The authors also discuss CPU/GPU fallback and separately compare GPU with NPU execution; the work does not demonstrate all three accelerating every request simultaneously. [Preprint sections 3 and 5](https://arxiv.org/html/2604.18788).

## Why experts are difficult to offload to ANE

In an MoE model, a router chooses only some expert transformations for each token. This permits large total model capacity without activating every expert for every token. However, the number of tokens assigned to an expert is unknown in advance and varies with input and layer. Execution must select experts, distribute their inputs and gather outputs into the original order.

The authors explain that ANE suits dense computation with prepared data shapes, while dynamic routing and indexing fit poorly. Launching many tiny computation graphs is expensive too: host and accelerator must coordinate. Even unified Apple Silicon memory does not remove synchronization cost. [Sections 1–2](https://arxiv.org/html/2604.18788).

NPUMoE uses three techniques. First, an offline calibration pass estimates expert demand, assigning larger fixed capacities to popular experts and smaller ones to less-used experts. Second, experts sharing capacity are grouped into one graph: tokens are packed into predefined regions, unused space is zero-padded and outputs are gathered afterward. This reduces separate ANE launches. Finally, sufficiently loaded groups remain on ANE, while small or infrequent work stays on CPU to avoid unnecessary accelerator launches. [Section 4](https://arxiv.org/html/2604.18788).

Fixed capacity carries a cost. Zero padding wastes computation; overflow instead prunes some expert assignments by saliency. This does not necessarily remove the token from the entire model: the authors explain that it continues through other network paths. They observe approximately 10–20% dropping and report less than 1.1% accuracy degradation on their test datasets. That does not guarantee quality preservation elsewhere. [Sections 3.2 and 5.6](https://arxiv.org/html/2604.18788).

## What was measured

Experiments used M2 Max with 64 GB unified memory and M2 Ultra with 192 GB. Models were Phi-3.5-MoE-Instruct, Phi-tiny-MoE-Instruct and Qwen3-30B-A3B. Tasks used HellaSwag, BoolQ and RULER, the latter covering several context retrieval and processing tasks. Input lengths were 1024 or 4096 tokens, with prefill chunks of 256, 512 or 1024. Comparisons generally used identical checkpoints, tokenizer, FP16 precision and real routing traces. [Methodology](https://arxiv.org/html/2604.18788).

The primary time metric is TTFT, time to first token, associated here mainly with *prefill*: processing the input before answer generation. This differs from subsequent generation speed. End-to-end measurements include both stages, but average output length is only eight tokens. They therefore cannot directly establish long-conversation or long-generation behavior.

For Phi-3.5-MoE on M2 Ultra, the authors report 1.32–5.55-fold lower prefill latency, 1.81–7.37-fold lower energy per token and 1.78–5.54-fold fewer CPU cycles. Ranges span different input/chunk sizes and three baselines: Core ML CPU execution, default Core ML scheduling and an adapted ANEMLL library. These are not three results from one run. For example, at 1024 input tokens and a 256-token chunk, reported speedups are 2.07 over CPU, 5.55 over default Core ML and 1.95 over ANEMLL. [Results](https://arxiv.org/html/2604.18788); [ANEMLL](https://github.com/Anemll/Anemll) is a separate model-conversion project for neural accelerators.

The authors define energy as compute-device plus data-movement expenditure divided by token count, saying Zeus collected measurements. For this PhiMoE experiment, they report approximately 52–137 millijoules per prefill token. CPU cycles are an indirect offload indicator rather than direct ANE-utilization measurement. Current [Zeus Apple Silicon library documentation](https://github.com/ml-energy/zeus-apple-silicon) describes cumulative IOReport counters: its authors believe these are model-based estimates, with individual-channel availability depending on the chip. This is not an external wattmeter, and current documentation does not establish the paper's exact library revision. The preprint lacks enough detail to independently audit and reproduce the complete energy procedure from text alone. [Methodology and energy results](https://arxiv.org/html/2604.18788).

## Where conclusions stop

The GPU comparison shows an important tradeoff. In a separate attention-plus-MoE block experiment, the authors measure 0.99 seconds on GPU versus 1.26 seconds through their NPU path, but report 54.72 J versus 12.21 J per run. An isolated attention-kernel comparison likewise favors GPU time and NPU energy. These are separate author measurements, rather than a universal GPU/ANE ranking across models. [Appendix A.3](https://arxiv.org/html/2604.18788).

The work assumes all model weights fit unified device memory, materially limiting large MoE use on smaller-RAM machines. The authors acknowledge that single-token decoding amortizes CPU/ANE coordination worse than large-block input processing. The prototype is consequently most relevant to developers of local document retrieval and other long-input, short-output tasks; ordinary chat, newer chips and other models still require evaluation.

No independent replication was identified, and the preprint only promises future code release. These figures should therefore remain a promising research-prototype result whose conditions need reproduction before judging a specific application's benefit.

For reading the experiment, see [MoE routing and expert capacity](/journal/moe-router-load-balancing-loss/) and [energy-per-inference measurement boundaries](/journal/measuring-energy-per-inference/). Reduced CPU cycles and reduced energy remain different metrics.

## Sources

- [Benazir and Lin, Efficient Mixture-of-Experts LLM Inference with Apple Silicon NPUs](https://arxiv.org/abs/2604.18788), preprint and [full text](https://arxiv.org/html/2604.18788).
- [ANEMLL](https://github.com/Anemll/Anemll), model-conversion library used by the authors and adapted for a comparison baseline.
- [Zeus Project](https://ml.energy/zeus/), documentation for the authors' named energy-measurement tool.
