Robots Atlas>ROBOTS ATLAS
Infrastructure

NPU

ActivePublished: 20 September 2026Updated: 20 September 2026Published
Key innovation
A specialized hardware accelerator built around low-precision matrix multiplication, delivering far better performance-per-watt than CPUs/GPUs for neural-network inference โ€” enabling on-device AI.
Category
Infrastructure
Abstraction level
Primitive
Operation level
InferenceDeployment
Use cases
On-device AI inference (phones, Copilot+ PC laptops)Perception and control in robotics and edge devicesLocal image, speech, and language-model processingData-center inference acceleration (e.g., Google TPU)Energy-efficient AI in IoT and embedded systems

How it works

An NPU maps neural-network layers onto MAC-optimized hardware. Its core is a systolic array or a grid of MAC units through which data (activations and weights) flow rhythmically, performing multiply-accumulate without constant instruction fetching. Weights and activations are quantized to low precision (usually INT8), multiplying the operations per cycle and reducing memory footprint. Local SRAM buffers weights and intermediate results, while a DMA/dataflow controller orchestrates data movement to minimize costly external-memory access. A compiler/runtime (e.g., supplied by the SoC vendor) translates a model from a framework (PyTorch/TensorFlow/ONNX) into an operation graph, quantizes it, and schedules it onto NPU resources. Performance is bounded by the number of MAC units (and frequency) and by memory bandwidth; real-world capability is quoted in TOPS and TOPS/W.

Problem solved

Neural networks require enormous numbers of matrix multiplications; running them on a CPU is slow, and on a GPU power-hungry and costly, especially on mobile and edge devices with tight power budgets. The NPU provides hardware dedicated to these operations, offering high throughput at low power and enabling AI inference locally, in real time.

Components

MAC / systolic arrayThe NPU's compute core

A grid of multiply-accumulate units performing matrix multiplications and convolutions; data flows through the array rhythmically (systolic dataflow).

On-chip SRAM / buffersReducing data movement

Fast local memory buffering weights, activations, and intermediate results, cutting costly external-memory access.

Dataflow / DMA controllerData orchestration

Controls the flow of weights and activations between memory and the MAC array, scheduling operations without CPU involvement.

Quantization / activation unitsLow precision and nonlinear functions

Hardware support for low-precision arithmetic (INT8/INT4) and for activation, normalization, and pooling functions.

Implementation

Implementation pitfalls
Accuracy loss from quantizationHigh

Quantizing to INT8/INT4 can degrade model quality without calibration or quantization-aware training (QAT).

Fix:Post-training calibration, QAT, and mixed precision for sensitive layers.
Memory-bandwidth boundHigh

Many models never reach peak TOPS because they are limited by weight/activation transfer, not compute.

Fix:Tiling, data reuse, compression/sparsity, and roofline-aware optimization.
Unsupported operatorsMedium

NPUs support a limited operator set; unusual layers fall back to CPU/GPU, negating the performance gains.

Fix:Design models for supported operators; check NPU compiler reports.

Evolution

2016
Google TPU v1 โ€” datacenter NPU
Inflection point

Google deploys a systolic-array accelerator (TPU) for datacenter inference, popularizing dedicated neural-network accelerators.

2017
NPUs in smartphones (Kirin 970, Apple A11)
Inflection point

Huawei's Kirin 970 and Apple's A11 (Neural Engine) bring NPUs to mainstream mobile devices, launching the on-device AI era.

2018
Edge TPU and edge accelerators

Energy-efficient edge NPUs (e.g., Google Edge TPU) emerge, enabling inference in IoT and robotics.

2024
NPUs in PCs (Copilot+ PC)

Intel, AMD, and Qualcomm add NPUs to PC processors; the Copilot+ PC platform sets a performance bar (tens of TOPS) for local AI.

Hyperparameters (configurable axes)

MAC count / TOPSCritical

The number of MAC units and frequency set peak throughput (TOPS), the NPU's key performance parameter.

Numeric precision (INT8/INT4/FP16)High

Supported low-precision formats; lower precision raises TOPS and cuts memory at the cost of accuracy.

Memory bandwidth / SRAM sizeHigh

Memory bandwidth and on-chip SRAM size are often the real bottleneck (roofline), not the raw MAC count.

Execution paradigm

Primary mode
Dense

Spatial/dataflow execution dominated by dense matrix multiplication; newer NPUs also support sparsity for extra efficiency.

Activation pattern
All paths active

Parallelism

Parallelism level
Fully parallel

An NPU achieves spatial parallelism in the MAC array: hundreds to thousands of multiplications per cycle under a dataflow execution model.

Scope
Inference

Hardware requirements

Primary

The TPU is the canonical datacenter NPU built on a systolic array โ€” a direct realization of this concept.

Good fit

GPU tensor cores perform the same low-precision MAC operation; functionally similar to an NPU.

Possible

An NPU can be implemented on an FPGA, though with lower efficiency than a dedicated ASIC.