Graph Neural Networks (GNN) show great promise in problems dealing with graph-structured data. One of the unique points of GNNs is their flexibility to adapt to multiple problems, which not only leads to wide applicability, but also poses important challenges when finding the best model or acceleration technique for a particular problem. An example of such challenges resides in the fact that the accuracy or effectiveness of a GNN model or acceleration technique generally depends on the structure of the underlying graph. In this paper, in an attempt to address the problem of graph-dependent acceleration, we propose ProGNNosis, a data-driven model that can predict the GNN training time of a given GNN model running over a graph of arbitrary characteristics by inspecting the input graph metrics. Such prediction is made based on a regression that was previously trained offline using a diverse synthetic graph dataset. In practice, our method allows making informed decisions on which design to use for a specific problem. In the paper, the methodology to build ProGNNosis is defined and applied for a specific use case, where it helps to decide which graph representation is better. Our results show that ProGNNosis helps achieve an average speedup of 1.22X over randomly selecting a graph representation in multiple widely used GNN models such as GCN, GIN, GAT, or GraphSAGE.
翻译:内建图网络(GNN)在涉及图表结构数据的问题方面显示了巨大的希望。GNN的独特点之一是,它们灵活地适应多种问题,这不仅导致广泛适用,而且在为特定问题寻找最佳模型或加速技术时也构成重大挑战。这类挑战的一个实例是,GNN模型或加速技术的准确性或有效性一般取决于基本图的结构。在本文件中,为了设法解决以图表为基础的加速问题,我们提议了ProGNNosis,这是一个数据驱动模型,通过检查输入图指标,可以预测某一GNN模型的GN培训时间,该模型在任意特性图上运行。这种预测是基于以前利用多种合成图数据集训练过的离线回归。在实践中,我们的方法可以就特定问题使用何种设计作出知情的决定。在本文中,建立ProGNNS的方法被确定并应用于一个特定用途,有助于决定哪个图形代表更好。我们的结果显示,ProGNS有助于在GAG22中广泛选择GAS的GAGAGA, 以GX为GGAGA, 。