Fast Few-shot Debugging for NLU Test Suites

Christopher Malon, Kai Li, Erik Kruus
4/13/2022
cs.CL

Official code: necla-ml/debug-test-suites (0 stars, Python, MIT, last commit 2022-04-14).

Abstract

We study few-shot debugging of transformer based natural language understanding models, using recently popularized test suites to not just diagnose but correct a problem. Given a few debugging examples of a certain phenomenon, and a held-out test set of the same phenomenon, we aim to maximize accuracy on the phenomenon at a minimal cost of accuracy on the original test set.

Show full abstract

We examine several methods that are faster than full epoch retraining. We introduce a new fast method, which samples a few in-danger examples from the original training set. Compared to fast methods using parameter distance constraints or Kullback-Leibler divergence, we achieve superior original accuracy for comparable debugging accuracy.

View on arXivView PDF

Code Implementations(1)

MIT

Fast Few-shot Debugging for NLU Test Suites

00PythonApr 8, 20224 years agoMIT

Similar Papers

Cite this paper

@article{malon2022fast,
  title  = {Fast Few-shot Debugging for NLU Test Suites},
  author = {Christopher Malon and Kai Li and Erik Kruus},
  year   = {2022},
  eprint = {2204.06555},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.06555}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.06555.svg)](https://codeofpaper.com/paper/2204.06555)

Discussion