Tight tradeoffs for approximating palindromes in streams
Pawe{\l} Gawrychowski, Przemys{\l}aw Uzna\'nski

TL;DR
This paper investigates the space complexity of streaming algorithms for approximating the longest palindrome in a text, establishing tight bounds and providing an efficient Monte Carlo algorithm that nearly matches these bounds.
Contribution
It proves lower bounds for additive and multiplicative approximation of longest palindromes in streams and introduces a near-optimal Monte Carlo algorithm, settling the space complexity question.
Findings
No sublinear space Las Vegas algorithms exist for this problem.
Lower bounds of rac{n}{E} and rac{log n}{log(1+b5)} bits for additive and multiplicative approximations.
A Monte Carlo algorithm matching these bounds up to a logarithmic factor.
Abstract
We consider computing the longest palindrome in a text of length in the streaming model, where the characters arrive one-by-one, and we do not have random access to the input. While computing the answer exactly using sublinear memory is not possible in such a setting, one can still hope for a good approximation guarantee. We focus on the two most natural variants, where we aim for either additive or multiplicative approximation of the length of the longest palindrome. We first show that there is no point in considering Las Vegas algorithms in such a setting, as they cannot achieve sublinear space complexity. For Monte Carlo algorithms, we provide a lowerbound of bits for approximating the answer with additive error , and bits for approximating the answer with multiplicative error for the binary…
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.
Taxonomy
TopicsAlgorithms and Data Compression · Machine Learning and Algorithms · semigroups and automata theory
