Skip to main content
QUICK REVIEW

[论文解读] Generating Weighted MAX-2-SAT Instances of Tunable Difficulty with Frustrated Loops

Yan Ru Pei, Haik Manukian|arXiv (Cornell University)|May 14, 2019
Formal Methods in VerificationComputer Science参考文献 46被引用 18
一句话总结

本文提出了一种新颖的算法,通过利用双分图中的 frustration 循环,生成具有可调难度的加权 MAX-2-SAT 实例,其灵感来源于量子退火技术。该方法使用 frustration 指数来控制难度,并在硬度标度上表现出双重相变,通过结构化的循环配置在高循环密度区域实现了性能提升。

ABSTRACT

Many optimization problems can be cast into the maximum satisfiability (MAX-SAT) form, and many solvers have been developed for tackling such problems. To evaluate a MAX-SAT solver, it is convenient to generate hard MAX-SAT instances with known solutions. Here, we propose a method of generating weighted MAX-2-SAT instances inspired by the frustrated-loop algorithm used by the quantum annealing community. We extend the algorithm for instances of general bipartite couplings, with the associated optimization problem being the minimization of the restricted Boltzmann machine (RBM) energy over the nodal values, which is useful for effectively pre-training the RBM. The hardness of the generated instances can be tuned through a central parameter known as the frustration index. Two versions of the algorithm are presented: the random- and structured-loop algorithms. For the random-loop algorithm, we provide a thorough theoretical and empirical analysis on its mathematical properties from the perspective of frustration, and observe empirically a double phase transition behavior in the hardness scaling behavior driven by the frustration index. For the structured-loop algorithm, we show that it offers an improvement in hardness over the random-loop algorithm in the regime of high loop density, with the variation of hardness tunable through the concentration of frustrated weights.

研究动机与目标

  • 为求解器评估解决缺乏高效、可控且具有已知最优解的硬性 MAX-2-SAT 实例生成器的问题。
  • 将 frustrated-loop 方法从量子退火扩展到生成具有可调难度的加权 MAX-2-SAT 实例。
  • 实现具有已知基态(预设解)的实例生成,这些解不一定是最优的,从而避免现有方法中的常见陷阱。
  • 提供一种可扩展且高效的生成方法,适用于低和高文字密度区域的硬性实例。
  • 证明硬度可通过 frustration 指数和循环结构进行调节,特别是在高密度配置下。

提出的方法

  • 将量子退火中的 frustrated-loop 算法改编为在双分图上生成具有可调难度的加权 MAX-2-SAT 实例。
  • 使用 frustration 指数作为核心控制参数,调节优化问题的难度。
  • 提出两种变体:用于一般难度分析的随机循环算法,以及用于在高循环密度区域增强难度的结构化循环算法。
  • 通过 RBM 能量函数将加权 MAX-2-SAT 问题映射为受限玻尔兹曼机(RBM)配置上的能量最小化问题:$ E(oldsymbol{v},oldsymbol{h}) = -ig( extstyleigsum_{ij} W_{ij}v_i h_j + extstyleigsum_i a_i v_i + extstyleigsum_j b_j h_j ig) $。
  • 使用具有最优遍历调度的模拟退火来测量难度,以总遍历次数的第 95 百分位数作为难度的代理指标。
  • 通过在多个实例上对遍历次数进行对数正态拟合,估计硬度标度行为并优化退火参数。

实验结果

研究问题

  • RQ1如何高效且可调难度地生成具有已知最优解的加权 MAX-2-SAT 实例?
  • RQ2frustration 指数在控制生成的 MAX-2-SAT 实例难度方面起什么作用?
  • RQ3随机循环算法是否在 frustration 指数作为函数时表现出硬度标度的双重相变?
  • RQ4在高循环密度下,结构化循环算法是否在硬度方面优于随机循环算法?
  • RQ5如何确定并外推不同系统规模下的最优模拟退火参数?

主要发现

  • 随机循环算法在 frustration 指数作为函数时表现出硬度标度的双重相变,表明存在难度逐渐增加的不同区域。
  • 在高循环密度区域,结构化循环算法实现的硬度高于随机循环算法,其难度可通过受挫权重的集中度进行调节。
  • 最优模拟退火遍历调度的表达式为 $ N_{\text{sweep}} = (1.29n^2 - 33.1n + 1664) \times (41.4f^3 - 11.7f^2 + 1.06f - 0.018) $,其中 $ n $ 和 $ f $ 分别表示系统大小和 frustration 指数。
  • 将找到解所需的总遍历次数的第 95 百分位数用作硬度的稳健估计器,遍历次数的分布近似为对数正态分布。
  • 对退火参数进行两轮优化后,可在均方误差范围内收敛得到标度律,从而实现对更难实例的可靠外推。
  • 该方法成功生成了具有预设解的硬性、可控实例,克服了先前方法在难度控制、结构灵活性和计算成本方面的局限。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。