Summary
The paper introduces "GLinSAT," a novel neural network layer designed to enforce general linear and bounded constraints on neural network outputs using a differentiable approach. The method leverages entropy-regularized linear programming, transforming it into an unconstrained convex optimization problem that avoids matrix factorization and is efficiently solvable on GPUs using accelerated gradient descent. The authors present experimental results that demonstrate the effectiveness of GLinSAT compared to existing solutions across several constrained decision-making applications.
Strengths
1. The paper addresses the challenge of imposing general linear constraints on neural network outputs in a differentiable manner. The approach of using entropy-regularized linear programming and transforming it into an unconstrained optimization problem is novel and technically sound.
2. The reformulation from a projection problem to an unconstrained optimization problem not only ensures differentiability but also boosts computational efficiency, as demonstrated in the forward and backward processes through dual formulation-based optimization and implicit differentiation.
3. The experiments cover a diverse set of applications, including the traveling salesman problem, graph matching, portfolio allocation, and power system unit commitment. The proposed GLinSAT outperforms several baselines over those problems in terms of constraint satisfaction and computational efficiency.
Weaknesses
1. Besides differentiable layer-related works, the paper could benefit from a more extensive review of other works about NN feasibility over linear constraints, such as [1], [2], and [3].
2. The motivation for using a dot product in the objective function (Eq. 3) as opposed to a standard L2/L1 norm minimization for projection problems is unclear. Clarification on the rationale behind this choice, its advantages, or specific scenarios where it is particularly beneficial would be valuable. Additionally, is dot-product-based projection the only one that admits the entropy-regularized formulation and the unconstrained dual problem?
3. The comparison between the entropy-regularized and the unregularized projection problems could be more explicitly detailed, especially how the optimality gap between the two problems is affected by $\theta$.
[1] "Tordesillas, J., How, J. P., & Hutter, M. (2023). Rayen: Imposition of hard convex constraints on neural networks. arXiv preprint arXiv:2307.08336.",
[2] "Zhao, T., Pan, X., Chen, M., & Low, S. (2023). Ensuring DNN solution feasibility for optimization problems with linear constraints. In The Eleventh International Conference on Learning Representations."
[3] "Tabas, D., & Zhang, B. (2022, June). Computationally efficient safe reinforcement learning for power systems. In 2022 American Control Conference (ACC) (pp. 3303-3310). IEEE."
Questions
1. For L2 projection layer, the projection distance will be no larger than the approximation error; thus, the universal approximation ability of NN+L2-projection will be maintained. Meanwhile, with the dot-product-based projection layer, will the approximation ability of NN+Dot-Product-projection be affected?
2. A deeper discussion on the motivation of this entropy regularization design for linear programming and its related works would be appreciated. For example, is it the first time to formulate such a dot-product projection problem with entropy regularization in literature?
3. Providing more detailed information about the problem sizes used in experiments (e.g., dimensions of m and n) would help in assessing the scalability and practical applicability of GLinSAT.
4. Since GLinSAT is designed for continuous problems, the experiments contain 3 discrete problems. It would be beneficial for the authors to explain in detail how GLinSAT is applied to these discrete problems and how feasibility over discrete decision variables is recovered.
5. Why not compare GLinSAT with CvxpyLayers/OptNet with the L2 projection?
6. Why can the feasibility of GLinSAT not be guaranteed in Table 6?
Limitations
The authors have discussed limitations in Appendix A3.