[Paper Review] Property Invariant Embedding for Automated Reasoning
This paper proposes Property Invariant Embedding (PIE), a novel graph neural network architecture that encodes mathematical formulas invariant to symbol renaming, negation, and clause/literal ordering. By representing symbols as abstract nodes and using specialized message passing, PIE achieves 65% accuracy in symbol guessing and improves learning-guided theorem proving by 45.6% over prior methods.
Automated reasoning and theorem proving have recently become major challenges for machine learning. In other domains, representations that are able to abstract over unimportant transformations, such as abstraction over translations and rotations in vision, are becoming more common. Standard methods of embedding mathematical formulas for learning theorem proving are however yet unable to handle many important transformations. In particular, embedding previously unseen labels, that often arise in definitional encodings and in Skolemization, has been very weak so far. Similar problems appear when transferring knowledge between known symbols. We propose a novel encoding of formulas that extends existing graph neural network models. This encoding represents symbols only by nodes in the graph, without giving the network any knowledge of the original labels. We provide additional links between such nodes that allow the network to recover the meaning and therefore correctly embed such nodes irrespective of the given labels. We test the proposed encoding in an automated theorem prover based on the tableaux connection calculus, and show that it improves on the best characterizations used so far. The encoding is further evaluated on the premise selection task and a newly introduced symbol guessing task, and shown to correctly predict 65% of the symbol names.
Motivation & Objective
- To address the limitation of existing neural embeddings in handling symbol renaming and Skolemization in automated theorem proving.
- To develop a neural network architecture invariant under symbol name changes, negation, and clause ordering in first-order logic.
- To enable transfer learning and knowledge transfer across symbols with previously unseen labels.
- To improve premise selection and symbol guessing tasks in formal mathematics datasets.
Proposed method
- Construct a hypergraph from clauses, where subterms, literals, and symbols are nodes, and edges represent syntactic relationships.
- Represent function and predicate symbols as abstract nodes without relying on their original labels.
- Introduce additional links between nodes to allow the network to recover semantic meaning regardless of symbol names.
- Use a message passing mechanism on the hypergraph that maintains invariance under negation and symbol renaming.
- Train the network to embed clauses, literals, subterms, and symbols into real-valued vectors invariant to structural transformations.
- Apply the model to guiding leanCoP, premise selection, and a new symbol guessing task on formal logic datasets.
Experimental results
Research questions
- RQ1Can a neural network learn embeddings invariant to symbol renaming while preserving semantic meaning in first-order logic?
- RQ2How well can such a model generalize to previously unseen symbols introduced during Skolemization and clausification?
- RQ3To what extent does invariance under negation and clause ordering improve performance in automated theorem proving?
- RQ4Can the model effectively perform premise selection and symbol guessing tasks without relying on symbol names?
- RQ5Does the invariant embedding lead to measurable improvements in learning-guided theorem proving?
Key findings
- The proposed Property Invariant Embedding (PIE) model achieves 65% accuracy in predicting symbol names on a newly introduced symbol guessing task.
- PIE improves learning-guided theorem proving in leanCoP by 45.6% on the test set in the first learning iteration compared to XGBoost-guided baselines.
- The model outperforms previous methods on the premise selection task, demonstrating strong generalization across formal mathematical corpora.
- PIE maintains invariance under symbol renaming, negation, and clause/literal ordering, enabling robust transfer learning.
- The architecture enables a new application: generating conjectures by detecting structural alignments across mathematical theories.
- The model shows strong performance on real-world ATP datasets where 40% of symbols are problem-specific, confirming its practical utility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.