Steering LLMs for Formal Theorem Proving
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
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
- 2023Towards Understanding Sycophancy in Language Modelscited by 1,040
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2023Steering Language Models With Activation Engineeringcited by 922
- 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 836
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
29 more
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
- 2020Generative Language Modeling for Automated Theorem Provingcited by 388
- 2023Llemma: An Open Language Model For Mathematicscited by 388
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
- 2023Language Models Represent Space and Timecited by 316
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2023Function Vectors in Large Language Modelscited by 308
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2022Autoformalization with Large Language Modelscited by 263
- 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 191
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 132
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 119
- 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 119
- 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 116
- 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 81
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
- 2024Lean-STaR: Learning to Interleave Thinking and Provingcited by 68
- 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
- 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
- 2023Probing Explicit and Implicit Gender Bias through LLM Conditional Text Generationcited by 31
- 2023Look Before You Leap: A Universal Emergent Decomposition of Retrieval Tasks in Language Modelscited by 18
- 2024Analysing the Residual Stream of Language Models Under Knowledge Conflictscited by 17
- 2020QED at Large: A Survey of Engineering of Formally Verified Softwarecited by 13
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026GeoSteer: Faithful Chain-of-Thought Steering via Latent Manifold Gradientscited by 4
- 2025Whose Narrative is it Anyway? A KV Cache Manipulation Attackcited by 3
- 2025IndiMathBench: Autoformalizing Mathematical Reasoning Problems with a Human Touchcited by 3
- 2026VISPA: Pluralistic Alignment via Automatic Value Selection and Activationcited by 1
- 2026VISPA: Pluralistic Alignment via Automatic Value Selection and Activation19 Jan 2026
- 2026GeoSteer: Faithful Chain-of-Thought Steering via Latent Manifold Gradients15 Jan 2026
- 2025IndiMathBench: Autoformalizing Mathematical Reasoning Problems with a Human Touch30 Nov 2025
- 2025Whose Narrative is it Anyway? A KV Cache Manipulation Attack16 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2024Formal Theorem Proving by Rewarding LLMs to Decompose Proofs Hierarchically
- 2026Mask-Proof: An LLM-based Automated Data Curation Pipeline on Mathematical Proofs
- 2025Can Large Language Models Learn Formal Logic? A Data-Driven Training and Evaluation Framework
- 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofs
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
- 2025Hilbert: Recursively Building Formal Proofs with Informal Reasoning
- 2025DeepTheorem: Advancing LLM Reasoning for Theorem Proving Through Natural Language and Reinforcement Learning
- 2025Translating Informal Proofs into Formal Proofs Using a Chain of States