Preprint
Abstract
Text-based safety classifiers are widely used for content moderation and increasingly to tune generative language model behavior - a topic of growing concern for the safety of digital assistants and chatbots. However, different policies require different classifiers, and safety policies themselves improve from iteration and adaptation. This paper introduces and evaluates methods for agile text classification, whereby classifiers are trained using small, targeted datasets that can be quickly developed for a particular policy. Experimenting with 7 datasets from three safety-related domains, comprising 15 annotation schemes, led to our key finding: prompt-tuning large language models, like PaLM 62B, with a labeled dataset of as few as 80 examples can achieve state-of-the-art performance. We argue that this enables a paradigm shift for text classification, especially for models supporting safer online discourse. Instead of collecting millions of examples to attempt to create universal safety classifiers over months or years, classifiers could be tuned using small datasets, created by individuals or small organizations, tailored for specific use cases, and iterated on and adapted in the time-span of a day.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- QAmeleon: Multilingual QA with Only 5 ExamplesTransactions of the Association for Computational Linguistics, 2023
- Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPTransactions of the Association for Computational Linguistics, 2021
- The fabrics of machine moderation: Studying the technical, normative, and organizational structure of Perspective APIBig Data & Society, 2021
- The Power of Scale for Parameter-Efficient Prompt Tuning2021
- Challenges in Automated Debiasing for Toxic Language Detection2021
- Prefix-Tuning: Optimizing Continuous Prompts for Generation2021
- HateBERT: Retraining BERT for Abusive Language Detection in English2021
- Six Attributes of Unhealthy Conversations2020
- The SFU Opinion and Comments Corpus: A Corpus for the Analysis of Online News CommentsCorpus Pragmatics, 2019
- Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classification2019