[Paper Review] Horizontally Fused Training Array: An Effective Hardware Utilization Squeezer for Training Novel Deep Learning Models
This paper proposes Horizontally Fused Training Array (HFTA), a framework extension that improves hardware utilization by horizontally fusing multiple identical or similar deep learning models at the operator level across repetitive training jobs, enabling concurrent training on a single accelerator. HFTA achieves up to 15.1× higher training throughput compared to standard single-job training on GPUs and TPUs by leveraging mathematically equivalent fused operators and avoiding inefficient generic GPU sharing mechanisms.
Driven by the tremendous effort in researching novel deep learning (DL) algorithms, the training cost of developing new models increases staggeringly in recent years. We analyze GPU cluster usage statistics from a top research institute for more insights into the hardware efficiency achieved by typical DL training jobs. Our study reveals that single-accelerator training jobs can dominate the cluster-wide resource consumption when launched repetitively (e.g., for hyper-parameter tuning) while severely under-utilizing the hardware. Fortunately, we observe that such workloads have the following unique characteristics: (i) the models among jobs often have the same types of operators with the same shapes, and (ii) the inter-model horizontal fusion of such operators is mathematically equivalent to other already well-optimized operators. Thus, to help DL researchers and practitioners effectively improve the hardware utilization of their novel DL training workloads, we propose Horizontally Fused Training Array (HFTA). HFTA is a new DL framework extension library that horizontally fuses the models from different repetitive jobs deeply down to operators and then trains them simultaneously on a shared accelerator. To show the generality of our solution, we apply HFTA to six DL models training on state-of-the-art accelerators (GPUs and TPUs). Our results indicate that HFTA is highly effective in improving hardware utilization and achieves up to $15.1 \ imes$ higher training throughput vs. the standard practice of running each job on a separate accelerator.
Motivation & Objective
- To address the severe hardware under-utilization in repetitive single-accelerator deep learning training jobs, which dominate cluster resource usage despite low utilization.
- To identify unique workload characteristics—identical operator types and shapes across models—that enable effective inter-model horizontal fusion.
- To design and implement HFTA, a framework extension that fuses models at the operator level to improve hardware utilization without relying on generic GPU sharing primitives.
- To evaluate HFTA’s effectiveness across diverse models (ResNet-18, MobileNet, BERT, etc.) and accelerators (V100 GPUs, TPU v3), demonstrating scalability and performance gains.
Proposed method
- HFTA performs deep horizontal fusion of operators across multiple training jobs with similar or identical model architectures, merging them into a single computational graph on a shared accelerator.
- The fused operators are mathematically equivalent to well-optimized primitives (e.g., grouped convolutions), enabling efficient execution on existing hardware and compilers (e.g., XLA, cuDNN).
- The framework supports both full and partial fusion, allowing flexible adaptation when model architectures differ slightly across jobs.
- HFTA integrates with existing deep learning frameworks via a library extension, enabling seamless deployment without modifying model code or training pipelines.
- It supports mixed-precision training (FP32 and AMP) and dynamically manages memory to avoid out-of-memory errors during fusion.
- The system monitors hardware utilization and automatically adjusts the number of fused models per device to maximize throughput while maintaining stability.
Experimental results
Research questions
- RQ1Can inter-model horizontal fusion of identical or similar deep learning models significantly improve hardware utilization in repetitive single-accelerator training workloads?
- RQ2How does HFTA’s performance scale with increasing numbers of fused models on GPUs and TPUs?
- RQ3To what extent does partial fusion—fusing only specific layers or operators—still improve training throughput when full model fusion is not possible?
- RQ4How does HFTA compare to standard practices (serial, concurrent, MPS) in terms of throughput and hardware utilization across diverse models and accelerators?
Key findings
- HFTA achieves up to 15.1× higher training throughput compared to standard serial training on a single V100 GPU, demonstrating massive efficiency gains.
- On V100 GPUs, HFTA achieves 2.42× to 3.94× higher throughput than serial training, 1.67× to 3.02× than concurrent training, and 1.25× to 2.24× than MPS-based sharing.
- On TPU v3, HFTA achieves 2.98× to 6.43× higher peak throughput than serial training, indicating strong scalability on TPUs.
- Partial fusion still yields measurable performance improvements, with throughput decreasing gradually as fusion is incrementally disabled per layer, showing that even limited fusion helps.
- The performance degradation observed at high fusion levels on TPUs is likely due to memory pressure and optimizations like rematerialization or swapping in the TPU memory management system.
- HFTA’s effectiveness is consistent across diverse models including ResNet-18, MobileNet-V3Large, BERT-Medium, and Transformers, confirming its generality and broad applicability.
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.