15 May 2026 in IEEE Transactions on Computational Social Systems
The proliferation of hate speech on social media presents an escalating threat to both public discourse and individual mental well-being. Traditional strategies that prioritize detection and removal often neglect to engage directly with hate speakers or address the underlying causes of their hostility. This article proposes HateMediator, a dialogue-based intervention framework that fine-tunes large language models (LLMs) to generate persuasive, context-aware counter-hate speech. The framework emphasizes two core aspects: the generation of effective counter-hate responses and their evaluation through multiturn dialogues. Our fine-tuning approach integrates tutorial-based learning with critical token guidance, enabling LLMs to recognize and reproduce strategic rhetorical patterns observed in expert interventions. To support training and evaluation, we introduce the MedHate dataset, grounded in social science theory, comprising complete dialogue records from 85 real-world hate incidents (including 255 dialogues), expert-crafted counter-responses, and feedback from the original hate speakers. Experimental results show that HateMediator consistently outperforms baseline LLMs across multiple evaluation dimensions. This study advances both the technical frontier of hate speech intervention and the ethical deployment of LLMs in addressing complex social issues.