本文提出 MGA 调优器,利用异构 GNN 与去噪自动编码器对基于 IR 的代码多模态表示建模,用于 OpenMP 参数调优和 OpenCL 设备映射,并在多项基准上达到最优性能。
摘要:
HPC 架构日益增长的异构性和可配置性,使得在这些系统上自动调优应用程序和运行时参数变得非常复杂。用户面对大量用于配置参数的选项。除了面向特定应用的解决方案外,一种常见做法是使用通用搜索策略,但这些策略往往无法找到最佳配置,或者其收敛时间构成重大障碍。因此,需要一种通用且高效的调优方法,能够轻松扩展并适配各种调优任务。我们提出了一种用于调优并行代码区域的技术,其通用性足以适配多个任务。本文分析基于 IR 的编程模型,以执行面向具体任务的性能优化。为此,我们提出了 Multimodal Graph Neural Network and Autoencoder(MGA)调优器,这是一种基于多模态深度学习的方法,采用异构图神经网络和去噪自动编码器,对作为独立模态的基于 IR 的代码表示进行建模。该方法用作我们流水线的一部分,用于建模具备语法、语义和结构感知能力、基于 IR 的代码表示,以调优并行代码区域/内核。我们在来自 PolyBench、Rodinia、STREAM、DataRaceBench、AMD SDK、NPB、NVIDIA SDK、Parboil、SHOC 和 LULESH 基准测试的 OpenMP 与 OpenCL 代码区域/内核上进行了大量实验。我们将多模态学习技术应用于以下任务:i)优化 OpenMP 循环中的线程数、调度策略和块大小;ii)为 OpenCL 内核的异构设备映射识别最佳设备。实验表明,这种基于多模态学习的方法在所有实验中均优于现有最先进方法。
英文摘要:
Growing heterogeneity and configurability in HPC architectures has made auto-tuning applications and runtime parameters on these systems very complex. Users are presented with a multitude of options to configure parameters. In addition to application specific solutions, a common approach is to use general purpose search strategies, which often might not identify the best configurations or their time to convergence is a significant barrier. There is, thus, a need for a general purpose and efficient tuning approach that can be easily scaled and adapted to various tuning tasks. We propose a technique for tuning parallel code regions that is general enough to be adapted to multiple tasks. In this paper, we analyze IR-based programming models to make task-specific performance optimizations. To this end, we propose the Multimodal Graph Neural Network and Autoencoder (MGA) tuner, a multimodal deep learning based approach that adapts Heterogeneous Graph Neural Networks and Denoizing Autoencoders for modeling IR-based code representations that serve as separate modalities. This approach is used as part of our pipeline to model a syntax, semantics, and structure-aware IR-based code representation for tuning parallel code regions/kernels. We extensively experiment on OpenMP and OpenCL code regions/kernels obtained from PolyBench, Rodinia, STREAM, DataRaceBench, AMD SDK, NPB, NVIDIA SDK, Parboil, SHOC, and LULESH benchmarks. We apply our multimodal learning techniques to the tasks of i) optimizing the number of threads, scheduling policy and chunk size in OpenMP loops and, ii) identifying the best device for heterogeneous device mapping of OpenCL kernels. Our experiments show that this multimodal learning based approach outperforms the state-of-the-art in all experiments.
Enabling Homogeneous GNNs to Handle Heterogeneous Graphs via Relation Embedding
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);School of Artificial Intelligence, Hebei University of Technology(河北工业大学人工智能学院)
MG-HGNN: A Heterogeneous GNN Framework for Indoor Wi-Fi Fingerprint-Based Localization
School of Computer Science and Technology, Harbin Institute of Technology(计算机科学与技术学院,哈尔滨工业大学);China Mineral Resources Group Big Data Co., Ltd(中国矿产资源集团大数据有限公司);Tianhe Cyberspace Security Technology Research Institute Co.(天和网络空间安全技术研究所)
Coupling Perception and Reasoning in Federated Multimodal Graph Foundation Models
Beijing Institute of Technology(北京理工大学);Shandong University(山东大学);Institute of Information Engineering(信息工程研究所);University of Science and Technology Beijing(北京科技大学)
Multimodal Audio-Visual Information Fusion using Canonical-Correlated Graph Neural Network for Energy-Efficient Speech Enhancement
University of Wolverhampton(伍尔弗汉普顿大学);São Paulo State University(圣保罗州立大学);TECNALIA(泰克纳利亚研究中心);Basque Research & Technology Alliance(巴斯克研究与技术联盟);University of the Basque Country(巴斯克大学);Edinburgh Napier University(爱丁堡龙比亚大学)
A Self-guided Multimodal Approach to Enhancing Graph Representation Learning for Alzheimer's Diseases
George Mason University(乔治梅森大学);GE Healthcare(GE医疗);University of Pittsburgh(匹兹堡大学);University of Maryland(马里兰大学);Southern University of Science and Technology(南方科技大学);William and Mary(威廉玛丽学院)
HAGNN: Hybrid Aggregation for Heterogeneous Graph Neural Networks
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学现代软件技术国家重点实验室);Research Center for Graph Computing, Zhejiang Lab(浙江实验室图计算研究中心)
Federated Incomplete Multi-View Clustering with Heterogeneous Graph Neural Networks
Guangdong University of Foreign Studies(广东外语外贸大学);School of Engineering, Westlake University(西湖大学工程学院);East China University of Science and Technology(华东理工大学)
Semi-decentralized Inference in Heterogeneous Graph Neural Networks for Traffic Demand Forecasting: An Edge-Computing Approach
New Jersey Institute of Technology(新泽西理工学院);Hamad Bin Khalifa University(哈马德·本·哈利法大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
PowerGear: Early-Stage Power Estimation in FPGA HLS via Heterogeneous Edge-Centric GNNs
Peng Cheng Laboratory(鹏城实验室);The University of Auckland(奥克兰大学);Shanghai Jiao Tong University(上海交通大学);The Hong Kong University of Science and Technology(香港科技大学);Peking University(北京大学)
Artemis: Anatomy-Resolved inTervention for Eliminating Multimodal NeuroImage confounderS
University of Pittsburgh(匹兹堡大学);University of Maryland(马里兰大学);University of Southern California(南加州大学);Binghamton University(宾汉姆顿大学);University of Texas Rio Grande Valley(德克萨斯大学里奥格兰德河谷分校)
Joint Embedding of Structural and Functional Brain Networks with Graph Neural Networks for Mental Illness Diagnosis
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Emory University(埃默里大学);Lehigh University(理海大学)