Detecting Toxic Communication in Hungarian: Theory, Corpus, and Thread-Conditioned Classification

Péter Hatvani, Gábor Madarász


Abstract
This paper addresses a conceptual and a resource deficit in Hungarian toxicity detection, which to date has been limited to message-level, single-label classification. Conceptually, we introduce an operational framework grounded in Culpeper’s impoliteness theory that distinguishes three tests: face-aggression against the interlocutor (T1), antisocial perlocutionary effect (T2), and community norm violation (T3). Because T2 is already operationalised by prior Hungarian work, we focus on T1 and T3, and we motivate why these are the legally and platform-compliance relevant dimensions. As a resource, we release a silver-annotated corpus of 148,474 conversational comments across 35,431 threads, with a 500-thread human gold subset carrying binary T1/T3 labels plus secondary pragmatic layers, following a thread-level conversational design. As a model, we introduce ModernBERT-HU-4k, a 149M-parameter Hungarian encoder pretrained with a 4,096-token context window and a purpose-built low-fertility tokenizer (1.52), fine-tuned for thread-conditioned per-comment classification and trained on a single consumer GPU. Against a benchmark of eleven zero-shot LLMs on the gold set, the fine-tuned encoder is competitive with the strongest frontier systems, and an ablation shows that thread context helps face-aggression most, precisely where the relational framing predicts. We also document that decomposing the construct yields norm-violation agreement comparable to prior single-label work while revealing face-aggression as a harder, context-dependent sub-problem.
Anthology ID:
2026.woah-1.12
Volume:
Proceedings of the 10th Workshop on Online Abuse and Harms (WOAH)
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Agostina Calabrese, Thomas Davidson, Christine de Kock, Urja Khurana, Marta Marchiori Manerba, Paloma Piot, Zeerak Talat
Venues:
WOAH | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
139–156
Language:
URL:
https://aclanthology.org/2026.woah-1.12/
DOI:
Bibkey:
Cite (ACL):
Péter Hatvani and Gábor Madarász. 2026. Detecting Toxic Communication in Hungarian: Theory, Corpus, and Thread-Conditioned Classification. In Proceedings of the 10th Workshop on Online Abuse and Harms (WOAH), pages 139–156, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Detecting Toxic Communication in Hungarian: Theory, Corpus, and Thread-Conditioned Classification (Hatvani & Madarász, WOAH 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.woah-1.12.pdf
Supplementarymaterial:
 2026.woah-1.12.SupplementaryMaterial.zip