知道何时持久化:从流缓冲区中获取值
Know When to Persist: Deriving Value from a Stream Buffer
摘要:
我们考虑\textsc{Persistence},一个新的在线优化加权观测数据流时,观察员的缓冲容量有限的问题。一批称重物品一次一个地到达具有两个存放位置的缓冲区的入口。处理器(或观察器)可以在它选择的缓冲区位置处理(观察)一个项目,以这种方式导出所观察项目的权重作为利润。主要约束是处理器只能与项目流同步地移动{ \em};结果,从缓冲器的端部移动到入口,它与已经在那里的物品交叉路径,并且将永远没有机会处理甚至识别它。\textsc{Persistence} \是调度处理器通过缓冲区的移动,使其总派生值在此约束下最大化的在线问题。我们研究了直接启发式{ \em Threshold}的性能,即,迫使处理器仅在项目的值高于阈值时才在整个缓冲区中“跟随”该项目。我们分析了最佳离线和阈值算法的情况下,输入流是一个随机排列,或其项目是iid值。我们表明,在这两种情况下,由阈值算法实现的竞争比至少是$2/3$时,唯一的统计知识的项目是所有可能的值的中位数。我们推广我们的结果表明,阈值,配备了一些最小的统计意见的输入,实现竞争比在整个频谱之间的$2/3$和$1$,一个新定义的密度样的输入措施的变化。这一结果是一个显着的改善的情况下,任意输入流,因为在这种情况下,我们表明,没有在线算法可以实现比$1/2$更好的竞争力。
英文摘要:
We consider \textsc{Persistence}, a new online problem concerning optimizing weighted observations in a stream of data when the observer has limited buffer capacity. A stream of weighted items arrive one at a time at the entrance of a buffer with two holding locations. A processor (or observer) can process (observe) an item at the buffer location it chooses, deriving this way the weight of the observed item as profit. The main constraint is that the processor can only move {\em synchronously} with the item stream; as a result, moving from the end of the buffer to the entrance, it crosses paths with the item already there, and will never have the chance to process or even identify it. \textsc{Persistence}\ is the online problem of scheduling the processor movements through the buffer so that its total derived value is maximized under this constraint. We study the performance of the straight-forward heuristic {\em Threshold}, i.e., forcing the processor to "follow" an item through the whole buffer only if its value is above a threshold. We analyze both the optimal offline and Threshold algorithms in case the input stream is a random permutation, or its items are iid valued. We show that in both cases the competitive ratio achieved by the Threshold algorithm is at least $2/3$ when the only statistical knowledge of the items is the median of all possible values. We generalize our results by showing that Threshold, equipped with some minimal statistical advice about the input, achieves competitive ratios in the whole spectrum between $2/3$ and $1$, following the variation of a newly defined density-like measure of the input. This result is a significant improvement over the case of arbitrary input streams, since in this case we show that no online algorithm can achieve a competitive ratio better than $1/2$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。