← Latest papers
🤖 machine learning

OptProver: Bridging Olympiad and Optimization through Continual Training in Formal Theorem Proving

OptProver introduces a continual training pipeline that enables an Olympiad-level theorem prover to successfully transfer its reasoning capabilities to the undergraduate optimization domain through expert-curated data and a specialized preference learning objective.

Original authors: Chenyi Li, Yanchen Nie, Zhengyu Ming, Gong Zhang, Kun Yuan, Zaiwen Wen

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: Chenyi Li, Yanchen Nie, Zhengyu Ming, Gong Zhang, Kun Yuan, Zaiwen Wen

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

The Tale of the Math Prodigy and the Specialist: How "OptProver" Learned a New Language

Imagine you have a brilliant student named Olympiad-Bot. This student is a superstar at solving high-school math competitions—the kind of problems that involve clever tricks, geometry puzzles, and intense logic. If you give Olympiad-Bot a math contest problem, it shines.

However, there is a problem. Olympiad-Bot has never stepped foot in a university. It knows how to solve "riddles," but it doesn't know how to do Optimization.

Optimization is the math of "finding the best way." It’s what GPS uses to find the fastest route, what Netflix uses to suggest movies, and what engineers use to build stable bridges. It’s not just about clever tricks; it’s about a very specific, heavy-duty language involving complex rules like convexity (the math of "bowl-shaped" curves) and convergence (the math of "getting closer to the goal").

When researchers tried to teach Olympiad-Bot this new subject, something went wrong. It was like trying to teach a Shakespearean actor how to write computer code. The actor might learn a few technical words, but they’d lose their poetic soul, and their "code" would be full of weird, useless flourishes that don't actually run the program.

This paper introduces OptProver—the solution to this "identity crisis."


The Three Big Problems

The researchers identified three reasons why teaching math to AI is harder than it looks:

  1. The "Identity Crisis" (Catastrophic Forgetting): When you force a model to learn a new, specialized subject, it often "forgets" how to do the general math it was originally good at. It becomes a specialist that has lost its common sense.
  2. The "Dead-End" Trap (Stagnant Tactics): In formal math (using a tool called Lean), every step must be perfect. The AI often suggests steps that are "technically legal" but totally useless. Imagine trying to get to the top of a mountain, and instead of climbing, you decide to walk in a perfect, beautiful circle. You aren't breaking any laws of physics, but you aren't getting any higher either.
  3. The "Language Gap" (Distribution Shift): The way math is written in textbooks is very different from the way it’s written in competition puzzles. The AI gets confused by the change in "vibe."

How OptProver Fixed It: The Three-Step Training Plan

To turn the "Olympiad Prodigy" into an "Optimization Expert," the team used three clever strategies:

1. The "Self-Study" Phase (Expert Iteration)

Instead of just handing the AI a textbook and saying "Read this," they let the AI practice. They gave it thousands of mathematical statements and told it, "Try to prove these. If you succeed, study your own successful path. If you fail, try a different way." This is like a musician practicing scales until the movements become second nature.

2. The "No More Circles" Rule (Utility-Aware Preference)

To stop the AI from walking in "mathematical circles," the researchers introduced a special way of grading it.

  • Grade A: A step that actually moves you closer to the answer.
  • Grade B: A step that is technically correct but leads to a dead end (the "stagnant" step).
  • Grade F: A step that is just plain wrong.

By teaching the AI to prefer Grade A over Grade B, they trained it to be efficient, not just "correct." It learned to stop wasting time on beautiful but useless logic.

3. The "Steady Hand" Method (Perplexity-Weighted DPO)

When learning something new, AI can sometimes get "overwhelmed" by extremely difficult or weirdly phrased sentences, causing its brain to glitch (numerical instability). The researchers added a "weighting" system. It’s like a teacher saying, "Focus on the core concepts first; don't get distracted by the weirdly worded footnotes until you've mastered the basics." This kept the training stable and prevented the AI from losing its original skills.


The Result: A True Specialist

The researchers built a new test called OptBench to see if it worked. The results were impressive:

  • It’s a Specialist: OptProver crushed the old models in optimization math, solving over 55% of the complex problems.
  • It Kept Its Brain: Unlike previous attempts, OptProver didn't forget its old skills. It stayed just as good (or even better!) at general math.
  • It’s Efficient: It doesn't just find the answer; it finds the smartest path to the answer.

In short: OptProver isn't just a student who memorized a textbook; it's a student who actually learned how to think like an optimizer.

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 →