← Latest papers
💻 computer science

FormalAnalyticGeo: A Neural-Symbolic Based Framework for Multimodal Analytic Geometry Problem Generation

The paper introduces FormalAnalyticGeo, a neural-symbolic framework that leverages a formal intermediate language (CDL) and a multi-stage LLM pipeline to automatically generate a high-quality, verified dataset of over 7,000 multimodal analytic geometry problems, effectively overcoming the scarcity of annotated samples and the geometric precision limitations of existing methods.

Original authors: Ruoran Xu, Wending Gao, Qiufeng Wang

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

Original authors: Ruoran Xu, Wending Gao, Qiufeng Wang

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 super-smart robot how to solve tricky math puzzles involving circles, ovals, and squiggly lines (conic sections). The problem is, the robot is great at reading words but terrible at looking at a picture and doing the math at the same time. Why? Because nobody has ever built a massive, perfect library of these puzzles with both the question and the drawing.

Enter FormalAnalyticGeo, a new "robot factory" designed to build these puzzles from scratch without needing a single human to draw a line or write an answer.

The Problem: Robots Drawing Garbage

The researchers found that when they asked existing AI robots to draw these math diagrams, the results were a disaster. One robot drew a circle that wasn't actually a circle; another drew a hyperbola that looked like a distorted potato. They were "hallucinating" shapes. The robots could talk about the math, but they couldn't see it correctly.

The Solution: A Digital Assembly Line

The team built a four-step assembly line that works like a high-tech construction crew, passing a blueprint down the line until a perfect puzzle pops out.

1. The Architect (The Generator)
First, a "Generator" robot comes up with a math problem. It's like a creative writer who invents a story about a ball rolling on a curved track. But here's the catch: it doesn't just write a story; it also writes the exact mathematical equation for that track.

2. The Translator (The Formalizer)
Next, the "Formalizer" takes that story and translates it into a secret code called CDL (Condition Description Language). Think of CDL as a strict, unbreakable recipe. It tells the computer exactly where every point is and how every line connects, leaving no room for "maybe" or "looks like."

3. The Builder (The SDF Engine)
This is the magic part. A special engine reads the CDL recipe and builds the diagram. Instead of just guessing where to draw a curve, it uses a technique called Signed Distance Fields (SDF). Imagine a field of tiny magnets that know exactly how far they are from a shape's edge. The engine uses these magnets to "grow" the curves with mathematical precision. It solves the math while it draws, so the picture is guaranteed to match the equation perfectly.

4. The Inspector (The Quality Verifier)
Before the puzzle is finished, a strict "Inspector" robot checks the work at three different checkpoints.

  • Gate 1: Is the problem even solvable?
  • Gate 2: Does the CDL recipe match the story?
  • Gate 3: If you measure the drawing with a ruler, does it match the answer?

If the Inspector finds a mistake (like a line that's slightly crooked), it doesn't just throw the puzzle away. It sends it back up the line with a note saying, "Fix this!" The robots try again, creating a closed loop of self-correction. This means the system never needs a human to say, "Hey, that circle is wrong."

The Result: A Giant Library of Perfect Puzzles

By running this factory, the team created AnalyticGeo7K, a dataset of 7,043 verified math problems. Each one comes with:

  • The text question.
  • A perfectly drawn diagram.
  • The secret CDL code.
  • The exact answer.

The results are surprisingly accurate. When they tested the answers by measuring the generated diagrams, the errors were tiny. The "median" (the middle point of all errors) was just 0.70%. That means 82.3% of the answers were within 5% of the perfect mathematical solution.

What They Found (and What They Didn't)

The team tested this new library on 8 of the smartest AI models available today (including GPT-4o, Claude, and Gemini).

  • The Good News: When the models could see the diagrams, they got much better. The best model, Gemini 3 Flash, got 77.6% of the answers right.
  • The Bad News: When they took the pictures away and only gave the models the text, the scores crashed. The best text-only score was only 42.0%. This proves that for these specific geometry problems, the picture is absolutely essential; the robots can't just "imagine" the shape.
  • The Reality Check: Even the best model only got about 3 out of 4 right. The researchers suggest that these problems are still very hard for AI, requiring a mix of algebra and visual reasoning that current technology is only just starting to master.

What They Ruled Out

The paper explicitly argues against a few common ideas:

  • No "One-Pass" Generation: They showed that simply asking an AI to "write a problem and draw it" in one go doesn't work. The errors pile up, and the diagrams become geometrically meaningless.
  • No Human Needed: They proved that you don't need humans to label or check the data. The "closed-loop" system with the Quality Verifier handles the errors automatically.
  • No "Magic" Text-Only Solving: The experiments ruled out the idea that models can solve these complex geometry problems just by reading the text. The visual gap is too wide; without the diagram, performance drops by over 35 percentage points for the best models.

How Sure Are They?

The authors are very confident in the 0.70% median error rate and the 82.3% accuracy within 5% because they measured it directly on a sample of 164 problems where they calculated the "ground truth" (the real answer) by hand. They also ran "ablation studies" (taking parts of their system away) to prove that every single component—the Generator, the Formalizer, the SDF engine, and the Inspector—is necessary. When they removed the Inspector, the accuracy plummeted from 82.3% down to 45.5%.

In short, they haven't "solved" AI geometry yet, but they've built a factory that can churn out thousands of perfect practice problems, showing us exactly where the robots are failing and how to fix them.

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 →