Safetensors
llama
linyongver commited on
Commit
ae874ed
·
verified ·
1 Parent(s): 273d0a1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -5
README.md CHANGED
@@ -21,7 +21,7 @@ license: mit
21
  </a>
22
  </div>
23
  <p align="center">
24
- <a href="#3-evaluation-results">Evaluation Results</a> |
25
  <a href="#3-model-downloads">Model Download</a> |
26
  <a href="#4-setup-environment">Setup Environment</a> |
27
  <a href="#5-quick-start">Quick Start</a> |
@@ -41,13 +41,15 @@ license: mit
41
 
42
  ## 1. Introduction
43
 
44
- Large language models (LLMs) have shown impressive capabilities in reasoning, particularly in solving mathematical problems. However, relying solely on natural language for reasoning poses challenges in verification, undermining trust in practical applications. Formal theorem proving offers a promising solution: training LLMs to generate proofs in formal languages that can be mechanically verified. A key obstacle in this domain is the scarcity of formal data. To address this challenge, we use language models to autoformalize extensive math problems from natural language to formal statements. Next, we train the prover through a standard iterative process that alternates between attempting to prove these statements and training the prover using newly found proofs. Our model outperforms the previous state-of-the-art (SOTA) whole-proof generation model, DeepSeek-Prover-v1.5-RL, by 7.6% on the miniF2F benchmark, achieving a Pass@32 score of 57.6%. Our model successfully solves 7 problems on the challenging PutnamBench by Pass@512, securing the 1st position on the leaderboard. Furthermore, we have cumulatively solved 29.7K problems in Lean Workbook, significantly increasing the 15.7K proofs found by existing methods. We contribute open-source resources to support future research in formal theorem proving.
45
 
46
  <p align="center">
47
- <img width="100%" src="performance.png">
48
  </p>
49
 
50
- **Caption:** (Left) The performance of Pass@32 for full proof generation on miniF2F. Due to limited compute, we compare with DeepSeek-Prover-v1.5 on the Pass@32 metric (Table 1 of Xin et.al., ), which is different from Pass@32\*6400 in Fig. 1 of Xin et.al., The Pass@N metric indicates that we generate N proofs for a single problem; if any one of these N proofs successfully solves the problem, it is considered solved. (Middle) This sub-figure presents a comparison of Goedel-Prover-SFT and Deepseek-Prover-v1.5 in terms of miniF2F performance across different inference budgets, ranging from Pass@32, 64, 128, ..., 4\*6400, to 16\*6400. The performance numbers of Deepseek-Prover-v1.5 are copied from Table 1 of Deepseek-Prover-v1.5. Due to computational resource constraints, we tested Goedel-Prover-SFT only up to Pass@4\*6400. (Right) The number of problems solved in Lean-workbook by Goedel-Prover-SFT compared to existing works. InternLM2.5-Step-Prover and InternLM-Math-Plus collectively solve and open-source 16K samples, while we solve and open-source 29.7K samples.
 
 
51
 
52
  ## 2. Evaluation Results
53
 
@@ -94,7 +96,7 @@ Putnam
94
  | 3 | InternLM2.5-StepProver 💚 | Tree Search Method | 6 | 2×32×600 |
95
  | 5 | InternLM 7B 💚 | Whole Proof Generation | 4 | 4096 |
96
  | 6 | GPT-4o | Whole Proof Generation | 1 | 10 |
97
- | 7 | COPRA (GPT-4o) | Whole Proof Generation | 1 | 1 |
98
  | 8 | ReProver w/ retrieval 💚 | Whole Proof Generation | 0 | 1 |
99
  | 9 | ReProver w/o retrieval 💚 | Whole Proof Generation | 0 | 1 |
100
  </div>
 
21
  </a>
22
  </div>
23
  <p align="center">
24
+ <a href="#2-evaluation-results">Evaluation Results</a> |
25
  <a href="#3-model-downloads">Model Download</a> |
26
  <a href="#4-setup-environment">Setup Environment</a> |
27
  <a href="#5-quick-start">Quick Start</a> |
 
41
 
42
  ## 1. Introduction
43
 
44
+ Large language models (LLMs) have shown impressive capabilities in reasoning, particularly in solving mathematical problems. However, relying solely on natural language for reasoning poses challenges in verification, undermining trust in practical applications. Formal theorem proving offers a promising solution: training LLMs to generate proofs in formal languages that can be mechanically verified. A key obstacle in this domain is the scarcity of formal data. To address this challenge, we use language models to autoformalize extensive math problems from natural language to formal statements. Next, we train the prover through a standard iterative process that alternates between attempting to prove these statements and training the prover using newly found proofs. Our model outperforms the previous state-of-the-art (SOTA) whole-proof generation model, DeepSeek-Prover-v1.5-RL, by 7.6% on the miniF2F benchmark, achieving a Pass@32 score of 57.6%. Our model successfully solves 7 problems on the challenging PutnamBench by Pass@512, securing the 1st position on the leaderboard. Furthermore, we have cumulatively solved 29.7K problems in Lean Workbook, significantly increasing the 15.7K proofs found by prior methods. We contribute open-source resources to support future research in formal theorem proving.
45
 
46
  <p align="center">
47
+ <img width="100%" src="figures/performance.png">
48
  </p>
49
 
50
+ **Caption:** The Pass@N metric indicates that we generate N proofs for a single problem; if any one of these N proofs successfully solves the problem, it is considered solved. (Left): The performance of Pass@32 for full proof generation on miniF2F. Due to limited compute, we compare with DeepSeek-Prover-v1.5 on the Pass@32 metric. (Middle): This sub-figure presents a comparison of Goedel-Prover-SFT and Deepseek-Prover-v1.5 in terms of miniF2F performance across different inference budgets, ranging from Pass@32, 64, 128, ..., 4 \* 6400, to 16 \* 6400. The performance numbers of Deepseek-Prover-v1.5 are directly taken from Table 1 of Xin et al. (2024b). Due to computational resource constraints, we tested Goedel-Prover-SFT only up to Pass@4 × 6400. Notably, Goedel-Prover-SFT's Pass@256 already exceeds the Pass@16 \* 6400 performance of Deepseek-Prover-v1.5-RL (without inference time tree search). (Right): The number of problems solved in Lean-workbook by Goedel-Prover-SFT compared to prior works. InternLM2.5-Step-Prover and InternLM-Math-Plus collectively solve and open-source 15.7K samples, while we solve and open-source 29.7K samples.
51
+
52
+
53
 
54
  ## 2. Evaluation Results
55
 
 
96
  | 3 | InternLM2.5-StepProver 💚 | Tree Search Method | 6 | 2×32×600 |
97
  | 5 | InternLM 7B 💚 | Whole Proof Generation | 4 | 4096 |
98
  | 6 | GPT-4o | Whole Proof Generation | 1 | 10 |
99
+ | 7 | COPRA (GPT-4o) 💚 | Whole Proof Generation | 1 | 1 |
100
  | 8 | ReProver w/ retrieval 💚 | Whole Proof Generation | 0 | 1 |
101
  | 9 | ReProver w/o retrieval 💚 | Whole Proof Generation | 0 | 1 |
102
  </div>