Show Your Work with Confidence: Confidence Bands for Tuning Curves
Nicholas Lourie, Kyunghyun Cho, He He
TL;DR
The paper tackles the challenge of fairly comparing NLP models when hyperparameters are tuned, by introducing exact, simultaneous, distribution-free confidence bands for tuning curves. It derives a principled method that bounds one-round score CDFs and translates those bounds to the tuning-curve distributions for any budget, enabling reliable mean or median tuning-curve comparisons. The authors validate exact coverage, show superiority over bootstrap approaches, and provide extensive ablations, demonstrating that median tuning curves with LD bands yield robust, interpretable comparisons. They release opda, a practical library to compute these bands, promoting more reproducible and cost-aware model evaluation in NLP and related fields.
Abstract
The choice of hyperparameters greatly impacts performance in natural language processing. Often, it is hard to tell if a method is better than another or just better tuned. Tuning curves fix this ambiguity by accounting for tuning effort. Specifically, they plot validation performance as a function of the number of hyperparameter choices tried so far. While several estimators exist for these curves, it is common to use point estimates, which we show fail silently and give contradictory results when given too little data. Beyond point estimates, confidence bands are necessary to rigorously establish the relationship between different approaches. We present the first method to construct valid confidence bands for tuning curves. The bands are exact, simultaneous, and distribution-free, thus they provide a robust basis for comparing methods. Empirical analysis shows that while bootstrap confidence bands, which serve as a baseline, fail to approximate their target confidence, ours achieve it exactly. We validate our design with ablations, analyze the effect of sample size, and provide guidance on comparing models with our method. To promote confident comparisons in future work, we release opda: an easy-to-use library that you can install with pip. https://github.com/nicholaslourie/opda
