Skip to main content
QUICK REVIEW

[Paper Review] Learning dynamic polynomial proofs

Alhussein Fawzi, Mateusz Malinowski|arXiv (Cornell University)|Jun 4, 2019
Formal Methods in VerificationComputer Science22 references3 citations
TL;DR

This paper introduces a deep reinforcement learning framework that learns to search for dynamic polynomial proofs in semi-algebraic proof systems, leveraging symmetry-aware neural embeddings to guide inference rule selection. The method significantly reduces the size of required linear programs—by several orders of magnitude—while outperforming static Sherali-Adams hierarchies on the maximum stable set problem, demonstrating superior performance and generalization.

ABSTRACT

Polynomial inequalities lie at the heart of many mathematical disciplines. In this paper, we consider the fundamental computational task of automatically searching for proofs of polynomial inequalities. We adopt the framework of semi-algebraic proof systems that manipulate polynomial inequalities via elementary inference rules that infer new inequalities from the premises. These proof systems are known to be very powerful, but searching for proofs remains a major difficulty. In this work, we introduce a machine learning based method to search for a dynamic proof within these proof systems. We propose a deep reinforcement learning framework that learns an embedding of the polynomials and guides the choice of inference rules, taking the inherent symmetries of the problem as an inductive bias. We compare our approach with powerful and widely-studied linear programming hierarchies based on static proof systems, and show that our method reduces the size of the linear program by several orders of magnitude while also improving performance. These results hence pave the way towards augmenting powerful and well-studied semi-algebraic proof systems with machine learning guiding strategies for enhancing the expressivity of such proof systems.

Motivation & Objective

  • To address the challenge of automated proof search for polynomial inequalities, which are central to control theory, robotics, and program verification.
  • To overcome the limitations of static proof systems—such as poor expressivity at low levels and the curse of dimensionality at high levels—by enabling dynamic proof search.
  • To develop a machine learning-guided strategy that learns effective proof search policies without access to ground-truth proofs or existing theorem provers.
  • To incorporate inherent symmetries of polynomial problems into a neural architecture to improve generalization and interpretability of proofs.

Proposed method

  • Proposes a symmetry-aware neural network architecture that embeds polynomials by exploiting equivalence classes under variable permutations, encoding inductive biases for polynomial symmetries.
  • Employs deep Q-network (DQN) reinforcement learning to train a prover agent in an unsupervised environment, where the agent selects inference rules to derive new inequalities from axioms.
  • Uses elementary inference rules—such as sum and product of non-negative polynomials remain non-negative—within a semi-algebraic proof system to construct dynamic proofs.
  • Trains the agent on graphs of fixed size (n=25), but evaluates generalization to larger graphs (n=50), leveraging a graph-agnostic embedding space independent of input size.
  • Constructs proofs as sequences of derived inequalities, with all coefficients rational to ensure exact, verifiable, and human-interpretable results.
  • Compares dynamic proofs against the Sherali-Adams hierarchy, using linear programs of varying levels to evaluate upper bounds on the maximum stable set.

Experimental results

Research questions

  • RQ1Can a machine learning agent learn to search for dynamic polynomial proofs in semi-algebraic proof systems without access to ground-truth proofs?
  • RQ2Does incorporating symmetry into the neural architecture improve the generalization and performance of proof search agents?
  • RQ3Can dynamic proof search reduce the size of required linear programs while improving upper bound quality compared to static hierarchies?
  • RQ4How well does the trained agent generalize to out-of-distribution problem instances, such as larger graphs than in the training set?
  • RQ5Can the resulting proofs be both concise and human-interpretable, unlike the large, opaque proofs from static hierarchies?

Key findings

  • The dynamic prover reduces the size of the required linear program by several orders of magnitude—e.g., from over 2 million variables in Sherali-Adams at level l=5 to just 200 variables—while achieving better upper bounds on the maximum stable set.
  • On 50-node random graphs, the dynamic prover outperforms the Sherali-Adams hierarchy at level l=5, producing tighter upper bounds despite using a much smaller linear program.
  • The agent generalizes effectively to larger graphs (n=50) even though it was trained only on n=25 graphs, demonstrating strong out-of-distribution generalization.
  • Proofs generated by the agent are concise and interpretable, as shown in the example of a cycle graph with 7 nodes, where the prover derives that the maximum stable set is at most 3 via a sequence of rational-coefficient inequalities.
  • The symmetry-aware architecture significantly outperforms generic neural architectures, as shown in ablation studies in the supplementary material.
  • The method produces formally verifiable proofs with rational coefficients, ensuring correctness and compatibility with formal verification systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.