We introduceDropDim, a structured dropout method designed for regularizing the self-attention mechanism, which is a key component of the transformer. In contrast to the general dropout method, which randomly drops neurons, DropDim drops part of the embedding dimensions. In this way, the semantic information can be completely discarded. Thus, the excessive coadapting between different embedding dimensions can be broken, and the self-attention is forced to encode meaningful featureswith a certain number of embedding dimensions erased. Experiments on a wide range of tasks executed on the MUST-C English-Germany dataset show that DropDim can effectively improve model performance, reduce over-fitting, and show complementary effects with other regularization methods. When combined with label smoothing, the WER can be reduced from 19.1% to 15.1% on the ASR task, and the BLEU value can be increased from26.90 to 28.38 on the MT task. On the ST task, the model can reach a BLEU score of 22.99, an increase by 1.86 BLEU points compared to the strong baseline.
FSR: Accelerating the Inference Process of Transducer-Based Models by Applying Fast-Skip Regularization
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)
LiFT: Local Search via Linear Programming for Overfitting-Controlled Transformers
Department of Management Sciences, Indian Institute of Technology Kanpur(印度理工学院坎普尔分校管理科学系);Department of Civil Engineering, Indian Institute of Technology Kanpur(印度理工学院坎普尔分校土木工程系);Operations and Decision Sciences, Indian Institute of Management Ahmedabad(印度管理学院艾哈迈达巴德分校运营与决策科学系);Brij Disa Centre for Data Science and AI, Indian Institute of Management Ahmedabad(印度管理学院艾哈迈达巴德分校Brij Disa数据科学与人工智能中心)
LEAP: Learnable Pruning for Transformer-based Models
Microsoft(微软);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California, Berkeley(加州大学伯克利分校);International Computer Science Institute(国际计算机科学研究所)
ERNIE-SPARSE: Learning Hierarchical Efficient Transformer Through Regularized Self-Attention
Baidu Inc.(百度公司);Wuhan University of Science and Technology(武汉科技大学)
稀疏Transformer最近吸引了大量的关注,因为能够减少序列长度的二次依赖性。我们认为,两个因素,信息瓶颈的敏感性和不同的注意力拓扑结构之间的不一致性,可能会影响稀疏Transformer的性能。本文提出了一个设计良好的模型ERNIE-Sparse。它由两个不同的部分组成:(i)层次稀疏Transformer(HST),顺序统一的本地和全局信息。(ii)自注意正则化(SAR)方法,一种新的正则化设计,以最小化不同注意拓扑的变压器的距离。为了评估ERNIE-Sparse的有效性,我们进行了广泛的评估。首先,我们进行了实验上的多模态长序列建模任务基准,长距离竞技场(LRA)。实验结果表明,ERNIE-Sparse显著优于各种强基线方法,包括密集注意力和其他有效的稀疏注意力方法,并实现了2.77%的改进(57.78% vs. 55.01%)。其次,为了进一步证明我们的方法的有效性,我们对ERNIE-Sparse进行了预训练,并在3个文本分类和2个QA下游任务上进行了验证,分类基准提高了0.83%(92.46% vs. 91.63%),QA基准提高了3.24%(74.67% vs. 71.43%)。实验结果继续证明其优越的性能。
UniDrop: A Simple yet Effective Technique to Improve Transformer without Extra Cost
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);Microsoft Research Asia(微软亚洲研究院)
Transformer体系结构在丰富的自然语言处理任务中取得了巨大的成功。Transformer模型的过参数化已经激发了大量的工作来减轻其过拟合以获得更好的性能。通过一些探索,我们发现简单的技术,如dropout,可以大大提高模型的性能与精心设计。因此,在本文中,我们将不同的dropout技术集成到Transformer模型的训练中。具体来说,我们提出了一种名为UniDrop的方法,将从细粒度到粗粒度的三种不同的dropout技术结合起来,即,特征丢失、结构丢失和数据丢失。理论上,我们证明了这三个辍学发挥不同的作用,从正规化的角度来看。从经验上讲,我们在神经机器翻译和文本分类基准数据集上进行了实验。广泛的结果表明,Transformer with UniDrop可以在IWSLT14翻译任务上实现约1.5 BLEU的改进,并且即使使用强大的预训练RoBERTA作为骨干,也可以获得更好的分类准确性。