How Researchers Built HumanLean to Fix AI-Generated Math Problems

How Researchers Built HumanLean to Fix AI-Generated Math Problems
Share

When OpenAI released hundreds of AI-generated math papers accompanied by machine-verifiable code files, it triggered a massive wave of automated proofs across the mathematical community. However, in the months following the October release, mathematicians and computer scientists realized that much of the generated code failed to correspond with the claims laid out in accompanying natural language documents. Furthermore, the code that was technically correct often proved exceptionally challenging for humans to follow and comprehend.

ETH Zurich computer science professor Martin Vechev highlighted the widespread nature of this issue after his research group audited publications from OpenAI, startup Axiom Math, and 29 other AI-assisted math proof projects. The audits revealed frequent mismatches between the methods described in papers and the actual logic executed in code. More critically, researchers found instances where code files failed to correctly state or prove the paper's main theorem. British mathematician Kevin Buzzard independently identified 38 similar instances in OpenAI's October release.

Key takeaways

  • ETH Zurich researchers developed a system named HumanLean to audit and annotate AI-generated math proofs.
  • Audits found frequent mismatches between natural language papers and underlying verification code.
  • HumanLean uses AI agents to check inconsistencies and add explanatory annotations for human review.
  • Experts like AWS scientist Leonardo de Moura and Axiom Math's Ashvin Swaminathan debate whether adding more AI tools is the best fix.

The Mechanics of HumanLean

To combat these errors and enhance readability, Vechev's team developed HumanLean. The system relies on AI agents—specifically utilizing OpenAI's Astra in testing—to audit proofs, map out goals, assumptions, and arguments, and independently check for inconsistencies. Once inconsistencies are flagged for human review, AI agents reconstruct the proof steps with additional annotations, merging them into a single publication after a final verification check. When the group tested HumanLean on nine math papers covering various topics, human reviewers confirmed the system returned zero mismatches.

Frontier labs typically translate everyday mathematical notation into logical steps using the open-source programming language Lean to automate solution verification. Because there are not enough human experts available to check these complex, non-human-generated files, automated verification is crucial. Vechev stresses that readability matters significantly, noting that similar translation challenges are emerging in software writing and verification.

Differing Perspectives on AI Math Verification

Despite the success of HumanLean in testing, industry experts hold varied views on the necessity of such secondary AI systems. AWS scientist and Lean FRO cofounder Leonardo de Moura questions whether deploying another AI tool is the ideal solution, noting that argument inconsistencies are less concerning if the underlying solution remains valid. Ashvin Swaminathan of Axiom Math argues that discrepancies between Lean code and human-written arguments are often intentional instructions given to agents to produce valid, efficient proofs, adding that statement mismatches have already been corrected.

Meanwhile, the challenge of massive, bloated machine code remains a pressing concern. Anthropic researcher Levent Alpöge published a Lean solution to the Riemann hypothesis in late November that spanned more than 17 million lines, which he described as a "travesty of slop." Although mathematicians quickly trimmed that specific proof down to roughly 100,000 lines, de Moura points out that Lean can verify formal correctness but cannot judge whether a proof is intuitive or straightforward. As long as clarity remains subjective, human oversight will stay essential.

Source: wired.com — reported and rewritten by the TechToday team.

Found this helpful? Share it.

Related Stories

Comments

No comments yet. Be the first to comment!