用连续优化解决线性实数SMT问题,实现8倍加速。
Continuous Optimization for Satisfiability Modulo Theories on Linear Real Arithmetic
- 将沃尔什-傅里叶展开扩展到布尔-实数混合域,支持梯度下降求解
- 通过xBDD降低计算复杂度,10,000变量、70万约束下提速8倍
- 适合大规模调度与布局问题,尤其适合GPU并行加速
高效求解满足性模理论(SMT)在硬件验证与设计自动化等工业应用中至关重要。现有方法多基于冲突驱动子句学习,难以并行化且扩展性差。本文提出FourierSMT,一种可扩展且高度并行的连续变量优化框架。我们将沃尔什-傅里叶展开(WFE)推广至混合布尔-实数域,称为扩展WFE(xWFE),使梯度方法可用于SMT求解。该方法通过局部更新离散变量来应对高阶约束。为降低xWFE的评估复杂度,我们引入扩展二叉决策图(xBDD),并将xWFE约束映射至xBDD。进一步证明,在随机舍入下采样xBDD电路输出概率(COP)等价于xWFE的期望值,从而实现高效约束计算。所提方法保证收敛性并保持可满足性,确保解的正确性。在含10,000变量、700,000约束的大规模调度与布局问题上,相比最先进SMT求解器实现8倍加速,为基于GPU的连续系统SMT优化铺平道路。
原文摘要 · Abstract (English)
Efficient solutions for satisfiability modulo theories (SMT) are integral in industrial applications such as hardware verification and design automation. Existing approaches are predominantly based on conflict-driven clause learning, which is structurally difficult to parallelize and therefore scales poorly. In this work, we introduce FourierSMT as a scalable and highly parallelizable continuous-variable optimization framework for SMT. We generalize the Walsh-Fourier expansion (WFE), called extended WFE (xWFE), from the Boolean domain to a mixed Boolean-real domain, which allows the use of gradient methods for SMT. This addresses the challenge of finding satisfying variable assignments to high-arity constraints by local updates of discrete variables. To reduce the evaluation complexity of xWFE, we present the extended binary decision diagram (xBDD) and map the constraints from xWFE to xBDDs. We then show that sampling the circuit-output probability (COP) of xBDDs under randomized rounding is equivalent to the expectation value of the xWFEs. This allows for efficient computation of the constraints. We show that the reduced problem is guaranteed to converge and preserves satisfiability, ensuring the soundness of the solutions. The framework is benchmarked for large-scale scheduling and placement problems with up to 10,000 variables and 700,000 constraints, achieving 8-fold speedups compared to state-of-the-art SMT solvers. These results pave the way for GPU-based optimization of SMTs with continuous systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。