Device placement using Laplacian PCA and graph attention networks
Abstract The exponential growth in data and parameters in modern neural networks has created the need to distribute these models across multiple devices for efficient training, resulting in the device placement problem. Existing graph encoding approaches for device placement suffer from low efficiency when searching for optimal parallel strategies, primarily due to suboptimal positional information retrieval. To address these challenges, we propose the Laplacian Principal Component Analysis-graph attention networks (LPCA-GAT) model. Firstly, we employ GAT to capture complex relationships between nodes and generate node encodings. Secondly, we leverage LPCA on the graph Laplacian matrix to extract crucial low-dimensional positional information. Finally, by integrating these two components, we obtain the final node encodings. This enhances the representation capability of nodes within the graph, enabling efficient device placement. The experimental results demonstrate that LPCA-GAT achieves superior device placement results, specifically accelerating execution and computation time by 13.24% and 96.38%, respectively, leading to significant improvements in both operational efficiency and performance.
Authors
- Meng Han (ORCID: https://orcid.org/0000-0003-2868-6246)
- Yan Zeng (ORCID: https://orcid.org/0000-0003-2026-417X)
- Hao Shu (ORCID: https://orcid.org/0009-0006-8649-1454)
- Yongjian Ren (ORCID: https://orcid.org/0000-0003-0346-2051)
- Jian Wan (ORCID: https://orcid.org/0000-0003-0775-4254)
- Lupeng Yue
- Jilin Zhang
Institutions
- Shanxi Agricultural University (CN)
- Hangzhou Dianzi University (CN)
Publication Details
- Journal
- The Computer Journal
- Published
- 2024-10-12
- DOI
- https://doi.org/10.1093/comjnl/bxae102
- Citations
- 1
- Primary Topic
- Visual Attention and Saliency Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.25
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China
- Natural Science Foundation of Zhejiang Province