PerfSeer: An Efficient and Accurate Deep Learning Models Performance Predictor

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhao, Xinlong, Sun, Jiande, Zhang, Jia, Hou, Sujuan, Li, Shuai, Liu, Tong, Liu, Ke
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915134522261504
author Zhao, Xinlong
Sun, Jiande
Zhang, Jia
Hou, Sujuan
Li, Shuai
Liu, Tong
Liu, Ke
author_facet Zhao, Xinlong
Sun, Jiande
Zhang, Jia
Hou, Sujuan
Li, Shuai
Liu, Tong
Liu, Ke
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_01206
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PerfSeer: An Efficient and Accurate Deep Learning Models Performance Predictor
Zhao, Xinlong
Sun, Jiande
Zhang, Jia
Hou, Sujuan
Li, Shuai
Liu, Tong
Liu, Ke
Performance
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.
title PerfSeer: An Efficient and Accurate Deep Learning Models Performance Predictor
topic Performance
url https://arxiv.org/abs/2502.01206