arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.08359math.OCcs.LG
收藏

训练神经网络的强混合整数规划公式

Strong mixed-integer programming formulations for trained neural networks

Google Research(谷歌研究院);MIT(麻省理工学院)

Ross Anderson, Joey Huchette, Christian Tjandraatmadja, Juan Pablo Vielma

摘要:

我们提出了一个理想的混合整数规划(MIP)制定的整流线性单元(ReLU)出现在一个训练有素的神经网络。我们的公式需要一个单一的二进制变量,除了ReLU的输入和输出变量之外,没有其他连续变量。我们对比它与一个理想的“扩展”配方与线性数量的额外的连续变量,通过标准技术。一个明显的缺点是,我们制定的是,它需要一个指数数量的不等式约束,但我们提供了一个例程来分离的不等式在线性时间。我们还证明了这些指数多约束是温和的条件下的小面定义。最后,我们研究了网络验证问题,并观察到从指数不等式中动态分离1)比扩展公式更具有计算效率和可扩展性,2)在较小的实例上将最先进的MIP求解器的求解时间减少了7倍,以及3)在较硬的实例上几乎匹配最先进的MIP求解器的对偶边界,在几轮分离之后,并且在数量级上更少的时间。

英文摘要:

We present an ideal mixed-integer programming (MIP) formulation for a rectified linear unit (ReLU) appearing in a trained neural network. Our formulation requires a single binary variable and no additional continuous variables beyond the input and output variables of the ReLU. We contrast it with an ideal "extended" formulation with a linear number of additional continuous variables, derived through standard techniques. An apparent drawback of our formulation is that it requires an exponential number of inequality constraints, but we provide a routine to separate the inequalities in linear time. We also prove that these exponentially-many constraints are facet-defining under mild conditions. Finally, we study network verification problems and observe that dynamically separating from the exponential inequalities 1) is much more computationally efficient and scalable than the extended formulation, 2) decreases the solve time of a state-of-the-art MIP solver by a factor of 7 on smaller instances, and 3) nearly matches the dual bounds of a state-of-the-art MIP solver on harder instances, after just a few rounds of separation and in orders of magnitude less time.

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

↑