[Paper Review] TicTac: Accelerating Distributed Deep Learning with Communication Scheduling
TicTac improves distributed deep learning throughput by enforcing a near-optimal order of parameter transfers to maximize computation–communication overlap, achieving up to 37.7% inference and 19.2% training gains with reduced stragglers.
State-of-the-art deep learning systems rely on iterative distributed training to tackle the increasing complexity of models and input data. The iteration time in these communication-heavy systems depends on the computation time, communication time and the extent of overlap of computation and communication. In this work, we identify a shortcoming in systems with graph representation for computation, such as TensorFlow and PyTorch, that result in high variance in iteration time --- random order of received parameters across workers. We develop a system, TicTac, to improve the iteration time by fixing this issue in distributed deep learning with Parameter Servers while guaranteeing near-optimal overlap of communication and computation. TicTac identifies and enforces an order of network transfers which improves the iteration time using prioritization. Our system is implemented over TensorFlow and requires no changes to the model or developer inputs. TicTac improves the throughput by up to $37.7\\%$ in inference and $19.2\\%$ in training, while also reducing straggler effect by up to $2.3\ imes$. Our code is publicly available.
Motivation & Objective
- Identify sources of iteration-time variance in DAG-based distributed DL with Parameter Servers (PS).
- Develop a scheduling methodology to order network transfers to maximize computation–communication overlap.
- Provide a lightweight enforcement mechanism within TensorFlow to implement the scheduling without model changes.
Proposed method
- Model the scheduling problem as a near-optimally solvable ordering of recv operations on each worker’s DAG.
- Propose two heuristics, TIC and TAC, to prioritize parameter transfers for better overlap.
- Define a Scheduling Efficiency metric and two bounds (upper U_Makespan and lower L_Makespan) to quantify schedule quality.
- Implement TIC and TAC in TensorFlow 1.8, with an offline priority computation and online enforcement at the sender via gRPC.
Experimental results
Research questions
- RQ1How does the order of parameter transfers impact iteration time and overlap in Model Replica with Parameter Server?
- RQ2Can DAG-based scheduling (TIC/TAC) reduce stragglers and improve throughput in training and inference?
- RQ3What are the theoretical bounds and metrics to evaluate scheduling efficiency in this setting?
Key findings
- Throughput gains up to 37.7% in inference and 19.2% in training with TicTac over baselines.
- Straggler effects are reduced by up to 2.3× due to more predictable transfer ordering.
- Gains increase with larger networks (more workers/PS), but scheduling benefits diminish if communication dominates computation too heavily.
- TIC performs close to TAC, suggesting DAG-level information is often sufficient for near-optimal scheduling.
- No changes to model or developer inputs are required; the system enforces order at the network transfer layer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.