Lune

STOC2021Top-tier venue

Fully dynamic approximation of LIS in polylogarithmic time

Pawel Gawrychowski, Wojciech Janczewski

Abstract

We revisit the problem of maintaining the longest increasing subsequence (LIS) of an array under (i) inserting an element, and (ii) deleting an element of an array. In a recent breakthrough, Mitzenmacher and Seddighin [STOC 2020] designed an algorithm that maintains an O((1/ε)O(1/ε))\mathcal{O}((1/ε)^{\mathcal{O}(1/ε)})-approximation of LIS under both operations with worst-case update time O~(nε)\mathcal{\tilde O}(n^ε), for any constant ε>0. We exponentially improve on their result by designing an algorithm that maintains an (1+ε)(1+ε)-approximation of LIS under both operations with worst-case update time O~(ε−5)\mathcal{\tilde O}(ε^{-5}). Instead of working with the grid packing technique introduced by Mitzenmacher and Seddighin, we take a different approach building on a new tool that might be of independent interest: LIS sparsification. A particularly interesting consequence of our result is an improved solution for the so-called Erdős-Szekeres partitioning, in which we seek a partition of a given permutation of {1,2,…,n}\{1,2,\ldots,n\} into O(n)\mathcal{O}(\sqrt{n}) monotone subsequences. This problem has been repeatedly stated as one of the natural examples in which we see a large gap between the decision-tree complexity and algorithmic complexity. The result of Mitzenmacher and Seddighin implies an O(n1+ε)\mathcal{O}(n^{1+ε}) time solution for this problem, for any ε>0. Our algorithm (in fact, its simpler decremental version) further improves this to O~(n)\mathcal{\tilde O}(n).

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.

6 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

  • Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space Bounds cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler cites Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space Bounds
  • Approximating Edit Distance in the Fully Dynamic Model cites Edit Distance in Near-Linear Time: it's a Constant Factor
  • Approximating Edit Distance in the Fully Dynamic Model cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Approximating Edit Distance in the Fully Dynamic Model cites Improved dynamic algorithms for longest increasing subsequence
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Approximating Edit Distance in the Fully Dynamic Model
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Improved dynamic algorithms for longest increasing subsequence
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Approximating Edit Distance in the Fully Dynamic Model
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Edit Distance in Near-Linear Time: it's a Constant Factor
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Improved dynamic algorithms for longest increasing subsequence
  • Edit Distance in Near-Linear Time: it's a Constant Factor cites Reducing approximate Longest Common Subsequence to approximate Edit Distance
  • Edit Distance in Near-Linear Time: it's a Constant Factor cites Estimating the Longest Increasing Subsequence in Nearly Optimal Time
  • New algorithms and hardness for incremental single-source shortest paths in directed graphs cites Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space Bounds
  • New algorithms and hardness for incremental single-source shortest paths in directed graphs cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • Estimating the Longest Increasing Subsequence in Nearly Optimal Time cites Improved dynamic algorithms for longest increasing subsequence
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Estimating the Longest Increasing Subsequence in Nearly Optimal TimeAlexandr Andoni, Negev Shekel Nosatzki, Sandip Sinha, Clifford SteinFOCS 2022 · 4 citations
  2. Improved dynamic algorithms for longest increasing subsequenceTomasz Kociumaka, Saeed SeddighinSTOC 2021 · 4 citations
  3. Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 citation
  4. Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer WeightsEgor Gorbachev, Tomasz KociumakaSTOC 2025 · 1 citation
  5. Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit DistanceDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka et al.FOCS 2025 · 1 citation

Builds on8

  1. Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 citations
  2. Reducing approximate Longest Common Subsequence to approximate Edit DistanceAviad Rubinstein, Zhao SongSODA 2020 · 24 citations
  3. New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 citations
  4. Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
  5. Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space BoundsMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations

Related papers

  1. Dynamic algorithms for LIS and distance to monotonicityMichael Mitzenmacher, Saeed SeddighinSTOC 2020 · 11 citations
  2. Improved Sublinear Time Algorithm for Longest Increasing SubsequenceMichael Mitzenmacher, Saeed SeddighinSODA 2021 · 10 citations
  3. Fully Dynamic Matching and Ordered Ruzsa-Szemerédi GraphsSoheil Behnezhad, Alma GhafariFOCS 2024 · 1 citation
  4. New Trade-Offs for Fully Dynamic Matching via Hierarchical EDCSSoheil Behnezhad, Sanjeev KhannaSODA 2022 · 11 citations
  5. Improved Fully Dynamic Submodular Maximization Under Matroid ConstraintsYiwei Gao, Jialin Zhang, Zhijie ZhangAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines