mlsanityData to 14 Oct 2026

Improving Few-shot Generalization of Safety Classifiers via Data Augmented Parameter-Efficient Fine-Tuning

arXiv 2310.16959 ↗First posted 25 Oct 2023cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

As large language models (LLMs) are widely adopted, new safety issues and policies emerge, to which existing safety classifiers do not generalize well. If we have only observed a few examples of violations of a new safety rule, how can we build a classifier to detect violations? In this paper, we study the novel setting of domain-generalized few-shot learning for LLM-based text safety classifiers. Unlike prior few-shot work, these new safety issues can be hard to uncover and we do not get to choose the few examples. We demonstrate that existing few-shot techniques do not perform well in this setting, and rather we propose to do parameter-efficient fine-tuning (PEFT) combined with augmenting training data based on similar examples in prior existing rules. We empirically show that our approach of similarity-based data-augmentation + prompt-tuning (DAPT) consistently outperforms baselines that either do not rely on data augmentation or on PEFT by 7-17% F1 score in the Social Chemistry moral judgement and 9-13% AUC in the Toxicity detection tasks, even when the new rule is loosely correlated with existing ones.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 37 of its 50 references that are in the map. First posted on arXiv 25 Oct 2023.

Builds on

37 of 50 references.

References · 37

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  9. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  10. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  11. 2020In Search of Lost Domain Generalizationcited by 1,054
  12. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
25 more
  1. 2013Domain Generalization via Invariant Feature Representationcited by 623
  2. 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 380
  3. 2020Social Chemistry 101: Learning to Reason about Social and Moral Normscited by 255
  4. 2017Few-Shot Adversarial Domain Adaptationcited by 111
  5. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  6. 2019Learning to Few-Shot Learn Across Diverse Natural Language Classification Taskscited by 57
  7. 2020Improving Zero and Few-Shot Abstractive Summarization with Intermediate Fine-tuning and Data Augmentationcited by 53
  8. 2021Boosting the Generalization Capability in Cross-Domain Few-shot Learning via Noise-enhanced Supervised Autoencodercited by 51
  9. 2019A Closer Look At Feature Space Data Augmentation For Few-Shot Intent Classificationcited by 45
  10. 2022Unsupervised Cross-Task Generalization via Retrieval Augmentationcited by 42
  11. 2023COBRA Frames: Contextual Reasoning about Effects and Harms of Offensive Statementscited by 34
  12. 2021UDALM: Unsupervised Domain Adaptation through Language Modelingcited by 33
  13. 2022Continual Training of Language Models for Few-Shot Learningcited by 33
  14. 2021FlipDA: Effective and Robust Data Augmentation for Few-Shot Learningcited by 32
  15. 2022A Data-Based Perspective on Transfer Learningcited by 32
  16. 2019Adversarial Domain Adaptation for Machine Reading Comprehensioncited by 21
  17. 2020Meta-Learning for Few-Shot NMT Adaptationcited by 20
  18. 2021Meta-Learning Adversarial Domain Adaptation Network for Few-Shot Text Classificationcited by 18
  19. 2019Unsupervised Domain Adaptation of Language Models for Reading Comprehensioncited by 15
  20. 2023Towards Agile Text Classifiers for Everyonecited by 13
  21. 2023Model-tuning Via Prompts Makes NLP Models Adversarially Robustcited by 9
  22. 2020Knowledge Guided Metric Learning for Few-Shot Text Classificationcited by 8
  23. 2021Few-shot learning through contextual data augmentationcited by 8
  24. 2021Few-shot Learning for Slot Tagging with Attentive Relational Networkcited by 6
  25. 2022AdaptKeyBERT: An Attention-Based approach towards Few-Shot & Zero-Shot Domain Adaptation of KeyBERTcited by 2

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 2; 2025: 1.

4 papers.