Lune

ACL2021顶会

AutoTinyBERT: Automatic Hyper-parameter Optimization for Efficient Pre-trained Language Models

Yichun Yin, Cheng Chen, Lifeng Shang, Xin Jiang, Xiao Chen, Qun Liu

摘要

Pre-trained language models (PLMs) have achieved great success in natural language processing. Most of PLMs follow the default setting of architecture hyper-parameters (e.g., the hidden dimension is a quarter of the intermediate dimension in feed-forward sub-networks) in BERT (Devlin et al., 2019). Few studies have been conducted to explore the design of architecture hyper-parameters in BERT, especially for the more efficient PLMs with tiny sizes, which are essential for practical deployment on resource-constrained devices. In this paper, we adopt the one-shot Neural Architecture Search (NAS) to automatically search architecture hyper-parameters. Specifically, we carefully design the techniques of one-shot learning and the search space to provide an adaptive and efficient development way of tiny PLMs for various latency constraints. We name our method AutoTinyBERT 1 and evaluate its effectiveness on the GLUE and SQuAD benchmarks. The extensive experiments show that our method outperforms both the SOTA searchbased baseline (NAS-BERT) and the SOTA distillation-based methods (such as DistilBERT, TinyBERT, MiniLM and MobileBERT). In addition, based on the obtained architectures, we propose a more efficient development method that is even faster than the development of a single PLM. * Contribution during internship at Noah's Ark Lab. 1 Our code implementation and pre-trained models are available at https://github.com/huawei-noah/ Pretrained-Language-Model .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • TinyBERT: Distilling BERT for Natural Language Understanding 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • TinyBERT: Distilling BERT for Natural Language Understanding 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • TinyBERT: Distilling BERT for Natural Language Understanding 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
  • Structured Pruning Learns Compact and Accurate Models 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
  • Structured Pruning Learns Compact and Accurate Models 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • Structured Pruning Learns Compact and Accurate Models 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • Towards Efficient Post-training Quantization of Pre-trained Language Models 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
  • Towards Efficient Post-training Quantization of Pre-trained Language Models 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • Towards Efficient Post-training Quantization of Pre-trained Language Models 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • Towards Efficient Post-training Quantization of Pre-trained Language Models 引用了 Language Models are Few-Shot Learners
  • Gradient-Free Structured Pruning with Unlabeled Data 引用了 Structured Pruning Learns Compact and Accurate Models
  • Gradient-Free Structured Pruning with Unlabeled Data 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • Gradient-Free Structured Pruning with Unlabeled Data 引用了 A Fast Post-Training Pruning Framework for Transformers
  • Gradient-Free Structured Pruning with Unlabeled Data 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • Gradient-Free Structured Pruning with Unlabeled Data 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • A Fast Post-Training Pruning Framework for Transformers 引用了 Structured Pruning Learns Compact and Accurate Models
  • A Fast Post-Training Pruning Framework for Transformers 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • A Fast Post-Training Pruning Framework for Transformers 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • A Fast Post-Training Pruning Framework for Transformers 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • A Fast Post-Training Pruning Framework for Transformers 引用了 Language Models are Few-Shot Learners
  • Speculative Decoding with Big Little Decoder 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • Speculative Decoding with Big Little Decoder 引用了 A Fast Post-Training Pruning Framework for Transformers
  • Speculative Decoding with Big Little Decoder 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • Speculative Decoding with Big Little Decoder 引用了 MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
  • Speculative Decoding with Big Little Decoder 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. A Fast Post-Training Pruning Framework for TransformersWoosuk Kwon, Sehoon Kim, Michael W. Mahoney, Joseph Hassoun 等NeurIPS 2022 · 247 次引用
  2. Structured Pruning Learns Compact and Accurate ModelsMengzhou Xia, Zexuan Zhong, Danqi ChenACL 2022 · 236 次引用
  3. Speculative Decoding with Big Little DecoderSehoon Kim, Karttikeya Mangalam, Suhong Moon, Jitendra Malik 等NeurIPS 2023 · 212 次引用
  4. Towards Efficient Post-training Quantization of Pre-trained Language ModelsHaoli Bai, Lu Hou, Lifeng Shang, Xin Jiang 等NeurIPS 2022 · 62 次引用
  5. Gradient-Free Structured Pruning with Unlabeled DataAzade Nova, Hanjun Dai, Dale SchuurmansICML 2023 · 38 次引用

它引用的 Paper13

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  3. TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
  4. MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu 等ACL 2020 · 660 次引用
  5. Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTSheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma 等AAAI 2020 · 656 次引用

相关 Paper

  1. NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture SearchJin Xu, Xu Tan, Renqian Luo, Kaitao Song 等KDD 2021 · 49 次引用
  2. Neural Architecture Search for Parameter-Efficient Fine-tuning of Large Pre-trained Language ModelsNeal Lawton, Anoop Kumar, Govind Thattai, Aram Galstyan 等ACL Findings 2023 · 17 次引用
  3. EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge DistillationChenhe Dong, Guangrun Wang, Hang Xu, Jiefeng Peng 等EMNLP Findings 2021 · 20 次引用
  4. AutoBERT-Zero: Evolving BERT Backbone from ScratchJiahui Gao, Hang Xu, Han Shi, Xiaozhe Ren 等AAAI 2022 · 40 次引用
  5. Few-shot Task-agnostic Neural Architecture Search for Distilling Large Language ModelsDongkuan Xu, Subhabrata Mukherjee, Xiaodong Liu, Debadeepta Dey 等NeurIPS 2022 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖