Although BERT-style encoder models are heavily used in NLP research, many researchers do not pretrain their own BERTs from scratch due to the high cost of training. In the past half-decade since BERT first rose to prominence, many advances have been made with other transformer architectures and training configurations that have yet to be systematically incorporated into BERT. Here, we introduce MosaicBERT, a BERT-style encoder architecture and training recipe that is empirically optimized for fast pretraining. This efficient architecture incorporates FlashAttention, Attention with Linear Biases (ALiBi), Gated Linear Units (GLU), a module to dynamically remove padded tokens, and low precision LayerNorm into the classic transformer encoder block. The training recipe includes a 30% masking ratio for the Masked Language Modeling (MLM) objective, bfloat16 precision, and vocabulary size optimized for GPU throughput, in addition to best-practices from RoBERTa and other encoder models. When pretrained from scratch on the C4 dataset, this base model achieves a downstream average GLUE (dev) score of 79.6 in 1.13 hours on 8 A100 80 GB GPUs at a cost of roughly $20. We plot extensive accuracy vs. pretraining speed Pareto curves and show that MosaicBERT base and large are consistently Pareto optimal when compared to a competitive BERT base and large. This empirical speed up in pretraining enables researchers and engineers to pretrain custom BERT-style models at low cost instead of finetune on existing generic models. We open source our model weights and code.
JanusDNA: A Powerful Bi-directional Hybrid DNA Foundation Model
Berlin Institute of Health, Charité – Universitätsmedizin Berlin(柏林健康研究所,柏林夏里特大学医学中心);College of Big Data and Internet, Shenzhen Technology University(大数据与互联网学院,深圳技术大学);Language Technologies Institute, Carnegie Mellon University(语言技术研究所,卡内基梅隆大学);Epigenetics Laboratory, Max Planck Institute for Heart and Lung Research(表观遗传学实验室,马克斯·普朗克心脏病和肺部研究所以);Department of Mathematics and Computer Science, Freie Universität Berlin(数学与计算机科学系,柏林自由大学);Health Data Science Unit, Heidelberg University Hospital and BioQuant(健康数据科学单元,海德堡大学医院和BioQuant);Intelligent Medicine Institute, Fudan University(智能医学研究所,复旦大学)
KoreALBERT: Pretraining a Lite BERT Model for Korean Language Understanding
Samsung SDS(三星SDS)
Lite BERT(ALBERT)已经被引入以扩展用于自然语言的深度双向表示学习。由于缺乏针对韩语的预训练的ALBERT模型,最佳实践是多语言模型或诉诸于任何其他基于BERT的模型。在本文中,我们开发和预训练KoreALBERT,一个单语ALBERT模型,专门为韩国语言理解。我们引入了一个新的训练目标,即词序预测(WOP),并与现有的MLM和SOP标准一起使用相同的架构和模型参数。尽管模型参数明显较少(因此,训练更快),但我们预先训练的KoreAL BERT在6个不同的NLU任务上优于其BERT对应物。与Lan等人的英语经验结果一致,KoreALBERT似乎可以提高涉及韩语多句编码的下游任务性能。预先训练的KoreALBERT是公开的,以鼓励韩国NLP的研究和应用开发。
Speech-text based multi-modal training with bidirectional attention for improved speech recognition
Xinjiang University(新疆大学);Bytedance AI Lab(字节跳动人工智能实验室);Nanyang Technological University(南洋理工大学);National Institute of Information and Communications Technology(日本国立信息与通信技术研究所)
TOP-Training: Target-Oriented Pretraining for Medical Extractive Question Answering
Pennsylvania State University(宾夕法尼亚州立大学);Indian Institute of Technology (IIT) Bhubaneswar(印度理工学院布巴内斯瓦尔分校);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Image Captioning via Compact Bidirectional Architecture
School of Big Data and Statistics, Anhui University(安徽大学大数据与统计学院);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院);Intelligent Interconnected Systems Laboratory of Anhui Province (Hefei University of Technology)(安徽省智能互联系统实验室(合肥工业大学));School of Computer Science and Information Engineering, Hefei University of Technology(合肥工业大学计算机与信息学院);JD Explore Academy, JD.com Inc(京东探索研究院);State Key Laboratory of Digital Intelligent Technology for Unmanned Coal Mining, Anhui University of Science and Technology(安徽理工大学深部煤矿采动响应与灾害防控国家重点实验室)