mPOLICE: Provable Enforcement of Multi-Region Affine Constraints in Deep Neural Networks

Mohammadmehdi Ataei, Hyunmin Cheong, Adrian Butscher
2/4/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Deep neural networks are increasingly used in safety-critical domains such as robotics and scientific modeling, where strict adherence to output constraints is essential. Methods like POLICE, which are tailored for single convex regions, face challenges when extended to multiple disjoint regions, often leading to constraint violations or unwanted affine behavior across regions. This paper proposes mPOLICE, a new approach that generalizes POLICE to provably enforce affine constraints over multiple disjoint convex regions. At its core, mPOLICE assigns distinct neuron activation patterns to each constrained region, enabling localized affine behavior and avoiding unintended generalization. This is implemented through a layer-wise optimization of the network parameters. Additionally, we introduce a training algorithm that incorporates mPOLICE into conventional deep learning pipelines, balancing task-specific performance with constraint enforcement using periodic sign pattern enforcement. We validate the flexibility and effectiveness of mPOLICE through experiments across various applications, including safety-critical reinforcement learning, implicit 3D shape representation with geometric constraints, and fluid dynamics simulations with boundary condition enforcement. Importantly, mPOLICE incurs no runtime overhead during inference, making it a practical and reliable solution for constraint handling in deep neural networks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ataei2025mpolice,
  title  = {mPOLICE: Provable Enforcement of Multi-Region Affine Constraints in Deep Neural Networks},
  author = {Mohammadmehdi Ataei and Hyunmin Cheong and Adrian Butscher},
  year   = {2025},
  eprint = {2502.02434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.02434v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.02434.svg)](https://codeofpaper.com/paper/2502.02434)

Discussion