Learn from Failure: Causality-guided Contrastive Learning for Generalizable Implicit Hate Speech Detection

Tianming Jiang


Abstract
Implicit hate speech presents a significant challenge for automatic detection systems due to its subtlety and ambiguity. Traditional models trained using empirical risk minimization (ERM) often rely on correlations between class labels and spurious attributes, which leads to poor performance on data lacking these correlations. In this paper, we propose a novel approach using causality-guided contrastive learning (CCL) to enhance the generalizability of implicit hate speech detection. Since ERM tends to identify spurious attributes, CCL works by aligning the representations of samples with the same class but opposite spurious attributes, identified through ERM’s inference failure. This method reduces the model’s reliance on spurious correlations, allowing it to learn more robust features and handle diverse, nuanced contexts better. Our extensive experiments on multiple implicit hate speech datasets show that our approach outperforms current state-of-the-art methods in cross-domain generalization.
Anthology ID:
2025.coling-main.593
Volume:
Proceedings of the 31st International Conference on Computational Linguistics
Month:
January
Year:
2025
Address:
Abu Dhabi, UAE
Editors:
Owen Rambow, Leo Wanner, Marianna Apidianaki, Hend Al-Khalifa, Barbara Di Eugenio, Steven Schockaert
Venue:
COLING
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
8858–8867
Language:
URL:
https://aclanthology.org/2025.coling-main.593/
DOI:
Bibkey:
Cite (ACL):
Tianming Jiang. 2025. Learn from Failure: Causality-guided Contrastive Learning for Generalizable Implicit Hate Speech Detection. In Proceedings of the 31st International Conference on Computational Linguistics, pages 8858–8867, Abu Dhabi, UAE. Association for Computational Linguistics.
Cite (Informal):
Learn from Failure: Causality-guided Contrastive Learning for Generalizable Implicit Hate Speech Detection (Jiang, COLING 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.coling-main.593.pdf