Guaranteed Conformance of Neurosymbolic Models to Natural Constraints
Not on the map. Why?
Abstract (arXiv)
Deep neural networks have emerged as the workhorse for a large section of robotics and control applications, especially as models for dynamical systems. Such data-driven models are in turn used for designing and verifying autonomous systems. They are particularly useful in modeling medical systems where data can be leveraged to individualize treatment. In safety-critical applications, it is important that the data-driven model is conformant to established knowledge from the natural sciences. Such knowledge is often available or can often be distilled into a (possibly black-box) model. For instance, an F1 racing car should conform to Newton's laws (which are encoded within a unicycle model). In this light, we consider the following problem - given a model M and a state transition dataset, we wish to best approximate the system model while being a bounded distance away from M. We propose a method to guarantee this conformance. Our first step is to distill the dataset into a few representative samples called memories, using the idea of a growing neural gas. Next, using these memories we partition the state space into disjoint subsets and compute bounds that should be respected by the neural network in each subset. This serves as a symbolic wrapper for guaranteed conformance. We argue theoretically that this only leads to a bounded increase in approximation error; which can be controlled by increasing the number of memories. We experimentally show that on three case studies (Car Model, Drones, and Artificial Pancreas), our constrained neurosymbolic models conform to specified models (each encoding various constraints) with order-of-magnitude improvements compared to the augmented Lagrangian and vanilla training methods. Our code can be found at: https://github.com/kaustubhsridhar/ConstrainedModels
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 19 of its 51 references that are in the map. First posted on arXiv 2 Dec 2022.
Builds on
19 of 51 references.
References · 19
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,431
- 2019Hamiltonian Neural Networkscited by 702
- 2019DeepXDE: A deep learning library for solving differential equationscited by 617
- 2020Lagrangian Neural Networkscited by 388
- 2021Physics-informed neural networks with hard constraints for inverse designcited by 277
- 2019Deep Lagrangian Networks: Using Physics as Model Prior for Deep Learningcited by 205
- 2019Symplectic ODE-Net: Learning Hamiltonian Dynamics with Controlcited by 183
- 2020Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraintscited by 102
- 2018Neural Lander: Stable Drone Landing Control using Learned Dynamicscited by 82
- 2020Lagrangian Duality for Constrained Deep Learningcited by 72
- 2021Learning to Fly -- a Gym Environment with PyBullet Physics for Reinforcement Learning of Multi-agent Quadcopter Controlcited by 68
- 2017Imposing Hard Constraints on Deep Networks: Promises and Limitationscited by 42
7 more
- 2021Neural Networks with Physics-Informed Architectures and Constraints for Dynamical Systems Modelingcited by 40
- 2021Hamiltonian-based Neural ODE Networks on the SE(3) Manifold For Dynamics Learning and Controlcited by 37
- 2020Modeling System Dynamics with Physics-Informed Neural Networks Based on Lagrangian Mechanicscited by 32
- 2019Constrained Deep Networks: Lagrangian Optimization via Log-Barrier Extensionscited by 30
- 2020Structured Mechanical Models for Robot Learning and Controlcited by 21
- 2020Training neural networks under physical constraints using a stochastic augmented Lagrangian approachcited by 19
- 2022A Framework for Checkpointing and Recovery of Hierarchical Cyber-Physical Systemscited by 1
Built on by
Citing papers per year: 2023: 2; 2024: 3; 2025: 1.
6 papers.
- 2023Memory-Consistent Neural Networks for Imitation Learningcited by 14
- 2024REGENT: A Retrieval-Augmented Generalist Agent That Can Act In-Context in New Environmentscited by 12
- 2025Four Principles for Physically Interpretable World Modelscited by 10
- 2024Physically Interpretable World Models via Weakly Supervised Representation Learningcited by 3
- 2024Automating Weak Label Generation for Data Programming with Clinicians in the Loopcited by 1
- 2023Curating Naturally Adversarial Datasets for Learning-Enabled Medical Cyber-Physical Systemscited by 0
- 2025Four Principles for Physically Interpretable World Models4 Mar 2025
- 2024Physically Interpretable World Models via Weakly Supervised Representation Learning17 Dec 2024
- 2024REGENT: A Retrieval-Augmented Generalist Agent That Can Act In-Context in New Environments6 Dec 2024
- 2024Automating Weak Label Generation for Data Programming with Clinicians in the Loop10 Jul 2024
- 2023Memory-Consistent Neural Networks for Imitation Learning9 Oct 2023
- 2023Curating Naturally Adversarial Datasets for Learning-Enabled Medical Cyber-Physical Systems1 Sep 2023