From Dogwhistles to Bullhorns: Unveiling Coded Rhetoric with Language Models
Julia Mendelsohn, Ronan Le Bras, Yejin Choi, Maarten Sap
TL;DR
This work frames dogwhistles as dual-meaning coded rhetoric that challenges existing NLP moderation by enabling covert signals to in-groups while masking hostility to out-groups. It advances the field with a taxonomy, a large living glossary (340 terms, 1,000+ forms), and a case study on historical U.S. Congressional speeches to ground analysis in real data. It then assesses large language models (GPT-3 and GPT-4) on recognizing and surfacing dogwhistles, revealing substantial variability by register, persona, and prompt design, and demonstrates that dogwhistles can evade toxicity detectors like Perspective API. Collectively, the paper provides valuable resources for researchers and highlights important implications for online safety and social science research, while calling for context-aware moderation and further integration with mathematical and computational models to detect and mitigate coded rhetoric at scale.
Abstract
Dogwhistles are coded expressions that simultaneously convey one meaning to a broad audience and a second one, often hateful or provocative, to a narrow in-group; they are deployed to evade both political repercussions and algorithmic content moderation. For example, in the sentence 'we need to end the cosmopolitan experiment,' the word 'cosmopolitan' likely means 'worldly' to many, but secretly means 'Jewish' to a select few. We present the first large-scale computational investigation of dogwhistles. We develop a typology of dogwhistles, curate the largest-to-date glossary of over 300 dogwhistles with rich contextual information and examples, and analyze their usage in historical U.S. politicians' speeches. We then assess whether a large language model (GPT-3) can identify dogwhistles and their meanings, and find that GPT-3's performance varies widely across types of dogwhistles and targeted groups. Finally, we show that harmful content containing dogwhistles avoids toxicity detection, highlighting online risks of such coded language. This work sheds light on the theoretical and applied importance of dogwhistles in both NLP and computational social science, and provides resources for future research in modeling dogwhistles and mitigating their online harms.
