arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.00288cs.LGcs.AIcs.CL
收藏

面向 RNN 与 Transformer 的免训练神经架构搜索

Training-free Neural Architecture Search for RNNs and Transformers

Princeton University(普林斯顿大学);University of Colorado Colorado Springs(科罗拉多大学斯普林斯分校)

Aaron Serianni, Jugal Kalita

AI总结:

本文研究面向 RNN 与 BERT 类 Transformer 的免训练 NAS,提出 hidden covariance 指标并指出搜索空间需与指标协同设计。

摘要:

神经架构搜索(NAS)使自动创建新颖且有效的神经网络架构成为可能,为人工设计复杂架构这一繁琐过程提供了替代方案。然而,传统 NAS 算法速度缓慢,并且需要巨大的计算能力。近期研究已经考察了用于图像分类架构的免训练 NAS 指标,大幅加快了搜索算法。本文研究面向语言建模任务、针对循环神经网络(RNN)和基于 BERT 的 transformer 架构的免训练 NAS 指标。首先,我们开发了一种名为 hidden covariance(隐藏协方差)的新型免训练指标,它能够预测 RNN 架构训练后的性能,并且显著优于现有的免训练指标。我们在 NAS-Bench-NLP 基准上通过实验评估了 hidden covariance 指标的有效性。其次,我们发现当前 transformer 架构的搜索空间范式并未针对免训练神经架构搜索进行优化;相反,简单的定性分析就能有效将搜索空间缩小到性能最佳的架构。这一结论基于我们对现有免训练指标以及根据近期 transformer 剪枝文献开发的新指标的研究,并在我们自己的已训练 BERT 架构基准上进行评估。最终,我们的分析表明,架构搜索空间与免训练指标必须协同开发,才能取得有效结果。

英文摘要:

Neural architecture search (NAS) has allowed for the automatic creation of new and effective neural network architectures, offering an alternative to the laborious process of manually designing complex architectures. However, traditional NAS algorithms are slow and require immense amounts of computing power. Recent research has investigated training-free NAS metrics for image classification architectures, drastically speeding up search algorithms. In this paper, we investigate training-free NAS metrics for recurrent neural network (RNN) and BERT-based transformer architectures, targeted towards language modeling tasks. First, we develop a new training-free metric, named hidden covariance, that predicts the trained performance of an RNN architecture and significantly outperforms existing training-free metrics. We experimentally evaluate the effectiveness of the hidden covariance metric on the NAS-Bench-NLP benchmark. Second, we find that the current search space paradigm for transformer architectures is not optimized for training-free neural architecture search. Instead, a simple qualitative analysis can effectively shrink the search space to the best performing architectures. This conclusion is based on our investigation of existing training-free metrics and new metrics developed from recent transformer pruning literature, evaluated on our own benchmark of trained BERT architectures. Ultimately, our analysis shows that the architecture search space and the training-free metric must be developed together in order to achieve effective results.

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

↑