Succinct Summing over Sliding Windows

被引:1
|
作者
Ben Basat, Ran [1 ]
Einziger, Gil [2 ]
Friedman, Roy [1 ]
Kassner, Yaron [1 ]
机构
[1] Technion, Dept Comp Sci, Haifa, Israel
[2] Nokia Bell Labbs, Atir Yeda 16, Kefar Sava, Israel
关键词
Basic summing; Counting; Sliding window; Approximate counting; Additive approximation;
D O I
10.1007/s00453-018-0524-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper considers the problem of estimating the sum the last W elements of a stream of integers in {0, 1, ... , R}. Specifically, we study the memory requirements for computing a RW epsilon-additive approximation for the window's sum. We derive a lower bound of W log left perpendicular1/2W epsilon + 1right perpendicular bits when epsilon <= 1/2W and show a matching succinct algorithm that uses (1 + o(1)) (W log left perpendicular1/2W epsilon + 1right perpendicular bits. Next, we prove a (1 - o(1))epsilon(-1)/2 bits lower bound when epsilon = omega (W-1) <^> epsilon = o(log(-1) W) and provide a succinct algorithm that requires (1 + o(1))epsilon(-1)/2 bits. We show that when epsilon = Omega (log(-1) W) any solution to the problem must consume at least (1 - o(1)) . (epsilon(-1)/2 + log W) bits, while our algorithm needs (1 + o(1)) . (epsilon(-1)/2 + 2 log W) bits. Finally, we show that our lower bounds generalize to randomized algorithms as well, while our algorithms are deterministic and can process elements and answer queries in O(1) worst-case time.
引用
收藏
页码:2072 / 2091
页数:20
相关论文
共 50 条
  • [1] Succinct Summing over Sliding Windows
    Ran Ben Basat
    Gil Einziger
    Roy Friedman
    Yaron Kassner
    [J]. Algorithmica, 2019, 81 : 2072 - 2091
  • [2] Frequency estimation over sliding windows
    Zhang, Linfeng
    Guan, Yong
    [J]. 2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 1385 - +
  • [3] Submodular Optimization Over Sliding Windows
    Epasto, Alessandro
    Lattanzi, Silvio
    Vassilvitskii, Sergei
    Zadimoghaddam, Morteza
    [J]. PROCEEDINGS OF THE 26TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'17), 2017, : 421 - 430
  • [4] Matrix Sketching Over Sliding Windows
    Wei, Zhewei
    Liu, Xuancheng
    Li, Feifei
    Shang, Shuo
    Du, Xiaoyong
    Wen, Ji-Rong
    [J]. SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1465 - 1480
  • [5] Geometric optimization problems over sliding windows
    Chan, TM
    Sadjad, BS
    [J]. ALGORITHMS AND COMPUTATION, 2004, 3341 : 246 - 258
  • [6] Processing sliding windows over disordered streams
    Kim, Hyeon Gyu
    Kim, Myoung Ho
    [J]. 2008 THE INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING, 2008, : 25 - +
  • [7] Geometric optimization problems over sliding windows
    Chan, Timothy M.
    Sadjad, Bashir S.
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 2006, 16 (2-3) : 145 - 157
  • [8] Counting Distinct Elements over Sliding Windows
    Assaf, Eran
    Ben Basat, Ran
    Einziger, Gil
    Friedman, Roy
    Kassner, Yaron
    [J]. SYSTOR'17: PROCEEDINGS OF THE 10TH ACM INTERNATIONAL SYSTEMS AND STORAGE CONFERENCE, 2017,
  • [9] Reverse Skyline Computation over Sliding Windows
    Xin, Junchang
    Wang, Zhiqiong
    Bai, Mei
    Wang, Guoren
    [J]. MATHEMATICAL PROBLEMS IN ENGINEERING, 2015, 2015
  • [10] Optimal Matrix Sketching over Sliding Windows
    Yin, Hanyan
    Wen, Dongxie
    Li, Jiajun
    Wei, Zhewei
    Zhang, Xiao
    Huang, Zengfeng
    Li, Feifei
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2024, 17 (09): : 2149 - 2161