PerfSeer:一个高效且准确的深度学习模型性能预测器
PerfSeer: An Efficient and Accurate Deep Learning Models Performance Predictor
AI总结:
针对深度学习模型性能预测中模型表示不全面的问题,提出基于图神经网络的预测器PerfSeer,通过融合拓扑与多维特征并引入SynMM和GNPB优化,实现了高效准确的单/多指标性能预测,在自建53k+配置数据集上优于现有方法。
摘要:
预测深度学习(DL)模型的性能(如执行时间和资源利用率)对于神经架构搜索(NAS)、DL集群调度器及其他推动深度学习发展的技术至关重要。模型的表示是其性能预测的基础。然而,现有方法无法全面表示多样的模型配置,导致准确度不理想。为此,我们将模型表示为一个图,包含拓扑结构以及节点、边和全局特征,这些对于有效捕捉模型性能至关重要。基于此表示,我们提出了PerfSeer,一种使用基于图神经网络(GNN)的性能预测模型SeerNet的新型预测器。SeerNet充分利用拓扑结构和各种特征,同时引入协同最大-均值聚合(SynMM)和全局-节点视角增强(GNPB)等优化,更有效地捕捉关键性能信息,从而准确预测模型性能。此外,通过使用投影冲突梯度(PCGrad),SeerNet可扩展为SeerNet-Multi,实现多个性能指标的高效同时预测,且不显著影响准确度。我们构建了一个包含53k+模型配置性能指标的数据集,涵盖训练和推理期间的执行时间、内存使用和流式多处理器(SM)利用率。评估结果表明,PerfSeer优于nn-Meter、Brp-NAS和DIPPM。
英文摘要:
Predicting the performance of deep learning (DL) models, such as execution time and resource utilization, is crucial for Neural Architecture Search (NAS), DL cluster schedulers, and other technologies that advance deep learning. The representation of a model is the foundation for its performance prediction. However, existing methods cannot comprehensively represent diverse model configurations, resulting in unsatisfactory accuracy. To address this, we represent a model as a graph that includes the topology, along with the node, edge, and global features, all of which are crucial for effectively capturing the performance of the model. Based on this representation, we propose PerfSeer, a novel predictor that uses a Graph Neural Network (GNN)-based performance prediction model, SeerNet. SeerNet fully leverages the topology and various features, while incorporating optimizations such as Synergistic Max-Mean aggregation (SynMM) and Global-Node Perspective Boost (GNPB) to capture the critical performance information more effectively, enabling it to predict the performance of models accurately. Furthermore, SeerNet can be extended to SeerNet-Multi by using Project Conflicting Gradients (PCGrad), enabling efficient simultaneous prediction of multiple performance metrics without significantly affecting accuracy. We constructed a dataset containing performance metrics for 53k+ model configurations, including execution time, memory usage, and Streaming Multiprocessor (SM) utilization during both training and inference. The evaluation results show that PerfSeer outperforms nn-Meter, Brp-NAS, and DIPPM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。