A Federated Learning Approach to Privacy Preserving Offensive Language Identification

Zampieri, Marcos and Dola Mullage, Damith and Ranasinghe, Tharindu (2024) A Federated Learning Approach to Privacy Preserving Offensive Language Identification. In: TRAC-2024: The Fourth Workshop on Threat, Aggression & Cyberbullying @LREC-COLING-2024 : Workshop proceedings. European Language Resources Association (ELRA). ISBN 9782493814470

[thumbnail of 2024.trac-1.2]
Text (2024.trac-1.2)
Download (0B)
[thumbnail of 2024.trac-1.2]
Text (2024.trac-1.2) - Published Version
Download (0B)
[thumbnail of 2024.trac-1.2]
Text (2024.trac-1.2)
2024.trac-1.2.pdf - Published Version
Available under License Creative Commons Attribution-NonCommercial.

Download (396kB)


The spread of various forms of offensive speech online is an important concern in social media. While platforms have been investing heavily in ways of coping with this problem, the question of privacy remains largely unaddressed. Models trained to detect offensive language on social media are trained and/or fine-tuned using large amounts of data often stored in centralized servers. Since most social media data originates from end users, we propose a privacy preserving decentralized architecture for identifying offensive language online by introducing Federated Learning (FL) in the context of offensive language identification. FL is a decentralized architecture that allows multiple models to be trained locally without the need for data sharing hence preserving users' privacy. We propose a model fusion approach to perform FL. We trained multiple deep learning models on four publicly available English benchmark datasets (AHSD, HASOC, HateXplain, OLID) and evaluated their performance in detail. We also present initial cross-lingual experiments in English and Spanish. We show that the proposed model fusion approach outperforms baselines in all the datasets while preserving privacy.

Item Type:
Contribution in Book/Report/Proceedings
Additional Information:
Accepted to TRAC 2024 (Fourth Workshop on Threat, Aggression and Cyberbullying) at LREC-COLING 2024 (The 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation)
Uncontrolled Keywords:
Research Output Funding/no_not_funded
?? cs.clcs.lgno - not funded ??
ID Code:
Deposited By:
Deposited On:
18 Jun 2024 13:55
Last Modified:
16 Jul 2024 05:29