Lune

FOCS2022Top-tier venue

Estimating the Longest Increasing Subsequence in Nearly Optimal Time

Alexandr Andoni, Negev Shekel Nosatzki, Sandip Sinha, Clifford Stein

Abstract

Longest Increasing Subsequence (LIS) is a fundamental statistic of a sequence, and has been studied for decades. While the LIS of a sequence of length n can be computed exactly in time O(nlog⁡n)O(n\log n), the complexity of estimating the (length of the) LIS in sublinear time, especially when LIS ≪n\ll n, is still open. We show that for any n∈Nn\in\mathbb{N} and λ=o(1)\lambda=o(1), there exists a (randomized) non-adaptive algorithm that, given a sequence of length n with LIS ≥λn\geq\lambda n, approximates the LIS up to a factor of 1/λo(1)1/\lambda^{o(1)} in no(1)/λ n^{o(1)}/\lambda time. Our algorithm improves upon prior work substantially in terms of both approximation and run-time: (i) we provide the first sub-polynomial approximation for LIS in sub-linear time; and (ii) our run-time complexity essentially matches the trivial sample complexity lower bound of Ω(1/λ)\Omega(1/\lambda), which is required to obtain any non-trivial approximation of the LIS. As part of our solution, we develop two novel ideas which may be of independent interest. First, we define a new Genuine-LIS problem, in which each sequence element may be either genuine or corrupted. In this model, the user receives unrestricted access to the actual sequence, but does not know a priori which elements are genuine. The goal is to estimate the LIS using genuine elements only, with the minimal number of tests for genuineness. The second idea, Precision Tree, enables accurate estimations for composition of general functions from “coarse” (sub-)estimates. Precision Tree essentially generalizes classical precision sampling, which works only for summations. As a central tool, the Precision Tree is pre-processed on a set of samples, which thereafter is repeatedly used by multiple components of the algorithm, improving their amortized complexity.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximating the Distance to Monotonicity of Boolean Functions cites Domain Reduction for Monotonicity Testing: A o(d) Tester for Boolean Functions in d-Dimensions
  • How Compression and Approximation Affect Efficiency in String Distance Measures cites Edit Distance in Near-Linear Time: it's a Constant Factor
  • Approximating Binary Longest Common Subsequence in Almost-Linear Time cites Edit Distance in Near-Linear Time: it's a Constant Factor
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 citations
  2. Approximating Binary Longest Common Subsequence in Almost-Linear TimeXiaoyu He, Ray LiSTOC 2023

Builds on7

  1. Dynamic algorithms for LIS and distance to monotonicityMichael Mitzenmacher, Saeed SeddighinSTOC 2020 · 11 citations
  2. Domain Reduction for Monotonicity Testing: A o(d) Tester for Boolean Functions in d-DimensionsHadley Black, Deeparnab Chakrabarty, C. SeshadhriSODA 2020 · 10 citations
  3. Improved Sublinear Time Algorithm for Longest Increasing SubsequenceMichael Mitzenmacher, Saeed SeddighinSODA 2021 · 10 citations
  4. How Compression and Approximation Affect Efficiency in String Distance MeasuresArun Ganesh, Tomasz Kociumaka, Andrea Lincoln, Barna SahaSODA 2022 · 7 citations
  5. Approximating the Distance to Monotonicity of Boolean FunctionsRamesh Krishnan S. Pallavoor, Sofya Raskhodnikova, Erik WaingartenSODA 2020 · 6 citations

Related papers

  1. Improved dynamic algorithms for longest increasing subsequenceTomasz Kociumaka, Saeed SeddighinSTOC 2021 · 4 citations
  2. Fully dynamic approximation of LIS in polylogarithmic timePawel Gawrychowski, Wojciech JanczewskiSTOC 2021
  3. Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic TimeXiao Mao, Aviad RubinsteinSTOC 2026 · 4 citations
  4. Sublinear-Time Lower Bounds for Approximating Matching Size using Non-Adaptive QueriesVihan ShahSODA 2026
  5. Best of Both Worlds: Practical and Theoretically Optimal Submodular Maximization in ParallelYixin Chen, Tonmoy Dey, Alan KuhnleNeurIPS 2021 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines