paper-with-me

홈 › Papers

GradMask: Effective Fine-tuning on Large-scale Pretrained Language Models via Gradient Masking

2021-05-24 · Anonymous

Pretrained language models have dominated a variety of NLP tasks. However, fine-tuning large pretrained models on downstream tasks tend to achieve degenerated and unstable results, especially when there are only a limited number of training examples available. Common ways to solve the problem are via regularization like Dropout or other methods designed specially for fine-tuning, which are mainly applied during forward propagation. Orthogonal to them, we propose GradMask, a simple regularization during backward propagation. GradMask masks part of gradients of model parameters to zero after gradients computation, which prevents the overfitting on downstream tasks, and enables the model to explore potentially better solutions. We also propose a layer-adaptive masking strategy to fully transfer knowledge from pretrained models. Experiments demonstrate that fine-tuning BERT-LARGE with GradMask improves 1.26 mean score in 4 smaller datasets in GLUE, and consistent improvements are also gained with other pretrained models. Besides, We empirically find fine-tuning with GradMask enhances learning rate robustness, i.e., achieves promising results at a wide range of learning rate from 10^{-5} to 10^{-4}.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

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 제목 키워드 기반

GradMask: Gradient-Guided Token Masking for Textual Adversarial Example Detection

2021-11-16 · ACL ARR September 2021 9 · Anonymous

We present a simple model-agnostic textual adversarial example detection scheme called GradMask. It uses gradient signals to detect adversarially perturbed tokens in an input sequence and occludes such tokens by a maskin…

GradMask: Reduce Overfitting by Regularizing Saliency

2019-04-16 · Becks Simpson, Francis Dutil, Yoshua Bengio, Joseph Paul Cohen

With too few samples or too many model parameters, overfitting can inhibit the ability to generalise predictions to new data. Within medical imaging, this can occur when features are incorrectly assigned importance such …

Lesion Segmentation

E^2VPT: An Effective and Efficient Approach for Visual Prompt Tuning

2023-07-25 · ICCV 2023 1 · Cheng Han, Qifan Wang, Yiming Cui, Zhiwen Cao 외

As the size of transformer-based models continues to grow, fine-tuning these large-scale pretrained vision models for new tasks has become increasingly parameter-intensive. Parameter-efficient learning has been developed…

Visual Prompt Tuning

Visual Prompt Tuning

2022-03-23 · Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie 외

The current modus operandi in adapting pre-trained models involves updating all the backbone parameters, ie, full fine-tuning. This paper introduces Visual Prompt Tuning (VPT) as an efficient and effective alternative to…

Image ClassificationLong-tail LearningPrompt EngineeringVisual Prompt Tuning

$\mathcal{Y}$-Tuning: An Efficient Tuning Paradigm for Large-Scale Pre-Trained Models via Label Representation Learning

2021-11-16 · ACL ARR November 2021 11 · Anonymous

With the success of large-scale pre-trained models (PTMs), how efficiently adapting PTMs to downstream tasks has attracted tremendous attention, especially for PTMs with billions of parameters. Although some parameter-ef…

Representation Learning