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

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 distillati...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:arXiv.org 2021-06
Hauptverfasser: Guo, Xin, Yang, Jianlei, Zhou, Haoyi, Ye, Xucheng, Li, Jianxin
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title arXiv.org
container_volume
creator Guo, Xin
Yang, Jianlei
Zhou, Haoyi
Ye, Xucheng
Li, Jianxin
description 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\(\times\)~6.5\(\times\) improvement from teacher model BERT_BASE) and low accuracy drop. In addition, we summarize the relationship between student architecture and robustness through statistics of searched models.
format Article
fullrecord <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_journals_2538900525</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2538900525</sourcerecordid><originalsourceid>FETCH-proquest_journals_25389005253</originalsourceid><addsrcrecordid>eNqNyksKwjAUheEgCBbtHi44LsTUaHUmPnCgIK3gSEpsb9tISDSP_VvQBTj64D9nQCKWprMkmzM2IrFzT0opWywZ52lE7rkpUNiqW8NXaIyF3DyC81D4UKP2sOm79Fj5YNHBrUMNO-m8VErqFi4WE2-F1FjDSeg2iBbhbGpUbkKGjVAO459jMj3sr9tj8rLmHdD58mmC1f1UMp5mK0p573-vD976Q4I</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2538900525</pqid></control><display><type>article</type><title>RoSearch: Search for Robust Student Architectures When Distilling Pre-trained Language Models</title><source>Free E- Journals</source><creator>Guo, Xin ; Yang, Jianlei ; Zhou, Haoyi ; Ye, Xucheng ; Li, Jianxin</creator><creatorcontrib>Guo, Xin ; Yang, Jianlei ; Zhou, Haoyi ; Ye, Xucheng ; Li, Jianxin</creatorcontrib><description>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\(\times\)~6.5\(\times\) improvement from teacher model BERT_BASE) and low accuracy drop. In addition, we summarize the relationship between student architecture and robustness through statistics of searched models.</description><identifier>EISSN: 2331-8422</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Compression ratio ; Distillation ; Knowledge acquisition ; Model accuracy ; Robustness ; Search methods ; Security</subject><ispartof>arXiv.org, 2021-06</ispartof><rights>2021. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>780,784</link.rule.ids></links><search><creatorcontrib>Guo, Xin</creatorcontrib><creatorcontrib>Yang, Jianlei</creatorcontrib><creatorcontrib>Zhou, Haoyi</creatorcontrib><creatorcontrib>Ye, Xucheng</creatorcontrib><creatorcontrib>Li, Jianxin</creatorcontrib><title>RoSearch: Search for Robust Student Architectures When Distilling Pre-trained Language Models</title><title>arXiv.org</title><description>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\(\times\)~6.5\(\times\) improvement from teacher model BERT_BASE) and low accuracy drop. In addition, we summarize the relationship between student architecture and robustness through statistics of searched models.</description><subject>Compression ratio</subject><subject>Distillation</subject><subject>Knowledge acquisition</subject><subject>Model accuracy</subject><subject>Robustness</subject><subject>Search methods</subject><subject>Security</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><recordid>eNqNyksKwjAUheEgCBbtHi44LsTUaHUmPnCgIK3gSEpsb9tISDSP_VvQBTj64D9nQCKWprMkmzM2IrFzT0opWywZ52lE7rkpUNiqW8NXaIyF3DyC81D4UKP2sOm79Fj5YNHBrUMNO-m8VErqFi4WE2-F1FjDSeg2iBbhbGpUbkKGjVAO459jMj3sr9tj8rLmHdD58mmC1f1UMp5mK0p573-vD976Q4I</recordid><startdate>20210607</startdate><enddate>20210607</enddate><creator>Guo, Xin</creator><creator>Yang, Jianlei</creator><creator>Zhou, Haoyi</creator><creator>Ye, Xucheng</creator><creator>Li, Jianxin</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20210607</creationdate><title>RoSearch: Search for Robust Student Architectures When Distilling Pre-trained Language Models</title><author>Guo, Xin ; Yang, Jianlei ; Zhou, Haoyi ; Ye, Xucheng ; Li, Jianxin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-proquest_journals_25389005253</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Compression ratio</topic><topic>Distillation</topic><topic>Knowledge acquisition</topic><topic>Model accuracy</topic><topic>Robustness</topic><topic>Search methods</topic><topic>Security</topic><toplevel>online_resources</toplevel><creatorcontrib>Guo, Xin</creatorcontrib><creatorcontrib>Yang, Jianlei</creatorcontrib><creatorcontrib>Zhou, Haoyi</creatorcontrib><creatorcontrib>Ye, Xucheng</creatorcontrib><creatorcontrib>Li, Jianxin</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science &amp; Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Access via ProQuest (Open Access)</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Guo, Xin</au><au>Yang, Jianlei</au><au>Zhou, Haoyi</au><au>Ye, Xucheng</au><au>Li, Jianxin</au><format>book</format><genre>document</genre><ristype>GEN</ristype><atitle>RoSearch: Search for Robust Student Architectures When Distilling Pre-trained Language Models</atitle><jtitle>arXiv.org</jtitle><date>2021-06-07</date><risdate>2021</risdate><eissn>2331-8422</eissn><abstract>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\(\times\)~6.5\(\times\) improvement from teacher model BERT_BASE) and low accuracy drop. In addition, we summarize the relationship between student architecture and robustness through statistics of searched models.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier EISSN: 2331-8422
ispartof arXiv.org, 2021-06
issn 2331-8422
language eng
recordid cdi_proquest_journals_2538900525
source Free E- Journals
subjects Compression ratio
Distillation
Knowledge acquisition
Model accuracy
Robustness
Search methods
Security
title RoSearch: Search for Robust Student Architectures When Distilling Pre-trained Language Models
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-01T16%3A52%3A57IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=document&rft.atitle=RoSearch:%20Search%20for%20Robust%20Student%20Architectures%20When%20Distilling%20Pre-trained%20Language%20Models&rft.jtitle=arXiv.org&rft.au=Guo,%20Xin&rft.date=2021-06-07&rft.eissn=2331-8422&rft_id=info:doi/&rft_dat=%3Cproquest%3E2538900525%3C/proquest%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2538900525&rft_id=info:pmid/&rfr_iscdi=true