Almost-Smooth Histograms and Sliding-Window Graph Algorithms

04/16/2019
by   Robert Krauthgamer, et al.
0

We study algorithms for the sliding-window model, an important variant of the data-stream model, in which the goal is to compute some function of a fixed-length suffix of the stream. We explore the smooth histogram framework of Braverman and Ostrovsky (FOCS 2007) for reducing the sliding-window model to the insertion-only streaming model, and extend it to the family of subadditive functions. Specifically, we show that if a subadditive function can be approximated in the ordinary (insertion-only) streaming model, then it could be approximated also in the sliding-window model with approximation ratio larger by factor 2+ϵ and space complexity larger by factor O(ϵ^-1 w), where w is the window size. We then consider graph streams and show that many graph problems are subadditive, including maximum matching and minimum vertex-cover, thereby deriving sliding-window algorithms for them almost for free (using known insertion-only algorithms). One concrete example is a polylog(n)-space algorithm for estimating maximum-matching size in bounded-arboricity graphs with n vertices, whose approximation ratio differs by a factor of 2 from the insertion-only algorithm of McGregor and Vorotnikova (SODA 2018). We also use the same framework to improve the analysis of a known sliding-window algorithm for approximating minimum vertex-cover in general graphs. We improve the approximation ratio 8+ϵ of van Handel (MSc Thesis 2016) to 4+ϵ using the same space complexity Õ_ϵ(n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/29/2021

Improved Sliding Window Algorithms for Clustering and Coverage via Bucketing-Based Sketches

Streaming computation plays an important role in large-scale data analys...
research
04/10/2022

Closing the Gap between Weighted and Unweighted Matching in the Sliding Window Model

We consider the Maximum-weight Matching (MWM) problem in the streaming s...
research
07/12/2018

Sliding window order statistics in sublinear space

We extend the multi-pass streaming model to sliding window problems, and...
research
03/28/2023

Provable Robustness for Streaming Models with a Sliding Window

The literature on provable robustness in machine learning has primarily ...
research
02/21/2018

Randomized sliding window algorithms for regular languages

A sliding window algorithm receives a stream of symbols and has to outpu...
research
02/02/2019

Efficient estimation of AUC in a sliding window

In many applications, monitoring area under the ROC curve (AUC) in a sli...
research
11/25/2018

Parallel approach to sliding window sums

Sliding window sums are widely used in bioinformatics applications, incl...

Please sign up or login with your details

Forgot password? Click here to reset