Creating Complex Math Question Test Sets for LLMs to Train With

LLMs, or Language Learning Models, (such as ChatGPT) can easily interpret human input and provide the desired output. However, when it comes to solving problems that cannot be conventionally analyzed, like math questions, many LLMs struggle to produce accurate results. In order to address this problem, we have created an algorithm that generates a set of complex math questions, which can be used as a training set in the machine learning process of LLMs. The algorithm asks the user for a number, and then generates and prints a dataset of that many questions. Each question is randomly chosen as an integral or derivative, with each component randomly generated (including nested functions) with 3 predetermined operators separating them. Due to Python’s lack of accuracy in generating answers, the questions are input into an advanced LLM with the capability to do calculus, and the output answers are stored in a csv file. The questions are then input into a less advanced LLM, and its output answers are likewise stored in order to compare it with the accepted answers. Using evaluation metrics in python, the accuracy score of the generated answers in one trial of 25 questions was 0.64, providing a baseline evaluation. Although current LLMs are very capable, many are unable to solve some complex problems that humans input. By using the described process, there exists the possibility to significantly improve the performance of LLMs by using these sets to train them to solve these problems and further aid humanity.

Institutions

Publication Details

Journal
George Mason University
Published
2024-10-11
DOI
https://doi.org/10.13021/jssr2024.4281
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Creating Complex Math Question Test Sets for LLMs to Train With

George Mason University
Artificial Intelligence in Healthcare and Education
article

Creating Complex Math Question Test Sets for LLMs to Train With

article en

Abstract

LLMs, or Language Learning Models, (such as ChatGPT) can easily interpret human input and provide the desired output. However, when it comes to solving problems that cannot be conventionally analyzed, like math questions, many LLMs struggle to produce accurate results. In order to address this problem, we have created an algorithm that generates a set of complex math questions, which can be used as a training set in the machine learning process of LLMs. The algorithm asks the user for a number, and then generates and prints a dataset of that many questions. Each question is randomly chosen as an integral or derivative, with each component randomly generated (including nested functions) with 3 predetermined operators separating them. Due to Python’s lack of accuracy in generating answers, the questions are input into an advanced LLM with the capability to do calculus, and the output answers are stored in a csv file. The questions are then input into a less advanced LLM, and its output answers are likewise stored in order to compare it with the accepted answers. Using evaluation metrics in python, the accuracy score of the generated answers in one trial of 25 questions was 0.64, providing a baseline evaluation. Although current LLMs are very capable, many are unable to solve some complex problems that humans input. By using the described process, there exists the possibility to significantly improve the performance of LLMs by using these sets to train them to solve these problems and further aid humanity.

George Mason University
George Mason University (US)
Quality Education
Openalex Percentile: Top 58%
Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Creating Complex Math Question Test Sets for LLMs to Train With · George Mason University (2024) | TGRS Research Map | TGRS