arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.08764cs.DC
收藏

OpenGraphGym-MG:使用强化学习解决MultiGPU系统上的大型图优化问题

OpenGraphGym-MG: Using Reinforcement Learning to Solve Large Graph Optimization Problems on MultiGPU Systems

Weijian Zheng, Dali Wang, Fengguang Song

摘要:

大规模图优化问题出现在许多领域。本文提出了一个可扩展的高性能框架(名为OpenGraphGym-MG),它使用深度强化学习和图嵌入来解决多GPU的大型图优化问题。本文采用了一种通用的强化学习算法(深度Q学习)和一个代表性的图嵌入(structure 2 vec)来展示框架的可扩展性,并且最重要的是,说明新颖的优化技术,例如空间并行性、图级和节点级批处理、分布式稀疏图存储、高效的并行RL训练和推理算法、重复的梯度下降迭代、和自适应多节点选择。该研究从并行效率和内存开销两个方面进行了全面的性能分析,证明了并行RL训练和推理算法在多个GPU上的高效性和高度可扩展性。该研究还使用Summit超级计算机的单个计算节点(具有六个GPU)进行了一系列大型图形实验,包括生成的图形(超过3000万条边)和真实世界的图形。在RL训练和推理方面都实现了良好的可扩展性:随着GPU数量从1增加到6,在具有超过3000万条边的大型图上,单步的RL训练和单步的RL推理的时间分别从316.4s减少到54.5s和23.8s减少到3.4s。单节点上的研究成果为未来解决Summit中跨多个节点的大量GPU的图优化问题奠定了坚实的基础。

英文摘要:

Large scale graph optimization problems arise in many fields. This paper presents an extensible, high performance framework (named OpenGraphGym-MG) that uses deep reinforcement learning and graph embedding to solve large graph optimization problems with multiple GPUs. The paper uses a common RL algorithm (deep Q-learning) and a representative graph embedding (structure2vec) to demonstrate the extensibility of the framework and, most importantly, to illustrate the novel optimization techniques, such as spatial parallelism, graph-level and node-level batched processing, distributed sparse graph storage, efficient parallel RL training and inference algorithms, repeated gradient descent iterations, and adaptive multiple-node selections. This study performs a comprehensive performance analysis on parallel efficiency and memory cost that proves the parallel RL training and inference algorithms are efficient and highly scalable on a number of GPUs. This study also conducts a range of large graph experiments, with both generated graphs (over 30 million edges) and real-world graphs, using a single compute node (with six GPUs) of the Summit supercomputer. Good scalability in both RL training and inference is achieved: as the number of GPUs increases from one to six, the time of a single step of RL training and a single step of RL inference on large graphs with more than 30 million edges, is reduced from 316.4s to 54.5s, and 23.8s to 3.4s, respectively. The research results on a single node lay out a solid foundation for the future work to address graph optimization problems with a large number of GPUs across multiple nodes in the Summit.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑