HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU Clusters
Chenyang Hei (Northeastern University), Fuliang Li (Northeastern University), Jiayi Li (Northeastern University), Jiamin Cao (Alibaba Cloud), Chengxi Gao (Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences), Xiuzhu Sha (Northeastern University), Tongrui Liu (Northeastern University), Dengke Zhang (Northeastern University), Ennan Zhai (Alibaba Cloud), Xingwei Wang (Northeastern University)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Cloud Systems, Shared and Scalable
Overview
Large-scale machine learning workloads rely heavily on collective communication primitives—such as AllGather and AllReduce—to synchronize gradients and model states across distributed clusters of accelerators. As large language models scale into hundreds of billions or trillions of parameters, training and inference operations span thousands of interconnected processors. The underlying physical infrastructure typically consists of GPUs, network interface cards (NICs), switches, and complex interconnect fabrics managed by specialized communication libraries that bridge the hardware and the deep learning framework.

Key moments
- 0:00 Introduction to collective communication and background
- 2:10 Challenges of manual and automated schedule optimization
- 4:00 The emergence of hardware heterogeneity in GPU clusters
- 5:30 Why existing synthesizers fail due to symmetry assumptions
- 8:00 Overview of HeteCCL core designs and SMT formulation
- 9:50 The chunking abstraction and step-level capacity modeling
- 11:20 Counterexample-guided inductive synthesis for scalability
- 12:00 Evaluation results, performance speedups, and conclusion
HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU Clusters
Speakers: Chenyang Hei, Fuliang Li, Jiayi Li, Jiamin Cao, Chengxi Gao, Xiuzhu Sha, Tongrui Liu, Dengke Zhang, Ennan Zhai, Xingwei Wang (Northeastern University, Alibaba Cloud, Shenzhen Institutes of Advanced Technology)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=N-ljCebXugw
Overview
Large-scale machine learning workloads rely heavily on collective communication primitives—such as AllGather and AllReduce—to synchronize gradients and model states across distributed clusters of accelerators. As large language models scale into hundreds of billions or trillions of parameters, training and inference operations span thousands of interconnected processors. The underlying physical infrastructure typically consists of GPUs, network interface cards (NICs), switches, and complex interconnect fabrics managed by specialized communication libraries that bridge the hardware and the deep learning framework.
However, the performance of these collective operations is bottlenecked by their execution schedules. Traditionally, communication libraries employ static, handcrafted schedules like ring-based topologies. While these schedules function effectively in homogeneous environments, they fail catastrophically in modern heterogeneous clusters. Incremental hardware purchases, multi-vendor deployments, and irregular internal topologies create highly asymmetric network environments where static schedules waste bandwidth and introduce severe pipeline stalls.
This talk introduces HeteCCL, a novel automated synthesis framework designed to generate near-optimal collective communication schedules for heterogeneous GPU clusters. By combining a discrete step-level chunking abstraction with counter-example guided inductive synthesis (CEGIS) formulated as a satisfiability modulo theories (SMT) problem, HeteCCL overcomes the exponential search space explosion that cripples existing synthesizers, delivering substantial speedups over state-of-the-art libraries like NCCL, TACCL, and ticcl.
Background
▶ Watch: Introduction to collective communication and background (0:00)
The systems and machine learning communities have long wrestled with optimizing communication schedules for distributed training and inference. In an ideal homogeneous cluster, physical links feature identical bandwidth and latency characteristics. For instance, a standard ring schedule across servers connected by switches and NICs assumes uniform ratios between intra-host and inter-host bandwidth (such as a 7:1 ratio). When hardware upgrades or mixed-generation deployments are introduced—such as combining H800 or H20 nodes with A100 nodes, or mixing NVLink domains with variable-speed NICs running RoCE—the underlying topology becomes irregular.
Existing automated schedule synthesizers (such as TACCL) rely heavily on a mathematical shortcut: topology symmetry. These tools decompose the network into identical, isolated dimensions (e.g., uniform internal NVLink domains and symmetric switches). By assuming symmetry, the solver computes an optimal schedule for a single localized group and replicates it across the cluster. In a heterogeneous cluster, this symmetry completely shatters.
Furthermore, existing synthesis frameworks suffer from fundamental flaws in how they model time and execution order. Some model aggregation computation times continuously or slice time into rigid intervals. Because these frameworks fail to constrain the macro execution order of primitives, long-tail data transfers over slower links block the execution pipeline. This forces faster independent operations to stall, creating massive pipeline bubbles that destroy theoretical bandwidth. Attempting to fix this by introducing fine-grained epochs causes the solver search space to explode, with synthesis times exceeding 14 hours for a modest 32-GPU cluster.
Key Findings
▶ Watch: The emergence of hardware heterogeneity in GPU clusters (4:00)
HeteCCL demonstrates that automated schedule synthesis for heterogeneous clusters is tractable when approached through discrete capacity modeling and iterative constraint pruning. The evaluation highlights several major discoveries and performance milestones:
- Substantial Speedups: In heterogeneous testbeds mixing 4-GPU and 8-GPU servers with asymmetric interconnect patterns, HeteCCL achieves up to 2.5× speedup over NCCL and 4.4× improvement over TACCL for AllGather primitives. Similar performance gains are observed for AllReduce operations, particularly on small-to-medium message sizes.
- Synthesis Efficiency: HeteCCL reduces schedule synthesis time by up to two orders of magnitude compared to TACCL, dropping execution times from intractable multi-hour searches down to practical production-ready windows.
- Mitigation of Pipeline Bubbles: By enforcing step-level capacity abstractions, HeteCCL eliminates the long-tail blocking effects characteristic of continuous-time models, preventing faster GPU links from stalling behind slower RoCE network segments.
- Robustness Under Asymmetry: The system successfully handles irregular topologies—such as mixed NVLink/NIC bandwidth ratios and non-uniform node configurations—without requiring manual schedule redesign or homogeneous hardware constraints.
Technical Deep Dive
▶ Watch: Overview of HeteCCL core designs and SMT formulation (8:00)
To bypass the intractable search spaces of continuous-time models, HeteCCL rests upon three core architectural pillars: an SMT-based problem formulation, a discrete chunking abstraction, and an iterative search strategy driven by CEGIS.
1. SMT Problem Formulation
HeteCCL formulates collective scheduling as a Satisfiability Modulo Theories problem. Every state, event, logical capacity between GPU pairs, and scheduling decision is encoded as a variable within a constraint system. Given that an AllGather operation requires every GPU to eventually hold all data chunks starting from an initial distribution, the solver encodes network topologies and per-step transmission rules (e.g., sending chunk $C$ over link $L$ at step $S$). The objective function minimizes the total number of algorithm steps required to satisfy all data-transfer demands.
2. Step-Level Chunking Abstraction
Instead of managing continuous time vectors or arbitrary start-and-end transmission timestamps, HeteCCL normalizes the transmission process into uniform time steps. Physical link bandwidths are translated into discrete logical capacities. A link's capacity strictly dictates how many uniform chunks it can transmit in parallel within a single time step.
This transformation converts an intractable continuous-time routing problem into a discrete packing problem. The SMT solver no longer guesses arbitrary floating-point start times; instead, it searches for a near-optimal packing tree that maximizes parallel chunk overlap. Logical capacities become rigid bounding constraints per step, while total algorithm steps serve as the sole optimization target.
3. Counter-Example Guided Inductive Synthesis (CEGIS)
To scale past the combinatorial explosion inherent to heterogeneous systems, HeteCCL discards monolithic global constraint solving in favor of an iterative CEGIS loop:
- Greedy Initialization: The system begins with a fast, greedy candidate schedule that satisfies baseline physical link limits.
- Verification & Checkpoint Isolation: During the verification phase, the framework pinpoints the exact earliest time step where a physical or logical violation occurs.
- Pruning Invalids: Rather than discarding the entire schedule, HeteCCL locks the valid history preceding the checkpoint and converts the counter-example into new SMT constraints. This technique prunes a factorial magnitude of invalid search branches, rendering the solver highly scalable.
Experimental Setup & Results
▶ Watch: The chunking abstraction and step-level capacity modeling (9:50)
HeteCCL was evaluated on real-world hardware testbeds designed to replicate modern heterogeneous production environments rather than idealized uniform setups:
- Testbed Hardware: Experiments utilized A100 GPU clusters featuring cross-fabric interconnects alongside H20 GPU clusters integrated with multi-rail networking.
- Topological Asymmetry: The evaluation explicitly constructed asymmetric topologies by mixing 4-GPU server nodes with 8-GPU server nodes and varying NIC interconnection patterns and RoCE link speeds.
- Baselines: HeteCCL was benchmarked against industry standards and academic systems, including NCCL, TACCL, and ticcl.
- Primitives & Metrics: The evaluation focused on AllGather and AllReduce primitives across varying data sizes (ranging from kilobytes to gigabytes). Metrics included total execution time (latency/throughput) and synthesis time (solver duration).
- Headline Results: For AllGather operations on large heterogeneous configurations, HeteCCL delivered up to a 2.5× speedup over NCCL and a 4.4× improvement over TACCL. For AllReduce, similar performance advantages were maintained, particularly when transferring medium-to-large message sizes where pipeline bubbles would otherwise dominate. Synthesis times were reduced by up to two orders of magnitude compared to TACCL.
Practical Implications
▶ Watch: Evaluation results, performance speedups, and conclusion (12:00)
For infrastructure teams and ML platform engineers operating large-scale GPU clusters, HeteCCL addresses a critical economic and operational reality: hardware heterogeneity is unavoidable. Data centers expand incrementally through multi-vendor purchase batches, and avoiding vendor lock-in routinely results in mixed-generation clusters (e.g., combining older A100 nodes with newer H800 or H20 hardware).
Deploying HeteCCL allows systems engineers to extract maximum bandwidth from irregular topologies without manually tuning communication primitives or settling for suboptimal fallback schedules. By automating the synthesis of near-optimal schedules in minutes rather than hours, platform teams can dynamically adapt communication libraries to shifting cluster topologies. However, practical deployers must account for the overhead of running the CEGIS solver when cluster topologies undergo frequent structural reconfigurations.
Key Takeaways
- Heterogeneity is the Norm: Incremental data center expansions and multi-vendor deployments break the topological symmetry required by traditional communication schedule synthesizers.
- The Core Bottleneck: Existing synthesizers suffer from continuous-time modeling flaws that create long-tail primitive blocks, inducing massive pipeline bubbles and destroying cluster bandwidth.
- Discrete Chunking: HeteCCL transforms continuous routing into a discrete packing problem by normalizing transmission capacities into uniform step-level bounds.
- Scalable Synthesis via CEGIS: By employing counter-example guided inductive synthesis, HeteCCL prunes factorial search spaces and achieves synthesis speeds up to two orders of magnitude faster than prior academic baselines.
- Measurable Performance Gains: HeteCCL delivers up to 2.5× speedups over NCCL and 4.4× improvements over TACCL on asymmetric, heterogeneous GPU clusters.
About the Speaker(s)
The research presented was conducted by a collaborative team led by primary author Chenyang Hei and colleagues from Northeastern University, in close collaboration with researchers and engineers from Alibaba Cloud (including Ennan Zhai and Jiamin Cao) and the Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences (including Chengxi Gao). The team specializes in large-scale machine learning systems, distributed networking, and high-performance collective communication primitives.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)