自信地展示你的工作:调参曲线的置信带
Show Your Work with Confidence: Confidence Bands for Tuning Curves
AI总结:
本文针对超参数调参曲线比较中点估计不可靠的问题,提出首个精确、同时且不依赖分布的有效置信带方法,并发布 opda 库支持模型可信比较。
摘要:
超参数的选择极大地影响自然语言处理中的性能。通常,很难判断一种方法是否真的优于另一种方法,还是仅仅被更好地调参。调参曲线通过考虑调参工作量来消除这种歧义。具体而言,它们将验证性能绘制为迄今为止尝试过的超参数选择数量的函数。尽管已有若干针对这些曲线的估计量,但常见做法是使用点估计;我们表明,当给定数据过少时,点估计会悄无声息地失效并给出相互矛盾的结果。除点估计之外,要严格确立不同方法之间的关系,置信带是必要的。我们提出了首个为调参曲线构造有效置信带的方法。这些置信带是精确的、同时的且不依赖分布的,因此它们为比较方法提供了稳健基础。实证分析表明,作为基线的 bootstrap 置信带无法逼近其目标置信度,而我们的方法能够精确达到该置信度。我们通过消融实验验证设计,分析样本量的影响,并提供使用本方法比较模型的指导。为促进未来工作中的可信比较,我们发布了 opda:一个可通过 pip 安装的易用库。https://github.com/nicholaslourie/opda
英文摘要:
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
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。