Approximate Maintenance of Maximum Subarray Sum in the Sliding Window Model
Ryo Suzuki, Yutaro Yamaguchi

TL;DR
This paper develops space-efficient algorithms for approximately maintaining the maximum subarray sum in a sliding window data stream, achieving near-optimal space complexity with adjustable accuracy.
Contribution
It introduces a refined Smooth Histogram framework that provides a tunable approximation of the maximum subarray sum using sublinear space.
Findings
Achieves a constant-factor approximation with $O((\log n)^2)$ bits of space.
Provides a $(1 \pm \epsilon)$-approximation with $O(rac{1}{\epsilon} (\log n)^2)$ bits of space.
Space complexity is asymptotically optimal.
Abstract
In the sliding window model, we are required to maintain the target statistics over the most recent elements of a data stream, which is captured by a window of size sliding over the data stream. Exact computation usually requires space linear in , and the central goal is approximate maintenance using sublinear space. In this paper, we study the problem of maintaining the maximum subarray sum in the sliding window model. While the classical Kadane's algorithm computes the exact answer using constant space in the static setting, it does not extend directly, because a new element makes the oldest one expire, which may invalidate the optimal subarray so far. Our first observation is that the so-called Smooth Histogram framework can lead to a constant-factor approximation (in the sense of relative error) using bits of space. We then refine this framework…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
