What is NPU (neural processing unit)?
A dedicated circuit for running neural-network inference quickly and at low power. It is built into the SoCs of smartphones and PCs.
Field: CPUs and architecture
Read the beginner explainer: What Chips Are Inside a Smartphone? The Main Chips Explained
Japanese name: NPU(ニューラルプロセッシングユニット)
What an NPU computes
Neural-network inference is dominated by matrix multiplications and convolutions, which break down into enormous numbers of multiply-accumulate (MAC) operations. An NPU packs thousands to tens of thousands of MAC units, often arranged as a systolic array or wide matrix engine, into a small area and feeds them from on-chip SRAM buffers through dedicated data-movement engines. Separate units handle activation functions, pooling and normalization. Most mobile NPUs compute in low precision, typically 8-bit integers (INT8) or below, or 16-bit floating point.
Why it beats a CPU on efficiency
A general-purpose CPU spends much of its energy on instruction fetch and decode, branch prediction and out-of-order bookkeeping rather than arithmetic. Fetching data from external DRAM costs far more energy than a multiply, so moving data is often the real limit. An NPU removes the general-purpose machinery, keeps weights and activations in local memory so each value is reused many times, and uses narrow arithmetic, since multiplier area and energy grow steeply with bit width. The result is far higher performance per watt for AI work, at the cost of flexibility.
NPU vs. GPU vs. CPU
A GPU runs thousands of programmable threads and handles floating-point training and inference flexibly, but it draws much more power. An NPU is narrower in scope and is tuned for inference within the few-watt budget of a phone or laptop SoC. The CPU remains the fallback, so a layer the NPU cannot execute may run far slower on it and force costly data transfers. NPU throughput is quoted in TOPS (trillions of operations per second), a peak figure that depends on precision and sparsity assumptions; real speed depends on memory bandwidth and how well a model maps onto the hardware.
The software that makes it usable
An NPU is only as useful as its software environment (compilers, libraries and runtimes). Models trained in floating point are quantized to INT8 or lower, either after training or with quantization-aware training, to keep accuracy. AI compilers and inference runtimes then fuse operations, choose memory layouts and tile computations to fit on-chip buffers, and generate kernels for the specific NPU. This on-device inference enables features such as photo enhancement, speech recognition and translation with low latency and without sending data to a server.
Try it: questions about NPU (neural processing unit)
- APLL (phase-locked loop)
- BADC
- CNPU (neural processing unit)
Show answer and explanation
Answer: C. NPU (neural processing unit)
An NPU is a dedicated circuit that executes, in massive parallel, the multiply-accumulate operations dominating neural networks, often at low precision such as 8-bit integers or less. Its performance per watt is far higher than a general-purpose CPU's, letting phones handle photo enhancement, speech recognition and translation on-device. Performance is quoted in TOPS (trillions of operations per second), and some PC SoCs include an NPU as well.
- ATranslate an AI model's answers into human language
- BAutomatically collect training data
- CAnalyze the model's computational graph, optimize fusion, data layout and tiling, and generate code for the target hardware
Show answer and explanation
Answer: C. Analyze the model's computational graph, optimize fusion, data layout and tiling, and generate code for the target hardware
An AI compiler takes the model as a computational graph of operations and data flows, fuses operations where possible, removes unnecessary computation, chooses memory layouts and tunes tile sizes, then generates kernels suited to the target, such as a GPU or NPU. It automatically produces optimized code for each hardware target from the same model, greatly reducing manual optimization work.
FAQ
What is the difference between an NPU and a GPU?
A GPU is a flexible, programmable parallel processor suited to both training and inference, usually at higher power. An NPU is a specialized accelerator for low-precision neural-network inference that delivers better energy efficiency but supports fewer kinds of operations.
What does TOPS mean for an NPU?
TOPS means trillions of operations per second, with one multiply-accumulate usually counted as two operations. It is a peak number tied to a specific precision, so compare TOPS only at the same precision and treat it as an upper bound.
Why do NPUs use INT8 instead of floating point?
Narrow integer arithmetic needs much smaller, lower-energy multipliers and halves or quarters memory traffic compared with 16- or 32-bit values. Well-quantized models typically lose little accuracy for inference.
Books on CPUs and architecture Ad
As an Amazon Associate I earn from qualifying purchases.
Comparisons that include this term
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.
Back to the glossary