mlsanityData to 7 Oct 2026

RoSearch: Search for Robust Student Architectures When Distilling Pre-trained Language Models

arXiv 2106.03613 ↗First posted 7 Jun 2021cs.CL cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Pre-trained language models achieve outstanding performance in NLP tasks. Various knowledge distillation methods have been proposed to reduce the heavy computation and storage requirements of pre-trained language models. However, from our observations, student models acquired by knowledge distillation suffer from adversarial attacks, which limits their usage in security sensitive scenarios. In order to overcome these security problems, RoSearch is proposed as a comprehensive framework to search the student models with better adversarial robustness when performing knowledge distillation. A directed acyclic graph based search space is built and an evolutionary search strategy is utilized to guide the searching approach. Each searched architecture is trained by knowledge distillation on pre-trained language model and then evaluated under a robustness-, accuracy- and efficiency-aware metric as environmental fitness. Experimental results show that RoSearch can improve robustness of student models from 7%~18% up to 45.8%~47.8% on different datasets with comparable weight compression ratio to existing distillation methods (4.6×~6.5× improvement from teacher model BERTBASE) and low accuracy drop. In addition, we summarize the relationship between student architecture and robustness through statistics of searched models.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 31 of its 38 references that are in the map. First posted on arXiv 7 Jun 2021.

Builds on

31 of 38 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  8. 2013Intriguing properties of neural networkscited by 5,114
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  11. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  12. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
19 more
  1. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  3. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  4. 2016Language Modeling with Gated Convolutional Networkscited by 688
  5. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  6. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  7. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  8. 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 439
  9. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  10. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  11. 2017Large-Scale Evolution of Image Classifierscited by 348
  12. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  13. 2019The Evolved Transformercited by 180
  14. 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
  15. 2019Adversarially Robust Distillationcited by 124
  16. 2019When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attackscited by 87
  17. 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
  18. 2019Small and Practical BERT Models for Sequence Labelingcited by 40
  19. 2020XtremeDistil: Multi-stage Distillation for Massive Multilingual Modelscited by 38

Built on by

Cited by year

Citing papers per year: 2022: 1.

1 paper.