Saved in:
Bibliographic Details
Main Authors: Goyal, Palash, Hu, Qian, Gupta, Rahul
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.17254
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Statistical significance testing is used in natural language processing (NLP) to determine whether the results of a study or experiment are likely to be due to chance or if they reflect a genuine relationship. A key step in significance testing is the estimation of confidence interval which is a function of sample variance. Sample variance calculation is straightforward when evaluating against ground truth. However, in many cases, a metric model is often used for evaluation. For example, to compare toxicity of two large language models, a toxicity classifier is used for evaluation. Existing works usually do not consider the variance change due to metric model errors, which can lead to wrong conclusions. In this work, we establish the mathematical foundation of significance testing for model-based metrics. With experiments on public benchmark datasets and a production system, we show that considering metric model errors to calculate sample variances for model-based metrics changes the conclusions in certain experiments.