DisCGen: A Framework for Discourse-Informed Counterspeech Generation

Sabit Hassan, Malihe Alikhani
11/29/2023
cs.CL

No official code found. Best implementation: sabithsn/DisCGen (1 star, MIT, last commit 2025-01-02).

Abstract

Counterspeech can be an effective method for battling hateful content on social media. Automated counterspeech generation can aid in this process. Generated counterspeech, however, can be viable only when grounded in the context of topic, audience and sensitivity as these factors influence both the efficacy and appropriateness. In this work, we propose a novel framework based on theories of discourse to study the inferential links that connect counter speeches to the hateful comment. Within this framework, we propose: i) a taxonomy of counterspeech derived from discourse frameworks, and ii) discourse-informed prompting strategies for generating contextually-grounded counterspeech. To construct and validate this framework, we present a process for collecting an in-the-wild dataset of counterspeech from Reddit. Using this process, we manually annotate a dataset of 3.9k Reddit comment pairs for the presence of hatespeech and counterspeech. The positive pairs are annotated for 10 classes in our proposed taxonomy. We annotate these pairs with paraphrased counterparts to remove offensiveness and first-person references. We show that by using our dataset and framework, large language models can generate contextually-grounded counterspeech informed by theories of discourse. According to our human evaluation, our approaches can act as a safeguard against critical failures of discourse-agnostic models.

View on arXivView PDF

Code Implementations(1)

sabithsn/DisCGenCommunity100%
MIT

Repository for the paper "DisCGen: A Framework for Discourse-Aware Counterspeech Generation" (AACL-IJCNLP, 2023)

10Sep 5, 20231 years agoMIT

Similar Papers

Cite this paper

@article{hassan2023discgen,
  title  = {DisCGen: A Framework for Discourse-Informed Counterspeech Generation},
  author = {Sabit Hassan and Malihe Alikhani},
  year   = {2023},
  eprint = {2311.18147},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.18147v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.18147.svg)](https://codeofpaper.com/paper/2311.18147)

Discussion