Digitala Vetenskapliga Arkivet

Planned maintenance
A system upgrade is planned for 17/11-2026, at 12:00-13:00. During this time DiVA will be unavailable.
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
Identifying and Analyzing Provocative Text: An XAI Approach to Classification and Feature Selection
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

In this work, several AI models and methods are compared to see whichis best at classifying provocative texts in order to understand which features, such as specific words or kinds of words, are most influential in determining whether a piece of text is classified as provocative. This was done with two different categories of models: the more classical supervised learning models (e.g. RandomForests and Support Vector Machines (SVM) and the more novel transformer based classifiers. After performing a grid search and threshold tuning, the best perfoming classical model was an SVM, which achieved a minority-class F1 of 0.69 on a balanced test set, while the Bayesian XLNet was the best performing transformer, peaking at only 0.28 minority-F1 and 0.61 macro-F1 on skewed data. To understand the underwhelming performance of the models, the uncertainty was using the Bayesian XLNet model and found heteroscedastic aleatoric uncertainty in the data. This means that the task itself has inherent uncertainties. This uncertainty coupled with the skewed dataset explains the struggle of the models well. The models are then used to calculate the SHAP (SHapley Additive exPlanations) values of words to understand what impact individual words have on the classification. While some unexpected terms were found, like get, most words that indicate provocativeness are more explicit, such as stupid. These results are likely due to the underperformance of the models, which were unable to capture more nuanced forms of provocation. Together, the uncertainty and SHAP analyses demonstrate that provocativeness is anuanced, context-dependent phenomenon — data scarcity and label ambiguity limit performance, and no model can fully overcome that innatetask uncertainty. Note: This research paper presents some texts that might be perceived as offensive. Please note that these are only included when necessary for academic reasons and visualisations, and are by no means intended to hurt or offend readers.

Place, publisher, year, edition, pages
2025. , p. 32
Series
UMNAD ; 1574
National Category
Artificial Intelligence
Identifiers
URN: urn:nbn:se:umu:diva-242081OAI: oai:DiVA.org:umu-242081DiVA, id: diva2:1982780
Supervisors
Examiners
Available from: 2025-07-09 Created: 2025-07-08 Last updated: 2025-07-09Bibliographically approved

Open Access in DiVA

fulltext(815 kB)236 downloads
File information
File name FULLTEXT01.pdfFile size 815 kBChecksum SHA-512
d60ad0f4650d73b4c49b8fef00ba537e7e1eb174ba9920e4cb18a77d00f045c306bb60d1f6939309c885583814bc7b3efa2362ea833dd2f92ee42b8ad1aac1c9
Type fulltextMimetype application/pdf

By organisation
Department of Computing Science
Artificial Intelligence

Search outside of DiVA

GoogleGoogle Scholar
Total: 239 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: 345 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