White-box Testing of NLP models with Mask Neuron Coverage
Not on the map. Why?
Abstract (arXiv)
Recent literature has seen growing interest in using black-box strategies like CheckList for testing the behavior of NLP models. Research on white-box testing has developed a number of methods for evaluating how thoroughly the internal behavior of deep models is tested, but they are not applicable to NLP models. We propose a set of white-box testing methods that are customized for transformer-based NLP models. These include Mask Neuron Coverage (MNCOVER) that measures how thoroughly the attention layers in models are exercised during testing. We show that MNCOVER can refine testing suites generated by CheckList by substantially reduce them in size, for more than 60% on average, while retaining failing tests -- thereby concentrating the fault detection power of the test suite. Further we show how MNCOVER can be used to guide CheckList input generation, evaluate alternative NLP testing methods, and drive data augmentation to improve accuracy.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 20 of its 28 references that are in the map. First posted on arXiv 10 May 2022.
Builds on
20 of 28 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2015Variational Inference with Normalizing Flowscited by 2,161
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 447
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
8 more
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
- 2018Stress Test Evaluation for Natural Language Inferencecited by 211
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
- 2019Perturbation Sensitivity Analysis to Detect Unintended Model Biasescited by 74
- 2021Distribution-Aware Testing of Neural Networks Using Generative Modelscited by 22
- 2018Combinatorial Testing for Deep Learning Systemscited by 8
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 1.
2 papers.