arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1902.00632cs.LGstat.ML
收藏

滑动窗口下AUC的有效估计

Efficient estimation of AUC in a sliding window

F-Secure(芬安全)

Nikolaj Tatti

摘要:

在许多应用中,在数据流上的滑动窗口中监测ROC曲线下面积(AUC)是检测系统变化的自然方式。缺点是在滑动窗口中计算AUC是昂贵的,特别是如果窗口大小很大并且数据流很重要。在本文中,我们提出了一个计划,保持近似AUC的长度为$k$的滑动窗口。更具体地说,我们提出了一种算法,给定$ε$,估计$ε/ 2$内的AUC,并可以在$O((\log k) / ε)$时间内保持该估计值,每次更新,因为窗口滑动。这提供了对AUC的精确计算的加速,AUC的精确计算每次更新需要$O(k)$时间。随着窗口大小的增加,加速变得更加显著。我们的估计是基于将数据点分组在一起,并使用这些组来计算AUC。分组是精心设计的,使得($i$)组足够小,从而误差保持小,($ii$)组的数量小,从而枚举它们并不昂贵,以及($iii$)定义足够灵活,从而我们可以有效地维护组。我们的实验评估表明,在实践中的平均近似误差远小于近似保证$ε/ 2$,我们可以实现显着的速度加快,只有一个适度的牺牲精度。

英文摘要:

In many applications, monitoring area under the ROC curve (AUC) in a sliding window over a data stream is a natural way of detecting changes in the system. The drawback is that computing AUC in a sliding window is expensive, especially if the window size is large and the data flow is significant. In this paper we propose a scheme for maintaining an approximate AUC in a sliding window of length $k$. More specifically, we propose an algorithm that, given $ε$, estimates AUC within $ε/ 2$, and can maintain this estimate in $O((\log k) / ε)$ time, per update, as the window slides. This provides a speed-up over the exact computation of AUC, which requires $O(k)$ time, per update. The speed-up becomes more significant as the size of the window increases. Our estimate is based on grouping the data points together, and using these groups to calculate AUC. The grouping is designed carefully such that ($i$) the groups are small enough, so that the error stays small, ($ii$) the number of groups is small, so that enumerating them is not expensive, and ($iii$) the definition is flexible enough so that we can maintain the groups efficiently. Our experimental evaluation demonstrates that the average approximation error in practice is much smaller than the approximation guarantee $ε/ 2$, and that we can achieve significant speed-ups with only a modest sacrifice in accuracy.

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

↑