Natural Language Processing (NLP) has recently achieved great success by using huge pre-trained models with hundreds of millions of parameters. However, these models suffer from heavy model sizes and high latency such that they cannot be deployed to resource-limited mobile devices. In this paper, we propose MobileBERT for compressing and accelerating the popular BERT model. Like the original BERT, MobileBERT is task-agnostic, that is, it can be generically applied to various downstream NLP tasks via simple fine-tuning. Basically, MobileBERT is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks. To train MobileBERT, we first train a specially designed teacher model, an inverted-bottleneck incorporated BERT_LARGE model. Then, we conduct knowledge transfer from this teacher to MobileBERT. Empirical studies show that MobileBERT is 4.3x smaller and 5.5x faster than BERT_BASE while achieving competitive results on well-known benchmarks. On the natural language inference tasks of GLUE, MobileBERT achieves a GLUEscore o 77.7 (0.6 lower than BERT_BASE), and 62 ms latency on a Pixel 4 phone. On the SQuAD v1.1/v2.0 question answering task, MobileBERT achieves a dev F1 score of 90.0/79.2 (1.5/2.1 higher than BERT_BASE).
NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Search
Tsinghua University(清华大学);University of Science and Technology of China(中国科学技术大学);Nanjing University of Science and Technology(南京理工大学);Microsoft Research Asia(微软亚洲研究院)
SuperShaper: Task-Agnostic Super Pre-training of BERT Models with Variable Hidden Dimensions
Indian Institute of Technology, Madras(印度理工学院马德拉斯分校);Robert Bosch Center for Data Science and Artificial Intelligence(罗伯特·博世数据科学与人工智能中心);Microsoft Research, India(微软印度研究院)
Improving Task-Agnostic BERT Distillation with Layer Mapping Search
Huazhong University of Science and Technology(华中科技大学);Zhejiang University(浙江大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Huawei Technologies Co., Ltd.(华为技术有限公司)
niksss at HinglishEval: Language-agnostic BERT-based Contextual Embeddings with Catboost for Quality Evaluation of the Low-Resource Synthetically Generated Code-Mixed Hinglish Text
Learning to Win Lottery Tickets in BERT Transfer via Task-agnostic Mask Training
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);WeChat AI, Tencent Inc(腾讯微信人工智能部)
虽然BERT是学习单语句子嵌入以获得语义相似性和基于嵌入的迁移学习的有效方法(Reimers和Gurevych,2019),但基于BERT的跨语言句子嵌入还有待探索。我们通过结合学习单语和跨语言表示的最佳方法,系统地研究了学习多语言句子嵌入的方法,包括:掩蔽语言建模(MLM),翻译语言建模(TLM)(Conneau和Lample,2019),双编码器翻译排名(Guo等人,2018),以及附加边际softmax(Yang et al.,2019年a)。我们表明,引入一个预先训练的多语言语言模型显着减少了80%的并行训练数据,以实现良好的性能。组合这些方法中最好的一种方法产生了一个模型,在Tatoeba上的112种语言中实现了83.7%的双文本检索准确率,远高于Artetxe和Schwenk(2019 b)实现的65.5%,同时在单语迁移学习基准测试中仍然具有竞争力(Conneau和Kiela,2018)。使用我们最好的模型从CommonCrawl挖掘的并行数据可以训练en-zh和en-de的竞争性NMT模型。我们在https://tfhub.dev/google/LaBSE上公开发布了适用于109多种语言的最佳多语言句子嵌入模型。
Detecting Redundant Health Survey Questions Using Language-agnostic BERT Sentence Embedding (LaBSE)
College of Natural Sciences, Seoul National University(首尔大学自然科学学院);College of Nursing, Seoul National University(首尔大学护理学院);The Research Institute of Nursing Science, Seoul National University(首尔大学护理科学研究所);Samsung Medical Center(三星医疗中心);David Geffen School of Medicine, University of California Los Angeles(加州大学洛杉矶分校大卫·格芬医学院)
PreQuant: A Task-agnostic Quantization Approach for Pre-trained Language Models
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Meituan(美团);Meta AI;National Key Laboratory of General Artificial Intelligence(通用人工智能全国重点实验室);Beijing Institute for General Artificial Intelligence(北京通用人工智能研究院);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
Language-Agnostic Bias Detection in Language Models with Bias Probing
Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Center for Machine Learning(慕尼黑机器学习中心);Data Analytics and Computational Social Science, University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校数据分析与计算社会科学系);Marmara University(马尔马拉大学);Language Technology Lab, University of Cambridge(剑桥大学语言技术实验室);Harvard Kennedy School(哈佛大学肯尼迪学院)
AnyMo: Geometry-Aware Setup-Agnostic Modeling of Human Motion in the Wild
The University of New South Wales(新南威尔士大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学)
A comparison of pipelines for the translation of a low resource language based on transformers
Department of Computer Science, University of Turin(托斯大学计算机科学系);Department of Languages Studies, University of Turin(托斯大学语言研究系);Department of Humanistic Studies, University of Turin(托斯大学人文科学系);Department of Control and Computer Engineering, Politecnico di Torino(都灵politecnico控制与计算机工程系)