Skip to main content
QUICK REVIEW

[Paper Review] MLPerf Inference Benchmark

Vijay Janapa Reddi, Christine Cheng|arXiv (Cornell University)|Nov 6, 2019
Radiation Effects in ElectronicsEngineering47 references40 citations
TL;DR

MLPerf Inference introduces a standardized, industry-wide benchmark suite for evaluating machine learning inference systems across diverse hardware and software stacks. It defines four realistic scenarios—single-stream, multistream, server, and offline—along with strict accuracy targets and latency bounds, enabling fair, reproducible, and architecture-neutral performance comparisons across over 30 systems from 14 organizations.

ABSTRACT

Machine-learning (ML) hardware and software system demand is burgeoning. Driven by ML applications, the number of different ML inference systems has exploded. Over 100 organizations are building ML inference chips, and the systems that incorporate existing models span at least three orders of magnitude in power consumption and five orders of magnitude in performance; they range from embedded devices to data-center solutions. Fueling the hardware are a dozen or more software frameworks and libraries. The myriad combinations of ML hardware and ML software make assessing ML-system performance in an architecture-neutral, representative, and reproducible manner challenging. There is a clear need for industry-wide standard ML benchmarking and evaluation criteria. MLPerf Inference answers that call. In this paper, we present our benchmarking method for evaluating ML inference systems. Driven by more than 30 organizations as well as more than 200 ML engineers and practitioners, MLPerf prescribes a set of rules and best practices to ensure comparability across systems with wildly differing architectures. The first call for submissions garnered more than 600 reproducible inference-performance measurements from 14 organizations, representing over 30 systems that showcase a wide range of capabilities. The submissions attest to the benchmark's flexibility and adaptability.

Motivation & Objective

  • To address the lack of a standardized, representative, and reproducible benchmark for ML inference systems.
  • To enable fair, apples-to-apples comparisons across diverse ML hardware and software stacks.
  • To establish consensus on performance metrics, accuracy targets, and latency bounds aligned with real-world deployment constraints.
  • To support both hardware and software optimization by allowing flexible implementation under defined rules.
  • To foster industry-wide collaboration through a community-driven benchmarking framework.

Proposed method

  • Defines four distinct inference scenarios—single-stream, multistream, server, and offline—each with scenario-specific performance metrics.
  • Sets mandatory model quality targets and latency bounds based on input from 200+ ML engineers and practitioners.
  • Uses a standardized LoadGen tool to simulate real-world workloads and enforce consistent data input and output handling.
  • Supports both closed and open divisions: closed for strict rule compliance, open for broader software and hardware flexibility.
  • Provides reference implementations in both PyTorch and TensorFlow to ensure reproducibility and accessibility.
  • Employs automated checkers and submission validators to ensure accuracy, compliance, and auditability of results.

Experimental results

Research questions

  • RQ1How can ML inference performance be fairly measured across wildly different hardware and software systems?
  • RQ2What performance metrics best reflect real-world deployment constraints in data centers, edge devices, and mobile systems?
  • RQ3How can model accuracy be standardized to enable meaningful trade-off analysis between performance and quality?
  • RQ4What benchmarking rules and workflows ensure reproducibility and integrity across diverse submissions?
  • RQ5How can a consensus-driven benchmarking framework effectively represent the full spectrum of ML inference workloads?

Key findings

  • The first MLPerf Inference submission round collected over 600 reproducible performance measurements from 14 organizations, representing more than 30 distinct systems.
  • Performance varied significantly across the four defined scenarios, demonstrating the importance of scenario-specific benchmarking.
  • The inclusion of accuracy targets and latency bounds enabled consistent evaluation of the accuracy/performance trade-off across systems.
  • The LoadGen tool and automated checkers reduced manual auditing effort and improved result integrity, with only about three engineers needed to validate submissions.
  • The benchmark successfully captured optimizations such as batching, model quantization, and hardware-software co-design across diverse platforms.
  • The community-driven development process, involving over 30 organizations and 200+ practitioners, ensured broad relevance and real-world applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.