Parallel accelerators, such as GPUs, are key enablers for large-scale Machine Learning (ML) applications. However, ML model developers often lack detailed knowledge of the underlying system architectures, while system programmers usually do not have a high-level understanding of the ML model that runs on the specific system. To mitigate this gap between two relevant aspects of domain knowledge, this paper proposes GEVO-ML, a tool for automatically discovering optimization opportunities and tuning the performance of ML kernels, where the model and training/prediction processes are uniformly represented in a single intermediate language, the Multiple-Layer Intermediate Representation (MLIR). GEVO-ML uses multi-objective evolutionary search to find edits (mutations) to MLIR code that ultimately runs on GPUs, improving performance on desired criteria while retaining required functionality.
We demonstrate GEVO-ML on two different ML workloads for both model training and prediction. GEVO-ML finds significant Pareto improvements for these models, achieving 90.43% performance improvement when model accuracy is relaxed by 2%, from 91.2% to 89.3%. For the training workloads, GEVO-ML finds a 4.88% improvement in model accuracy, from 91% to 96%, without sacrificing training or testing speed. Our analysis of key GEVO-ML mutations reveals diverse code modifications, while might be foreign to human developers, achieving similar effects with how human developers improve model design, for example, by changing learning rates or pruning non-essential layer parameters.
Optimizing thermodynamic trajectories using evolutionary and gradient-based reinforcement learning
University of Ottawa(渥太华大学);National Research Council of Canada(加拿大国家研究委员会);University of Ontario Institute of Technology(安大略理工大学);University of Victoria(维多利亚大学);Vector Institute for Artificial Intelligence(矢量人工智能研究所);Molecular Foundry, Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室分子铸造厂)
X-KAN: Optimizing Local Kolmogorov-Arnold Networks via Evolutionary Rule-Based Machine Learning
Faculty of Engineering, Yokohama National University(Yokohama国立大学工学部);Department of Computer Science and Engineering, Southern University of Science and Technology(南方科技大学计算机科学与工程系)
Handling Imbalanced Classification Problems With Support Vector Machines via Evolutionary Bilevel Optimization
Centro de Investigación en Matemáticas(数学研究中心);Andalusian Research Institute in Data Science and Computational Intelligence(安达卢西亚数据科学与计算智能研究所);University of Granada(格拉纳达大学)
Discovering Physics-Informed Neural Networks Model for Solving Partial Differential Equations through Evolutionary Computation
National Engineering Laboratory for Big Data Analysis and Applications, Peking University(北京大学大数据分析与应用国家工程实验室);School of Mathematical Sciences, Peking University(北京大学数学科学学院);PKU-Changsha Institute for Computing and Digital Economy(北京大学长沙计算与数字经济研究院)
Evolutionary Optimization of Physics-Informed Neural Networks: Evo-PINN Frontiers and Opportunities
Agency for Science, Technology and Research (A*STAR)(科技研究局);Indian Institute of Technology (IIT) Goa(印度理工学院 Goa分校);Nanyang Technological University(南洋理工大学)