A Data-Driven Approach to Dataflow-Aware Online Scheduling for Graph Neural Network Inference

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Puigdemont, Pol, Russo, Enrico, Wassington, Axel, Das, Abhijit, Abadal, Sergi, Palesi, Maurizio
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910713292783616
author Puigdemont, Pol
Russo, Enrico
Wassington, Axel
Das, Abhijit
Abadal, Sergi
Palesi, Maurizio
author_facet Puigdemont, Pol
Russo, Enrico
Wassington, Axel
Das, Abhijit
Abadal, Sergi
Palesi, Maurizio
contents Graph Neural Networks (GNNs) have shown significant promise in various domains, such as recommendation systems, bioinformatics, and network analysis. However, the irregularity of graph data poses unique challenges for efficient computation, leading to the development of specialized GNN accelerator architectures that surpass traditional CPU and GPU performance. Despite this, the structural diversity of input graphs results in varying performance across different GNN accelerators, depending on their dataflows. This variability in performance due to differing dataflows and graph properties remains largely unexplored, limiting the adaptability of GNN accelerators. To address this, we propose a data-driven framework for dataflow-aware latency prediction in GNN inference. Our approach involves training regressors to predict the latency of executing specific graphs on particular dataflows, using simulations on synthetic graphs. Experimental results indicate that our regressors can predict the optimal dataflow for a given graph with up to 91.28% accuracy and a Mean Absolute Percentage Error (MAPE) of 3.78%. Additionally, we introduce an online scheduling algorithm that uses these regressors to enhance scheduling decisions. Our experiments demonstrate that this algorithm achieves up to $3.17\times$ speedup in mean completion time and $6.26\times$ speedup in mean execution time compared to the best feasible baseline across all datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2411_16342
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Data-Driven Approach to Dataflow-Aware Online Scheduling for Graph Neural Network Inference
Puigdemont, Pol
Russo, Enrico
Wassington, Axel
Das, Abhijit
Abadal, Sergi
Palesi, Maurizio
Machine Learning
Hardware Architecture
Graph Neural Networks (GNNs) have shown significant promise in various domains, such as recommendation systems, bioinformatics, and network analysis. However, the irregularity of graph data poses unique challenges for efficient computation, leading to the development of specialized GNN accelerator architectures that surpass traditional CPU and GPU performance. Despite this, the structural diversity of input graphs results in varying performance across different GNN accelerators, depending on their dataflows. This variability in performance due to differing dataflows and graph properties remains largely unexplored, limiting the adaptability of GNN accelerators. To address this, we propose a data-driven framework for dataflow-aware latency prediction in GNN inference. Our approach involves training regressors to predict the latency of executing specific graphs on particular dataflows, using simulations on synthetic graphs. Experimental results indicate that our regressors can predict the optimal dataflow for a given graph with up to 91.28% accuracy and a Mean Absolute Percentage Error (MAPE) of 3.78%. Additionally, we introduce an online scheduling algorithm that uses these regressors to enhance scheduling decisions. Our experiments demonstrate that this algorithm achieves up to $3.17\times$ speedup in mean completion time and $6.26\times$ speedup in mean execution time compared to the best feasible baseline across all datasets.
title A Data-Driven Approach to Dataflow-Aware Online Scheduling for Graph Neural Network Inference
topic Machine Learning
Hardware Architecture
url https://arxiv.org/abs/2411.16342