ReZG: Retrieval-Augmented Zero-Shot Counter Narrative Generation for Hate Speech
Shuyu Jiang, Wenyi Tang, Xingshu Chen, Rui Tang, Haizhou Wang, Wenxian Wang
TL;DR
ReZG tackles the challenge of generating high-specificity counter narratives for unseen hate speech targets by coupling a Retrieval-Knowledge module with an Energy-based Generator. It introduces a multi-dimensional SSF retrieval (Stance, Semantics, Fitness) to extract relevant counter-knowledge from an external CMV-based repository and uses differentiable constraints during decoding to preserve retrieved knowledge, counter HS, and maintain fluency in a zero-shot setting. Empirical results show ReZG outperforms strong supervised and zero-shot baselines on automatic and human evaluations, with notable gains in relevance and countering success rate, and strong generalization to unseen HS targets. The approach demonstrates the value of external knowledge and constrained decoding for knowledge-intensive text generation, offering a scalable solution to generate targeted CNs without extensive target-specific annotations.
Abstract
The proliferation of hate speech (HS) on social media poses a serious threat to societal security. Automatic counter narrative (CN) generation, as an active strategy for HS intervention, has garnered increasing attention in recent years. Existing methods for automatically generating CNs mainly rely on re-training or fine-tuning pre-trained language models (PLMs) on human-curated CN corpora. Unfortunately, the annotation speed of CN corpora cannot keep up with the growth of HS targets, while generating specific and effective CNs for unseen targets remains a significant challenge for the model. To tackle this issue, we propose Retrieval-Augmented Zero-shot Generation (ReZG) to generate CNs with high-specificity for unseen targets. Specifically, we propose a multi-dimensional hierarchical retrieval method that integrates stance, semantics, and fitness, extending the retrieval metric from single dimension to multiple dimensions suitable for the knowledge that refutes HS. Then, we implement an energy-based constrained decoding mechanism that enables PLMs to use differentiable knowledge preservation, countering, and fluency constraint functions instead of in-target CNs as control signals for generation, thereby achieving zero-shot CN generation. With the above techniques, ReZG can integrate external knowledge flexibly and improve the specificity of CNs. Experimental results show that ReZG exhibits stronger generalization capabilities and outperforms strong baselines with significant improvements of 2.0%+ in the relevance and 4.5%+ in the countering success rate metrics.
