We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: White-box Testing of NLP models with Mask Neuron Coverage

Abstract: 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.
Comments: Findings of NAACL 2022 submission, 12 pages
Subjects: Computation and Language (cs.CL); Machine Learning (cs.LG)
Journal reference: Findings of NAACL 2022
Cite as: arXiv:2205.05050 [cs.CL]
  (or arXiv:2205.05050v1 [cs.CL] for this version)

Submission history

From: Arshdeep Sekhon [view email]
[v1] Tue, 10 May 2022 17:07:23 GMT (378kb,D)

Link back to: arXiv, form interface, contact.