← Latest papers
💻 computer science

Categorizing Mathematical Concepts with LLM Voting Ensembles in Mathswitch

This paper evaluates the effectiveness of a voting ensemble of Large Language Models in filtering noise from the Mathswitch project's Wikidata-derived mathematical concept records, identifying specific disagreement patterns to inform future remediation strategies.

Original authors: Katja Berčič, Slobodan Stanojevikj

Published 2026-06-30
📖 4 min read☕ Coffee break read

Original authors: Katja Berčič, Slobodan Stanojevikj

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 a massive, chaotic library called Mathswitch. Its goal is to gather every single book, note, and diagram about mathematics from all over the internet—from formal textbooks to casual Wikipedia articles—and put them on one shelf so you can find them all at once.

The problem? The library is trying to pull these books from a giant, public bulletin board called Wikidata. This bulletin board is edited by everyone, so it's a bit messy. Sometimes, a post about a "tree" (the kind you climb) gets mixed in with a post about a "tree" (the kind of math structure). Sometimes, a post about a "function" (a job you do) gets mixed in with a post about a "function" (a math formula).

If the library just grabbed everything that looked sort of like math, the shelves would be cluttered with non-math junk, making it hard to find the real stuff.

The Solution: A Panel of AI Judges

To clean up the mess, the authors of this paper built a voting panel of AI judges. Think of it like a courtroom with three different judges (specifically, three different AI models: DeepSeek, Gemma, and Qwen).

Here is how the process works:

  1. The Trial: When a new item from Wikidata arrives, the system shows it to all three AI judges.
  2. The Evidence: The judges see the item's name, a short description, some keywords, and a snippet of the article text.
  3. The Verdict: Each judge asks, "Is this a real mathematical concept?" They vote Yes or No and give a confidence score (how sure they are).
  4. The Majority Rule: If two out of three judges say "Yes," the item stays on the math shelf. If two say "No," it gets thrown out.

How They Tested It

The authors needed to know if their AI judges were actually good at their job. They ran a few tests:

  • The "Easy" Test (Positive Control): They took 1,000 items that were already known to be math because they had a special "MathWorld" ID tag (like a gold seal of approval). They asked the AI judges to classify these.

    • Result: The judges were incredibly accurate, correctly identifying 98.2% of these items as math. Even when the authors hid the "MathWorld" tag from the judges so they couldn't just cheat by looking for the seal, the judges still got it right almost every time. This proved the judges were actually reading the content, not just looking for shortcuts.
  • The "Hard" Test (Negative Control): They took 500 items about Physics (like "Kepler's orbit" or "entropy").

    • Result: The judges correctly said "No, this isn't math" for most of them. However, for the 10 items that were on the blurry line between physics and math (like complex equations used in both fields), the judges confidently said "Yes." This showed the judges understand that math and physics often overlap, rather than just blindly rejecting anything that isn't pure math.

Where the Judges Got Confused

The paper also looked at the few times the judges made mistakes or disagreed with the "gold standard" (MathWorld). They found three main reasons for the confusion:

  1. The "Empty Description" Problem: Sometimes, a Wikidata entry just says "Mathematical Concept" as its description. It's like a book with a blank cover. The judges, having no context, guessed based on the title alone. For example, they thought "Wiener sausage" was food and "Fence" was construction, not realizing these were actually names of obscure math concepts. The fix? Give the judges more context before they vote.
  2. The "Too Narrow" Bias: One of the judges (Gemma) was very strict. If a math concept was used in the real world (like in biology or engineering), this judge thought, "That's an application, not math itself," and voted "No." The other judges were more flexible and recognized it as math.
  3. The "Scope" Mismatch: Sometimes, the MathWorld encyclopedia includes things that are related to math (like signal processing tools or historical trivia) that the AI judges felt were too far removed to be called "mathematical concepts." This wasn't a mistake by the judges; it was just a difference in opinion on how strictly to define "math."

The Bottom Line

The paper concludes that using a voting panel of AI judges is a practical and effective way to filter out the noise from Wikidata. It doesn't need to be taught with a massive dataset of labeled examples; the AI already knows what math sounds like.

By using this system, Mathswitch can automatically clean up its library, keeping the real mathematical concepts and tossing out the non-math junk, while learning from its mistakes to get even better in the future.

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 →