paper-with-me

홈 › Papers

Using Selective Masking as a Bridge between Pre-training and Fine-tuning

2022-11-24 · Tanish Lad, Himanshu Maheshwari, Shreyas Kottukkal, Radhika Mamidi

Pre-training a language model and then fine-tuning it for downstream tasks has demonstrated state-of-the-art results for various NLP tasks. Pre-training is usually independent of the downstream task, and previous works have shown that this pre-training alone might not be sufficient to capture the task-specific nuances. We propose a way to tailor a pre-trained BERT model for the downstream task via task-specific masking before the standard supervised fine-tuning. For this, a word list is first collected specific to the task. For example, if the task is sentiment classification, we collect a small sample of words representing both positive and negative sentiments. Next, a word's importance for the task, called the word's task score, is measured using the word list. Each word is then assigned a probability of masking based on its task score. We experiment with different masking functions that assign the probability of masking based on the word's task score. The BERT model is further trained on MLM objective, where masking is done using the above strategy. Following this standard supervised fine-tuning is done for different downstream tasks. Results on these tasks show that the selective masking strategy outperforms random masking, indicating its effectiveness.

📄 PDF Abstract BibTeX arXiv:2211.13815

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingSentiment AnalysisSentiment Classification

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Weight Decay 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

Train No Evil: Selective Masking for Task-Guided Pre-Training

2020-04-21 · EMNLP 2020 11 · Yuxian Gu, Zhengyan Zhang, Xiaozhi Wang, Zhiyuan Liu 외

Recently, pre-trained language models mostly follow the pre-train-then-fine-tuning paradigm and have achieved great performance on various downstream tasks. However, since the pre-training stage is typically task-agnosti…

Language ModelingLanguage ModellingMasked Language ModelingSentiment Analysis

Selective Masking based Self-Supervised Learning for Image Semantic Segmentation

2025-12-07 · Yuemin Wang, Ian Stavness arxiv

This paper proposes a novel self-supervised learning method for semantic segmentation using selective masking image reconstruction as the pretraining task. Our proposed method replaces the random masking augmentation use…

Self-Supervised LearningSemantic SegmentationImage Reconstruction

Do not Mask Randomly: Effective Domain-adaptive Pre-training by Masking In-domain Keywords

2023-07-14 · Shahriar Golchin, Mihai Surdeanu, Nazgol Tavabi, Ata Kiapour

We propose a novel task-agnostic in-domain pre-training method that sits between generic pre-training and fine-tuning. Our approach selectively masks in-domain keywords, i.e., words that provide a compact representation …

Masking as an Efficient Alternative to Finetuning for Pretrained Language Models

2020-04-26 · EMNLP 2020 11 · Mengjie Zhao, Tao Lin, Fei Mi, Martin Jaggi 외

We present an efficient method of utilizing pretrained language models, where we learn selective binary masks for pretrained weights in lieu of modifying them through finetuning. Extensive evaluations of masking BERT and…

Step-by-Step Unmasking for Parameter-Efficient Fine-tuning of Large Language Models

2024-08-26 · Aradhye Agarwal, Suhas K Ramesh, Ayan Sengupta, Tanmoy Chakraborty

Fine-tuning large language models (LLMs) on downstream tasks requires substantial computational resources. A class of parameter-efficient fine-tuning (PEFT) aims to mitigate these computational challenges by selectively …

Computational EfficiencyNatural Language Understandingparameter-efficient fine-tuning