The Theory and Practice of MAP Inference over Non-Convex Constraints
Leander Kurscheidt, Gabriele Masina, Roberto Sebastiani, Antonio Vergari
Abstract
In many safety-critical settings, probabilistic ML systems have to make predictions subject to algebraic constraints, e.g., predicting the most likely trajectory that does not cross obstacles. These real-world constraints are rarely convex, nor the densities considered are (log-)concave. This makes computing this constrained maximum a posteriori (MAP) prediction efficiently and reliably extremely challenging. In this paper, we first investigate under which conditions we can perform constrained MAP inference over continuous variables exactly and efficiently and devise a scalable message-passing algorithm for this tractable fragment. Then, we devise a general constrained MAP strategy that interleaves partitioning the domain into convex feasible regions with numerical constrained optimization. We evaluate both methods on synthetic and real-world benchmarks, showing our approaches outperform constraintagnostic baselines, and scale to complex densities intractable for SoTA exact solvers.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on13
- A Compositional Atlas of Tractable Circuit Operations for Probabilistic InferenceAntonio Vergari, YooJung Choi, Anji Liu, Stefano Teso et al.NeurIPS 2021 · 112 citations
- Learning Physical Models that Can Respect Conservation LawsDerek Hansen, Danielle C. Maddix, Shima Alizadeh, Gaurav Gupta et al.ICML 2023 · 73 citations
- Time Weaver: A Conditional Time Series Generation ModelSai Shankar Narasimhan, Shubhankar Agarwal, Oguzhan Akcin, Sujay Sanghavi et al.ICML 2024 · 42 citations
- Subtractive Mixture Models via Squaring: Representation and LearningLorenzo Loconte, Aleksanteri M. Sladek, Stefan Mengel, Martin Trapp et al.ICLR 2024 · 42 citations
- Sum of Squares CircuitsLorenzo Loconte, Stefan Mengel, Antonio VergariAAAI 2025 · 20 citations
Related papers
- Constrained Variational Policy Optimization for Safe Reinforcement LearningZuxin Liu, Zhepeng Cen, Vladislav Isenbaev, Wei Liu et al.ICML 2022 · 112 citations
- Accelerated Message Passing for Entropy-Regularized MAP InferenceJonathan N. Lee, Aldo Pacchiano, Peter L. Bartlett, Michael I. JordanICML 2020
- Scaling up Hybrid Probabilistic Inference with Logical and Arithmetic Constraints via Message PassingZhe Zeng, Paolo Morettin, Fanqi Yan, Antonio Vergari et al.ICML 2020 · 17 citations
- Constrained Policy Optimization via Bayesian World ModelsYarden As, Ilnura Usmanova, Sebastian Curi, Andreas KrauseICLR 2022 · 73 citations
- Scalable Constrained Policy Optimization for Safe Multi-agent Reinforcement LearningLijun Zhang, Lin Li, Wei Wei, Huizhong Song et al.NeurIPS 2024 · 22 citations
