English

Regression Bugs Are In Your Model! Measuring, Reducing and Analyzing Regressions In NLP Model Updates

Computation and Language 2021-05-10 v1

Abstract

Behavior of deep neural networks can be inconsistent between different versions. Regressions during model update are a common cause of concern that often over-weigh the benefits in accuracy or efficiency gain. This work focuses on quantifying, reducing and analyzing regression errors in the NLP model updates. Using negative flip rate as regression measure, we show that regression has a prevalent presence across tasks in the GLUE benchmark. We formulate the regression-free model updates into a constrained optimization problem, and further reduce it into a relaxed form which can be approximately optimized through knowledge distillation training method. We empirically analyze how model ensemble reduces regression. Finally, we conduct CheckList behavioral testing to understand the distribution of regressions across linguistic phenomena, and the efficacy of ensemble and distillation methods.

Keywords

Cite

@article{arxiv.2105.03048,
  title  = {Regression Bugs Are In Your Model! Measuring, Reducing and Analyzing Regressions In NLP Model Updates},
  author = {Yuqing Xie and Yi-an Lai and Yuanjun Xiong and Yi Zhang and Stefano Soatto},
  journal= {arXiv preprint arXiv:2105.03048},
  year   = {2021}
}

Comments

13 pages, 3 figures, Accepted at ACL 2021 main conference