自动调优中的约束感知优化
Constraint-aware Optimization in Auto-Tuning
AI总结:
提出四种约束感知进化算法用于自动调优,通过实验证明其相比无约束方法收敛更快、性能更优,平均效率提升约39%,并作为开源贡献集成到Kernel Tuner框架。
摘要:
自动性能调优(auto-tuning)是高性能计算中的一项关键技术,使应用程序能够适应复杂且不断发展的硬件架构。一个核心挑战是需要在大规模离散、受约束的参数空间中进行优化,其中许多候选配置由于硬件或软件的正确性约束而无效。传统的进化算法,如差分进化、粒子群优化和遗传算法,本质上不具备约束感知能力,因此常常浪费计算资源来评估无效解。在这项工作中,我们提出并评估了四种进化算法的约束感知变体,用于自动调优。通过在代表性基准测试套件上的大量实验,我们表明约束感知优化比无约束方法收敛更快、性能更优。此外,我们证明了我们的方法优于pyATF方法(一种最先进的基于约束的自动调优框架)。我们的结果表明,将约束感知融入优化过程显著增强了其在现实自动调优问题中的适用性和有效性。约束感知平均提高了约39%的算法效率,与搜索空间稀疏性相关。本研究中开发的算法作为Kernel Tuner框架的开源贡献公开提供,以促进未来研究并造福用户。
英文摘要:
Automatic performance tuning, or auto-tuning, is a key technique in high-performance computing, enabling applications to adapt to complex and evolving hardware architectures. A central challenge is the need to optimize over large discrete, constrained parameter spaces, where many candidate configurations are invalid due to hardware or software correctness constraints. Traditional evolutionary algorithms, such as Differential Evolution, Particle Swarm Optimization, and Genetic Algorithms, are not inherently constraint-aware and thus often waste computational resources evaluating invalid solutions. In this work, we present and evaluate constraint-aware variants of four evolutionary algorithms for auto-tuning. Through extensive experiments on a representative benchmark suite, we show that constraint-aware optimization leads to faster convergence and improved performance over unconstrained methods. Furthermore, we demonstrate that our methods outperform the pyATF methods, a state-of-the-art framework for constraint-based auto-tuning. Our results demonstrate that incorporating constraint-awareness into the optimization process significantly enhances their applicability and effectiveness in real-world auto-tuning problems. Constraint-awareness improved algorithm efficiency by ~39 on average, correlated with search space sparsity. The algorithms developed in this study are publicly available as open-source contributions to the Kernel Tuner framework, facilitating future research and benefitting users.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。