Learning differentiable solvers for systems with hard constraints

Geoffrey Négiar, Michael W. Mahoney, Aditi S. Krishnapriyan
7/18/2022
cs.LG

No confident code implementation found for this paper.

Abstract

We introduce a practical method to enforce partial differential equation (PDE) constraints for functions defined by neural networks (NNs), with a high degree of accuracy and up to a desired tolerance. We develop a differentiable PDE-constrained layer that can be incorporated into any NN architecture. Our method leverages differentiable optimization and the implicit function theorem to effectively enforce physical constraints. Inspired by dictionary learning, our model learns a family of functions, each of which defines a mapping from PDE parameters to PDE solutions. At inference time, the model finds an optimal linear combination of the functions in the learned family by solving a PDE-constrained optimization problem. Our method provides continuous solutions over the domain of interest that accurately satisfy desired physical constraints. Our results show that incorporating hard constraints directly into the NN architecture achieves much lower test error when compared to training on an unconstrained objective.

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!

Cite this paper

@article{ngiar2022learning,
  title  = {Learning differentiable solvers for systems with hard constraints},
  author = {Geoffrey Négiar and Michael W. Mahoney and Aditi S. Krishnapriyan},
  year   = {2022},
  eprint = {2207.08675},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08675v2}
}

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/2207.08675.svg)](https://codeofpaper.com/paper/2207.08675)

Discussion