LLMs for Mathematical Modeling: Towards Bridging the Gap between Natural and Mathematical Languages

Xuhan Huang, Qingning Shen, Yan Hu, Anningzhe Gao, Benyou Wang
5/21/2024
cs.AIcs.CL

No official code found. Best implementation: FreedomIntelligence/Mamo (14 stars, CC-BY-SA-4.0, last commit 2024-06-12).

Abstract

Large Language Models (LLMs) have demonstrated strong performance across various natural language processing tasks, yet their proficiency in mathematical reasoning remains a key challenge. Addressing the gap between natural and mathematical language requires advanced reasoning capabilities, approaching those of Artificial General Intelligence (AGI). However, the evaluation remains challenging, as perfectly representing reality is inherently elusive, and traditional methods like manual or direct comparison of mathematical statements (Ramamonjison et al., 2023) are insufficient for assessing true modeling ability. We propose a process-oriented framework to evaluate LLMs' ability to construct mathematical models, using solvers to compare outputs with ground truth. Introducing Mamo, a benchmark with 1,209 questions covering ordinary differential equations, linear programming, and mixed-integer linear programming, we enable automatic evaluation of modeling accuracy. The results show that existing LLMs struggle with complex mathematical modeling tasks, with larger models demonstrating superior performance, while open-source models remain competitive in simpler cases but still fall short of proprietary models in more challenging problems.

View on arXivView PDF

Code Implementations(1)

CC-BY-SA-4.0

Mamo: a Mathematical Modeling Benchmark with Solvers

142Shell, PythonMay 21, 20242 years agoCC-BY-SA-4.0

Similar Papers

Cite this paper

@article{huang2024llms,
  title  = {LLMs for Mathematical Modeling: Towards Bridging the Gap between Natural and Mathematical Languages},
  author = {Xuhan Huang and Qingning Shen and Yan Hu and Anningzhe Gao and Benyou Wang},
  year   = {2024},
  eprint = {2405.13144},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.13144v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.13144.svg)](https://codeofpaper.com/paper/2405.13144)

Discussion