Lukasz Golab, David DeHaan, A. López-Ortiz, E. Demaine
{"title":"Finding frequent items in sliding windows with multinomially-distributed item frequencies","authors":"Lukasz Golab, David DeHaan, A. López-Ortiz, E. Demaine","doi":"10.1109/SSDBM.2004.37","DOIUrl":null,"url":null,"abstract":"In this paper, we present an algorithm for identifying frequently occurring items within a sliding window of the last N items seen over an infinite data stream, given the following constraints: (1) the relative frequencies of the item types can vary over the lifetime of the stream, provided that they vary sufficiently slowly that for any sliding window of N tuples, with high probability the window could have been generated by a multinomial distribution. We refer to this as the drifting distribution model in the full version of this paper (Golab et al., 2004). (2) The entire sliding window does not fit in the available memory (otherwise, we could simply count all the distinct item types and return those whose frequencies exceed some threshold). (3) The stream may arrive at a high rate, so only a constant number of operations (amortized) is allowed for the processing of each item.","PeriodicalId":383615,"journal":{"name":"Proceedings. 16th International Conference on Scientific and Statistical Database Management, 2004.","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-06-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. 16th International Conference on Scientific and Statistical Database Management, 2004.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SSDBM.2004.37","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20
Abstract
In this paper, we present an algorithm for identifying frequently occurring items within a sliding window of the last N items seen over an infinite data stream, given the following constraints: (1) the relative frequencies of the item types can vary over the lifetime of the stream, provided that they vary sufficiently slowly that for any sliding window of N tuples, with high probability the window could have been generated by a multinomial distribution. We refer to this as the drifting distribution model in the full version of this paper (Golab et al., 2004). (2) The entire sliding window does not fit in the available memory (otherwise, we could simply count all the distinct item types and return those whose frequencies exceed some threshold). (3) The stream may arrive at a high rate, so only a constant number of operations (amortized) is allowed for the processing of each item.
在本文中,我们提出了一种算法,用于识别在无限数据流中看到的最后N个项目的滑动窗口中频繁出现的项目,给定以下约束:(1)项目类型的相对频率可以在流的生命周期内变化,前提是它们变化得足够慢,对于N元组的任何滑动窗口,高概率窗口可能是由多项分布生成的。在本文完整版中我们称之为漂移分布模型(Golab et al., 2004)。(2)整个滑动窗口不适合可用内存(否则,我们可以简单地计算所有不同的项目类型,并返回那些频率超过某个阈值的项目)。(3)流可能会以很高的速率到达,因此每个项目的处理只允许恒定数量的操作(平摊)。