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

Joint Detection of Constructive Speech, Hate Speech and Agreement in Online Conversations

Ida Dencker, Simon Karg, Kenneth EnevoldsenarXiv 2026

TL;DR

As major social media platforms dial back content moderation, bystander "counterspeech" is becoming a crucial frontline defense against online toxicity. Researchers at Aarhus University built a lightweight, multilingual AI classifier that reads social media threads and simultaneously detects hate speech, constructive counterspeech, and whether users are agreeing with one another—even when a single comment manages to be both constructive and insulting at the exact same time.

What Problem Does This Paper Address?

Online hate speech doesn't just ruin moods; it drives people out of public debates and polarizes digital spaces. With platforms like X and Meta scaling back top-down moderation, researchers are looking closely at constructive counterspeech—prosocial replies that shield victims, evoke empathy, or calmly correct misperceptions.

To study whether counterspeech actually heals toxic threads at scale, we need automated tools to track these dynamics. Historically, Natural Language Processing (NLP) models have treated hate speech and constructive speech as separate, binary problems, usually grading isolated comments in a vacuum without looking at the parent post. Furthermore, human communication is messy: someone can defend a marginalized group (constructive) while hurling an insult at the original poster (hateful). Existing single-label systems miss this nuance, and mid-to-low-resource languages like Danish have lacked datasets for constructive speech entirely.

Figure 1: Example conversations with annotations.

Methods

Instead of relying on massive, expensive generative LLMs, the authors fine-tuned four lightweight, encoder-based multilingual models (which can be run locally at high speed): xlm-roberta-large, multilingual-e5-large, twitter-xlm-roberta-base, and mmBERT-base.

What makes their architecture neat is its multi-task, non-exclusive setup. For any given reply, a single model outputs nine logits divided into three independent 3-way classification tasks:

  1. Hateful: Yes / No / Unclassifiable
  2. Constructive: Yes / No / Unclassifiable
  3. Agreement (with the parent post): Agree / Disagree / Unclear

Including an explicit "Unclassifiable/Unclear" bucket prevents spam or cryptic, link-only replies from muddying the binary predictions. To test how much conversational context matters, the team trained two variants of each model: a non-context-enriched version (fed only the reply) and a context-enriched version (fed both the parent text and the reply, separated by a [SEP] token).

Comparison of inputs for non-context-enriched versus context-enriched models.

Datasets

The authors compiled and annotated a new multilingual benchmark of 7,388 reference–reply pairs spanning 2008 to 2022:

  • English (6,199 pairs): Sampled from existing corpora of US political tweets (5,199 pairs), plus 500 pairs each from Reddit and Gab originally collected via hate-speech keywords.
  • Danish (1,189 pairs): Sampled from a broader collection of everyday and political Danish tweets.

This represents the first annotated dataset for constructive speech in Danish, as well as the first to jointly annotate hate, constructiveness, and agreement together. Notably, the dataset reflects real-world class imbalances: hateful content makes up only 10.5%–16.3% of the data, and constructive speech accounts for 13.5%–20.7%.

Key Insights and Ideas

  • Context isn't a silver bullet: Surprisingly, feeding the parent comment into the model (context-enriched) yielded only tiny, inconsistent improvements—and actually hurt the performance of twitter-xlm-roberta-base. Replies often carry enough standalone lexical signal for encoder models to classify tone without seeing what triggered them.
  • Stance is harder than tone: Across every single model, detecting Agreement was tougher than detecting Hate or Constructiveness. Figuring out if someone is sarcastically agreeing or subtly dissenting requires deeper pragmatic reasoning than spotting hostility or empathy.
  • Humans find this hard, too: Inter-rater agreement among trained human coders was relatively modest (Krippendorff’s alpha ranged from 0.36 to 0.58 across tasks and languages), underscoring just how subjective and culturally nuanced "constructiveness" and "hate" really are.

Key Results

Overall, fine-tuned multilingual encoders proved highly capable of juggling all three tasks at once:

  • Top Performer: multilingual-e5-large took the crown in both setups, achieving an 82.0% average F1 score with context and 81.6% without context.
  • Task Breakdown (Best Model): With context, multilingual-e5-large scored 0.88 F1 on Constructive speech, 0.86 F1 on Hate speech, and 0.72 F1 on Agreement.
  • Minority Class Bottlenecks: Models excelled at spotting the majority "No" classes (F1 scores > 0.90), while "Unclassifiable/Unclear" and positive "Yes" labels were noticeably harder to pin down due to scarcity and ambiguity.
  • In an appendix benchmark, the authors' fine-tuned models also substantially outperformed Jev, a specialized fast-classification decision model, particularly on Danish text.

Limitations and Future Work

The authors highlight three main constraints:

  1. Text-only blinders: Online vitriol and counterspeech frequently play out via memes, images, and videos, whereas these models only read text (and mostly political text at that).
  2. Broad brushstrokes: Using coarse Yes/No buckets doesn't distinguish how someone is being constructive (e.g., offering hard facts vs. expressing empathy), even though different strategies have different real-world impacts.
  3. Language scope: While built on multilingual backbones, the system is only trained and verified on English and Danish.

Future work could integrate multimodal vision-language models, break counterspeech down into finer-grained psychological strategies, and expand annotations into new languages and cultural spaces.

Summary updated

BibTeX
@misc{dencker2026joint,
  author = {Ida Dencker and Simon Karg and Kenneth Enevoldsen},
  title = {{Joint Detection of Constructive Speech, Hate Speech and Agreement in Online Conversations}},
  year = {2026},
  eprint = {2611.32889},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32889},
}
Figure