mlsanityData to 7 Oct 2026

Mask-guided BERT for Few Shot Text Classification

arXiv 2302.10447 ↗First posted 21 Feb 2023cs.CL cs.AIcited by 25

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  7. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  9. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  10. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  11. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  12. 2017Axiomatic Attribution for Deep Networkscited by 3,350
38 more
  1. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  3. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  4. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  5. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  6. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  7. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  8. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  9. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  10. 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
  11. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  12. 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 561
  13. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  14. 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 461
  15. 2019How to Fine-Tune BERT for Text Classification?cited by 409
  16. 2021A Survey of Transformerscited by 399
  17. 2018How to train your MAMLcited by 306
  18. 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
  19. 2020Revisiting Few-sample BERT Fine-tuningcited by 237
  20. 2021WARP: Word-level Adversarial ReProgrammingcited by 220
  21. 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
  22. 2017PubMed 200k RCT: a Dataset for Sequential Sentence Classification in Medical Abstractscited by 123
  23. 2021Entailment as Few-Shot Learnercited by 122
  24. 2022Learning from Few Examples: A Summary of Approaches to Few-Shot Learningcited by 86
  25. 2019Induction Networks for Few-Shot Text Classificationcited by 64
  26. 2021CONTaiNER: Few-Shot Named Entity Recognition via Contrastive Learningcited by 64
  27. 2021Few-Shot Intent Detection via Contrastive Pre-Training and Fine-Tuningcited by 46
  28. 2019A Closer Look At Feature Space Data Augmentation For Few-Shot Intent Classificationcited by 45
  29. 2020Meta-learning for Few-shot Natural Language Processing: A Surveycited by 42
  30. 2021Few-Shot Text Classification with Triplet Networks, Data Augmentation, and Curriculum Learningcited by 35
  31. 2022Meta Learning for Natural Language Processing: A Surveycited by 26
  32. 2021NSP-BERT: A Prompt-based Few-Shot Learner Through an Original Pre-training Task--Next Sentence Predictioncited by 23
  33. 2022Label Semantic Aware Pre-training for Few-shot Text Classificationcited by 18
  34. 2022Towards Unified Prompt Tuning for Few-shot Text Classificationcited by 18
  35. 2018Zero and Few Shot Learning with Semantic Feature Synthesis and Competitive Learningcited by 15
  36. 2022Few-Shot Learning with Siamese Networks and Label Tuningcited by 15
  37. 2022Few-shot learning for medical text: A systematic reviewcited by 12
  38. 2022Mask-guided Vision Transformer (MG-ViT) for Few-Shot Learningcited by 10

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year

Citing papers per year: 2023: 18; 2024: 5; 2025: 2.

25 papers.

Sort:

By area:

  1. 2023AugGPT: Leveraging ChatGPT for Text Data Augmentationcited by 128
  2. 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 128
  3. 2024Large Language Models for Robotics: Opportunities, Challenges, and Perspectivescited by 88
  4. 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insightscited by 88
  5. 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
  6. 2023When Brain-inspired AI Meets AGIcited by 54
  7. 2023Evaluating Large Language Models on a Highly-specialized Topic, Radiation Oncology Physicscited by 49
  8. 2023Radiology-GPT: A Large Language Model for Radiologycited by 44
  9. 2023Radiology-Llama2: Best-in-Class Large Language Model for Radiologycited by 42
  10. 2023SAMAug: Point Prompt Augmentation for Segment Anything Modelcited by 38
  11. 2023Differentiate ChatGPT-generated and Human-written Medical Textscited by 26
  12. 2023Segment Anything Model (SAM) for Radiation Oncologycited by 24
13 more
  1. 2023Exploring New Frontiers in Agricultural NLP: Investigating the Potential of Large Language Models for Food Applicationscited by 21
  2. 2023Holistic Evaluation of GPT-4V for Biomedical Imagingcited by 19
  3. 2023RadOnc-GPT: A Large Language Model for Radiation Oncologycited by 18
  4. 2023On the Promises and Challenges of Multimodal Foundation Models for Geographical, Environmental, Agricultural, and Urban Planning Applicationscited by 15
  5. 2023Evaluating Large Language Models for Radiology Natural Language Processingcited by 12
  6. 2023Hierarchical Semantic Tree Concept Whitening for Interpretable Image Classificationcited by 5
  7. 2023Benchmarking a foundation LLM on its ability to re-label structure names in accordance with the AAPM TG-263 reportcited by 5
  8. 2025Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategiescited by 4
  9. 2023PharmacyGPT: The AI Pharmacistcited by 3
  10. 2024Retrospective Comparative Analysis of Prostate Cancer In-Basket Messages: Responses from Closed-Domain LLM vs. Clinical Teamscited by 2
  11. 2024Multi-label Sequential Sentence Classification via Large Language Modelcited by 2
  12. 2025Evaluating The Performance of Using Large Language Models to Automate Summarization of CT Simulation Orders in Radiation Oncologycited by 2
  13. 2024Evaluating Embeddings for One-Shot Classification of Doctor-AI Consultationscited by 0