arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17811cs.LGcs.AIcs.NE
收藏

CATBench:面向黑盒优化的编译器自动调优基准测试套件

CATBench: A Compiler Autotuning Benchmarking Suite for Black-box Optimization

Norwegian University of Science and Technology (NTNU)(挪威科技大学);Lund University(隆德大学)

Jacob O. Tørring, Carl Hvarfner, Luigi Nardi, Magnus Själander

AI总结:

CATBench 是一个面向编译器自动调优的标准化基准测试套件,涵盖离散、条件、排列参数及多保真度、多目标等复杂场景,旨在促进贝叶斯优化算法的可复现评估与创新。

摘要:

贝叶斯优化是一种用于自动化编译器调优的强大方法。自动调优的复杂环境为黑盒优化器提供了大量很少被考虑的结构性挑战,而标准化基准的缺乏限制了贝叶斯优化在该领域的研究。为了解决这一问题,我们提出了 CATBench,一个全面的基准测试套件,它捕捉了编译器自动调优的复杂性,涵盖离散、条件和排列参数类型,已知和未知的二元约束,以及多保真度和多目标评估。CATBench 中的基准测试涵盖了一系列面向机器学习的计算,从张量代数到图像处理和聚类,并使用最先进的编译器,如 TACO 和 RISE/ELEVATE。CATBench 为评估贝叶斯优化算法提供了统一接口,通过易于使用、完全容器化的代理和真实世界编译器优化任务设置,促进可复现性和创新。我们在多个最先进的算法上验证了 CATBench,揭示了它们的优势和不足,并展示了该套件在推动贝叶斯优化和编译器自动调优研究方面的潜力。

英文摘要:

Bayesian optimization is a powerful method for automating tuning of compilers. The complex landscape of autotuning provides a myriad of rarely considered structural challenges for black-box optimizers, and the lack of standardized benchmarks has limited the study of Bayesian optimization within the domain. To address this, we present CATBench, a comprehensive benchmarking suite that captures the complexities of compiler autotuning, ranging from discrete, conditional, and permutation parameter types to known and unknown binary constraints, as well as both multi-fidelity and multi-objective evaluations. The benchmarks in CATBench span a range of machine learning-oriented computations, from tensor algebra to image processing and clustering, and uses state-of-the-art compilers, such as TACO and RISE/ELEVATE. CATBench offers a unified interface for evaluating Bayesian optimization algorithms, promoting reproducibility and innovation through an easy-to-use, fully containerized setup of both surrogate and real-world compiler optimization tasks. We validate CATBench on several state-of-the-art algorithms, revealing their strengths and weaknesses and demonstrating the suite's potential for advancing both Bayesian optimization and compiler autotuning research.

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

↑