scimeatlas

Research map / Large language models / Agents, code and math

TheoremLlama: Transforming General-Purpose LLMs into Lean4 Experts

Ruida Wang, Jipeng Zhang, Yizhen Jia, Rui Pan, Shizhe Diao, Renjie Pi, Tong Zhang

EMNLP 2024Large language models › Agents, code and mathapproach: Formal verification and proof dataopen problems in this approach104 citations (OpenAlex)

Hong Kong University of Science and Technology · University of Illinois, Urbana Champaign · NVIDIA

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
12improved
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune on OBT and add iterative proof writing (TheoremLlama vs GPT-4-Turbo)Llama3-8B-Instruct · MiniF2F-Validaccuracy (%): 25.41 -> 36.48Improved
fine-tune on OBT (TheoremLlama vs unfinetuned Llama3-Instruct)Llama3-8B-Instruct · MiniF2F-Testaccuracy (%): 20.08 -> 33.61Improved
add NL guidance in training data (ablation)TheoremLlama · MiniF2F-Testaccuracy (%): 17.21 -> 31.15Improved
add NL-FL bootstrapping (ablation)TheoremLlama · MiniF2F-Validaccuracy (%): 26.23 -> 34.84Improved
add NL-FL bootstrapping (ablation)TheoremLlama · MiniF2F-Testaccuracy (%): 26.23 -> 31.15Improved
add block training (ablation)TheoremLlama · MiniF2F-Testaccuracy (%): 23.36 -> 31.15Improved
add curriculum data sorting (ablation)TheoremLlama · MiniF2F-Testaccuracy (%): 25.83 -> 31.15Improved
second round of iterative proof writingTheoremLlama · MiniF2F-Validaccuracy (%): 34.84 -> 36.48Improved
second round of iterative proof writingTheoremLlama · MiniF2F-Testaccuracy (%): 31.15 -> 33.61Improved
NL-FL Bootstrapping (in-code comments) instead of Head Bootstrapping (ablation)TheoremLlama · MiniF2F-Testaccuracy (%): 25.46 -> 31.15Improved
increase OBT training data from 1k to 10k to full (ablation)TheoremLlama · MiniF2F-Testaccuracy (%): 29.01 -> 30.74 -> 31.15Mixed
apply TheoremLlama framework to DeepSeek-Math-7BDeepSeek-Math-7B · MiniF2F-Testaccuracy (%): 24.60 -> 35.66Improved

Later papers that compared with this method

1 later accepted paper reports TheoremLlama as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems this paper states

Open problems in formal verification and proof data

How can LLM proof and formalization pipelines be trusted beyond one prover, one benchmark and one difficulty level?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy