← Latest papers
🤖 AI

Aria: An Agent For Retrieval and Iterative Auto-Formalization via Dependency Graph

The paper introduces Aria, a retrieval-based agent that employs a two-phase Graph-of-Thought process and a definition-grounded scorer to achieve state-of-the-art accuracy in conjecture-level auto-formalization of research mathematics in Lean, effectively overcoming common LLM limitations like hallucinations and semantic mismatches.

Original authors: Hanyu Wang, Ruohan Xie, Yutong Wang, Guoxiong Gao, Xintao Yu, Bin Dong

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

Original authors: Hanyu Wang, Ruohan Xie, Yutong Wang, Guoxiong Gao, Xintao Yu, Bin Dong

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 Big Problem: The "Lost in Translation" Gap

Imagine you have a brilliant mathematician who speaks "Human Math" (natural language, like English) and a super-strict computer that only speaks "Formal Math" (a rigid programming language called Lean). The computer is incredibly powerful; it can prove theorems without making mistakes. But it has a huge problem: it doesn't understand human math unless it is translated perfectly.

If you translate a math sentence even slightly wrong, the computer rejects it. Current AI models (LLMs) are like enthusiastic but inexperienced translators. They often:

  1. Hallucinate: They invent words or rules that don't exist in the computer's dictionary.
  2. Get the meaning wrong: They use the right words but in the wrong order, changing the meaning entirely.
  3. Give up on hard stuff: When faced with a brand-new, complex research problem, they freeze because they don't have a pre-written answer in their memory.

The Solution: Meet Aria

The authors built a new AI agent named Aria. Think of Aria not as a translator, but as a Master Architect who builds a bridge between Human Math and Computer Math.

Aria doesn't just guess the translation. It uses a three-step process to ensure the bridge is solid:

1. The "Dependency Map" (Graph-of-Thought)

The Analogy: Imagine you are trying to build a skyscraper. You can't just pour concrete for the top floor; you need the foundation, the steel beams, and the plumbing first.
How Aria does it: Instead of trying to translate the whole math problem at once, Aria breaks it down. It draws a map (a graph) showing how every concept depends on others.

  • Example: To understand "Cohen-Macaulay Module," you first need to understand "Noetherian Ring," which needs "Ideal," which needs "Ring."
  • Aria builds the bridge from the bottom up, ensuring every single brick is laid correctly before moving to the next level.

2. The "Library Detective" (Retrieval-Augmented Generation)

The Analogy: Imagine a student taking a test who is allowed to use a library but isn't allowed to memorize the books. If the student tries to make up a rule, they get caught.
How Aria does it: Math libraries (like Mathlib) are constantly updated with new rules. Old AI models rely on what they memorized years ago, which is often outdated or wrong.

  • Aria acts like a detective. Before it writes a single line of code, it searches the current library to find the exact, official definition of the terms it needs.
  • If the library doesn't have a definition for a new concept, Aria knows it has to invent one from scratch, but it does so carefully, checking its work against the rules it just found.

3. The "Self-Correction Loop" (Iterative Reflection)

The Analogy: Think of a sculptor chipping away at a statue. They don't just carve once and hope for the best. They chip, step back, look at it, see a flaw, and chip again.
How Aria does it:

  • Aria writes a piece of code.
  • It runs it through the computer compiler (the strict judge).
  • If the computer says "Error," Aria doesn't panic. It reads the error, figures out what went wrong, and tries again.
  • It repeats this "try-fail-fix" cycle until the code compiles perfectly.

The "Truth Detector": AriaScorer

Even if the code compiles (runs without crashing), it might still mean the wrong thing. This is like a sentence that is grammatically perfect but says, "The sky is green."

The authors built a special tool called AriaScorer to check the meaning.

  • The Old Way: Previous tools just compared the words. If the human said "Ring" and the code said "Ring," they thought it was a match.
  • The Aria Way: AriaScorer is a deep-dive investigator. It looks up the actual definition of "Ring" in the computer's library and compares that deep definition to the human's intent.
  • It catches subtle tricks, like when the AI swaps the order of ingredients in a recipe. It ensures the computer's version is mathematically identical to the human's idea, not just similar-looking.

The Results: How Good is Aria?

The team tested Aria on three levels of difficulty:

  1. Undergraduate Math (ProofNet): Aria got 68.5% of the hard translations right, beating all previous models.
  2. PhD Level Math (FATE-X): This is where other models usually fail. Aria got 44.0% right, while the next best model only got 24.0%.
  3. Real Research Conjectures (The "Impossible" Test): The team gave Aria 14 brand-new, unsolved math problems from real mathematicians.
    • Other AI models: 0% success. They couldn't even start.
    • Aria: 42.9% success. It successfully translated nearly half of these brand-new, never-seen-before problems into a format the computer could understand.

Summary

Aria is a system that stops AI from "making things up" when doing advanced math. Instead of guessing, it:

  1. Maps the dependencies (like a blueprint).
  2. Searches the official library for current rules (like a detective).
  3. Iterates and fixes its own mistakes (like a sculptor).
  4. Verifies the deep meaning, not just the surface words (like a truth detector).

This allows it to handle complex, research-level math problems that previous AI systems simply couldn't touch.

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 →