GSM8K (GSM8K)
GSM8K is an OpenAI dataset of about 8,500 grade school maths word problems, released in 2021, that became a standard test of multi-step arithmetic reasoning in language models.
GSM8K, short for Grade School Math 8K, was released by OpenAI researchers in October 2021 in the paper Training Verifiers to Solve Math Word Problems. It holds about 8,500 word problems written by people, split into 7,473 for training and 1,319 for testing. Each takes between two and eight steps of basic arithmetic to solve, and the creators say a bright middle school student should be able to solve every one. Solutions are written out in words, with the final number at the end, so scoring only needs to compare that number.
The paper used the dataset to show that even very large models of the time struggled with simple multi-step problems. Its fix was a verifier: a second model trained to judge whether a solution is correct. The main model generates many candidate solutions, and the verifier picks the one it rates highest. This improved results and scaled better with more data than fine-tuning alone, an idea that runs through later reasoning systems.
GSM8K then became one of the most quoted numbers in model comparisons. In January 2022 researchers used it in the paper that introduced chain-of-thought prompting, where a model is shown worked examples and writes out its own steps: a 540-billion-parameter model prompted with eight such examples set a new record on GSM8K, beating a fine-tuned GPT-3 paired with a verifier. Its popularity brought a problem: the test questions are public and widely copied, so they can end up in training data.
In May 2024 researchers measured that risk by writing GSM1k, 1,205 new problems matched to GSM8K in difficulty, number of steps and size of answers. Accuracy fell by up to 8% on the new problems, and several model families showed signs of systematic overfitting. A model's tendency to reproduce GSM8K examples was linked to the size of its drop, which suggests partial memorisation. Many models, especially frontier ones, showed little overfitting, though, and all broadly handled problems they could not have seen.
Because the problems need only basic arithmetic, GSM8K says little about advanced mathematics. Harder tests such as the MATH benchmark, AIME papers and FrontierMath cover that.
It is a dataset of about 8,500 grade school maths word problems released by OpenAI researchers in 2021. Each problem needs two to eight steps of basic arithmetic. Models are scored on the share of test problems they answer correctly. Grade School Math 8K, referring to the roughly 8,000 problems in the set. The released files hold 7,473 training problems and 1,319 test problems. To some extent. A May 2024 study built 1,205 new matched problems and found accuracy fell by up to 8% for some models, with signs of memorisation. Many frontier models showed little overfitting. GSM8K uses grade school word problems with basic arithmetic. The MATH benchmark uses competition problems from contests such as the AMC and AIME, which are much harder.Common questions
What is GSM8K?
What does GSM8K stand for?
Is GSM8K contaminated?
What is the difference between GSM8K and the MATH benchmark?
Search for "GSM8K", "GSM1k" or "GSM8K contamination" to see how the benchmark is used and questioned. The original paper and OpenAI's grade-school-math repository describe the data. When a model card quotes a GSM8K score, check how many worked examples were shown and whether the model was asked to show its working.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.