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

BERT的最优子结构提取

Optimal Subarchitecture Extraction For BERT

Amazon Alexa(亚马逊Alexa)

Adrian de Wynter, Daniel J. Perry

摘要:

我们从Devlin等人(2018)中提取了BERT架构的架构参数的最佳子集。通过应用神经架构搜索算法的最新突破。我们称之为“Bort”的这个最佳子集明显更小,具有原始BERT大架构的$5.5\%$的有效(即,不计算嵌入层)大小和净大小的$16\%$。Bort还能够在$288$ GPU小时内进行预训练,这是预训练性能最高的BERT参数架构变体RoBERTa-large所需时间的$1.2\%$(Liu et al.,2019年),以及关于$33\%$的世界纪录,在GPU小时,需要在相同的硬件上训练BERT-大。它在CPU上也比$7.9$快x倍,并且比架构的其他压缩变体和一些非压缩变体性能更好:它在多个公共自然语言理解(NLU)基准测试中获得了$0.3\%$和$31\%$之间的绝对性能改进。

英文摘要:

We extract an optimal subset of architectural parameters for the BERT architecture from Devlin et al. (2018) by applying recent breakthroughs in algorithms for neural architecture search. This optimal subset, which we refer to as "Bort", is demonstrably smaller, having an effective (that is, not counting the embedding layer) size of $5.5\%$ the original BERT-large architecture, and $16\%$ of the net size. Bort is also able to be pretrained in $288$ GPU hours, which is $1.2\%$ of the time required to pretrain the highest-performing BERT parametric architectural variant, RoBERTa-large (Liu et al., 2019), and about $33\%$ of that of the world-record, in GPU hours, required to train BERT-large on the same hardware. It is also $7.9$x faster on a CPU, as well as being better performing than other compressed variants of the architecture, and some of the non-compressed variants: it obtains performance improvements of between $0.3\%$ and $31\%$, absolute, with respect to BERT-large, on multiple public natural language understanding (NLU) benchmarks.

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

↑