关于螺母与螺栓问题推广及广义排序的实例最优算法研究
On Instance-Optimal Algorithms for a Generalization of Nuts and Bolts and Generalized Sorting
AI总结:
本文推广螺母螺栓问题提出二分排序,采用基于邻域的实例最优定义,给出接近最优的随机算法,并进一步推广到DAG排序,推翻了带代价信息排序的一个潜在下界。
摘要:
我们将经典的螺母与螺栓问题推广到输入为n个螺母和m个螺栓、且不保证存在匹配对的场景。该场景不允许直接比较螺母与螺母或螺栓与螺栓,目标是通过最少的螺母-螺栓比较,揭示螺母与螺栓之间的偏序关系。我们将此问题命名为二分排序(bipartite sorting)。\n 我们证明,相同规模的二分排序实例复杂度差异很大,因此提出对该问题进行细粒度分析。我们排除了过于严格的直接实例最优性概念,采用了一种基于邻域(neighborhood-based)的定义。该定义可作为统一视角,用于分析文献中其他静态问题的实例最优算法,具有独立研究价值,涵盖的问题包括排序(Estivill-Castro和Woods,ACM Comput. Surv. 1992)、凸包(Afshani、Barbay和Chan,JACM 2017)、自适应连接(Demaine、López-Ortiz和Munro,SODA 2000),以及近期提出的图的通用最优性概念(Haeupler、Hladík、Rozhoň、Tarjan和Tětek,2023)。\n 作为二分排序问题的核心结果,我们提出了一种随机算法,在基于邻域的定义下,该算法以高概率(w.h.p.)达到实例最优的O(log³(n+m))倍以内。\n 作为第二项贡献,我们将二分排序推广到有向无环图(DAG)排序,此时底层DAG不一定是二分图。通过一个简单的DAG排序算法,我们得到了一个意外结论:推翻了由Charikar、Fagin、Guruswami、Kleinberg、Raghavan和Sahai(STOC 2000)提出的、被广泛研究的带代价信息排序(sorting with priced information)问题的一个潜在下界。
英文摘要:
We generalize the classical nuts and bolts problem to a setting where the input is a collection of $n$ nuts and $m$ bolts, and there is no promise of any matching pairs. It is not allowed to compare a nut directly with a nut or a bolt directly with a bolt, and the goal is to perform the fewest nut-bolt comparisons to discover the partial order between the nuts and bolts. We term this problem \emph{bipartite sorting}. We show that instances of bipartite sorting of the same size exhibit a wide range of complexity, and propose to perform a fine-grained analysis for this problem. We rule out straightforward notions of instance-optimality as being too stringent, and adopt a \emph{neighborhood-based} definition. Our definition may be of independent interest as a unifying lens for instance-optimal algorithms for other static problems existing in literature. This includes problems like sorting (Estivill-Castro and Woods, ACM Comput. Surv. 1992), convex hull (Afshani, Barbay and Chan, JACM 2017), adaptive joins (Demaine, López-Ortiz and Munro, SODA 2000), and the recent concept of universal optimality for graphs (Haeupler, Hladík, Rozhoň, Tarjan and Tětek, 2023). As our main result on bipartite sorting, we give a randomized algorithm that is within a factor of $O(\log ^3 (n+m))$ of being instance-optimal w.h.p., with respect to the neighborhood-based definition. As our second contribution, we generalize bipartite sorting to DAG sorting, when the underlying DAG is not necessarily bipartite. As an unexpected consequence of a simple algorithm for DAG sorting, we rule out a potential lower bound on the widely-studied problem of \emph{sorting with priced information}, posed by (Charikar, Fagin, Guruswami, Kleinberg, Raghavan and Sahai, STOC 2000).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。