用强化学习自动发现更优的矩阵函数迭代算法
MatRL: Provably Generalizable Iterative Algorithm Discovery via Monte-Carlo Tree Search
- 将算法设计转化为序列决策问题,用蒙特卡洛树搜索优化迭代步骤
- 生成的算法在多种矩阵分布上表现优于已有方法,且可推广至更大矩阵
- 适合对高性能数值计算和自动化算法设计感兴趣的读者
针对计算矩阵函数的迭代方法,传统手动调参效率低且难以适应现代计算环境。本文提出 MatRL——一种基于强化学习的框架,将算法设计视为序列决策过程,利用蒙特卡洛树搜索规划混合迭代步骤与步长,适配特定输入矩阵分布和计算环境。更重要的是,所学算法在理论上可证明对同分布下足够大的矩阵具有泛化能力。数值实验表明,MatRL 发现的算法在多个基准测试中均优于现有方法。
原文摘要 · Abstract (English)
Iterative methods for computing matrix functions have been extensively studied and their convergence speed can be significantly improved with the right tuning of parameters and by mixing different iteration types. Handtuning the design options for optimal performance can be cumbersome, especially in modern computing environments: numerous different classical iterations and their variants exist, each with non-trivial per-step cost and tuning parameters. To this end, we propose MatRL -- a reinforcement learning based framework that automatically discovers iterative algorithms for computing matrix functions. The key idea is to treat algorithm design as a sequential decision-making process. Monte-Carlo tree search is then used to plan a hybrid sequence of matrix iterations and step sizes, tailored to a specific input matrix distribution and computing environment. Moreover, we also show that the learned algorithms provably generalize to sufficiently large matrices drawn from the same distribution. Finally, we corroborate our theoretical results with numerical experiments demonstrating that MatRL produces algorithms that outperform various baselines in the literature.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。