Active Learning for Finding a Needle in a Haystack
Abstract
Training a classifier to find a rare class of documents, such as hate speech directed at a particular religious group, requires labelled examples that are expensive to obtain when the class makes up only a small fraction of a corpus. Active learning reduces this cost, but it must start from an initial labelled set that contains examples of the target class. Random sampling cannot supply these at reasonable cost, so they must be selected in some other way, such as keyword search, and any such selection biases the initial set towards part of the target class. We evaluate whether active learning can correct this bias. On AG News and Measuring Hate Speech, at a prevalence of around 1%, we compare random sampling with eight active learning strategies, starting from initial sets that cover or omit known subgroups of the target class, and measure recall on the omitted subgroups as well as F1. On AG News, almost every strategy recovers the omitted subgroup. On Measuring Hate Speech, uncertainty-based strategies recover less of the omitted subgroups than random sampling, whereas discriminative active learning recovers 55% of them without a significant loss of F1. Aggregate metrics conceal these differences.
Create a lesson
Related papers
Pushback in a Haystack: Language Models Respond to Factual Errors Ambiguously and Ineffectively
Shared title terminologycs.CLLi Lucy, Myra Cheng, Svenja Guhr et al.
Towards Enriching Design-Time Models with Evidence from Simulation and Operational Activities
Shared title terminologycs.CLBarbara da Silva Oliveira, Julien Deantoni, Nicolas Ferry
Surfing the Activation Wave: Analyzing the Information and Geometry of LLM Hidden States for Speculative Decoding
Shared title terminologycs.CLRaghavv Goel, Sudhanshu Agrawal, Mukul Gagrani et al.
Activating the Annotator: Operationalising Lived Experience in Data Annotation
Shared title terminologycs.CLSheza Munir, Ramaravind Kommiya Mothilal, Syed Ishtiaque Ahmed