Abstract
Large Language Models (LLMs) have recently advanced the field of Automated Theorem Proving (ATP), attaining substantial performance gains through widely adopted test-time scaling strategies, notably reflective Chain-of-Thought (CoT) reasoning and increased sampling passes. However, they both introduce significant computational overhead for inference. Moreover, existing cost analyses typically regulate only the number of sampling passes, while neglecting the substantial disparities in sampling costs introduced by different scaling strategies. In this paper, we systematically compare the efficiency of different test-time scaling strategies for ATP models and demonstrate the inefficiency of the current state-of-the-art (SOTA) open-source approaches. We then investigate approaches to significantly reduce token usage and sample passes while maintaining the original performance. Specifically, we propose two complementary methods that can be integrated into a unified EconRL pipeline for amplified benefits: (1) a dynamic Chain-of-Thought (CoT) switching mechanism designed to mitigate unnecessary token consumption, and (2) Diverse parallel-scaled reinforcement learning (RL) with trainable prefixes to enhance pass rates under constrained sampling passes. Experiments on miniF2F and ProofNet demonstrate that our EconProver achieves comparable performance to baseline methods with only 12% of the computational cost. This work provides actionable insights for deploying lightweight ATP models without sacrificing performance.
Introduction
In the current landscape of Automated Theorem Proving (ATP), performance gains are frequently achieved through computational brute force. Two primary test-time scaling strategies dominate: Sequential Scaling, which utilizes long, reflective Chain-of-Thought (CoT) reasoning, and Parallel Scaling, which involves generating thousands of independent proof attempts to find a successful solution.
While effective, these methods are highly inefficient. Current benchmarks often overlook actual token consumption, focusing instead on the number of attempts. In practice, a single CoT attempt can be an order of magnitude more expensive than a direct proof. Furthermore, naive parallel sampling often results in redundant outputs that fail to explore the solution space effectively. EconProver addresses this by optimizing both reasoning depth and sampling diversity.
Methodology: The EconRL Framework
We propose EconRL, a unified framework designed to maximize inference efficiency through two core mechanisms:
1. Dynamic CoT Switching
Not all mathematical problems require intensive reasoning. Analysis shows that approximately 83% of miniF2F problems below IMO difficulty can be solved without CoT. EconProver employs a switching mechanism trained via Direct Preference Optimization (DPO). This allows the model to autonomously decide whether to generate a direct proof for "base-solvable" problems or trigger extended CoT reasoning for "CoT-dependent" challenges, significantly reducing unnecessary token expenditure.
2. Diverse Parallel-Scaled RL
To improve the efficiency of parallel sampling, we move beyond generic sampling. We train specialized "heads"—implemented as trainable prefix embeddings—using Proximal Policy Optimization (PPO). These heads are trained on data partitioned by difficulty, forcing the model to explore diverse proof strategies. This approach addresses the diminishing returns of brute-force sampling, where doubling sample counts often yields negligible accuracy gains due to repetitive logic.
Experimental Evaluation
We evaluated EconProver on two major benchmarks: miniF2F-test (high-school competition math) and ProofNet-test (undergraduate-level math). Our models, ECONPROVER-DS (based on DeepSeek-Prover-V2-7B) and ECONPROVER-GD (based on Goedel-Prover-V2-8B), demonstrate superior efficiency across both.
Key Results
- Efficiency Gains: ECONPROVER-GD achieved 84.0% accuracy on miniF2F-test using only 12% of the sampling cost compared to the base model's standard CoT configuration.
- State-of-the-Art Performance: ECONPROVER-DS reached 76.2% accuracy, outperforming Leanabell-Prover-V2-DS while maintaining significantly higher token efficiency.
- Prefix Diversity: We observed a strong correlation between the diversity of the initial proof tokens (the prefix) and the eventual success rate, validating our use of specialized prefix embeddings.
Conclusion
EconProver demonstrates that high-performance automated theorem proving does not necessitate astronomical computational costs. By dynamically managing reasoning depth and enforcing sampling diversity, we achieve SOTA-level results with a fraction of the compute. Future work will explore extending these efficiency optimizations to iterative refinement processes and more complex search strategies like Monte Carlo Tree Search for elite-level competition problems.
Summary updated