Effective Black Box Testing of Sentiment Analysis Classification Networks
Not on the map. Why?
Abstract (arXiv)
Transformer-based neural networks have demonstrated remarkable performance in natural language processing tasks such as sentiment analysis. Nevertheless, the issue of ensuring the dependability of these complicated architectures through comprehensive testing is still open. This paper presents a collection of coverage criteria specifically designed to assess test suites created for transformer-based sentiment analysis networks. Our approach utilizes input space partitioning, a black-box method, by considering emotionally relevant linguistic features such as verbs, adjectives, adverbs, and nouns. In order to effectively produce test cases that encompass a wide range of emotional elements, we utilize the k-projection coverage metric. This metric minimizes the complexity of the problem by examining subsets of k features at the same time, hence reducing dimensionality. Large language models are employed to generate sentences that display specific combinations of emotional features. The findings from experiments obtained from a sentiment analysis dataset illustrate that our criteria and generated tests have led to an average increase of 16% in test coverage. In addition, there is a corresponding average decrease of 6.5% in model accuracy, showing the ability to identify vulnerabilities. Our work provides a foundation for improving the dependability of transformer-based sentiment analysis systems through comprehensive test evaluation.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 23 references that are in the map. First posted on arXiv 30 Jul 2024.
Builds on
10 of 23 references.
References · 10
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 147
- 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 124
- 2016SqueezeDet: Unified, Small, Low Power Fully Convolutional Neural Networks for Real-Time Object Detection for Autonomous Drivingcited by 55
- 2021Black-Box Testing of Deep Neural Networks Through Test Case Diversitycited by 18
- 2018Quantitative Projection Coverage for Testing ML-enabled Autonomous Systemscited by 11
- 2022Differential testing for machine learning: an analysis for classification algorithms beyond deep learningcited by 3
Built on by
Not cited yet.