Abstract
ATPboost is a system for solving sets of large-theory problems by interleaving automated theorem prover (ATP) runs with state-of-the-art machine learning for premise selection. Unlike many previous approaches that use a multi-label setting, ATPboost implements learning as binary classification to estimate the pairwise relevance of (theorem, premise) pairs. The system utilizes the XGBoost gradient boosting algorithm, which offers high performance and speed. To address the challenge of generating negative examples in a domain with multiple alternative proofs, we implement several "negative mining" solutions within an ATP/ML feedback loop. Our results show that ATPboost significantly outperforms traditional k-nearest neighbors (k-NN) multi-label classifiers.
Introduction: The Challenge of Large-Theory Problems
In automated theorem proving, "large-theory" problems involve conjectures that must be proven using a library of tens of thousands of existing axioms and theorems (premises). Providing an ATP engine with the entire library often leads to a combinatorial explosion in the search space, causing the prover to fail.
Premise selection—the task of choosing a small, relevant subset of axioms—is therefore critical. While traditional methods often use multi-label classifiers like k-NN, these treat premises as simple labels and ignore their internal features. Binary classification, which predicts the relevance of a specific (conjecture, premise) pair, is more expressive but requires high-quality negative data, which is difficult to obtain because a premise not used in one proof might still be valid in another.
Methodology: ATPboost and the Feedback Loop
ATPboost addresses these challenges by framing premise selection as a binary classification task using the XGBoost gradient boosting algorithm. The model takes a concatenated feature vector of both the conjecture and a potential premise as input.
To optimize performance, the authors conducted extensive hyperparameter tuning for the XGBoost model, focusing on the number of trees, learning rate (eta), and maximum tree depth.
The core of the system is an ATP/ML feedback loop:
- Learning: XGBoost is trained on successful proofs.
- Prediction: The model ranks premises for unsolved conjectures.
- Evaluation: The E prover attempts to find proofs using these top-ranked premises.
- Negative Mining: If a highly-ranked premise is not used in a successful proof, it is flagged as a "misclassified positive" and used as a high-quality negative example for subsequent training rounds.
Experimental Results
ATPboost was evaluated on the Mizar Mathematical Library (MML) and the MPTP2078 benchmark.
On the large-scale MML dataset, ATPboost proved 58.78% of test theorems, representing a 15.7% relative improvement over the k-NN baseline (50.81%). In iterative experiments on MPTP2078, the system demonstrated significant cumulative gains over multiple rounds of the feedback loop.
As shown in the figure above, all XGBoost-based methods significantly outperformed the k-NN baseline. The system also proved capable of "cold starting" from zero initial proofs, eventually reaching performance levels comparable to versions initialized with human-provided proofs.
Key Insights
- Negative Example Ratios: The ratio of negative to positive examples is vital. A 16:1 ratio of random negatives to positives outperformed a balanced 1:1 setting by 6%.
- Correcting Over-Optimism: Negative mining allows the model to specifically learn from its mistakes, becoming more discerning by focusing on premises it incorrectly predicted as highly relevant.
- Efficiency of Gradient Boosting: XGBoost provides a substantial performance jump over k-NN (15.7%) with lower computational costs than many deep learning approaches, which previously reported smaller gains (approx. 4.3%) on similar tasks.
Conclusion and Future Work
ATPboost demonstrates that binary classification combined with iterative negative mining significantly advances the state-of-the-art in premise selection. While label noise from alternative proofs remains a challenge, future work will explore more sophisticated feature representations and the integration of binary selection directly into the internal search guidance of ATP engines.
Summary updated