Optimizing over trained GNNs via symmetry breaking
Shiqiang Zhang, Juan S. Campos, Christian Feldmann, David Walz, Frederik Sandfort, Miriam Mathea, Calvin Tsay, Ruth Misener
Abstract
Optimization over trained machine learning models has applications including: verification, minimizing neural acquisition functions, and integrating a trained surrogate into a larger decision-making problem. This paper formulates and solves optimization problems constrained by trained graph neural networks (GNNs). To circumvent the symmetry issue caused by graph isomorphism, we propose two types of symmetry-breaking constraints: one indexing a node 0 and one indexing the remaining nodes by lexicographically ordering their neighbor sets. To guarantee that adding these constraints will not remove all symmetric solutions, we construct a graph indexing algorithm and prove that the resulting graph indexing satisfies the proposed symmetry-breaking constraints. For the classical GNN architectures considered in this paper, optimizing over a GNN with a fixed graph is equivalent to optimizing over a dense neural network. Thus, we study the case where the input graph is not fixed, implying that each edge is a decision variable, and develop two mixed-integer optimization formulations. To test our symmetry-breaking strategies and optimization formulations, we consider an application in molecular design.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 839d10f5-9dd4-42ef-87c1-f36ddfa591bfCited by top-tier papers2
- Verifying message-passing neural networks via topology-based bounds tighteningChristopher Hojny, Shiqiang Zhang, Juan S. Campos, Ruth MisenerICML 2024 · 15 citations
- BoGrape: Bayesian optimization over graphs with shortest-path encodedYilin Xie, Shiqiang Zhang, Jixiang Qing, Ruth Misener et al.ICLR 2026 · 10 citations
Builds on11
- Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness VerificationShiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin et al.NeurIPS 2021 · 359 citations
- Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete VerifiersKaidi Xu, Huan Zhang, Shiqi Wang, Yihan Wang et al.ICLR 2021 · 250 citations
- Efficient Verification of ReLU-Based Neural Networks via Dependency AnalysisElena Botoeva, Panagiotis Kouvaros, Jan Kronqvist, Alessio Lomuscio et al.AAAI 2020 · 140 citations
- Reinforcement Learning with Combinatorial Actions: An Application to Vehicle RoutingArthur Delarue, Ross Anderson, Christian TjandraatmadjaNeurIPS 2020 · 127 citations
- Partition-Based Formulations for Mixed-Integer Optimization of Trained ReLU Neural NetworksCalvin Tsay, Jan Kronqvist, Alexander Thebelt, Ruth MisenerNeurIPS 2021 · 93 citations
Related papers
- When GNNs meet symmetry in ILPs: an orbit-based feature augmentation approachChen Qian, Lei Li, Qian Li, Jianghua Wu et al.ICLR 2025
- On Representing Linear Programs by Graph Neural NetworksZiang Chen, Jialin Liu, Xinshang Wang, Wotao YinICLR 2023 · 9 citations
- Are Graph Neural Networks Optimal Approximation Algorithms?Morris Yau, Nikolaos Karalias, Eric Lu, Jessica Xu et al.NeurIPS 2024 · 23 citations
- DOGE-Train: Discrete Optimization on GPU with End-to-End TrainingAhmed Abbas, Paul SwobodaAAAI 2024 · 6 citations
- On the Expressive Power of GNNs to Solve Linear SDPsChendi Qian, Christopher MorrisICML 2026 · 1 citation
