In recent times, BERT-based models have been extremely successful in solving a variety of natural language processing (NLP) tasks such as reading comprehension, natural language inference, sentiment analysis, etc. All BERT-based architectures have a self-attention block followed by a block of intermediate layers as the basic building component. However, a strong justification for the inclusion of these intermediate layers remains missing in the literature. In this work we investigate the importance of intermediate layers on the overall network performance of downstream tasks. We show that reducing the number of intermediate layers and modifying the architecture for BERT-BASE results in minimal loss in fine-tuning accuracy for downstream tasks while decreasing the number of parameters and training time of the model. Additionally, we use centered kernel alignment and probing linear classifiers to gain insight into our architectural modifications and justify that removal of intermediate layers has little impact on the fine-tuned accuracy.
Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Tasks
Center for Data ScienceNew York University(纽约大学数据科学中心);Dept. of LinguisticsNew York University(纽约大学语言学系);Dept. of Computer ScienceNew York University(纽约大学计算机科学系);New York University(纽约大学)
使用语言建模和相关的无监督任务对句子编码器进行预训练最近被证明对于语言理解任务非常有效。通过对语言模型风格的预训练进行补充,并对数据丰富的监督任务(如自然语言推理)进行进一步训练,我们在GLUE基准测试中获得了额外的性能改进。在BERT上应用补充训练(Devlin等人,2018年),我们获得了81.8的GLUE评分-最先进的水平(截至2019年2月24日),比BERT提高了1.4分。我们还观察到在此设置中随机重启的方差减少。当应用于ELMo时,我们的方法产生类似的改进(Peters等人,2018 a)和Radford et al.(2018)的模型。此外,补充训练的好处是特别明显的数据约束制度,我们在实验中显示,人为限制的训练数据。
BERT4GCN: Using BERT Intermediate Layers to Augment GCN for Aspect-based Sentiment Classification
Jinan University(暨南大学);Guangzhou Xuanyuan Research Institute Company, Ltd.(广州轩辕研究院有限公司);Guangzhou Yunqu Information Technology Company, Ltd.(广州云衢信息技术有限公司)
IDoFew: Intermediate Training Using Dual-Clustering in Language Models for Few Labels Text Classification
University of Technology Sydney(悉尼科技大学);College of Computer Science and Information Technology(计算机科学与信息技术学院);University of New South Wales(新南威尔士大学);University of Southampton(南安普顿大学);Islamic University of Madinah(麦地那伊斯兰大学)
BERT-EMD: Many-to-Many Layer Mapping for BERT Compression with Earth Mover's Distance
Beijing Ultrapower Software Co.,Ltd.(北京超图软件股份有限公司);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)
Hardware Acceleration of Fully Quantized BERT for Efficient Natural Language Processing
National Laboratory of Pattern Recognition, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所模式识别国家重点实验室);School of Future Technology, University of Chinese Academy of Sciences(中国科学院大学未来技术学院)
MaxPoolBERT: Enhancing BERT Classification via Layer- and Token-Wise Aggregation
Heinrich Heine University Düsseldorf(海因里希·海涅大学多特蒙德分校);Lamarr Institute for Machine Learning and AI(拉马尔机器学习与人工智能研究所);Technical University Dortmund(技术大学多特蒙德)
Can You Tell Me How to Get Past Sesame Street? Sentence-Level Pretraining Beyond Language Modeling
New York University(纽约大学);Johns Hopkins University(约翰斯·霍普金斯大学);Brown University(布朗大学);Google AI Language(谷歌AI语言部门);Facebook(脸书);University of Minnesota Duluth(明尼苏达大学德卢斯分校);Swarthmore College(斯沃斯莫尔学院);IBM
自然语言理解最近随着使用像ELMo(Peters et al.,2018 a)和BERT(Devlin等人,2019年),它们是在语言建模的变体上预训练的。我们对候选预训练任务进行了首次大规模的系统研究,比较了19种不同的任务,作为语言建模的替代和补充。我们的主要结果支持使用语言建模,特别是当与额外标记数据任务的预训练相结合时。然而,我们的结果在预训练任务中是混合的,并显示出一些令人担忧的趋势:在ELMo的预训练然后冻结范式中,随机基线非常强大,并且在目标任务中结果差异很大。此外,在中间任务上微调BERT通常会对下游传输产生负面影响。在一个更积极的趋势中,我们看到多任务训练的适度收益,这表明更复杂的多任务和迁移学习技术的发展是进一步研究的途径。
Examining the rhetorical capacities of neural language models
University of Toronto(多伦多大学);Vector Institute(向量研究所);Li Ka Shing Knowledge Institute, St Michael’s Hospital(李嘉诚知识研究所(圣迈克尔医院));Surgical Safety Technologies(手术安全技术公司)
ALP-KD: Attention-Based Layer Projection for Knowledge Distillation
Huawei(华为)
知识蒸馏被认为是一种训练和压缩策略,其中两个神经网络,即教师和学生,在训练过程中耦合在一起。教师网络应该是一个值得信赖的预测器,学生试图模仿它的预测。通常,选择具有较轻架构的学生,以便我们可以实现压缩,同时提供高质量的结果。在这种情况下,蒸馏只发生在最终的预测,而学生也可以受益于教师的监督内部组件。受此启发,我们研究了中间层的精馏问题。由于在学生层和教师层之间可能不存在一对一的对齐,因此现有技术跳过一些教师层并且仅从其中的子集提取。这个缺点直接影响质量,所以我们提出了一种依赖于注意力的组合技术。我们的模型融合了教师端的信息,并考虑到每一层的重要性,然后进行合并的教师层和学生层之间的蒸馏。使用我们的技术,我们将12层BERT(Devlin et al. 2019)提取为6层、4层和2层对应物,并在GLUE任务中对其进行评估(Wang et al. 2018)。实验结果表明,我们的组合方法是能够优于其他现有的技术。
Topic Aware Probing: From Sentence Length Prediction to Idiom Identification how reliant are Neural Language Models on Topic?
ADAPT Research Centre(ADAPT研究中心);Technological University Dublin(都柏林理工大学);School of Computer Science and Statistics(计算机科学与统计学院);Trinity College Dublin(都柏林圣三一学院)
提出主题感知探测方法,通过 BERT 与 RoBERTa 在句长预测到习语识别等任务上的表现,揭示模型对主题信息的依赖。
A Close Look at Decomposition-based XAI-Methods for Transformer Language Models
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);BIFOLD - Berlin Institute for the Foundations of Learning and Data(BIFOLD——柏林学习与数据基础研究所);Technische Universität Berlin(柏林工业大学)