paper-with-me

Papers

Scheduled DropHead: A Regularization Method for Transformer Models

2020-04-28 · Findings of the Association for Computational Linguistics 2020 · Wangchunshu Zhou, Tao Ge, Ke Xu, Furu Wei, Ming Zhou

In this paper, we introduce DropHead, a structured dropout method specifically designed for regularizing the multi-head attention mechanism, which is a key component of transformer, a state-of-the-art model for various NLP tasks. In contrast to the conventional dropout mechanisms which randomly drop units or connections, the proposed DropHead is a structured dropout method. It drops entire attention-heads during training and It prevents the multi-head attention model from being dominated by a small portion of attention heads while also reduces the risk of overfitting the training data, thus making use of the multi-head attention mechanism more efficiently. Motivated by recent studies about the learning dynamic of the multi-head attention mechanism, we propose a specific dropout rate schedule to adaptively adjust the dropout rate of DropHead and achieve better regularization effect. Experimental results on both machine translation and text classification benchmark datasets demonstrate the effectiveness of the proposed approach.

📄 PDF Abstract BibTeX arXiv:2004.13342

Code (1)

seunghwan1228/Transfomer-MachineTranslation tf

Tasks

Machine Translationtext-classificationText ClassificationTranslation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

TLM: Token-Level Masking for Transformers

2023-10-28 · Yangjun Wu, Kebin Fang, Dongxiang Zhang, Han Wang 외

Structured dropout approaches, such as attention dropout and DropHead, have been investigated to regularize the multi-head attention mechanism in Transformers. In this paper, we propose a new regularization scheme based …

Data-to-Text GenerationGrammatical Error CorrectionNatural Language UnderstandingText Generation

Scheduled Sampling for Transformers

2019-06-18 · ACL 2019 7 · Tsvetomila Mihaylova, André F. T. Martins

Scheduled sampling is a technique for avoiding one of the known problems in sequence-to-sequence generation: exposure bias. It consists of feeding the model a mix of the teacher forced embeddings and the model prediction…

Sentence

Confidence-Aware Scheduled Sampling for Neural Machine Translation

2021-07-22 · Findings (ACL) 2021 8 · Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu 외

Scheduled sampling is an effective method to alleviate the exposure bias problem of neural machine translation. It simulates the inference scene by randomly replacing ground-truth target input tokens with predicted ones …

Machine TranslationTranslation

Scheduled Sampling Based on Decoding Steps for Neural Machine Translation

2021-08-30 · EMNLP 2021 11 · Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu 외

Scheduled sampling is widely used to mitigate the exposure bias problem for neural machine translation. Its core motivation is to simulate the inference scene during training by replacing ground-truth tokens with predict…

Machine TranslationText SummarizationTranslation

Weight Norm Control

2023-11-19 · Ilya Loshchilov

We note that decoupled weight decay regularization is a particular case of weight norm control where the target norm of weights is set to 0. Any optimization method (e.g., Adam) which uses decoupled weight decay regulari…