NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bartosz Piotrowski

Axiom Math
6 previous affiliations
18Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Bartosz Piotrowski focuses on the intersection of machine learning and formal mathematical reasoning, with a primary emphasis on automated theorem proving (ATP), formal verification, and the application of large language models (LLMs) to symbolic logic. His work addresses critical bottlenecks in formal methods, including premise selection, proof search guidance, and the autoformalization of natural language mathematics into formal code. Recently, his research has expanded to include the development of scaling laws for text embeddings and the optimization of formal proofs through reinforcement learning and expert iteration.

Research Trajectory

The early phase of Piotrowski’s research, spanning approximately 2018 to 2020, was characterized by the integration of traditional machine learning techniques with symbolic automated theorem provers. During this period, he focused on the problem of premise selection—identifying the most relevant previously proved theorems to assist in proving a new conjecture. In ATPboost: Learning Premise Selection in Binary Setting with ATP Feedback, he explored the use of gradient-boosted trees to estimate the pairwise relevance of theorem-premise pairs. This work shifted the standard multi-label learning paradigm toward a binary classification setting, utilizing feedback loops between the prover and the learner to improve performance. Concurrently, he investigated neural architectures for proof guidance, specifically applying recurrent neural networks to the task of clause selection within the connection tableau calculus.

In 2020, Piotrowski contributed to the development of symbol-independent guidance systems for saturation-style provers. This work addressed a significant limitation in early ML-for-ATP systems: the reliance on consistent symbol naming across different mathematical problems. By utilizing graph neural networks and abstracted features, these systems achieved a higher degree of generalization across diverse problem domains.

By 2023, Piotrowski’s work began to reflect the broader shift in the field toward large-scale transformer architectures and the Lean proof assistant. He co-developed ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematics, a benchmark designed to test the ability of AI systems to translate natural language mathematical statements and proofs into formal Lean code. This period also saw a transition in premise selection methodology; he participated in the development of Magnushammer: A Transformer-Based Approach to Premise Selection, which demonstrated that contrastive training of transformers could outperform traditional symbolic retrieval tools like Sledgehammer without requiring extensive domain-specific feature engineering.

From 2024 onward, Piotrowski’s research has focused on the refinement and evaluation of LLMs in the context of formal reasoning. This includes the study of scaling behaviors in embedding models and the development of techniques for proof simplification and repair. His recent work emphasizes "post-training" pipelines, where models are trained to improve the readability and efficiency of machine-generated proofs through reinforcement learning.

Current Directions

Piotrowski’s current research is centered on three primary areas: proof optimization, formal reasoning benchmarks, and the "physics" of embedding models.

A significant recent contribution is the development of ProofOptimizer: Training Language Models to Simplify Proofs without Human Demonstrations. This system addresses the "bloat" often found in AI-generated formal proofs, which can be computationally expensive to verify and difficult for humans to read. By combining expert iteration with reinforcement learning and symbolic linters, the system learns to compress proofs by up to 87% without requiring a corpus of human-written simplifications. This aligns with broader efforts in Scaling Efficient Optimization and Alignment to Frontier Models, where the goal is to move beyond supervised fine-tuning toward more autonomous forms of model improvement.

In the area of benchmarking, Piotrowski has introduced AntiderivBench: Evaluating language models on indefinite integration. This benchmark, derived from the MIT Integration Bee, serves as a rigorous test for the symbolic reasoning capabilities of frontier models. It is designed to evaluate not just the final answer, but the model's ability to navigate complex, multi-step integration problems that can be symbolically verified.

Finally, Piotrowski has explored the fundamental scaling laws governing the repurposing of decoder-only language models into embedding models. This work, detailed in Repurposing Language Models into Embedding Models: Finding the Compute-Optimal Recipe, provides a framework for Inference-Optimal Scaling for Language Models when applied to representation learning. It investigates the trade-offs between model size and data volume, specifically looking at how Mean Pooling for Robust Transformer Text Representations can be optimized to create high-quality textual fingerprints for retrieval and similarity tasks.

Representative Work

ATPboost: Learning Premise Selection in Binary Setting with ATP Feedback This work introduces a system that interleaves automated theorem proving with machine learning to solve large-theory problems. By framing premise selection as a binary classification task and employing the XGBoost algorithm, the system achieves significant improvements over traditional multi-label approaches. The paper provides a detailed analysis of how to generate effective negative examples in the presence of alternative proofs, a key challenge in the ATP/ML feedback loop.

Guiding Theorem Proving by Recurrent Neural Networks In this research, Piotrowski explores the use of Recurrent Neural Networks (RNNs) to guide clause selection in connection tableau proof calculus. The RNN architecture is used to encode the sequence of literals in a partial proof tree into a hidden state, which then informs the selection of the next clause. The paper also describes a "conjecturing" experiment where the network constructs new tableau goals, moving beyond simple selection toward generative proof assistance.

ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematics As a primary contributor to this benchmark, Piotrowski helped establish a standard for evaluating the autoformalization capabilities of LLMs. ProofNet consists of hundreds of examples from undergraduate textbooks, pairing natural language statements and proofs with formal Lean code. The benchmark highlights the gap between the informal reasoning found in mathematical practice and the rigorous requirements of formal kernels, providing a target for future research in automated reasoning.

Magnushammer: A Transformer-Based Approach to Premise Selection Piotrowski participated in the development of Magnushammer, a retrieval system that applies transformer architectures to the problem of premise selection in interactive theorem proving. By utilizing Hard Negative Selection for Contrastive Representation Learning, the system learns to distinguish between relevant and irrelevant premises more effectively than symbolic tools like Sledgehammer. The work demonstrates the power of pre-trained models to handle the diverse syntax of formal libraries without manual feature engineering.

ProofOptimizer: Training Language Models to Simplify Proofs without Human Demonstrations This paper presents a method for training LLMs to simplify formal Lean proofs. The approach is notable for its lack of reliance on human-annotated data; instead, it uses a combination of reinforcement learning and expert iteration to discover shorter, more efficient proof paths. The resulting model significantly reduces the length of AI-generated proofs, making them more suitable for both human review and as training data for subsequent generations of provers.

AntiderivBench: Evaluating language models on indefinite integration Piotrowski led the creation of this benchmark to evaluate the mathematical reasoning of frontier LLMs. By extracting and symbolically manipulating problems from the MIT Integration Bee, the benchmark provides a high-difficulty testbed for symbolic computation. The work emphasizes the importance of verifiable rewards in post-training pipelines, where the correctness of a model's output can be rigorously checked by a symbolic engine.

Profile updated

See something wrong? Report a mistake