Mask-guided BERT for Few Shot Text Classification
Not on the map. Why?
Abstract (arXiv)
Transformer-based language models have achieved significant success in various domains. However, the data-intensive nature of the transformer architecture requires much labeled data, which is challenging in low-resource scenarios (i.e., few-shot learning (FSL)). The main challenge of FSL is the difficulty of training robust models on small amounts of samples, which frequently leads to overfitting. Here we present Mask-BERT, a simple and modular framework to help BERT-based architectures tackle FSL. The proposed approach fundamentally differs from existing FSL strategies such as prompt tuning and meta-learning. The core idea is to selectively apply masks on text inputs and filter out irrelevant information, which guides the model to focus on discriminative tokens that influence prediction results. In addition, to make the text representations from different categories more separable and the text representations from the same category more compact, we introduce a contrastive learning loss function. Experimental results on public-domain benchmark datasets demonstrate the effectiveness of Mask-BERT.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 52 of its 75 references that are in the map. First posted on arXiv 21 Feb 2023.
Builds on
52 of 75 references.
References · 52
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
38 more
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 561
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
- 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 461
- 2019How to Fine-Tune BERT for Text Classification?cited by 409
- 2021A Survey of Transformerscited by 399
- 2018How to train your MAMLcited by 306
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2020Revisiting Few-sample BERT Fine-tuningcited by 237
- 2021WARP: Word-level Adversarial ReProgrammingcited by 220
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2017PubMed 200k RCT: a Dataset for Sequential Sentence Classification in Medical Abstractscited by 123
- 2021Entailment as Few-Shot Learnercited by 122
- 2022Learning from Few Examples: A Summary of Approaches to Few-Shot Learningcited by 86
- 2019Induction Networks for Few-Shot Text Classificationcited by 64
- 2021CONTaiNER: Few-Shot Named Entity Recognition via Contrastive Learningcited by 64
- 2021Few-Shot Intent Detection via Contrastive Pre-Training and Fine-Tuningcited by 46
- 2019A Closer Look At Feature Space Data Augmentation For Few-Shot Intent Classificationcited by 45
- 2020Meta-learning for Few-shot Natural Language Processing: A Surveycited by 42
- 2021Few-Shot Text Classification with Triplet Networks, Data Augmentation, and Curriculum Learningcited by 35
- 2022Meta Learning for Natural Language Processing: A Surveycited by 26
- 2021NSP-BERT: A Prompt-based Few-Shot Learner Through an Original Pre-training Task--Next Sentence Predictioncited by 23
- 2022Label Semantic Aware Pre-training for Few-shot Text Classificationcited by 18
- 2022Towards Unified Prompt Tuning for Few-shot Text Classificationcited by 18
- 2018Zero and Few Shot Learning with Semantic Feature Synthesis and Competitive Learningcited by 15
- 2022Few-Shot Learning with Siamese Networks and Label Tuningcited by 15
- 2022Few-shot learning for medical text: A systematic reviewcited by 12
- 2022Mask-guided Vision Transformer (MG-ViT) for Few-Shot Learningcited by 10
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2023: 18; 2024: 5; 2025: 2.
25 papers.
Sort:
By area:
- 2023AugGPT: Leveraging ChatGPT for Text Data Augmentationcited by 128
- 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 128
- 2024Large Language Models for Robotics: Opportunities, Challenges, and Perspectivescited by 88
- 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insightscited by 88
- 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
- 2023When Brain-inspired AI Meets AGIcited by 54
- 2023Evaluating Large Language Models on a Highly-specialized Topic, Radiation Oncology Physicscited by 49
- 2023Radiology-GPT: A Large Language Model for Radiologycited by 44
- 2023Radiology-Llama2: Best-in-Class Large Language Model for Radiologycited by 42
- 2023SAMAug: Point Prompt Augmentation for Segment Anything Modelcited by 38
- 2023Differentiate ChatGPT-generated and Human-written Medical Textscited by 26
- 2023Segment Anything Model (SAM) for Radiation Oncologycited by 24
13 more
- 2023Exploring New Frontiers in Agricultural NLP: Investigating the Potential of Large Language Models for Food Applicationscited by 21
- 2023Holistic Evaluation of GPT-4V for Biomedical Imagingcited by 19
- 2023RadOnc-GPT: A Large Language Model for Radiation Oncologycited by 18
- 2023On the Promises and Challenges of Multimodal Foundation Models for Geographical, Environmental, Agricultural, and Urban Planning Applicationscited by 15
- 2023Evaluating Large Language Models for Radiology Natural Language Processingcited by 12
- 2023Hierarchical Semantic Tree Concept Whitening for Interpretable Image Classificationcited by 5
- 2023Benchmarking a foundation LLM on its ability to re-label structure names in accordance with the AAPM TG-263 reportcited by 5
- 2025Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategiescited by 4
- 2023PharmacyGPT: The AI Pharmacistcited by 3
- 2024Retrospective Comparative Analysis of Prostate Cancer In-Basket Messages: Responses from Closed-Domain LLM vs. Clinical Teamscited by 2
- 2024Multi-label Sequential Sentence Classification via Large Language Modelcited by 2
- 2025Evaluating The Performance of Using Large Language Models to Automate Summarization of CT Simulation Orders in Radiation Oncologycited by 2
- 2024Evaluating Embeddings for One-Shot Classification of Doctor-AI Consultationscited by 0
- 2025Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategies9 May 2025
- 2025Evaluating The Performance of Using Large Language Models to Automate Summarization of CT Simulation Orders in Radiation Oncology27 Jan 2025
- 2024Multi-label Sequential Sentence Classification via Large Language Model23 Nov 2024
- 2024Retrospective Comparative Analysis of Prostate Cancer In-Basket Messages: Responses from Closed-Domain LLM vs. Clinical Teams26 Sep 2024
- 2024Evaluating Embeddings for One-Shot Classification of Doctor-AI Consultations6 Feb 2024
- 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insights22 Jan 2024
- 2024Large Language Models for Robotics: Opportunities, Challenges, and Perspectives9 Jan 2024
- 2023On the Promises and Challenges of Multimodal Foundation Models for Geographical, Environmental, Agricultural, and Urban Planning Applications23 Dec 2023
- 2023Holistic Evaluation of GPT-4V for Biomedical Imaging10 Nov 2023
- 2023Benchmarking a foundation LLM on its ability to re-label structure names in accordance with the AAPM TG-263 report5 Oct 2023
- 2023RadOnc-GPT: A Large Language Model for Radiation Oncology18 Sep 2023
- 2023Radiology-Llama2: Best-in-Class Large Language Model for Radiology29 Aug 2023
13 more
- 2023Evaluating Large Language Models for Radiology Natural Language Processing25 Jul 2023
- 2023PharmacyGPT: The AI Pharmacist19 Jul 2023
- 2023Hierarchical Semantic Tree Concept Whitening for Interpretable Image Classification10 Jul 2023
- 2023SAMAug: Point Prompt Augmentation for Segment Anything Model3 Jul 2023
- 2023Review of Large Vision Models and Visual Prompt Engineering3 Jul 2023
- 2023Exploring New Frontiers in Agricultural NLP: Investigating the Potential of Large Language Models for Food Applications20 Jun 2023
- 2023Segment Anything Model (SAM) for Radiation Oncology20 Jun 2023
- 2023Radiology-GPT: A Large Language Model for Radiology14 Jun 2023
- 2023Differentiate ChatGPT-generated and Human-written Medical Texts23 Apr 2023
- 2023Evaluating Large Language Models on a Highly-specialized Topic, Radiation Oncology Physics1 Apr 2023
- 2023When Brain-inspired AI Meets AGI28 Mar 2023
- 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-420 Mar 2023
- 2023AugGPT: Leveraging ChatGPT for Text Data Augmentation25 Feb 2023
- 2023AugGPT: Leveraging ChatGPT for Text Data Augmentationcited by 128
- 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 128
- 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insightscited by 88
- 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
- 2023When Brain-inspired AI Meets AGIcited by 54
- 2023Evaluating Large Language Models on a Highly-specialized Topic, Radiation Oncology Physicscited by 49
- 2023Radiology-GPT: A Large Language Model for Radiologycited by 44
- 2023Radiology-Llama2: Best-in-Class Large Language Model for Radiologycited by 42
- 2023SAMAug: Point Prompt Augmentation for Segment Anything Modelcited by 38
- 2023Differentiate ChatGPT-generated and Human-written Medical Textscited by 26
- 2023Segment Anything Model (SAM) for Radiation Oncologycited by 24
- 2023Exploring New Frontiers in Agricultural NLP: Investigating the Potential of Large Language Models for Food Applicationscited by 21
12 most cited of 24 All 24 (JSON)
- 2025Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategies9 May 2025
- 2025Evaluating The Performance of Using Large Language Models to Automate Summarization of CT Simulation Orders in Radiation Oncology27 Jan 2025
- 2024Multi-label Sequential Sentence Classification via Large Language Model23 Nov 2024
- 2024Retrospective Comparative Analysis of Prostate Cancer In-Basket Messages: Responses from Closed-Domain LLM vs. Clinical Teams26 Sep 2024
- 2024Evaluating Embeddings for One-Shot Classification of Doctor-AI Consultations6 Feb 2024
- 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insights22 Jan 2024
- 2023On the Promises and Challenges of Multimodal Foundation Models for Geographical, Environmental, Agricultural, and Urban Planning Applications23 Dec 2023
- 2023Holistic Evaluation of GPT-4V for Biomedical Imaging10 Nov 2023
- 2023Benchmarking a foundation LLM on its ability to re-label structure names in accordance with the AAPM TG-263 report5 Oct 2023
- 2023RadOnc-GPT: A Large Language Model for Radiation Oncology18 Sep 2023
- 2023Radiology-Llama2: Best-in-Class Large Language Model for Radiology29 Aug 2023
- 2023Evaluating Large Language Models for Radiology Natural Language Processing25 Jul 2023
12 newest of 24 All 24 (JSON)