Contextualized Graph Representations for Generating Counter-Narratives against Hate Speech

Selene Baez Santamaría, Helena Gómez-Adorno, Ilia MarkovEMNLP 2024

Introduction

Hate speech (HS) in online environments is rarely an isolated event; it is typically part of a complex, multi-turn dialogue. Traditional AI systems for generating counter-narratives (CNs)—non-negative, fact-based responses—often treat HS as a single sentence, resulting in generic and robotic rebuttals. To be truly persuasive, a counter-narrative must establish "epistemic common ground" by acknowledging the conversational context. Researchers have addressed this by representing dialogue history as structured graphs, specifically "Graphs of Thought" (GoT) and "Episodic Knowledge Graphs" (eKG), to generate more specific and contextually relevant responses.

Methodology

The proposed architecture utilizes a multi-modal approach to process both raw text and structured conversational data. The pipeline consists of four primary stages:

  1. Graph Construction: Dialogue history is transformed into two graph types. The Graph of Thought (GoT) maps logical flow via subject-predicate-object triples, while the Episodic Knowledge Graph (eKG) tracks the structural provenance of claims (who said what and when).
  2. Dual Encoding: A FLAN-Alpaca (T5-based) encoder processes the text, while a Graph Attention Network (GAT) encodes the structural graph data.
  3. Feature Fusion: A Gated Fusion Layer and Cross-Attention mechanism align text and graph representations, ensuring the model correlates specific graph nodes with textual context.
  4. Decoding: A T5-based decoder generates the final natural language counter-narrative from the fused features.
The multi-modal architecture for generating counter-narratives using graph and text encoders.

Data and Evaluation

The study employs the DIALOCONAN dataset, featuring 3,059 multi-turn dialogues sourced from social media (Twitter, Reddit, Gab) and NGO-created instances. With an average of 5.4 turns per dialogue, it provides the necessary depth for contextual learning.

Key Results and Insights

The research highlights a significant discrepancy between automatic and human evaluations. While automatic metrics like BLEU or ROUGE sometimes favored models that ignored context, human evaluators found graph-based models significantly superior in qualitative aspects.

Human evaluation results comparing text-only and graph-based models across various qualitative metrics.
  • Graphs vs. Plain Text: Models incorporating graph representations consistently outperformed text-only baselines. Graphs allow the model to capture relationships between entities that are lost in flat text strings.
  • Human Preference: The GoT model with context was the top performer in human trials, scoring 4.02/5 for Relatedness and 3.70/5 for Specificity, compared to 3.66 and 3.44 for the text-only model.
  • Content Impact: The "Graph of Thought" (GoT) slightly edged out the "Episodic Knowledge Graph" (eKG) in human evaluations, suggesting that the logical content of an argument is currently more critical for rebuttals than the specific dialogue structure.

Limitations and Future Directions

Despite the improvements, challenges remain. The DIALOCONAN dataset's partially synthetic nature may not fully reflect the non-linear chaos of real-world arguments. Additionally, evaluating counter-narratives remains subjective, with moderate annotator agreement (37.68%). Future work aims to integrate these models with external knowledge bases like Wikidata to ensure that generated counter-narratives are not only persuasive and contextually grounded but also factually accurate.

Summary updated

BibTeX
@inproceedings{santamaria2024contextualized,
  author = {Selene Baez Santamaría and Helena Gómez-Adorno and Ilia Markov},
  title = {{Contextualized Graph Representations for Generating Counter-Narratives against Hate Speech}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.450},
}
Figure