Optimizing AutoTVM by Parallel Genetic Algorithms

To make deep neural networks automatically achieve the same or better performance compared with those in hand-optimized libraries, Tensor Virtual Machine (TVM) has combined a genetic algorithm (GA) with its AutoTVM auto-tuning process. The genetic algorithm of TVM has a primary and classic design, with restrictions in terms of searching scope, ability, and efficiency. Meanwhile, the current AutoTVM process is time-consuming. The whole process may last hours on GPUs. As such, we propose a new auto-tuning method that is based on a parallel GA and takes advantage of the strengths of the Roofline model-based cost models and machine learning classification models to widen the search scope and improve search efficiency. The new auto-tuning method achieves double optimization on both tuning results and tuning time. A series of experiments show that the new way improves the inference time of typical deep networks by about 8–14% and speeds up the time consumption of the auto-tuning process up to 1.2–[Formula: see text] on GPUs compared with the original GA process of AutoTVM.

Authors

Institutions

Publication Details

Journal
International Journal of Pattern Recognition and Artificial Intelligence
Published
2025-03-01
DOI
https://doi.org/10.1142/s0218001425510061
Primary Topic
Advanced Manufacturing and Logistics Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing AutoTVM by Parallel Genetic Algorithms

Changhai Zhao, Minqiang Shang, Jiamin Wen, Yuchen Feng et al.
International Journal of Pattern Recognition and Artificial Intelligence
Advanced Manufacturing and Logistics Optimization
article

Optimizing AutoTVM by Parallel Genetic Algorithms

Changhai Zhao, Minqiang Shang, Jiamin Wen, Yuchen Feng, Xiaohua Shi
article en

Abstract

To make deep neural networks automatically achieve the same or better performance compared with those in hand-optimized libraries, Tensor Virtual Machine (TVM) has combined a genetic algorithm (GA) with its AutoTVM auto-tuning process. The genetic algorithm of TVM has a primary and classic design, with restrictions in terms of searching scope, ability, and efficiency. Meanwhile, the current AutoTVM process is time-consuming. The whole process may last hours on GPUs. As such, we propose a new auto-tuning method that is based on a parallel GA and takes advantage of the strengths of the Roofline model-based cost models and machine learning classification models to widen the search scope and improve search efficiency. The new auto-tuning method achieves double optimization on both tuning results and tuning time. A series of experiments show that the new way improves the inference time of typical deep networks by about 8–14% and speeds up the time consumption of the auto-tuning process up to 1.2–[Formula: see text] on GPUs compared with the original GA process of AutoTVM.

International Journal of Pattern Recognition and Artificial IntelligenceVol. 39(03n04)
Beihang University (CN), China National Petroleum Corporation (China) (CN)
Openalex Percentile: Top 96%
Advanced Manufacturing and Logistics Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.