On the Hardness of Scheduling With Non-Uniform Communication Delays

Sami Davies, Janardhan Kulkarni, Thomas Rothvoss, Sai Sandeep, Jakub Tarnawski, Yihao Zhang

This paper, recently published by a team from the University of Washington, Microsoft Research, and Carnegie Mellon, tackles a classic "white whale" of computer science: the complexity of scheduling with communication delays.

TL;DR

The authors prove that scheduling jobs with non-uniform communication delays is logarithmically hard to approximate, effectively ruling out the existence of a constant-factor approximation algorithm. By introducing a new intermediate problem called Unique Machine Precedence constraints Scheduling (UMPS), they resolve a long-standing "Top 10" open question in scheduling theory.

What Problem Does This Paper Address?

Imagine you have a set of tasks (jobs) that need to be finished as quickly as possible (minimizing "makespan"). Some tasks depend on others—you can't start Task B until Task A is done. This is standard precedence-constrained scheduling.

However, in real-world systems like data centers or distributed ML training, there is a "tax" for moving data. If Task A and Task B are performed on different machines, you must wait for a communication delay ($c_{jk}$) before Task B can start. If they are on the same machine, the delay is zero.

While researchers recently found polylogarithmic approximation algorithms for uniform delays (where every delay is the same), the non-uniform case remained a mystery. For decades, a central question in the field—highlighted in influential lists of open problems—was whether this problem admitted a constant-factor approximation (e.g., an algorithm that always stays within 2x or 10x of the optimal time). This paper finally answers that question with a resounding "no."

Methods

The authors use a technique called hardness reduction. They prove that if you could solve the scheduling problem efficiently, you could also solve other problems known to be computationally "impossible" (NP-hard).

The core of their approach is the introduction of a new intermediate problem: Unique Machine Precedence constraints Scheduling (UMPS). In UMPS, every job is pre-assigned to a specific machine. The authors perform a two-step reduction:

  1. Job Shops to UMPS: They observe that UMPS generalizes the "job shop" problem, a well-studied scheduling model where jobs have fixed machine assignments.
  2. UMPS to Non-Uniform Delays: This is the "aha" moment. They show how to transform a UMPS instance into a communication delay instance. They use "dummy jobs" and massive communication delays ($C_\infty$) to "force" the scheduler to put specific jobs on the same machine, effectively simulating the fixed-machine constraints of UMPS in a system where machines are technically identical.

Datasets

As a theoretical complexity paper, this work does not use empirical datasets or training. Instead, it relies on mathematical proofs and reductions from established complexity classes (like NP-complete problems).

Key Insights and Ideas

  • The UMPS "Missing Link": The authors identify UMPS as a central hub for understanding scheduling hardness. They argue that UMPS is the fundamental reason why many scheduling problems are difficult to approximate.
  • Forcing Locality: The reduction uses non-uniform delays as a tool to restrict machine choice. By setting a delay to be larger than the sum of all job lengths, the authors ensure that any "sane" optimal schedule must keep certain jobs on the same machine to avoid a massive makespan penalty.
  • Bridging Models: The paper connects the "identical machines" model (where any machine can do any job) to the "related machines" model (where machines have different speeds) via their UMPS conjectures.

Key Results

  • Logarithmic Hardness: The paper proves that, assuming standard complexity assumptions ($NP \not\subseteq ZTIME(n^{poly \log n})$), the non-uniform communication delay problem does not admit a polynomial-time $(\log n)^{1-\epsilon}$ approximation algorithm.
  • Resolution of an Open Problem: This result directly answers the open question posed by Schuurman and Woeginger (1999) and updated by Bansal (2017), confirming that non-uniform delays make the problem significantly harder than the uniform case.
  • Implications for Related Machines: The authors show that their conjectures about UMPS would also imply logarithmic hardness for scheduling on related machines with precedences ($Q | prec | C_{max}$), another notoriously difficult open problem.

Limitations and Future Work

The primary limitation acknowledged is the Unit Length Case. The current proof for non-uniform delays relies on jobs having different processing lengths (inherited from the hardness of job shops). While the authors conjecture that the problem remains just as hard when all jobs take exactly 1 unit of time (Conjectures 2 and 3), they haven't yet proven it.

Future work will likely focus on proving these UMPS conjectures for unit-length jobs, which would provide a "complete" picture of hardness across almost all modern scheduling models.

Summary updated

BibTeX
@inproceedings{davies2022hardness,
  author = {Sami Davies and Janardhan Kulkarni and Thomas Rothvoss and Sai Sandeep and Jakub Tarnawski and Yihao Zhang},
  title = {{On the Hardness of Scheduling With Non-Uniform Communication Delays}},
  booktitle = {SODA},
  year = {2022},
  doi = {10.1137/1.9781611977073.15},
}
Figure