← Latest papers
🤖 AI

Efficient Test-Time Optimization for Multi-Agent Proof Autoformalization

The paper introduces ToMap, a multi-agent framework that optimizes test-time compute by identifying the proof decomposition step as the critical bottleneck and iteratively refining it using formal verification and semantic rubrics, thereby achieving significant improvements in full-proof autoformalization accuracy and efficiency on ProofFlowBench.

Original authors: Tian-Shuo Liu, Shiyuan Zhang, Zijie Geng, Haoyu Liu, Runjie Xu, Pengyuan Wang, Lei Yuan, Yang Yu

Published 2026-07-14
📖 5 min read🧠 Deep dive

Original authors: Tian-Shuo Liu, Shiyuan Zhang, Zijie Geng, Haoyu Liu, Runjie Xu, Pengyuan Wang, Lei Yuan, Yang Yu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you're trying to teach a brilliant but slightly scattered robot how to write a perfect math proof. You hand it a messy, handwritten note full of clever ideas, logical jumps, and "obvious" steps that a human would get instantly. Your goal? To get that robot to translate your messy note into a strict, computer-checkable language called Lean that never makes a mistake.

This is the challenge of full-proof autoformalization. But here's the catch: the robot isn't just translating words; it's trying to build a skyscraper of logic, one brick at a time. If the first brick is crooked, the whole tower collapses.

The Problem: The "Fix-It-All" Trap

In the past, researchers tried to solve this by letting the robot try, fail, and then try again. If the computer said, "Error! This proof is wrong," the robot would just guess a new way to write the whole thing and try again.

The authors of this paper argue that this is like trying to fix a broken car engine by randomly swapping out the tires, the radio, and the seats, hoping one of them was the problem. It's expensive, slow, and mostly useless. They found that most of the time, the error wasn't in the tires (the final proof) or the radio (the translation); the problem was in the blueprint.

The Discovery: The "Blueprint" is the Bottleneck

The team, led by researchers at Nanjing University, broke the robot's job down into three specialists:

  1. The Decomposer: The architect who breaks the big, messy proof into tiny, manageable steps.
  2. The Formalizer: The translator who turns those steps into computer code.
  3. The Prover: The builder who actually constructs the proof in the computer.

They ran a series of experiments (like a controlled crash test) to see which specialist was the weak link. They found that if the Decomposer (the architect) gave a bad blueprint, the other two specialists couldn't save the day, no matter how hard they tried. Even if you gave the Formalizer and Prover infinite chances to fix their work, they couldn't overcome a bad starting plan.

The main finding: To get the best results, you shouldn't waste time fixing the translator or the builder. You should spend all your energy helping the Decomposer draw a better blueprint.

The Solution: TOMAP (The Smart Architect)

Enter TOMAP, a new system that acts like a super-efficient coach for the Decomposer. Instead of letting the robot guess blindly, TOMAP uses a clever "evolution" loop:

  1. Drafting: The Decomposer creates several different blueprints (decompositions) for the same proof.
  2. The "Rubric" Check: Before the robot even tries to build anything, a smart judge (an AI) looks at the blueprints and scores them on three things:
    • Faithfulness: Did you stick to the original proof's ideas?
    • Provability: Is this step actually solvable?
    • Lean-friendliness: Is the language clear enough for the computer?
  3. The Pareto Frontier: The system keeps the "best of the best" blueprints—those that are strong in all areas—and discards the weak ones.
  4. Evolution: It takes the best blueprint, critiques it, and asks the Decomposer to try again, making tiny improvements.
  5. The Gatekeeper: Only when a blueprint scores perfectly on the "Rubric" does the system let the Formalizer and Prover actually try to build it.

Think of it like a talent show. The "Rubric" is the preliminary audition. You don't let every contestant perform the full song on the main stage (which is expensive and takes time). You only let the ones who passed the audition perform the full song. This saves a massive amount of time and computing power.

The Results: Faster, Smarter, and More Accurate

When they tested TOMAP on a benchmark called PROOFFLOWBENCH (which has 184 math problems) and miniF2F (244 problems), the results were impressive:

  • TOMAP improved the success rate by 19.0% compared to the best previous method when looking at both the code's correctness and its faithfulness to the original proof.
  • It did this while using less time and fewer computer resources than the other methods.
  • Interestingly, the biggest improvements happened very quickly. Most of the gains were made within just a few rounds of "evolution," suggesting you don't need to run the system for hours to get great results.

What They Didn't Do (And What They Didn't Say)

It's important to know what this paper doesn't claim.

  • It's not a magic wand for bad math: The system assumes the original human proof is correct. If the human proof is wrong or incomplete, TOMAP faithfully translates the mistake. It doesn't fix bad math; it just translates it better.
  • It's not for research-level giants yet: The tests were done on standard math problems (like high school competitions or undergraduate courses). The authors admit they haven't tested this on massive, cutting-edge research proofs that might take pages to write.
  • It's not a "training" miracle: Unlike other methods that require training a new, giant AI model from scratch (which costs a fortune), TOMAP is a "test-time" optimization. It works with the models we already have, just by being smarter about how it uses them.

The Bottom Line

This paper suggests that in the world of AI math proofs, quality control at the start is everything. By focusing our limited computing power on refining the initial plan (the decomposition) rather than endlessly retrying the final build, we can build better, more reliable proofs faster. It's a shift from "try harder" to "plan better," and the data shows it works.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →