A Structure-Aware Framework for Learning Device Placements on Computation Graphs
Not on the map. Why?
Abstract (arXiv)
Computation graphs are Directed Acyclic Graphs (DAGs) where the nodes correspond to mathematical operations and are used widely as abstractions in optimizations of neural networks. The device placement problem aims to identify optimal allocations of those nodes to a set of (potentially heterogeneous) devices. Existing approaches rely on two types of architectures known as grouper-placer and encoder-placer, respectively. In this work, we bridge the gap between encoder-placer and grouper-placer techniques and propose a novel framework for the task of device placement, relying on smaller computation graphs extracted from the OpenVINO toolkit. The framework consists of five steps, including graph coarsening, node representation learning and policy optimization. It facilitates end-to-end training and takes into account the DAG nature of the computation graphs. We also propose a model variant, inspired by graph parsing networks and complex network analysis, enabling graph representation learning and jointed, personalized graph partitioning, using an unspecified number of groups. To train the entire framework, we use reinforcement learning using the execution time of the placement as a reward. We demonstrate the flexibility and effectiveness of our approach through multiple experiments with three benchmark models, namely Inception-V3, ResNet, and BERT. The robustness of the proposed framework is also highlighted through an ablation study. The suggested placements improve the inference speed for the benchmark models by up to 58.2% over CPU execution and by up to 60.24% compared to other commonly used baselines.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 25 of its 38 references that are in the map. First posted on arXiv 23 May 2024.
Builds on
25 of 38 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2016Variational Graph Auto-Encoderscited by 1,373
- 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 786
- 2017Device Placement Optimization with Reinforcement Learningcited by 84
13 more
- 2024Position: Graph Foundation Models are Already Herecited by 84
- 2019Placeto: Learning Generalizable Device Placement Algorithms for Distributed Machine Learningcited by 26
- 2023Enhancing Computation Efficiency in Large Language Models through Weight and Activation Quantizationcited by 20
- 2024Neuro-Inspired Information-Theoretic Hierarchical Perception for Multimodal Learningcited by 18
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
- 2022A Comprehensive Survey on Distributed Training of Graph Neural Networkscited by 15
- 2024Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the Textcited by 14
- 2023Leveraging Large Language Models to Detect Influence Campaigns in Social Mediacited by 13
- 2019GDP: Generalized Device Placement for Dataflow Graphscited by 10
- 2024Neuron-based Multifractal Analysis of Neuron Interaction Dynamics in Large Modelscited by 7
- 2024MPIrigen: MPI Code Generation through Domain-Specific Language Modelscited by 5
- 2024Graph Parsing Networkscited by 4
- 2022End-to-end Mapping in Heterogeneous Systems Using Graph Representation Learningcited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.