NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Silent Signals, Loud Impact: LLMs for Word-Sense Disambiguation of Coded Dog Whistles

Julia Kruk, Michela Marchini, Rijul Magu, Caleb Ziems, David Muchlinski, Diyi Yang

Introduction

Standard hate speech detection systems often fail to identify "dog whistles"—coded language designed to convey harmful, discriminatory meanings to specific in-groups while maintaining "plausible deniability" for the general public. For instance, while the word "soy" typically refers to a legume, it is frequently weaponized in certain online subcultures to denigrate individuals as weak or effeminate. This linguistic ambiguity allows speakers to evade automated filters and social sanctions.

The Nuances of Dog Whistles: Coded language like 'soy' conveys hidden meanings to specific in-groups while appearing innocuous to the general public.

Methodology: Dog Whistle Detection as WSD

To address this challenge, researchers have reframed dog whistle detection as a Word-Sense Disambiguation (WSD) task. Rather than performing broad toxicity classification, the approach focuses on determining whether a specific keyword is used in its "standard" sense or its "coded" sense within a given context.

The technical pipeline involves three primary stages:

  1. Keyword Matching: Using a curated glossary of dog whistles, the team scanned over 7 million records from Reddit (2005–2023) and U.S. Congressional records (1900–2023).
  2. Contrastive LLM Prompting: Large Language Models (LLMs) including GPT-4, Mixtral, and Gemini were provided with keyword definitions and contrastive examples to improve disambiguation accuracy.
  3. Consistency-Based Ensemble: To ensure high data quality and mitigate LLM hallucinations, a prediction was only accepted if the model produced the same label across multiple independent inferences ($N=3$ or $5$). This method prioritized precision over recall, achieving a precision rate of 96.2% with GPT-4.

The Silent Signals Dataset

The primary output of this research is Silent Signals, the largest disambiguated dataset of coded speech to date. It contains 16,550 high-confidence examples, spanning both informal discourse (Reddit) and formal political rhetoric (Congressional records). Additionally, the researchers released a "silver-standard" collection of 7 million potential instances for future large-scale analysis.

Key Results and Insights

The study revealed that LLMs possess a higher "coded-language literacy" than the average person, significantly outperforming human workers in identifying subtle dog whistles. GPT-4 emerged as the most capable model for these tasks.

Furthermore, the temporal distribution of dog whistles in the dataset aligns closely with historical events. For example, racial dog whistles in Congressional records showed significant spikes during the Civil Rights Era and the 2016 U.S. election cycle. A notable challenge identified was "referential speech," where users discuss or critique a dog whistle without intending to promote its harmful meaning, accounting for approximately 10.6% of initial false positives.

Conclusion and Future Work

While glossary-based approaches face challenges from linguistic evolution (neology), the Silent Signals dataset provides a robust foundation for training more accessible, real-time content moderation tools. Future efforts will focus on fine-tuning smaller, open-source models to detect these "silent signals" efficiently across diverse digital platforms.

Summary updated

BibTeX
@inproceedings{kruk2024silent,
  author = {Julia Kruk and Michela Marchini and Rijul Magu and Caleb Ziems and David Muchlinski and Diyi Yang},
  title = {{Silent Signals, Loud Impact: LLMs for Word-Sense Disambiguation of Coded Dog Whistles}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.675},
}
Figure