$X_1+X_2+\cdots + X_m$上具有层序堆的选择
Selection on $X_1+X_2+\cdots + X_m$ with layer-ordered heaps
摘要:
$X_1+X_2+\cdots + X_m$上的选择是一个重要的问题,在诸如最大卷积、最大乘积贝叶斯推断、计算最可能的同位素和计算非参数检验统计量等领域中有许多应用。对于$m=2$,存在比幼稚更快的方法:Frederickson(1993)发布了运行时$O(k)$的最佳算法,Kaplan \emph{et al.}(2018)此后发布了一个更简单的算法,该算法使用了Chazelle的软堆(2003)。$m>2$没有快速的方法。Johnson \& Mizoguchi(1978)介绍了一种方法,当$m>2$时计算单个$k^{th}$值,但该方法在$O(m\cdot n^{\lceil\frac{m}{2}\rceil} \log(n))$时间内运行,并且当$m \gg 1$和$k \ll n^{\lceil\frac{m}{2}\rceil}$时效率低下。在本文中,我们介绍了第一个有效的方法,在理论和实践中,与$m>2$的问题。我们引入了“层序堆”,这是一个简单的特殊堆类,我们用它产生了一个新的,关于笛卡尔积的快速选择算法。使用该新算法对长度为$n$的$m$阵列的笛卡尔积执行$k$选择具有运行时$\in o(k\cdot m)$。我们还提供了所提出的算法的实现,并在实践中评估其性能。
英文摘要:
Selection on $X_1+X_2+\cdots + X_m$ is an important problem with many applications in areas such as max-convolution, max-product Bayesian inference, calculating most probable isotopes, and computing non-parametric test statistics, among others. Faster-than-naïve approaches exist for $m=2$: Frederickson (1993) published the optimal algorithm with runtime $O(k)$ and Kaplan \emph{et al.} (2018) has since published a much simpler algorithm which makes use of Chazelle's soft heaps (2003). No fast methods exist for $m>2$. Johnson \& Mizoguchi (1978) introduced a method to compute the single $k^{th}$ value when $m>2$, but that method runs in $O(m\cdot n^{\lceil\frac{m}{2}\rceil} \log(n))$ time and is inefficient when $m \gg 1$ and $k \ll n^{\lceil\frac{m}{2}\rceil}$. In this paper, we introduce the first efficient methods, both in theory and practice, for problems with $m>2$. We introduce the ``layer-ordered heap,'' a simple special class of heap with which we produce a new, fast selection algorithm on the Cartesian product. Using this new algorithm to perform $k$-selection on the Cartesian product of $m$ arrays of length $n$ has runtime $\in o(k\cdot m)$. We also provide implementations of the algorithms proposed and evaluate their performance in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。