arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.07108cs.LG
收藏

CATE:基于Transformers的计算感知神经结构编码

CATE: Computation-aware Neural Architecture Encoding with Transformers

Michigan State University(密歇根州立大学);University of Central Florida(中佛罗里达大学);Tencent AI Lab(腾讯人工智能实验室)

Shen Yan, Kaiqiang Song, Fei Liu, Mi Zhang

摘要:

最近的作品(White等人,2020 a; Yan等人,2020)展示了架构编码在神经架构搜索(NAS)中的重要性。这些编码对神经架构的结构或计算信息进行编码。与结构感知编码相比,计算感知编码将具有相似精度的架构映射到相同区域,这提高了下游架构搜索性能(Zhang et al.,2019; White等人,2020年a)。在这项工作中,我们介绍了一个计算感知转换器为基础的编码方法,称为CATE。与现有的基于固定变换的计算感知编码(例如,路径编码)不同,CATE采用成对预训练方案来使用具有交叉注意力的Transformers学习计算感知编码。这种学习的编码包含神经架构的密集和上下文化的计算信息。我们比较CATE与11个编码下的三个主要编码依赖的NAS子程序在小和大的搜索空间。实验结果表明,CATE算法对下游搜索是有利的,特别是在大搜索空间的情况下。此外,外部搜索空间实验表明,其优越的泛化能力超出了搜索空间,它是训练。我们的代码可在www.example.com上获得。

英文摘要:

Recent works (White et al., 2020a; Yan et al., 2020) demonstrate the importance of architecture encodings in Neural Architecture Search (NAS). These encodings encode either structure or computation information of the neural architectures. Compared to structure-aware encodings, computation-aware encodings map architectures with similar accuracies to the same region, which improves the downstream architecture search performance (Zhang et al., 2019; White et al., 2020a). In this work, we introduce a Computation-Aware Transformer-based Encoding method called CATE. Different from existing computation-aware encodings based on fixed transformation (e.g. path encoding), CATE employs a pairwise pre-training scheme to learn computation-aware encodings using Transformers with cross-attention. Such learned encodings contain dense and contextualized computation information of neural architectures. We compare CATE with eleven encodings under three major encoding-dependent NAS subroutines in both small and large search spaces. Our experiments show that CATE is beneficial to the downstream search, especially in the large search space. Moreover, the outside search space experiment demonstrates its superior generalization ability beyond the search space on which it was trained. Our code is available at: https://github.com/MSU-MLSys-Lab/CATE.

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

↑