LGDCNov 9, 2021

DistIR: An Intermediate Representation and Simulator for Efficient Neural Network Distribution

arXiv:2111.05426v13 citations
Originality Incremental advance
AI Analysis

This work addresses the problem of efficiently optimizing distributed DNN training and inference for researchers and practitioners, though it is incremental as it builds on prior intermediate representation approaches.

The authors tackled the challenge of selecting optimal distribution strategies for deep neural networks by proposing DistIR, an intermediate representation and simulator that enables fast grid searches over complex configurations, reducing optimization time by an order of magnitude in some cases.

The rapidly growing size of deep neural network (DNN) models and datasets has given rise to a variety of distribution strategies such as data, tensor-model, pipeline parallelism, and hybrid combinations thereof. Each of these strategies offers its own trade-offs and exhibits optimal performance across different models and hardware topologies. Selecting the best set of strategies for a given setup is challenging because the search space grows combinatorially, and debugging and testing on clusters is expensive. In this work we propose DistIR, an expressive intermediate representation for distributed DNN computation that is tailored for efficient analyses, such as simulation. This enables automatically identifying the top-performing strategies without having to execute on physical hardware. Unlike prior work, DistIR can naturally express many distribution strategies including pipeline parallelism with arbitrary schedules. Our evaluation on MLP training and GPT-2 inference models demonstrates how DistIR and its simulator enable fast grid searches over complex distribution spaces spanning up to 1000+ configurations, reducing optimization time by an order of magnitude for certain regimes.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes