mlsanityData to 7 Oct 2026

Learn from Failure: Fine-Tuning LLMs with Trial-and-Error Data for Intuitionistic Propositional Logic Proving

arXiv 2404.07382 ↗First posted 10 Apr 2024cs.AI cs.LOcited by 11

Not on the map. Why?

Abstract (arXiv)

Recent advances in Automated Theorem Proving have shown the effectiveness of leveraging a (large) language model that generates tactics (i.e. proof steps) to search through proof states. The current model, while trained solely on successful proof paths, faces a discrepancy at the inference stage, as it must sample and try various tactics at each proof state until finding success, unlike its training which does not incorporate learning from failed attempts. Intuitively, a tactic that leads to a failed search path would indicate that similar tactics should receive less attention during the following trials. In this paper, we demonstrate the benefit of training models that additionally learn from failed search paths. Facing the lack of such trial-and-error data in existing open-source theorem-proving datasets, we curate a dataset on intuitionistic propositional logic theorems and formalize it in Lean, such that we can reliably check the correctness of proofs. We compare our model trained on relatively short trial-and-error information (TrialMaster) with models trained only on the correct paths and discover that the former solves more unseen theorems with lower trial searches.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 25 of its 49 references that are in the map. First posted on arXiv 10 Apr 2024.

Builds on

25 of 49 references.

References · 25

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  4. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  5. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  6. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
  7. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  8. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  9. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  10. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
  11. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  12. 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
13 more
  1. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
  2. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 80
  3. 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 80
  4. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 50
  5. 2021Constructions in combinatorics via neural networkscited by 46
  6. 2017Premise Selection for Theorem Proving by Deep Graph Embeddingcited by 44
  7. 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
  8. 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
  9. 2019Learning to Reason in Large Theories without Imitationcited by 27
  10. 2019A Survey on Theorem Provers in Formal Methodscited by 8
  11. 2018Automated Theorem Proving in Intuitionistic Propositional Logic by Deep Reinforcement Learningcited by 7
  12. 2017Towards Proof Synthesis Guided by Neural Machine Translation for Intuitionistic Propositional Logiccited by 1
  13. 2018Automated proof synthesis for propositional logic with deep neural networkscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 4; 2026: 3.

11 papers.