mlsanityData to 7 Oct 2026

Automated Trustworthiness Oracle Generation for Machine Learning Text Classifiers

arXiv 2410.22663 ↗First posted 30 Oct 2024cs.SE cs.CL cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Machine learning (ML) for text classification has been widely used in various domains. These applications can significantly impact ethics, economics, and human behavior, raising serious concerns about trusting ML decisions. Studies indicate that conventional metrics are insufficient to build human trust in ML models. These models often learn spurious correlations and predict based on them. In the real world, their performance can deteriorate significantly. To avoid this, a common practice is to test whether predictions are reasonable based on valid patterns in the data. Along with this, a challenge known as the trustworthiness oracle problem has been introduced. Due to the lack of automated trustworthiness oracles, the assessment requires manual validation of the decision process disclosed by explanation methods. However, this is time-consuming, error-prone, and unscalable. We propose TOKI, the first automated trustworthiness oracle generation method for text classifiers. TOKI automatically checks whether the words contributing the most to a prediction are semantically related to the predicted class. Specifically, we leverage ML explanations to extract the decision-contributing words and measure their semantic relatedness with the class based on word embeddings. We also introduce a novel adversarial attack method that targets trustworthiness vulnerabilities identified by TOKI. To evaluate their alignment with human judgement, experiments are conducted. We compare TOKI with a naive baseline based solely on model confidence and TOKI-guided adversarial attack method with A2T, a SOTA adversarial attack method. Results show that relying on prediction uncertainty cannot effectively distinguish between trustworthy and untrustworthy predictions, TOKI achieves 142% higher accuracy than the naive baseline, and TOKI-guided attack method is more effective with fewer perturbations than A2T.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 46 of its 86 references that are in the map. First posted on arXiv 30 Oct 2024.

Builds on

46 of 86 references.

References · 46

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  4. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  5. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  6. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
  7. 2019Attention is not Explanationcited by 916
  8. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  9. 2019Attention is not not Explanationcited by 629
  10. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  11. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
  12. 2023Explainability for Large Language Models: A Surveycited by 331
34 more
  1. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
  2. 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 293
  3. 2020Effect of Confidence and Explanation on Accuracy and Trust Calibration in AI-Assisted Decision Makingcited by 281
  4. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
  5. 2016Understanding Neural Networks through Representation Erasurecited by 223
  6. 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
  7. 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
  8. 2020Making deep neural networks right for the right scientific reasons by interacting with their explanationscited by 141
  9. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  10. 2023AI Transparency in the Age of LLMs: A Human-Centered Research Roadmapcited by 119
  11. 2022Shortcut Learning of Large Language Models in Natural Language Understandingcited by 83
  12. 2021Towards Improving Adversarial Training of NLP Modelscited by 79
  13. 2021Towards Interpreting and Mitigating Shortcut Learning Behavior of NLU Modelscited by 78
  14. 2021Software Engineering for AI-Based Systems: A Surveycited by 68
  15. 2018DLFuzz: Differential Fuzzing Testing of Deep Learning Systemscited by 64
  16. 2017Hierarchical Clustering: Objective Functions and Algorithmscited by 60
  17. 2021Explanation-Based Human Debugging of NLP Models: A Surveycited by 53
  18. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
  19. 2022Grad-SAM: Explaining Transformers via Gradient Self-Attention Mapscited by 42
  20. 2022CAMS: An Annotated Corpus for Causal Analysis of Mental Health Issues in Social Media Postscited by 34
  21. 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
  22. 2017Failing to Learn: Autonomously Identifying Perception Failures for Self-driving Carscited by 28
  23. 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generationcited by 24
  24. 2021On the Relation of Trust and Explainability: Why to Engineer for Trustworthinesscited by 16
  25. 2018Analyzing Neuroimaging Data Through Recurrent Deep Learning Modelscited by 15
  26. 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretationcited by 12
  27. 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networkscited by 9
  28. 2016Swivel: Improving Embeddings by Noticing What's Missingcited by 8
  29. 2018METTLE: a METamorphic testing approach to assessing and validating unsupervised machine LEarning systemscited by 8
  30. 2013Description and Evaluation of Semantic Similarity Measures Approachescited by 4
  31. 2018Recommending Insightful Comments for Source Code using Crowdsourced Knowledgecited by 4
  32. 2022Studying the explanations for the automated prediction of bug and non-bug issues using LIME and SHAPcited by 4
  33. 2022On the Evaluation of the Plausibility and Faithfulness of Sentiment Analysis Explanationscited by 3
  34. 2022Towards Human-Centred Explainability Benchmarks For Text Classificationcited by 2

Built on by

Not cited yet.