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

动态规划的平均灵敏度

Average Sensitivity of Dynamic Programming

Soh Kumabe, Yuichi Yoshida

摘要:

当处理具有不确定性的数据时,期望算法的输出对于输入中的小扰动是稳定的。Varma和Yoshida [SODA'21]最近形式化了这一想法,并提出了算法平均灵敏度的概念,粗略地说,是原始输入的解与从输入中删除一个元素获得的解之间的平均海明距离,其中平均值是对删除的元素的取平均值。在这项工作中,我们考虑平均灵敏度的问题,可以解决的动态规划的算法。本文首先给出了一个在具有平均灵敏度$O(δ^{-1}\log^3 n)$的传递有向无环图中寻找最大权链的$(1-δ)$ -近似算法,其中$n$是图中的顶点数.然后,我们展示了各种动态规划问题的平均灵敏度小的算法,通过减少他们的MWC问题,同时保持平均灵敏度,包括最长的增加子序列问题,区间调度问题,最长的共同子序列问题,最长的回文子序列问题,背包问题与整数权重,和RNA折叠问题。对于RNA折叠问题,我们的减少是非常不平凡的,因为一个天真的减少生成一个指数大的图,它只提供了一个平凡的平均灵敏度界。

英文摘要:

When processing data with uncertainty, it is desirable that the output of the algorithm is stable against small perturbations in the input. Varma and Yoshida [SODA'21] recently formalized this idea and proposed the notion of average sensitivity of algorithms, which is roughly speaking, the average Hamming distance between solutions for the original input and that obtained by deleting one element from the input, where the average is taken over the deleted element. In this work, we consider average sensitivity of algorithms for problems that can be solved by dynamic programming. We first present a $(1-δ)$-approximation algorithm for finding a maximum weight chain (MWC) in a transitive directed acyclic graph with average sensitivity $O(δ^{-1}\log^3 n)$, where $n$ is the number of vertices in the graph. We then show algorithms with small average sensitivity for various dynamic programming problems by reducing them to the MWC problem while preserving average sensitivity, including the longest increasing subsequence problem, the interval scheduling problem, the longest common subsequence problem, the longest palindromic subsequence problem, the knapsack problem with integral weight, and the RNA folding problem. For the RNA folding problem, our reduction is highly nontrivial because a naive reduction generates an exponentially large graph, which only provides a trivial average sensitivity bound.

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

↑