arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.04718cs.DS
收藏

排列模式的近似计数

Approximate counting of permutation patterns

Technion – Israel Institute of Technology(以色列理工学院);University of California, Davis(加州大学戴维斯分校);Massachusetts Institute of Technology(麻省理工学院)

Omri Ben-Eliezer, Slobodan Mitrović, Pranjal Srivastava

AI总结:

本文针对排列模式计数问题,为所有 k≤5 设计了确定性近线性时间 (1+ε)-近似算法,首次实现近似与精确计数分离,并开发了近最优的递增对范围查询数据结构。

摘要:

我们考虑在序列 $f \colon [n] \to \mathbb{R}$ 中计数长度为 $k$ 的模式 $\sigma$ 的副本的问题,其中副本是索引子集 $i_1 < \ldots < i_k \in [n]$,使得 $f(i_j) < f(i_\ell)$ 当且仅当 $\sigma(j) < \sigma(\ell)$。该问题源于排序、非参数统计、组合学和细粒度复杂性中的一系列联系和应用,尤其是当 $k$ 是一个小的固定常数时。\n\n最近的进展显著提高了我们对模式计数和检测的理解。Guillemot 和 Marx [2014] 针对任意固定 $k$ 的检测变体获得了 $O(n)$ 时间算法。他们的证明为发现 twin-width 奠定了基础,这一概念近年来显著推进了参数化复杂性。相比之下,计数更难:它有一个 $n^{\Omega(k / \log k)}$ 的条件性下界 [Berendsohn, Kozma, 和 Marx, 2019],并且预计在 $k = 4$ 时就已经比检测在多项式意义上更难,因为它等价于在图中计数 $4$-环 [Dudek 和 Gawrychowski, 2020]。\n\n在这项工作中,我们为所有 $k \leq 5$ 设计了一个确定性的近线性时间 $(1+\varepsilon)$-近似算法,用于计数 $f$ 中的 $\sigma$-副本。结合 $k=4$ 的条件性下界,这确立了近似模式计数与精确模式计数之间的首个已知分离。有趣的是,尽管序列 $f$ 和模式 $\sigma$ 都不是单调的,我们的算法广泛使用了单调函数的 coresets [Har-Peled, 2006]。在此过程中,我们开发了一种用于平面中 $(1+\varepsilon)$-近似递增对范围查询的近最优数据结构,该结构展示了与精确情况的条件性分离,并且可能具有独立的研究价值。

英文摘要:

We consider the problem of counting the copies of a length-$k$ pattern $σ$ in a sequence $f \colon [n] \to \mathbb{R}$, where a copy is a subset of indices $i_1 < \ldots < i_k \in [n]$ such that $f(i_j) < f(i_\ell)$ if and only if $σ(j) < σ(\ell)$. 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+\varepsilon)$-approximation algorithm for counting $σ$-copies in $f$ for all $k \leq 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+\varepsilon)$-approximate increasing pair range queries in the plane, which exhibits a conditional separation from the exact case and may be of independent interest.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑