New Sublinear Algorithms and Lower Bounds for LIS Estimation

10/12/2020
by   Ilan Newman, et al.
0

Estimating the length of the longest increasing subsequence (LIS) in an array is a problem of fundamental importance. Despite the significance of the LIS estimation problem and the amount of attention it has received, there are important aspects of the problem that are not yet fully understood. There are no better lower bounds for LIS estimation than the obvious bounds implied by testing monotonicity (for adaptive or nonadaptive algorithms). In this paper, we give the first nontrivial lower bound on the complexity of LIS estimation, and also provide novel algorithms that complement our lower bound. Specifically, for every constant ϵ∈ (0,1), every nonadaptive algorithm that outputs an estimate of the length of the LIS in an array of length n to within an additive error of ϵ· n has to make log^Ω(log (1/ϵ)) n) queries. Next, we design nonadaptive LIS estimation algorithms whose complexity decreases as the the number of distinct values, r, in the array decreases. We first present a simple algorithm that makes Õ(r/ϵ^3) queries and approximates the LIS length with an additive error bounded by ϵ n. We then use it to construct a nonadaptive algorithm with query complexity Õ(√(r)·poly(1/λ)) that, for an array with LIS length at least λ n, outputs a multiplicative Ω(λ)-approximation to the LIS length. Finally, we describe a nonadaptive erasure-resilient tester for sortedness, with query complexity O(log n). Our result implies that nonadaptive tolerant testing is strictly harder than nonadaptive erasure-resilient testing for the natural property of monotonicity.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset