The transformer architecture has revolutionized Natural Language Processing (NLP) and other machine-learning tasks, due to its unprecedented accuracy. However, their extensive memory and parameter requirements often hinder their practical applications. In this work, we study the effect of tensor-train decomposition to improve the accuracy and compress transformer vision-language neural networks, namely BERT and ViT. We focus both on embedding-layer compression and partial tensorization of neural networks (PTNN) through an algorithmic approach. Our novel PTNN approach significantly improves the accuracy of existing models by up to 5%, all without the need for post-training adjustments, breaking new ground in the field of tensor decomposition.
College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);Microsoft Research Asia(微软亚洲研究院);School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机学院)
Tensorized Embedding Layers for Efficient Model Compression
Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Institute of Numerical Mathematics, RAS, Moscow, Russia(俄罗斯科学院数学数值研究所)
Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimization
Department of Electrical and Computer Engineering, University of California, Santa Barbara(加州大学圣芭芭拉分校电子与计算机工程系);Intel Corporation(英特尔公司);Department of Computer Science, North Carolina State University(北卡罗来纳州立大学计算机科学系);School of Electrical and Computer Engineering, Georgia Institute of Technology(佐治亚理工学院电气与计算机工程学院)
Physics Transformer: Tailoring Transformer for General PDE Prediction
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);School of Mechanics and Engineering Science, Peking University(北京大学力学与工程科学学院)
Physics and Data Driven Transformer-Mamba Framework for Flow Field
National University of Defense Technology(国防科技大学);Nanjing Agricultural University(南京农业大学);National Key Laboratory of Parallel and Distributed Computing(并行与分布式计算国家重点实验室);National SuperComputer Center in Tianjin(国家超级计算天津中心)
AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
Fraunhofer Heinrich-Hertz-Institute(弗劳恩霍夫海因茨·赫兹研究所);Technische Universität Berlin(柏林工业大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所(BIFOLD))
Swin Deformable Attention U-Net Transformer (SDAUT) for Explainable Fast MRI
National Heart and Lung Institute, Imperial College London(帝国理工学院国家心肺研究所);Cardiovascular Research Centre, Royal Brompton Hospital(皇家布朗普顿医院心血管研究中心);School of Biomedical Engineering, Sun Yat-sen University(中山大学生物医学工程学院)
mT5: A massively multilingual pre-trained text-to-text transformer
Google Research(谷歌研究院)
最近的“Text-to-Text Transfer Transformer”(T5)利用统一的文本到文本格式和规模,在各种英语NLP任务上获得了最先进的结果。在本文中,我们介绍了mT5,这是T5的多语言变体,它在一个新的基于Common Crawl的数据集上进行了预训练,涵盖了101种语言。我们详细介绍了mT5的设计和修改后的训练,并在许多多语言基准测试中展示了其最先进的性能。我们还描述了一种简单的技术,以防止“意外翻译”的zero-shot设置,其中生成模型选择(部分)翻译成错误的语言的预测。在这项工作中使用的所有代码和模型检查点都是公开的。