HackerPapers

arXiv:2302.06541cs.CL

Towards Agile Text Classifiers for Everyone

Maximilian Mozes, Jessica Hoffmann, Katrin Tomanek, Muhamed Kouate, Nithum Thain, Ann Yuan, Tolga Bolukbasi, Lucas Dixon

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.

arXiv comments
Findings of EMNLP 2023
Journal reference
DOI
Subjects
cs.CLComputation and Language

On Hacker News

Linked by 2 identifiable commenters in 3 comments across 2 threads, from Feb 2023 to Apr 2023.

Comments linking this paper, per year.

Discussed in comments2 threads

  1. The Coming of Local LLMs 2 comments
    • More like: the accessibility is what will make it go around. The accessibility is what changes everything! Getting an easy to use interface (instructions) over python changes the accessibility from the denizens of this website to ~anyone with a computer If you're interested, see…

      yacine_View on HNParent context

    • Re: https://arxiv.org/abs/2302.06541 - how are we supposed to take the phrase "agile text classification" seriously? They could have just said "efficient". But no - they had to go for "agile".

      lisasaysView on HNParent context

    • you can automatically learn soft prompts with backprop so.. the job "prompt engineering" isn't going to stick around for too long given it's automatable. https://arxiv.org/abs/2302.06541 That is not to say, that integrating LLMs won't create a lot of jobs. Think of it as systems…

      yacine_View on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.