# Fast and Reliable N-k Contingency Screening with Input-Convex Neural Networks

arXiv: https://arxiv.org/abs/2410.00796 · HTML: https://mlsanity.com/paper/2410.00796/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 19 of its 42 references that are in the map.
- First posted on arXiv 1 Oct 2024.

## Builds on (most cited first, 19 of 19)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [Differentiable Convex Optimization Layers](https://mlsanity.com/paper/1910.12430/) (2019)
- [Input Convex Neural Networks](https://mlsanity.com/paper/1609.07152/) (2016)
- [Competitive caching with machine learned advice](https://mlsanity.com/paper/1802.05399/) (2018)
- [A Dual Approach to Scalable Verification of Deep Networks](https://mlsanity.com/paper/1803.06567/) (2018)
- [Optimal Control Via Neural Networks: A Convex Approach](https://mlsanity.com/paper/1805.11835/) (2018)
- [Improving Online Algorithms via ML Predictions](https://mlsanity.com/paper/2407.17712/) (2024)
- [A Convex Neural Network Solver for DCOPF with Generalization Guarantees](https://mlsanity.com/paper/2009.09109/) (2020)
- [End-to-End Conformal Calibration for Optimization Under Uncertainty](https://mlsanity.com/paper/2409.20534/) (2024)
- [Tightened Convex Relaxations for Neural Network Robustness Certification](https://mlsanity.com/paper/2004.00570/) (2020)
- [Online Conversion with Switching Costs: Robust and Learning-Augmented Algorithms](https://mlsanity.com/paper/2310.20598/) (2023)
- [Learning Optimal Power Flow Value Functions with Input-Convex Neural Networks](https://mlsanity.com/paper/2310.04605/) (2023)
- [Adversarially Robust Learning for Security-Constrained Optimal Power Flow](https://mlsanity.com/paper/2111.06961/) (2021)
- [Constructing Convex Inner Approximations of Steady-State Security Regions](https://mlsanity.com/paper/1708.06845/) (2017)
- [Learning Neural Networks under Input-Output Specifications](https://mlsanity.com/paper/2202.11246/) (2022)
- [Construction of power flow feasibility sets](https://mlsanity.com/paper/1506.07191/) (2015)
- [An Efficient Method for Quantifying the Aggregate Flexibility of Plug-in Electric Vehicle Populations](https://mlsanity.com/paper/2207.07067/) (2022)
- [An Efficient Learning-Based Solver for Two-Stage DC Optimal Power Flow with Feasibility Guarantees](https://mlsanity.com/paper/2304.01409/) (2023)
- [Adversarial optimization leads to over-optimistic security-constrained dispatch, but sampling can help](https://mlsanity.com/paper/2310.06956/) (2023)

## Built on by (most cited first, 3 of 3)

- [SOC-ICNN: From Polyhedral to Conic Geometry for Learning Convex Surrogate Functions](https://mlsanity.com/paper/2604.22355/) (2026)
- [AC Power Flow Contingency Analysis Using a Single Deep Neural Network](https://mlsanity.com/paper/2609.30859/) (2026)
- [Learning by Examples: Power Grid Steady State Analysis with a Tabular Foundation Model](https://mlsanity.com/paper/2610.20462/) (2026)

## Abstract (arXiv)

Power system operators must ensure that dispatch decisions remain feasible in case of grid outages or contingencies to prevent cascading failures and ensure reliable operation. However, checking the feasibility of all N - k contingencies -- every possible simultaneous failure of k grid components -- is computationally intractable for even small k, requiring system operators to resort to heuristic screening methods. Because of the increase in uncertainty and changes in system behaviors, heuristic lists might not include all relevant contingencies, generating false negatives in which unsafe scenarios are misclassified as safe. In this work, we propose to use input-convex neural networks (ICNNs) for contingency screening. We show that ICNN reliability can be determined by solving a convex optimization problem, and by scaling model weights using this problem as a differentiable optimization layer during training, we can learn an ICNN classifier that is both data-driven and has provably guaranteed reliability. Namely, our method can ensure a zero false negative rate. We empirically validate this methodology in a case study on the IEEE 39-bus test network, observing that it yields substantial (10-20x) speedups while having excellent classification accuracy.
