[Paper Review] Premise Selection for Theorem Proving by Deep Graph Embedding
This paper proposes a deep graph embedding approach for premise selection in automated theorem proving, representing higher-order logic formulas as syntax- and semantics-preserving graphs invariant to variable renaming. By iteratively updating node embeddings based on neighborhood structure and pooling to form graph-level representations, the method achieves 90.3% accuracy on the HolStep dataset—a 7.3 percentage point improvement over the prior state of the art.
We propose a deep learning-based approach to the problem of premise selection: selecting mathematical statements relevant for proving a given conjecture. We represent a higher-order logic formula as a graph that is invariant to variable renaming but still fully preserves syntactic and semantic information. We then embed the graph into a vector via a novel embedding method that preserves the information of edge ordering. Our approach achieves state-of-the-art results on the HolStep dataset, improving the classification accuracy from 83% to 90.3%.
Motivation & Objective
- Address the challenge of combinatorial explosion in automated theorem proving by improving premise selection to reduce search space.
- Overcome limitations of sequence-based models that fail to capture structural relationships in mathematical formulas.
- Develop a graph-based representation of higher-order logic formulas that preserves syntactic and semantic structure while being invariant to variable renaming.
- Design a deep learning framework that embeds graphs into vectors using iterative neighborhood aggregation, enabling end-to-end learning of structural features.
- Achieve state-of-the-art performance on the HolStep dataset for premise selection, improving classification accuracy beyond prior methods.
Proposed method
- Represent each higher-order logic formula as a directed, rooted parse tree where nodes correspond to logical operators, predicates, functions, variables, and constants.
- Construct a graph from the parse tree with edges encoding parent-child and binding relationships, ensuring invariance to variable renaming by replacing variable names with a shared token (e.g., VAR).
- Initialize node embeddings using learned embeddings for each node type (e.g., function, variable, constant), with edge-ordering information preserved via structured message passing.
- Perform iterative graph neural network (GNN)-style message passing: update each node’s embedding based on the multiset of neighbor embeddings, preserving edge order through a learnable aggregation mechanism.
- Pool node embeddings using global average pooling to produce a fixed-size vector representation of the entire formula graph.
- Train the entire model end-to-end via backpropagation to classify premise relevance, using cross-entropy loss on the HolStep dataset.
Experimental results
Research questions
- RQ1Can a graph-based representation of higher-order logic formulas better capture syntactic and semantic structure than sequential token representations?
- RQ2Does a deep graph embedding method that preserves edge ordering and is invariant to variable renaming improve premise selection accuracy?
- RQ3How does the number of message-passing steps affect the performance of the graph embedding model?
- RQ4To what extent is the model robust to variable renaming, and does it generalize beyond training data biases?
- RQ5Can graph-based embeddings learn meaningful, semantically coherent representations that reflect structural similarity between formulas?
Key findings
- The proposed FormulaNet model achieves 90.3% classification accuracy on the HolStep dataset, a 7.3 percentage point improvement over the prior state of the art (83%).
- The model trained on graphs with original variable names achieves 89.8% accuracy on the original validation set but drops to 83.5% on the renamed validation set, indicating overfitting to variable name patterns.
- The model trained on renamed graphs (invariant to variable names) maintains 89.9% accuracy on both original and renamed sets, demonstrating robustness and generalization to variable renaming.
- The ablation study shows that models with zero message-passing steps still achieve 81.5% accuracy, indicating that node-level features (e.g., function and constant names) contribute significantly.
- Performance increases with more message-passing steps, peaking at 3–4 steps, with diminishing returns beyond that, suggesting that local graph neighborhoods (up to radius 3) capture most relevant structural information.
- t-SNE visualization confirms that nodes with similar embeddings have structurally and semantically similar local graph patterns, validating the model’s ability to learn meaningful, interpretable representations.
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.