atlas

Research map / Large language models / Agents, code and math

Don't Trust: Verify -- Grounding LLM Quantitative Reasoning with Autoformalization

ICLR 2024 · Large language models › Agents, code and math · approach: Formal verification and proof data · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Don't Trust: Verify (DTV), which uses few-shot LLM autoformalization into Isabelle plus automated theorem proving to filter informal solutions before majority voting on math word problems.

Problem

Majority voting over sampled LLM solutions often selects a wrong answer, and LLM reasoning contains unjustified logical and computational errors; a better verification heuristic is needed for quantitative reasoning.

Approach

Autoformalize each informal problem (with extracted answer) and solution into Isabelle, verify with Sledgehammer and tactics, keep only verified solutions for majority voting, and use vacuous-statement and self-critique filters to reduce unfaithful formalizations. Training-free, few-shot prompting only.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
autoformalize and verify sampled solutions instead of majority votingMinerva 62B solutions · GSM8Kproblem solve rate: 67.2% -> 71.4%Helped
autoformalize and verify sampled solutions instead of majority votingMinerva 62B solutions · MATH Number Theoryproblem solve rate: 23.7% -> 31.9%Helped
use GPT3.5 for statement formalization rather than Minerva 62BDTV with Minerva 62B informal solutions · GSM8Kproblem solve rate: 71.4% -> 79.4%Helped
add formal solution sketches (ablation)DTV with Minerva 62B · MATH Number Theoryproblem solve rate: 29.2% -> 31.9%Helped
add vacuous statement filter (ablation)DTV with Minerva 62B · MATH Number Theoryproblem solve rate: 30.7% -> 31.9%Helped
add self-critique filter (ablation)DTV with Minerva 62B · MATH Prealgebraproblem solve rate: 58.4% -> 61.0%Helped
increase informal solution model size from Minerva 8B to Minerva 540BDTV Formalization with Minerva 62B · MATH Number Theoryproblem solve rate: 23.0% -> 40.2%Helped
increase informal solution model size from Minerva 8B to Minerva 540BMajority Voting · GSM8Kproblem solve rate: 27.7% -> 75.6%Helped
use GPT-3.5 for informal solutions and formalization instead of Minerva 62BDTV · MATH Number Theoryproblem solve rate: 36.1% -> 49.4%Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MATH MultiArith

Benchmarks: GSM8K MATH Number Theory MATH Algebra MATH Prealgebra MultiArith

Metrics: problem solve rate

Baselines: single sample majority voting

Builds on: chain-of-thought prompting Minerva Portal-to-Isabelle self-consistency majority voting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy