Introduction
Toxic language detection is a fundamental component of modern content moderation. However, current systems often fail because they treat toxicity as a binary, objective fact rather than a subjective judgment. To address this, researchers have introduced MODELCITIZENS, a novel dataset and suite of models designed to capture the nuances of community-specific perspectives and conversational context.
The Challenge of Subjective Toxicity
Most existing toxicity detection models are trained on datasets where diverse viewpoints are collapsed into a single "ground truth" via majority vote. This approach often erases the lived experiences of targeted communities. For instance, an outgroup annotator might flag a post as toxic due to the presence of a slur, while an ingroup member might recognize it as reclaimed language. Furthermore, evaluating sentences in isolation ignores the conversational "back-and-forth" that defines real-world social media interactions.
The MODELCITIZENS Methodology
The researchers developed a three-step pipeline to create a more representative dataset:
- Sampling: 2,520 posts were selected from the Toxigen dataset, covering eight historically targeted identity groups.
- Context Generation: Using GPT-4o, the team generated synthetic conversational threads (previous comments and follow-ups) for each post, creating both harmful and benign contexts to observe how surrounding dialogue shifts perception.
- Dual-Perspective Annotation: 828 unique annotators provided labels. Crucially, each post was evaluated by both ingroup members (those sharing the targeted identity) and outgroup members.
Using this data, the authors fine-tuned LLaMA-3.1-8B and Gemma-3-12B models—dubbed LLAMACITIZEN and GEMMACITIZEN—optimizing them to align specifically with ingroup perspectives.
Quantifying the Perspective Gap
The study revealed a significant "Disagreement Gap," with ingroup and outgroup annotators disagreeing on 27.5% of posts. The nature of these disagreements is telling: outgroup annotators were more likely to exhibit "amplified harm" (labeling benign content as toxic), while frequently suffering from "missed harm" (failing to identify subtle slights recognized by community members).
The research also found that conversational context is a "double-edged sword." While it provides necessary nuance, it significantly increases the difficulty of the task for standard LLMs. Baseline models like GPT-4o saw a drop in accuracy when processing context-augmented data.
Results and Model Performance
The fine-tuned LLAMACITIZEN-8B model demonstrated superior performance, outperforming GPT-4o-mini by 5.5% on in-distribution evaluations and showing a 10.9% accuracy gain over the base LLaMA-3.1-8B model. It also proved robust, maintaining high F1 scores on out-of-distribution datasets such as HateModerate and Counter-Context.
In contrast, current state-of-the-art models (e.g., Gemini-2.0-Flash) struggled with conversational flow, achieving an average accuracy of only 59.6% on context-heavy subsets. This suggests that training on community-specific labels provides a cleaner, more reliable signal for safety than aggregated majority votes.
Conclusion and Future Directions
MODELCITIZENS represents a shift toward more inclusive AI safety. While the current study focuses on eight identity groups and synthetic context, it lays the groundwork for future expansions into intersectional identities and real-world conversational data. By prioritizing community voices, researchers can build moderation tools that are truly protective rather than merely performative.
Summary updated