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

基于似然的快速变点检测

Fast likelihood-based change point detection

HIIT(赫尔辛基信息技术研究所);University of Helsinki(赫尔辛基大学)

Nikolaj Tatti

摘要:

变点检测在许多实际应用中起着重要作用,其目标是分析和监控数据流的行为。在本文中,我们研究了二进制流的变化检测。为此,我们使用两个模型之间的似然比作为指示变化的度量。第一个模型是一个单一的伯努利变量,而第二个模型将存储的数据分为两个部分,并用自己的伯努利变量对每个部分进行建模。找到最佳分割可以在$O(n)$时间内完成,其中$n$是自上一个改变点以来的条目数。这对于大型$n$来说太昂贵了。为了解决这个问题,我们提出了一个近似方案,产生$(1 - ε)$近似在$O(ε^{-1} \log^2 n)$时间。加速由几个步骤组成:首先,我们通过采用来自分割问题的已知结果来减少可能的候选者的数量。然后,我们表明,对于固定的伯努利参数,我们可以找到最佳的变化点在对数时间。最后,我们展示了如何为模型参数构造大小为$O(ε^{-1} \log n)$的候选列表。我们证明经验的近似质量和我们的算法的运行时间,表明我们可以获得显着的速度与最小的平均损失最优。

英文摘要:

Change point detection plays a fundamental role in many real-world applications, where the goal is to analyze and monitor the behaviour of a data stream. In this paper, we study change detection in binary streams. To this end, we use a likelihood ratio between two models as a measure for indicating change. The first model is a single bernoulli variable while the second model divides the stored data in two segments, and models each segment with its own bernoulli variable. Finding the optimal split can be done in $O(n)$ time, where $n$ is the number of entries since the last change point. This is too expensive for large $n$. To combat this we propose an approximation scheme that yields $(1 - ε)$ approximation in $O(ε^{-1} \log^2 n)$ time. The speed-up consists of several steps: First we reduce the number of possible candidates by adopting a known result from segmentation problems. We then show that for fixed bernoulli parameters we can find the optimal change point in logarithmic time. Finally, we show how to construct a candidate list of size $O(ε^{-1} \log n)$ for model parameters. We demonstrate empirically the approximation quality and the running time of our algorithm, showing that we can gain a significant speed-up with a minimal average loss in optimality.

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

↑