Approximate Counting of Permutation Patterns
Omri Ben-Eliezer, Slobodan Mitrovic, Pranjal Srivastava
摘要
We consider the problem of counting the copies of a length-k pattern σ in a sequence f : [n] → R, where a copy is a subset of indices i1 < . . . < i k ∈ [n] such that f (ij ) < f (i ℓ ) if and only if σ(j) < σ(ℓ). This problem is motivated by a range of connections and applications in ranking, nonparametric statistics, combinatorics, and fine-grained complexity, especially when k is a small fixed constant.
Recent advances have significantly improved our understanding of counting and detecting patterns. Guillemot and Marx [2014] obtained an O(n) time algorithm for the detection variant for any fixed k. Their proof has laid the foundations for the discovery of the twin-width, a concept that has notably advanced parameterized complexity in recent years. Counting, in contrast, is harder: it has a conditional lower bound of n Ω(k/ log k) [Berendsohn, Kozma, and Marx, 2019] and is expected to be polynomially harder than detection as early as k = 4, given its equivalence to counting 4-cycles in graphs [Dudek and Gawrychowski, 2020].
In this work, we design a deterministic near-linear time (1 + ε)-approximation algorithm for counting σ-copies in f for all k ≤ 5. Combined with the conditional lower bound for k = 4, this establishes the first known separation between approximate and exact pattern counting. Interestingly, while neither the sequence f nor the pattern σ are monotone, our algorithm makes extensive use of coresets for monotone functions [Har-Peled, 2006]. Along the way, we develop a near-optimal data structure for (1 + ε)-approximate increasing pair range queries in the plane, which exhibits a conditional separation from the exact case and may be of independent interest.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Removing Additive Structure in 3SUM-Based Reductions 引用了 Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics 引用了 Removing Additive Structure in 3SUM-Based Reductions
- Removing Additive Structure in 3SUM-Based Reductions 引用了 Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics 引用了 Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
它引用的 Paper9
- Twin-width I: tractable FO model checkingÉdouard Bonnet, Eun Jung Kim, Stéphan Thomassé, Rémi WatrigantFOCS 2020 · 82 次引用
- Counting Small Permutation PatternsChaim Even-Zohar, Calvin LengSODA 2021 · 16 次引用
- Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyondAmir Abboud, Karl Bringmann, Seri Khoury, Or ZamirSTOC 2022 · 11 次引用
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 次引用
- Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 次引用
相关 Paper
- Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity DichotomiesMarco Bressan, Marc RothFOCS 2021 · 8 次引用
- Detecting and counting small patterns in planar graphs in subexponential parameterized timeJesper NederlofSTOC 2020 · 1 次引用
- Efficient Computation of Representative Weight Functions with Applications to Parameterized Counting (Extended Version)Daniel Lokshtanov, Saket Saurabh, Meirav ZehaviSODA 2021 · 3 次引用
- Faster Pattern Matching under Edit Distance : A Reduction to Dynamic Puzzle Matching and the Seaweed Monoid of Permutation MatricesPanagiotis Charalampopoulos, Tomasz Kociumaka, Philip WellnitzFOCS 2022 · 8 次引用
- Weighted k-Path and Other Problems in Almost O*(2k) Deterministic Time via Dynamic Representative Sets†Jesper NederlofFOCS 2025 · 4 次引用
