GLinSAT:通过加速梯度下降实现的通用线性可满足性神经网络层
GLinSAT: The General Linear Satisfiability Neural Network Layer By Accelerated Gradient Descent
AI总结:
本文提出通用线性可满足性神经网络层GLinSAT,通过将输出投影转化为熵正则化线性规划并利用加速梯度下降求解,在多个约束优化任务上展现优势。
摘要:
确保神经网络的输出满足特定约束对于将神经网络应用于现实生活中的决策问题至关重要。在本文中,我们考虑使一批神经网络输出满足有界的通用线性约束。我们首先将神经网络输出投影问题重新表述为熵正则化的线性规划问题。我们证明,根据对偶定理,该问题可以等价地转化为具有Lipschitz连续梯度的无约束凸优化问题。然后,基于一种具有数值性能增强的加速梯度下降算法,我们提出了我们的架构GLinSAT来解决该问题。据我们所知,这是第一个所有操作均可微且无需矩阵分解的通用线性可满足性层。尽管我们可以基于自动微分机制显式执行反向传播,但我们还在GLinSAT中提供了一种基于最优性条件隐式微分来计算导数的替代方法。在带约束的旅行商问题、带有异常值的部分图匹配、预测性投资组合分配以及电力系统机组组合上的实验结果证明了GLinSAT相对于现有可满足性层的优势。我们的实现可在https://github.com/HunterTracer/GLinSAT获取。
英文摘要:
Ensuring that the outputs of neural networks satisfy specific constraints is crucial for applying neural networks to real-life decision-making problems. In this paper, we consider making a batch of neural network outputs satisfy bounded and general linear constraints. We first reformulate the neural network output projection problem as an entropy-regularized linear programming problem. We show that such a problem can be equivalently transformed into an unconstrained convex optimization problem with Lipschitz continuous gradient according to the duality theorem. Then, based on an accelerated gradient descent algorithm with numerical performance enhancement, we present our architecture, GLinSAT, to solve the problem. To the best of our knowledge, this is the first general linear satisfiability layer in which all the operations are differentiable and matrix-factorization-free. Despite the fact that we can explicitly perform backpropagation based on automatic differentiation mechanism, we also provide an alternative approach in GLinSAT to calculate the derivatives based on implicit differentiation of the optimality condition. Experimental results on constrained traveling salesman problems, partial graph matching with outliers, predictive portfolio allocation and power system unit commitment demonstrate the advantages of GLinSAT over existing satisfiability layers. Our implementation is available at \url{https://github.com/HunterTracer/GLinSAT}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。