Linear Equations with Min and Max Operators: Computational Complexity

Krishnendu Chatterjee, Ruichen Luo, Raimundo Saona, Jakub Svoboda

Introduction

Systems of linear equations incorporating min and max operators (LEMMs) represent a fundamental mathematical structure with broad applications in artificial intelligence, ranging from neural network verification to game theory and economic modeling. This paper, presented at AAAI-25, provides a comprehensive mapping of the computational complexity landscape for these systems. By stripping away traditional restrictive assumptions like non-negativity, the researchers identify the "halting" condition as the primary driver of unique solvability and computational tractability.

Problem Formulation and Conditions

LEMMs extend standard linear algebra by allowing variables to be defined as the minimum or maximum of several linear expressions. The researchers analyze these systems through the lens of four key conditions:

  1. (C1) Halting/Stability: Ensures the system's iterative matrix eventually converges to zero, guaranteeing a unique solution.
  2. (C2) Non-negativity: Requires all coefficients to be non-negative ((\ge 0)).
  3. (C3) Sum-to-one: Coefficients in each row sum to at most 1 (stochasticity).
  4. (C4) Single Operator: The system utilizes only one type of operator (either min or max), similar to Markov Decision Processes.

While previous work often relied on the combination of C2 and C3 to ensure monotonicity and stability, this research explores the "Wild West" where non-negativity is absent, leading to non-monotonic systems where increasing an input can decrease the output.

Complexity of Verifying Stability

A critical aspect of applying these results is determining whether a given system satisfies the necessary conditions. The authors demonstrate that while checking for non-negativity (C2) is trivial, verifying the halting condition (C1) is computationally intensive.

Complexity of checking the stability condition (C1) under various auxiliary constraints.

As shown in the table above, checking C1 is generally coNP-hard. However, when non-negativity (C2) is present, the verification problem drops into PTIME, allowing for efficient validation of the system's stability.

The Complexity Landscape of LEMMs

The core contribution of this work is the classification of LEMM solving complexity based on the presence of conditions C1 through C4. The researchers utilized inductive continuity and reductions from the Partition Problem and SAT to establish these bounds.

Comprehensive complexity map for solving LEMM systems based on combinations of conditions C1-C4.

The results reveal a nuanced hierarchy:

  • NP-complete: Systems lacking the halting condition (C1) are generally NP-complete, even with single operators or non-negativity.
  • UP (\cap) coUP: The presence of C1 alone is sufficient to guarantee a unique solution and places the problem in the rare class of UP (\cap) coUP. These problems are SSG-hard, meaning they are at least as difficult as solving Simple Stochastic Games.
  • PTIME: Polynomial-time solutions are achievable when C1 is combined with non-negativity and single-operator constraints (C1+C2+C4), typically via linear programming.

Discussion and Future Work

The discovery that stability (C1) alone guarantees a unique solution, even in the absence of monotonicity, bridges a significant gap between linear algebra and game theory. The placement of stable LEMMs in UP (\cap) coUP highlights a "sweet spot" in complexity—problems that are likely easier than NP-complete but for which no polynomial-time algorithm currently exists.

Future research directions include closing the PTIME gap for SSG-hard problems, developing practical high-performance solvers for non-monotonic LEMMs, and extending this complexity analysis to non-linear operators found in modern deep learning architectures.

Reference: Chatterjee, K., Luo, R., Saona, R., & Svoboda, J. (2025). Linear Equations with Min and Max Operators: Computational Complexity. Proceedings of the 39th AAAI Conference on Artificial Intelligence.

Summary updated

BibTeX
@inproceedings{chatterjee2025linear,
  author = {Krishnendu Chatterjee and Ruichen Luo and Raimundo Saona and Jakub Svoboda},
  title = {{Linear Equations with Min and Max Operators: Computational Complexity}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i11.33212},
}
Figure