用强化学习的Q-learning优化超参数,提升搜索效率。
HyperQ-Opt: Q-learning for Hyperparameter Optimization
- 将超参数优化建模为序列决策问题,用Q-learning迭代调整配置。
- 在有限尝试次数内找到近优解,表现优于传统方法。
- 适合需要高效调参的机器学习研究者和工程应用。
超参数优化(HPO)对提升机器学习模型性能至关重要,但通常需在大规模参数空间中进行计算密集型搜索。传统方法如网格搜索和随机搜索效率低下且难以扩展,而基于代理模型的序列模型贝叶斯优化(SMBO)依赖启发式预测,可能导致次优结果。本文提出将HPO视为序列决策问题,采用Q-learning这一强化学习技术来优化超参数。研究借鉴了H.S. Jomaa等与Qi等的工作,将HPO建模为马尔可夫决策过程(MDP),利用Q-learning迭代优化超参数设置。实验评估了该方法在有限尝试次数内发现最优或近优配置的能力,验证了强化学习在超越传统方法方面的潜力。同时,本文指出现有方法在离散搜索空间限制及对启发式策略依赖等方面的不足,并提出了未来研究方向。通过转向基于策略的优化范式,本工作推动了可扩展、高效的机器学习超参数优化方法发展。
原文摘要 · Abstract (English)
Hyperparameter optimization (HPO) is critical for enhancing the performance of machine learning models, yet it often involves a computationally intensive search across a large parameter space. Traditional approaches such as Grid Search and Random Search suffer from inefficiency and limited scalability, while surrogate models like Sequential Model-based Bayesian Optimization (SMBO) rely heavily on heuristic predictions that can lead to suboptimal results. This paper presents a novel perspective on HPO by formulating it as a sequential decision-making problem and leveraging Q-learning, a reinforcement learning technique, to optimize hyperparameters. The study explores the works of H.S. Jomaa et al. and Qi et al., which model HPO as a Markov Decision Process (MDP) and utilize Q-learning to iteratively refine hyperparameter settings. The approaches are evaluated for their ability to find optimal or near-optimal configurations within a limited number of trials, demonstrating the potential of reinforcement learning to outperform conventional methods. Additionally, this paper identifies research gaps in existing formulations, including the limitations of discrete search spaces and reliance on heuristic policies, and suggests avenues for future exploration. By shifting the paradigm toward policy-based optimization, this work contributes to advancing HPO methods for scalable and efficient machine learning applications.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。