论文标题
Polyarbernn:用于有限多项式不平等的神经网络指导求解器和优化器
PolyARBerNN: A Neural Network Guided Solver and Optimizer for Bounded Polynomial Inequalities
论文作者
论文摘要
约束求解器在复杂嵌入式和网络物理系统的分析,合成和形式验证中起着重要作用。在本文中,我们研究了设计可扩展约束的求解器的问题,以针对称为多项式约束不平等的重要一类约束(也称为非线性真实算术理论)。在本文中,我们介绍了一个名为Polyarbernn的求解器,该求解器使用凸多项式作为高度非线性多项式的抽象。以前,此类抽象被证明是有力的,可以修剪搜索空间,并将声音和完整求解器的用法限制为小搜索空间。与以前使用凸抽象的努力相比,Polyarbernn提供了三个主要贡献(i),即(i)神经网络指导的抽象改进程序,有助于从一组预定的抽象中选择正确的抽象,(ii)伯恩斯坦多项式搜索空间的基于多项式估计的次数最大程度地估算为多物种的次数,并最大程度地估算了多种型号的次数。多项式和(iii)优化器将多项式目标函数转换为多项式约束(在目标函数的梯度上),其解决方案保证可以接近全局优化。这些增强功能使多ARBERNN求解器可以与最先进的非线性真实算术求解器相比,可以更有利地求解复杂实例,同时保持了所得求解器的健全性和完整性。特别是,我们的测试工作台表明,与Z3 8.9,YICES 2.6和Nasalib(使用Bernstein扩展来求解多元多项式约束的求解器相比,Polyarbernn实现了100倍的加速,在各种标准的测试台上求解了求解器。
Constraints solvers play a significant role in the analysis, synthesis, and formal verification of complex embedded and cyber-physical systems. In this paper, we study the problem of designing a scalable constraints solver for an important class of constraints named polynomial constraint inequalities (also known as non-linear real arithmetic theory). In this paper, we introduce a solver named PolyARBerNN that uses convex polynomials as abstractions for highly nonlinear polynomials. Such abstractions were previously shown to be powerful to prune the search space and restrict the usage of sound and complete solvers to small search spaces. Compared with the previous efforts on using convex abstractions, PolyARBerNN provides three main contributions namely (i) a neural network guided abstraction refinement procedure that helps selecting the right abstraction out of a set of pre-defined abstractions, (ii) a Bernstein polynomial-based search space pruning mechanism that can be used to compute tight estimates of the polynomial maximum and minimum values which can be used as an additional abstraction of the polynomials, and (iii) an optimizer that transforms polynomial objective functions into polynomial constraints (on the gradient of the objective function) whose solutions are guaranteed to be close to the global optima. These enhancements together allowed the PolyARBerNN solver to solve complex instances and scales more favorably compared to the state-of-art non-linear real arithmetic solvers while maintaining the soundness and completeness of the resulting solver. In particular, our test benches show that PolyARBerNN achieved 100X speedup compared with Z3 8.9, Yices 2.6, and NASALib (a solver that uses Bernstein expansion to solve multivariate polynomial constraints) on a variety of standard test benches.