arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.06160cs.LGcs.DS
收藏

维护AUC和$H$ -随时间推移进行测量

Maintaining AUC and $H$-measure over time

HIIT, University of Helsinki(赫尔辛基大学 HIIT)

Nikolaj Tatti

摘要:

在机器学习中,测量分类器的性能是一项重要的任务。计算度量的算法的运行时间在离线设置中起着非常小的作用,例如,当研究人员正在开发分类器时。然而,如果我们的目标是随着时间的推移监控分类器的性能,那么运行时间就变得更加关键。在本文中,我们研究了三个算法,保持两个措施。第一种算法在$O(\log n)$时间内添加和删除数据点的情况下保持ROC曲线下面积(AUC)。这是通过维护在自平衡搜索树中排序的数据点来完成的。此外,我们增加了搜索树,使我们能够查询ROC坐标的数据点在$O(\log n)$时间。这样,我们能够在$O(\log n)$时间内保持AUC。我们接下来的两个算法涉及维护$H$ -measure,一种基于ROC曲线的替代测量。计算测量值是一个两步过程:首先,我们需要计算ROC曲线的凸包,然后是对凸包求和。我们证明,我们可以保持凸包使用一个小的修改经典的凸包维护算法。然后,我们表明,在一定的条件下,我们可以计算的$H$ -测量在$O(\log^2 n)$时间,如果条件不满足,那么我们可以估计的$H$ -测量在$O((\log n + ε^{-1})\log n)$时间。我们的经验表明,我们的方法是显着快于基线。

英文摘要:

Measuring the performance of a classifier is a vital task in machine learning. The running time of an algorithm that computes the measure plays a very small role in an offline setting, for example, when the classifier is being developed by a researcher. However, the running time becomes more crucial if our goal is to monitor the performance of a classifier over time. In this paper we study three algorithms for maintaining two measures. The first algorithm maintains area under the ROC curve (AUC) under addition and deletion of data points in $O(\log n)$ time. This is done by maintaining the data points sorted in a self-balanced search tree. In addition, we augment the search tree that allows us to query the ROC coordinates of a data point in $O(\log n)$ time. In doing so we are able to maintain AUC in $O(\log n)$ time. Our next two algorithms involve in maintaining $H$-measure, an alternative measure based on the ROC curve. Computing the measure is a two-step process: first we need to compute a convex hull of the ROC curve, followed by a sum over the convex hull. We demonstrate that we can maintain the convex hull using a minor modification of the classic convex hull maintenance algorithm. We then show that under certain conditions, we can compute the $H$-measure exactly in $O(\log^2 n)$ time, and if the conditions are not met, then we can estimate the $H$-measure in $O((\log n + ε^{-1})\log n)$ time. We show empirically that our methods are significantly faster than the baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑