Benchmarking Edge AI Platforms for High-Performance ML Inference

Rakshith Jayanth, Neelesh Gupta, Viktor K. Prasanna

As Artificial Intelligence transitions from centralized data centers to the "edge"—encompassing mobile devices, automotive systems, and industrial IoT—the underlying hardware architecture is evolving. Modern System-on-Chip (SoC) designs, such as the Intel AIPC, now integrate a heterogeneous trio of processors: the traditional Central Processing Unit (CPU), a high-throughput integrated Graphics Processing Unit (iGPU), and a specialized Neural Processing Unit (NPU).

While the inclusion of dedicated AI hardware is becoming standard, developers often lack clear guidance on which processor to target for specific workloads. A recent study from researchers at the University of Southern California (USC) provides a comprehensive roadmap for navigating this landscape, benchmarking the Intel AIPC platform to reveal the performance characteristics and efficiency of each compute unit.

The Challenge of Heterogeneous Edge Computing

Edge AI requires a delicate balance between low latency, high throughput, and strict power constraints. While manufacturers are shipping "AI PCs" with dedicated NPUs, there is a lack of empirical benchmarking that connects low-level mathematical primitives—such as matrix multiplication—to high-level model performance in Large Language Models (LLMs) or computer vision tasks.

Developers often default to the GPU for acceleration. However, this research argues that the "best" processor depends entirely on the mathematical nature of the workload: specifically, whether it is compute-bound (limited by raw arithmetic speed) or memory-bound (limited by data transfer speeds).

Methodology

The researchers evaluated an Intel AIPC (Core Ultra) platform featuring 16 CPU cores, 128 GPU Execution Units, and 4096 NPU MAC units. Their methodology followed a bottom-up approach:

  1. Linear Algebra Benchmarking: Testing three levels of Basic Linear Algebra Subprograms (BLAS): Dot Product (Level 1), Matrix-Vector Multiplication (Level 2), and Matrix-Matrix Multiplication (Level 3).
  2. DNN Workload Benchmarking: Evaluating three representative models: MobileNetV2 (CNN for video classification), LSTM (for time-series analysis), and TinyLlama (a 1.1B parameter LLM for text generation).
  3. Software Optimization: Utilizing Intel’s OpenVINO and IPEX (Intel Extension for PyTorch) to ensure optimized execution across all compute units using FP-16 and INT-8 precision.

Key Insights and Performance Analysis

1. The NPU as a Memory Specialist

The study found that the NPU excels at matrix-vector multiplication, achieving a 58.54% reduction in latency compared to the GPU. This is attributed to the NPU's efficient Direct Memory Access (DMA) engines, which move data from system memory to local cache more effectively than a GPU. This makes the NPU the superior choice for memory-bound tasks.

2. The GPU as a Throughput Powerhouse

For large, dense matrix-matrix multiplications (Level 3 BLAS), the GPU’s massive parallelism eventually overcomes its memory overhead. For square matrices of $1024 \times 1024$, the GPU was 22.6% faster than the NPU and offered double the throughput. The GPU requires these "large" workloads to reach full saturation and justify its higher power draw.

3. Real-World Model Performance

  • LLMs (TinyLlama): LLM inference is dominated by the "decode" stage, which consists primarily of matrix-vector operations. Consequently, the NPU outperformed the GPU by 3.2x in inference latency.
  • Computer Vision (MobileNetV2): For real-time applications with a batch size of 1, the NPU was nearly 3x faster than the GPU. However, as batch sizes increased, the GPU’s parallel architecture allowed it to eventually surpass the NPU.
  • Sequential Tasks: For very simple, sequential tasks like dot products, the CPU maintained the lowest latency. This is because the overhead of offloading data to an accelerator often exceeds the time saved by the specialized hardware.

Power Efficiency

Efficiency is a critical metric for edge deployment. The benchmarking revealed that the NPU operated at a peak of 35W, significantly lower than the GPU’s 75W. Despite the lower power envelope, the NPU delivered comparable or superior results in the majority of AI-specific tasks, making it the most viable option for battery-constrained or thermally limited environments.

Conclusion and Future Directions

The USC study demonstrates that the NPU is not merely a marketing addition but a specialized tool that excels in memory-bound operations and low-batch inference—the very tasks that define modern edge AI and LLM deployment. While the GPU remains the king of raw throughput for large-scale parallel processing, the NPU offers a more efficient and faster alternative for real-time interaction.

Future research is expected to expand these benchmarks to other hardware ecosystems, such as Apple’s M-series and Qualcomm’s Snapdragon platforms. Additionally, the development of intelligent schedulers that can split a single model across the CPU, GPU, and NPU simultaneously represents the next frontier in maximizing edge AI performance.

Summary updated

BibTeX
@inproceedings{jayanth2024benchmarking,
  author = {Rakshith Jayanth and Neelesh Gupta and Viktor K. Prasanna},
  title = {{Benchmarking Edge AI Platforms for High-Performance ML Inference}},
  booktitle = {HPEC},
  year = {2024},
  doi = {10.1109/hpec62836.2024.10938499},
}
Figure