A Transferable Approach for Partitioning Machine Learning Models on Multi-Chip-Modules
Not on the map. Why?
Abstract (arXiv)
Multi-Chip-Modules (MCMs) reduce the design and fabrication cost of machine learning (ML) accelerators while delivering performance and energy efficiency on par with a monolithic large chip. However, ML compilers targeting MCMs need to solve complex optimization problems optimally and efficiently to achieve this high performance. One such problem is the multi-chip partitioning problem where compilers determine the optimal partitioning and placement of operations in tensor computation graphs on chiplets in MCMs. Partitioning ML graphs for MCMs is particularly hard as the search space grows exponentially with the number of chiplets available and the number of nodes in the neural network. Furthermore, the constraints imposed by the underlying hardware produce a search space where valid solutions are extremely sparse. In this paper, we present a strategy using a deep reinforcement learning (RL) framework to emit a possibly invalid candidate partition that is then corrected by a constraint solver. Using the constraint solver ensures that RL encounters valid solutions in the sparse space frequently enough to converge with fewer samples as compared to non-learned strategies. The architectural choices we make for the policy network allow us to generalize across different ML graphs. Our evaluation of a production-scale model, BERT, on real hardware reveals that the partitioning generated using RL policy achieves 6.11% and 5.85% higher throughput than random search and simulated annealing. In addition, fine-tuning the pre-trained RL policy reduces the search time from 3 hours to only 9 minutes, while achieving the same throughput as training RL policy from scratch.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 22 of its 41 references that are in the map. First posted on arXiv 7 Dec 2021.
Builds on
22 of 41 references.
References · 22
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
10 more
- 2015Deep Speech 2: End-to-End Speech Recognition in English and Mandarincited by 449
- 2019NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detectioncited by 289
- 2020Pushing the Limits of Semi-Supervised Learning for Automatic Speech Recognitioncited by 185
- 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
- 2016Exploring the Limits of Language Modelingcited by 172
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2017Device Placement Optimization with Reinforcement Learningcited by 84
- 2020Transferable Graph Optimizers for ML Compilerscited by 29
- 2019Placeto: Learning Generalizable Device Placement Algorithms for Distributed Machine Learningcited by 26
- 2020IOS: Inter-Operator Scheduler for CNN Accelerationcited by 20
Built on by
Citing papers per year: 2022: 1; 2023: 1.
2 papers.