paper-with-me

홈 › 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, Maosong Sun

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-agnostic and the fine-tuning stage usually suffers from insufficient supervised data, the models cannot always well capture the domain-specific and task-specific patterns. In this paper, we propose a three-stage framework by adding a task-guided pre-training stage with selective masking between general pre-training and fine-tuning. In this stage, the model is trained by masked language modeling on in-domain unsupervised data to learn domain-specific patterns and we propose a novel selective masking strategy to learn task-specific patterns. Specifically, we design a method to measure the importance of each token in sequences and selectively mask the important tokens. Experimental results on two sentiment analysis tasks show that our method can achieve comparable or even better performance with less than 50% of computation cost, which indicates our method is both effective and efficient. The source code of this paper can be obtained from https://github.com/thunlp/SelectiveMasking.

📄 PDF Abstract BibTeX arXiv:2004.09733

Code (1)

thunlp/SelectiveMasking 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMasked Language ModelingSentiment Analysis

Similar Papers 제목 키워드 기반

Self-distilled Masked Attention guided masked image modeling with noise Regularized Teacher (SMART) for medical image analysis

2023-10-02 · Jue Jiang, Aneesh Rangnekar, Chloe Min Seo Choi, Harini Veeraraghavan

Pretraining vision transformers (ViT) with attention guided masked image modeling (MIM) has shown to increase downstream accuracy for natural image analysis. Hierarchical shifted window (Swin) transformer, often used in …

Computed Tomography (CT)Medical Image Analysis

Co-distilled attention guided masked image modeling with noisy teacher for self-supervised learning on medical images

2026-04-16 · Jue Jiang, Aneesh Rangnekar, Harini Veeraraghavan arxiv

Masked image modeling (MIM) is a highly effective self-supervised learning (SSL) approach to extract useful feature representations from unannotated data. Predominantly used random masking methods make SSL less effective…

Lung Nodule ClassificationSelf-Supervised LearningTumor Segmentation

EVIL: Evolving Interpretable Algorithms for Zero-Shot Inference on Event Sequences and Time Series with LLMs

2026-04-17 · David Berghaus arxiv

We introduce EVIL (\textbf{EV}olving \textbf{I}nterpretable algorithms with \textbf{L}LMs), an approach that uses LLM-guided evolutionary search to discover simple, interpretable algorithms for dynamical systems inferenc…

Point Processes

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

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 h…

Language ModellingSentiment AnalysisSentiment Classification