arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.00939cs.LGcs.NEstat.ML
收藏

使用REINFORCE和Transformers进行超参数优化

Hyperparameter optimization with REINFORCE and Transformers

Walmart Global Tech India(沃尔玛全球技术印度)

Chepuri Shri Krishna, Ashish Gupta, Swarnim Narayan, Himanshu Rai, Diksha Manchanda

摘要:

强化学习已经为神经结构搜索(NAS)带来了有希望的结果。在本文中,我们演示了如何通过使用简化的Transformer块来建模策略网络来提高其性能。简化的Transformer使用基于注意力的2流机制来建模超参数依赖关系,同时避免层归一化和位置编码。我们认为这种简约的设计平衡了模型的复杂性和表现力,使其适合在有限的探索预算下在高维搜索空间中发现最佳架构。我们演示了如何通过以下方式进一步提高算法的性能:a)使用演员-评论家风格的算法,而不是普通的香草策略梯度; b)将具有共享参数的Transformer块集成在一起,每个块以不同的自回归因子分解顺序为条件。我们的算法作为NAS和通用超参数优化(HPO)算法都工作得很好:它在NAS-Bench-101上的性能优于大多数算法,NAS-Bench-101是一个用于基准NAS算法的公共数据集。特别是,它优于基于RL的方法,使用替代架构来建模策略网络,强调了在这种设置中使用基于注意力的网络的价值。作为一种通用的HPO算法,它在发现跨2个回归任务的更准确的多层感知器模型架构方面优于随机搜索。在设计实验和报告结果时,我们遵守Lindauer和Hutter中列出的指导方针。

英文摘要:

Reinforcement Learning has yielded promising results for Neural Architecture Search (NAS). In this paper, we demonstrate how its performance can be improved by using a simplified Transformer block to model the policy network. The simplified Transformer uses a 2-stream attention-based mechanism to model hyper-parameter dependencies while avoiding layer normalization and position encoding. We posit that this parsimonious design balances model complexity against expressiveness, making it suitable for discovering optimal architectures in high-dimensional search spaces with limited exploration budgets. We demonstrate how the algorithm's performance can be further improved by a) using an actor-critic style algorithm instead of plain vanilla policy gradient and b) ensembling Transformer blocks with shared parameters, each block conditioned on a different auto-regressive factorization order. Our algorithm works well as both a NAS and generic hyper-parameter optimization (HPO) algorithm: it outperformed most algorithms on NAS-Bench-101, a public data-set for benchmarking NAS algorithms. In particular, it outperformed RL based methods that use alternate architectures to model the policy network, underlining the value of using attention-based networks in this setting. As a generic HPO algorithm, it outperformed Random Search in discovering more accurate multi-layer perceptron model architectures across 2 regression tasks. We have adhered to guidelines listed in Lindauer and Hutter while designing experiments and reporting results.

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

↑