Skip to main content
QUICK REVIEW

[Paper Review] Studying the potential of Graphcore IPUs for applications in Particle Physics

L. R. Madhan Mohan, A. M. Marshall|arXiv (Cornell University)|Aug 20, 2020
Particle physics theoretical and experimental studiesPhysics and Astronomy40 references11 citations
TL;DR

This study evaluates Graphcore's Intelligence Processing Unit (IPU) for particle physics workloads, demonstrating that the IPU outperforms GPUs and CPUs in key machine learning and tracking applications. Using MIMD parallelism, the IPU achieves up to 5x faster inference and training for small-batch models, with superior performance in conditional control-flow workloads like Kalman filtering, despite limited memory capacity in the first-generation IPU.

ABSTRACT

This paper presents the first study of Graphcore's Intelligence Processing Unit (IPU) in the context of particle physics applications. The IPU is a new type of processor optimised for machine learning. Comparisons are made for neural-network-based event simulation, multiple-scattering correction, and flavour tagging, implemented on IPUs, GPUs and CPUs, using a variety of neural network architectures and hyperparameters. Additionally, a Kálmán filter for track reconstruction is implemented on IPUs and GPUs. The results indicate that IPUs hold considerable promise in addressing the rapidly increasing compute needs in particle physics.

Motivation & Objective

  • To evaluate the performance of Graphcore's IPU for machine learning and physics-specific workloads in particle physics.
  • To compare IPU performance against GPUs and CPUs in neural network inference and training for event simulation, flavor tagging, and track reconstruction.
  • To investigate the IPU's suitability for irregular, sparse, and conditional workloads common in particle physics, such as Kalman filtering with hit rejection.
  • To assess the ease of programming IPUs for high-energy physics applications using high-level frameworks like TensorFlow and PyTorch.
  • To determine whether the IPU's MIMD architecture provides advantages over traditional SIMD GPUs in real-world physics workloads.

Proposed method

  • Implemented and benchmarked multiple neural network architectures (fully-connected, convolutional, locally-connected GANs) for event generation and flavor tagging on IPUs, GPUs, and CPUs using TensorFlow and PyTorch.
  • Used Graphcore's Poplar SDK to implement a Kalman filter on the IPU, enabling conditional state updates based on hit observations, with a comparable TensorFlow-based GPU implementation.
  • Measured throughput and latency across different batch sizes to evaluate performance scaling and memory efficiency.
  • Explored the impact of conditional execution on performance by comparing throughput with and without hit rejection logic on both IPU and GPU.
  • Leveraged cloud access to first-generation Graphcore Colossus MK1 GC2 IPUs and compared results against a high-end GPU and two high-end CPUs.
  • Evaluated porting time and development effort, noting that a team with no prior IPU experience achieved functional implementations in under six months.

Experimental results

Research questions

  • RQ1How does the IPU's performance compare to GPUs and CPUs for training and inference in particle physics-relevant neural networks?
  • RQ2Does the IPU's MIMD architecture provide a performance advantage over GPU SIMD in workloads with irregular data access and conditional control flow?
  • RQ3Can the IPU handle large-scale particle physics workloads such as GAN-based event generation and flavor tagging with competitive throughput?
  • RQ4How does batch size affect performance differences between IPU and GPU, especially given the IPU’s smaller memory capacity?
  • RQ5To what extent is the IPU programmable with high-level frameworks like TensorFlow and PyTorch, and how quickly can physics researchers adopt it?

Key findings

  • For small-batch workloads (≤100), the IPU outperforms the GPU by a factor of 4–5 in both training and inference, particularly in conditional control-flow scenarios.
  • The IPU achieves faster training and inference for GAN-based event generation, even with smaller batch sizes, due to efficient handling of sparse and irregular operations.
  • In Kalman filter implementations, the IPU maintains high throughput under conditional execution, while the GPU suffers from warp divergence, leading to a more than 50% performance drop.
  • Despite having less memory than the GPU, the IPU outperforms the GPU in convolutional and locally-connected GANs due to superior memory access patterns and thread-level parallelism.
  • The IPU’s MIMD architecture enables efficient execution of independent thread paths, reducing performance degradation from conditional logic compared to GPU SIMD execution.
  • A team with no prior IPU experience achieved functional implementations in less than six months, indicating a low barrier to entry for particle physics researchers using high-level frameworks.

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.