Identifying and Analyzing Provocative Text: An XAI Approach to Classification and Feature Selection
Notice bibliographique
Résumé
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.
Récupéré en direct depuis OpenAlex et désinversé. Les résumés ne sont pas conservés dans cette base de données : les index inversés représentent 8,6 Go des 9,3 Go de texte de la base, et le serveur dispose de 13 Go libres.
Comment cette classification a été obtenuedéplier
Prédiction distillée sur la base complète
Imitation des enseignantsNi prévalence calibrée, ni vérité terrain. Validation humaine à venir. Apprise à partir de 10 348 étiquettes directes de Codex et de 10 348 étiquettes directes de Gemma. Le mode candidate est l'union des têtes enseignantes seuillées; le consensus est leur intersection. Ces sorties portent le statut machine_predicted_unvalidated et ne sont ni des étiquettes humaines ni des étiquettes directes de modèles de pointe.
Scores Codex et Gemma par catégorie
| Catégorie | Codex | Gemma |
|---|---|---|
| Métarecherche | 0,000 | 0,000 |
| Méta-épidémiologie (sens strict) | 0,000 | 0,000 |
| Méta-épidémiologie (sens large) | 0,000 | 0,000 |
| Bibliométrie | 0,001 | 0,002 |
| Études des sciences et des technologies | 0,001 | 0,000 |
| Communication savante | 0,000 | 0,001 |
| Science ouverte | 0,001 | 0,001 |
| Intégrité de la recherche | 0,000 | 0,000 |
| Charge utile insuffisante (le modèle a refusé de juger) | 0,000 | 0,000 |
Scores machine (provisoires)
Les deux têtes enseignantes du modèle étudiant, lues sur ce travail. Un score ordonne la base pour la relecture; il n'affirme jamais une catégorie, et le statut de validation accompagne chaque rangée tel quel.
Scores de référence d'un modèle non mature (critères de maturité non atteints, 7 itérations). Un score ordonne; il n'affirme jamais une catégorie.
score_only:v0-immature-baseline · tel quel depuis la passe de notation : score_only signifie que le nombre peut ordonner les travaux, et qu'aucune étiquette de catégorie n'en découleClassification
machine, non validéePrédiction automatique; un appel candidat d’une seule tête enseignante, pas un consensus.
Le détail, modèle par modèle et score par score, se trouve en fin de page sous « Comment cette classification a été obtenue ».