arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.11876stat.MLcs.LG
收藏

用图神经网络模拟张量程序的执行时间

Simulating Execution Time of Tensor Programs using Graph Neural Networks

Qualcomm AI Research(高通人工智能研究院);Qualcomm Technologies Netherlands B.V.(高通科技荷兰有限公司)

Jakub M. Tomczak, Romain Lepert, Auke Wiggers

摘要:

优化张量程序的执行时间,例如,一个卷积,包括找到它的最佳配置。在实践中,穷尽地搜索配置空间通常是不可行的。根据最近使用TVM的研究,我们建议学习代理模型来克服这个问题。该模型在称为抽象语法树的非循环图上进行训练,并利用图卷积网络来利用图中的结构。我们声称,一个可学习的基于图形的数据处理是一个强大的竞争对手,基于特征提取。我们提出了一个新的数据集的图形对应的配置和它们的执行时间为各种张量程序。我们为运行时预测任务提供基线。

英文摘要:

Optimizing the execution time of tensor program, e.g., a convolution, involves finding its optimal configuration. Searching the configuration space exhaustively is typically infeasible in practice. In line with recent research using TVM, we propose to learn a surrogate model to overcome this issue. The model is trained on an acyclic graph called an abstract syntax tree, and utilizes a graph convolutional network to exploit structure in the graph. We claim that a learnable graph-based data processing is a strong competitor to heuristic-based feature extraction. We present a new dataset of graphs corresponding to configurations and their execution time for various tensor programs. We provide baselines for a runtime prediction task.

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

↑