arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.09338cs.DS
收藏

滑动窗口中的区间选择

Interval Selection in Sliding Windows

Cezar-Mihail Alexandru, Christian Konrad

AI总结:

本文研究了滑动窗口模型下的区间选择问题,提出了单位长度和任意长度区间的近似算法及空间下界,并通过改进平滑直方图技术将任意长度区间的近似比从4提升至11/3。

摘要:

我们发起了在(流式)滑动窗口计算模型下对 Interval Selection 问题的研究。在该问题中,算法接收一个直线上区间的潜在无限流,目标是在任意时刻,针对某个整数 $L$,在最近的 $L$ 个区间中维护一个对最大可能不相交区间子集的近似。我们给出以下结果:在单位长度区间情况下,我们给出了一个 $2$-近似滑动窗口算法,其空间为 $\tilde{\mathrm{O}}(|OPT|)$,并且我们证明了任何计算 $(2-\varepsilon)$-近似的滑动窗口算法都需要 $\Omega(L)$ 的空间,适用于任意 $\varepsilon > 0$。在任意长度情况下,我们给出了一个 $(\frac{11}{3}+\varepsilon)$-近似滑动窗口算法,其空间为 $\tilde{\mathrm{O}}(|OPT|)$,适用于任意常数 $\varepsilon > 0$,这构成了我们的主要结果。我们还证明了计算 $(2.5-\varepsilon)$-近似的算法需要 $\Omega(L)$ 的空间,适用于任意 $\varepsilon > 0$。我们的主要技术贡献是对平滑直方图技术的改进,该技术包括以不同的开始时间运行传统流式算法的独立副本。通过采用 Cabello 和 Pérez-Lantero [Theor. Comput. Sci. '17] 提出的用于任意长度区间上 Interval Selection 的单遍 $2$-近似流式算法作为底层算法,平滑直方图技术在此设置下立即产生 $(4+\varepsilon)$-近似。我们的改进是通过将一次运行中识别出的区间结构转发到后续运行中获得的,这约束了最优解的形状,并允许我们以不同方式针对最优区间。

英文摘要:

We initiate the study of the Interval Selection problem in the (streaming) sliding window model of computation. In this problem, an algorithm receives a potentially infinite stream of intervals on the line, and the objective is to maintain at every moment an approximation to a largest possible subset of disjoint intervals among the $L$ most recent intervals, for some integer $L$. We give the following results: - In the unit-length intervals case, we give a $2$-approximation sliding window algorithm with space $\tilde{\mathrm{O}}(|OPT|)$, and we show that any sliding window algorithm that computes a $(2-\varepsilon)$-approximation requires space $Ω(L)$, for any $\varepsilon > 0$. - In the arbitrary-length case, we give a $(\frac{11}{3}+\varepsilon)$-approximation sliding window algorithm with space $\tilde{\mathrm{O}}(|OPT|)$, for any constant $\varepsilon > 0$, which constitutes our main result. We also show that space $Ω(L)$ is needed for algorithms that compute a $(2.5-\varepsilon)$-approximation, for any $\varepsilon > 0$. Our main technical contribution is an improvement over the smooth histogram technique, which consists of running independent copies of a traditional streaming algorithm with different start times. By employing the one-pass $2$-approximation streaming algorithm by Cabello and Pérez-Lantero [Theor. Comput. Sci. '17] for Interval Selection on arbitrary-length intervals as the underlying algorithm, the smooth histogram technique immediately yields a $(4+\varepsilon)$-approximation in this setting. Our improvement is obtained by forwarding the structure of the intervals identified in a run to the subsequent run, which constrains the shape of an optimal solution and allows us to target optimal intervals differently.

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

↑