mlsanityData to 14 Oct 2026

Steering LLMs for Formal Theorem Proving

arXiv 2502.15507 ↗First posted 21 Feb 2025cs.LG cs.AI cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Recent advances in automated theorem proving use Large Language Models (LLMs) to translate informal mathematical statements into formal proofs. However, informal cues are often ambiguous or lack strict logical structure, making it hard for models to interpret them precisely. While existing methods achieve strong performance, little is known about how LLMs internally represent informal cues, or how these influence proof generation. To address this, we explore textitactivation steering, an inference-time intervention that identifies linear directions in residual activations associated with informal reasoning traces and adjusts them to improve proof construction without fine-tuning. This mechanism also yields interpretable information about how reasoning is internally encoded in the activation space of LLMs. We test our method for generating formal proofs from already-formalized theorems. Our contributions are twofold: (1) a novel activation-based intervention for guiding proof synthesis in LLMs; and (2) demonstration that this intervention improves performance under two decoding strategies (sampling and best-first search) without any further training.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 41 of its 57 references that are in the map. First posted on arXiv 21 Feb 2025.

Builds on

41 of 57 references.

References · 41

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  5. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  6. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  7. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
  8. 2023Towards Understanding Sycophancy in Language Modelscited by 1,040
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  10. 2023Steering Language Models With Activation Engineeringcited by 922
  11. 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 836
  12. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
29 more
  1. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
  2. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  3. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  4. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
  5. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
  6. 2020Generative Language Modeling for Automated Theorem Provingcited by 388
  7. 2023Llemma: An Open Language Model For Mathematicscited by 388
  8. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
  9. 2023Language Models Represent Space and Timecited by 316
  10. 2023In-Context Learning Creates Task Vectorscited by 312
  11. 2023Function Vectors in Large Language Modelscited by 308
  12. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
  13. 2022Autoformalization with Large Language Modelscited by 263
  14. 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 191
  15. 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
  16. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 132
  17. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 119
  18. 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 119
  19. 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 116
  20. 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 81
  21. 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
  22. 2024Lean-STaR: Learning to Interleave Thinking and Provingcited by 68
  23. 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
  24. 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
  25. 2023Probing Explicit and Implicit Gender Bias through LLM Conditional Text Generationcited by 31
  26. 2023Look Before You Leap: A Universal Emergent Decomposition of Retrieval Tasks in Language Modelscited by 18
  27. 2024Analysing the Residual Stream of Language Models Under Knowledge Conflictscited by 17
  28. 2020QED at Large: A Survey of Engineering of Formally Verified Softwarecited by 13
  29. 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Formal Theorem Proving by Rewarding LLMs to Decompose Proofs Hierarchically
  2. 2026Mask-Proof: An LLM-based Automated Data Curation Pipeline on Mathematical Proofs
  3. 2025Can Large Language Models Learn Formal Logic? A Data-Driven Training and Evaluation Framework
  4. 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofs
  5. 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
  6. 2025Hilbert: Recursively Building Formal Proofs with Informal Reasoning
  7. 2025DeepTheorem: Advancing LLM Reasoning for Theorem Proving Through Natural Language and Reinforcement Learning
  8. 2025Translating Informal Proofs into Formal Proofs Using a Chain of States