Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Speaking in Code: Unmasking Implicit Hate Speech with ALBERT
Stockholm University, Faculty of Social Sciences, Department of Computer and Systems Sciences.
Stockholm University, Faculty of Social Sciences, Department of Computer and Systems Sciences.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Despite advances in natural language processing, automatic hate speech detection remains challenging, especially for coded and implicit hate speech. While transformer-based models like BERT and ALBERT have improved contextual understanding, they often struggle with evasive language use. The research investigates "To what extent can ALBERT improve the detection of coded and implicit hate speech compared to other NLP models in this domain?" in order to contribute in the ongoing technical advancements in automatic detection of coded and implicit hate speech. To this end, we fine-tuned an ALBERT model on a dataset that underwent targeted augmentation to 10% of the data to better represent real-world patterns. The resulting model, IHSD-BERT as we named it, was evaluated against hateBERT using a similarly augmented tertiary dataset. The results showed that IHSD-BERT outperformed hateBERT in accuracy by 8%, in macro-F1 by 35%, and in weighted-F1 by 23%. Notably, IHSD-BERT demonstrated a 416% improvement in F1-score for true positives, from 6.49% in hateBERT to 33.46% in IHSD-BERT with an increase in recall by 537%. These findings suggest that lightweight models like ALBERT, when combined with targeted augmentation, can improve the accuracy of nuanced classification tasks like coded and implicit hate speech detection.

Place, publisher, year, edition, pages
2025.
Keywords [en]
Implicit Hate Speech, ALBERT, NLP, Content Moderation, Algospeak
National Category
Natural Language Processing
Identifiers
URN: urn:nbn:se:su:diva-244918OAI: oai:DiVA.org:su-244918DiVA, id: diva2:1981766
Available from: 2025-07-06 Created: 2025-07-06

Open Access in DiVA

fulltext(1646 kB)771 downloads
File information
File name FULLTEXT01.pdfFile size 1646 kBChecksum SHA-512
6be4189eda33f883fee9fe28d8bb8fabfb73071629f4a823f690a8db16cbe5652a80ec36562f8dc506e3b8cb1ade002b85f4c18ba7a738b6885bbec174596433
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Wiberg, AlmaAdar, Emir
By organisation
Department of Computer and Systems Sciences
Natural Language Processing

Search outside of DiVA

GoogleGoogle Scholar
Total: 773 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 880 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf