atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

Practical Performance Guarantees for Pipelined DNN Inference

ICML 2024 · Learning theory and algorithms › Combinatorial and search optimization · approach: Semidefinite relaxations for verification · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Formalizes max-throughput DNN pipeline partitioning (MTPP), proposes MIP relaxations giving per-instance lower bounds, and a topological-order plus DP heuristic (SliceGraph with BRKGA) whose near-optimality is certified on 369 production graphs.

Problem

Partitioning a DNN computation graph into k pipeline stages to minimize the bottleneck stage cost (including communication and memory overflow) is NP-hard, and practitioners lack a way to know whether a partition is good enough.

Approach

Combine a topological-order search (Kahn's algorithm with node priorities, optimized by BRKGA) with an optimal DP slicing of the order, and certify quality via a hierarchy of MIP lower bounds (three-superblock, guess-the-bottleneck, and exact formulations) computed offline.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the exact MIP instead of the simple combinatorial lower boundPipeline partitioning lower-bound analysis · Production models, k=16lower-bound ratio: 0.4598 -> 0.9452Helped
Use the exact MIP instead of the simple combinatorial lower boundPipeline partitioning lower-bound analysis · REGAL, k=16lower-bound ratio: 0.5821 -> 0.8929Helped
Add communication costs to the simple lower bound using the three-superblock MIPPipeline partitioning lower-bound analysis · Production models, k=16lower-bound ratio: 0.4598 -> 0.5770Helped
Guess the bottleneck block and include superblock boundary edgesThree-superblock MIP · Production models, k=4lower-bound ratio: 0.7911 -> 0.8446Helped
Guess the bottleneck block and include superblock boundary edgesThree-superblock MIP · Production models, k=64lower-bound ratio: 0.5543 -> 0.5543No clear effect
Replace the exact MIP with bottleneck-guess MIPPipeline partitioning lower-bound analysis · Production models, k=16lower-bound ratio: 0.9452 -> 0.5780Hurt
Replace the exact MIP with bottleneck-guess MIPPipeline partitioning lower-bound analysis · REGAL, k=16lower-bound ratio: 0.8929 -> 0.5824Hurt
Use bottleneck-guess MIP instead of exact MIPPipeline partitioning lower-bound analysis · Production models, k=2lower-bound ratio: 0.9901 -> 0.9901No clear effect
Use bottleneck-guess MIP instead of exact MIPPipeline partitioning lower-bound analysis · REGAL, k=2lower-bound ratio: 0.9804 -> 0.9804No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: production testbed of 369 computation graphs REGAL synthetic random graphs (1000)

Benchmarks: production testbed of 369 computation graphs REGAL synthetic graphs

Metrics: geometric mean of lower bound as fraction of best found part approximation ratio upper bound running time

Baselines: simple combinatorial lower bound random topological order minimum linear arrangement (mla) mla-weighted

Builds on: PipeDream GPipe BRKGA minimum linear arrangement

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy