atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

Enforcing Hard Linear Constraints in Deep Learning Models with Decision Rules

NeurIPS 2025 · Learning theory and algorithms › Combinatorial and search optimization · approach: Constrained neural network optimization · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a model-agnostic architecture that enforces input-dependent linear equality and inequality constraints on neural network outputs by convexly combining a task network with a linear-decision-rule safe network, solved offline via SDP/LP.

Problem

Deep learning models need to satisfy hard input-dependent linear equality and inequality constraints (physical, fairness, safety) at training and inference time, while existing penalty or projection methods are soft, slow, or limited to simple constraints.

Approach

A task network (trained for accuracy, equality-projected in closed form) is convexly combined with a safe network built from linear decision rules (robust-optimization style) whose outputs are feasible for all inputs in the uncertainty set; the blending weight alpha(x) is computed in closed form from slack ratios so the final output is feasible in a single forward pass.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
combine the task network with the feasible safe network using a convex combinationDecision-rule constrained network · Portfolio optimizationInequality Violation: 0.053(0.123) -> 0.000(0.000)Helped
combine the task network with the feasible safe network using a convex combinationDecision-rule constrained network · Portfolio optimizationOptimality Gap: 29.6(36.7) -> 2.35(6.37)Helped
use the proposed non-iterative framework instead of APMDC-OPF QP 118-bus · DC-OPF QP 118-busInference Time (ms): 117.6(156) -> 2.5(1)Helped
use the proposed framework instead of post-projection with GurobiDC-OPF QP 118-bus · DC-OPF QP 118-busOptimality Gap: 0.11(1.88) -> 1.10(2.13)Hurt
use the proposed framework instead of post-projection with OSQPDC-OPF QP 200-bus · DC-OPF QP 200-busOptimality Gap: 0.22(1.49) -> 1.07(1.71)Hurt
add task-network pre-training on the safe network output (ablation)Decision-rule constrained network · Portfolio optimizationOptimality Gap: 3.14(6.36) -> 2.35(6.37)Helped
add task-network pre-training on the safe network output (ablation)Decision-rule constrained network · DC-OPF 14-busOptimality Gap: 0.00(0.00) -> 0.00(0.00)No clear effect
add task-network pre-training on the safe network output (ablation)Decision-rule constrained network · DC-OPF 30-busOptimality Gap: 10.60(17.63) -> 0.00(0.00)Helped
add task-network pre-training on the safe network output (ablation)Decision-rule constrained network · DC-OPF 57-busOptimality Gap: 0.23(0.72) -> 0.21(0.68)No clear effect
add task-network pre-training on the safe network output (ablation)Decision-rule constrained network · DC-OPF 118-busOptimality Gap: 1.15(2.65) -> 1.27(2.00)Mixed
add task-network pre-training on the safe network output (ablation)Decision-rule constrained network · DC-OPF 200-busOptimality Gap: 0.89(1.35) -> 0.99(1.78)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: DC-OPF test cases (14, 30, 57, 118, 200-bus) portfolio optimization bond data

Benchmarks: DC-OPF (QP) 14/30/57/118/200-bus DC-OPF (LP) 14/30/57/118/200-bus Portfolio optimization

Metrics: optimality gap equality violation inequality violation inference time (ms)

Baselines: Gurobi OSQP Post projection APM EAPM DC3 LDR

Builds on: gauge mapping DC3 decision rules S-lemma

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy