Classifying mathematical problems involves categorizing them based on their content, structure, or required solution methods. Several models have been developed to address this task, each with unique approaches and performance benchmarks. Below is an overview of notable models, their benchmarks, and links to their implementations on Hugging Face:
1. MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning
MAmmoTH introduces a series of open-source large language models tailored for general math problem-solving. These models are trained on MathInstruct, a dataset compiled from 13 math datasets with intermediate rationales, combining chain-of-thought and program-of-thought approaches. MAmmoTH models have demonstrated substantial improvements over existing open-source models across nine mathematical reasoning datasets, with accuracy gains between 16% and 32%. Notably, the MAmmoTH-7B model achieved 33% accuracy on the MATH dataset, surpassing the best open-source 7B model by 23%[1].
2. MathBERT: A Pre-trained Language Model for General NLP Tasks in Mathematics Education
MathBERT is a pre-trained language model specifically designed for mathematical texts, ranging from pre-kindergarten to graduate-level content. It has been evaluated on tasks such as knowledge component prediction, auto-grading open-ended Q&A, and knowledge tracing. MathBERT outperformed prior methods by 1.2% to 22% and the base BERT model by 2% to 8% on these tasks. The model is available for public use[2].
3. MathScale: Scaling Instruction Tuning for Mathematical Reasoning
MathScale presents a method to create high-quality mathematical reasoning data using frontier large language models. The resulting dataset, MathScaleQA, contains two million math question-answer pairs. When fine-tuned on open-source LLMs like LLaMA-2 and Mistral, MathScale achieved state-of-the-art performance across multiple datasets, surpassing peers of equivalent size by 42.9% in micro average accuracy and 43.7% in macro average accuracy[3].
4. MMTM: Multi-Tasking Multi-Decoder Transformer for Math Word Problems
MMTM leverages multi-tasking and multi-decoder strategies during pre-training to solve math word problems. By creating variant tasks through different traversals of expression trees and using task-specific decoders, MMTM achieved a 19.4% relative improvement over state-of-the-art baseline models on the adversarial challenge dataset SVAMP[4].
5. AlphaGeometry
AlphaGeometry is an AI program developed by DeepMind that solves complex Euclidean geometry problems. It combines a data-driven large language model with a rule-based symbolic engine. AlphaGeometry solved 25 out of 30 problems from the International Mathematical Olympiad under competition time limits, performing comparably to human gold medalists[5].
For implementations and further details, you can explore the following Hugging Face repositories:
These models represent significant advancements in the classification and solving of mathematical problems, each contributing unique methodologies and achieving notable benchmarks in the field.