paper-with-me

Papers

Improving Autoformalization using Type Checking

2024-06-11 · Auguste Poiroux, Gail Weiss, Viktor Kunčak, Antoine Bosselut

Large language models show promise for autoformalization, the task of automatically translating natural language into formal languages. However, current autoformalization methods remain limited. The last reported state-of-the-art performance on the ProofNet formalization benchmark for the Lean proof assistant, achieved using Codex for Lean 3, only showed successful formalization of 16.1% of informal statements. Similarly, our evaluation of GPT-4o for Lean 4 only produces successful translations 34.9% of the time. Our analysis shows that the performance of these models is largely limited by their inability to generate formal statements that successfully type-check (i.e., are syntactically correct and consistent with types) - with a whopping 86.6% of GPT-4o errors starting from a type-check failure. In this work, we propose a method to fix this issue through decoding with type-check filtering, where we initially sample a diverse set of candidate formalizations for an informal statement, then use the Lean proof assistant to filter out candidates that do not type-check. Using GPT-4o as a base model, and combining our method with self-consistency, we obtain a +18.3% absolute increase in formalization accuracy, and achieve a new state-of-the-art of 53.2% on ProofNet with Lean 4.

📄 PDF Abstract BibTeX arXiv:2406.07222

Code (1)

augustepoiroux/LeanInteract 공식 구현

Tasks

Informal-to-formal Style Transfer

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
BASE 설명 없음

Similar Papers 제목 키워드 기반

SITA: A Framework for Structure-to-Instance Theorem Autoformalization

2025-11-13 · Chenyi Li, Wanli Ma, Zichen Wang, Zaiwen Wen arxiv

While large language models (LLMs) have shown progress in mathematical reasoning, they still face challenges in formalizing theorems that arise from instantiating abstract structures in concrete settings. With the goal o…

Mathematical Reasoning

Consistent Autoformalization for Constructing Mathematical Libraries

2024-10-05 · Lan Zhang, Xin Quan, Andre Freitas

Autoformalization is the task of automatically translating mathematical content written in natural language to a formal language expression. The growing language interpretation capabilities of Large Language Models (LLMs…

DenoisingRAGRetrieval-augmented Generation

Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics

2026-06-30 · Arshia Soltani Moakhar, Iman Gholami, Max Springer, Mahdi JafariRaviz 외 arxiv

While Large Language Models (LLMs) have demonstrated exceptional capabilities in mathematical reasoning, they frequently produce subtle errors that evade human detection. Formal mathematical languages like Lean 4 offer m…

Mathematical Reasoning

A New Approach Towards Autoformalization

2023-10-12 · Nilay Patel, Rahul Saha, Jeffrey Flanigan

Verifying mathematical proofs is difficult, but can be automated with the assistance of a computer. Autoformalization is the task of automatically translating natural language mathematics into a formal language that can …

Entity LinkingMathematical Proofs

The Signal-Coverage Matrix: Stratifying Type and Semantic Errors in Statement Autoformalization

2026-06-26 · Chengxiao Dai, Zhaokun Yan, Zhanhui Lin arxiv

Headline type-correctness (TC\%) of LLM autoformalization has climbed from $\sim$53\% to $\sim$76\% in two years, yet this scalar conceals which errors each method resolves. We propose a signal-coverage matrix that cross…