GLinSAT: The General Linear Satisfiability Neural Network Layer By Accelerated Gradient Descent

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zeng, Hongtai, Yang, Chao, Zhou, Yanzhen, Yang, Cheng, Guo, Qinglai
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929585340284928
author Zeng, Hongtai
Yang, Chao
Zhou, Yanzhen
Yang, Cheng
Guo, Qinglai
author_facet Zeng, Hongtai
Yang, Chao
Zhou, Yanzhen
Yang, Cheng
Guo, Qinglai
contents 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}.
format Preprint
id arxiv_https___arxiv_org_abs_2409_17500
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GLinSAT: The General Linear Satisfiability Neural Network Layer By Accelerated Gradient Descent
Zeng, Hongtai
Yang, Chao
Zhou, Yanzhen
Yang, Cheng
Guo, Qinglai
Artificial Intelligence
Systems and Control
Optimization and Control
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}.
title GLinSAT: The General Linear Satisfiability Neural Network Layer By Accelerated Gradient Descent
topic Artificial Intelligence
Systems and Control
Optimization and Control
url https://arxiv.org/abs/2409.17500