基于场景的树结构鲁棒优化
Scenario-Based Robust Optimization of Tree Structures
AI总结:
该研究在基于场景的鲁棒优化中研究二叉搜索树和霍夫曼树,证明相关优化问题为NP困难,并给出最优或近最优的竞争比与遗憾值算法,以及帕累托最优树的算法和实验验证。
摘要:
我们开创了在基于场景的鲁棒优化背景下对树结构的研究。具体而言,我们研究了二叉搜索树(BSTs)和霍夫曼编码,这两种基于已知键频率集合来有效管理和编码数据的基本技术。给定$k$个不同场景,每个场景由键上的不同频率分布定义,我们的目标是计算单个性能尽可能好的树,相对于任何场景而言。我们考虑的性能指标包括竞争比,它乘法地比较解决方案的成本与所有场景中成本最低的树的成本,以及遗憾值,它进行类似的但加法的比较。对于二叉搜索树,我们证明了该问题在两种指标下都是NP困难的。我们还展示了如何获得竞争比为$\lceil \log_2(k+1) \rceil$的树,并证明该比率是最优的。对于霍夫曼树,我们同样证明了该问题在两种指标下都是NP困难的;我们还给出了遗憾值为$\lceil \log_2 k \rceil$的算法,并通过证明下界$\lfloor \log_2 k \rfloor$表明其接近最优。最后,我们给出了一个多项式时间算法,用于计算关于遗憾值的帕累托最优二叉搜索树,假设场景由键上的均匀分布定义。这一设置特别包含了数据结构背景下公平性的首次研究。我们对所有算法进行了实验评估。为此,我们还提供了用于计算最优树的混合整数线性规划公式。
英文摘要:
We initiate the study of tree structures in the context of scenario-based robust optimization. Specifically, we study Binary Search Trees (BSTs) and Huffman coding, two fundamental techniques for efficiently managing and encoding data based on a known set of frequencies of keys. Given $k$ different scenarios, each defined by a distinct frequency distribution over the keys, our objective is to compute a single tree of best-possible performance, relative to any scenario. We consider, as performance metrics, the competitive ratio, which compares multiplicatively the cost of the solution to the tree of least cost among all scenarios, as well as the regret, which induces a similar, but additive comparison. For BSTs, we show that the problem is NP-hard across both metrics. We also show how to obtain a tree of competitive ratio $\lceil \log_2(k+1) \rceil$, and we prove that this ratio is optimal. For Huffman Trees, we show that the problem is, likewise, NP-hard across both metrics; we also give an algorithm of regret $\lceil \log_2 k \rceil$, which we show is near-optimal, by proving a lower bound of $\lfloor \log_2 k \rfloor$. Last, we give a polynomial-time algorithm for computing Pareto-optimal BSTs with respect to their regret, assuming scenarios defined by uniform distributions over the keys. This setting captures, in particular, the first study of fairness in the context of data structures. We provide an experimental evaluation of all algorithms. To this end, we also provide mixed integer linear program formulation for computing optimal trees.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。