kota-kit's picture
Renumber pair_id as integers from 0
4ef0324 verified
|
Raw History Blame Contribute Delete
4.35 kB
metadata
license: apache-2.0
language:
  - en
task_categories:
  - question-answering
  - text-generation
tags:
  - mathematics
  - synthetic
size_categories:
  - n<1K
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train.jsonl
      - split: test
        path: data/test.jsonl

Big-Math-RL-Verified-Variants

150 math problems (train 100, test 50), each paired with one variant: the same problem with different numbers. Every pair is two rows that share a pair_id: the original problem first, then its variant.

split pairs rows
train 100 200
test 50 100

The data was made for experiments on tutoring dialogues where a learner model first solves a problem and then solves a variant of it.

Columns

The first five columns are the same as in the source dataset.

column original row variant row
problem from the source dataset variant problem (generated)
answer from the source dataset answer to the variant (computed)
source, domain from the source dataset copied from the original
llama8b_solve_rate from the source dataset measured by us (see below)
pair_id integer, train 0–99, test 100–149 same as the original

Source data

Changes from the source data

  • Selection. Duplicate problem texts were removed (first one kept), and test problems whose text also appears in train were dropped. From problems with llama8b_solve_rate >= 0.10, problems were sampled while keeping the share of each source (seeds 42 and 43). Six sampled problems for which no variant could be made were replaced by other problems from the same split and source.
  • Variants. For each problem, one variant was added that keeps the wording and changes the numbers. In a few problems the numbers are written as words, and those words were changed (for example "two digits" → "three digits").

How the variants were made

  • Variant problems and per-problem solver programs were written by an LLM (Claude).
  • The variant answer is computed by the solver program. For all 150 problems, running the same program with the original numbers gives the answer in the source dataset.
  • A separate LLM instance, not shown the answers, solved all 150 variants; its answers matched in every case.
  • Not every problem was checked by a human.

Solve rate of the variants

llama8b_solve_rate of a variant row is the fraction of correct answers in 64 samples from meta-llama/Llama-3.1-8B-Instruct. The setup follows the public Big-Math code (SynthLabsAI/big-math, commit 420b9a7, signals/rollouts_based_signals/): the same system prompt, the problem text alone as input, temperature 0.8, top-p 0.95, no top-k, at most 2048 new tokens, and grading with is_correct_no_judge. Answers without \boxed{} and answers cut at the token limit count as wrong.

Differences from the original setup: inference with vLLM 0.8.5 (instead of SGLang), float16 weights, two RTX 2080 Ti GPUs. The original problems were not re-measured in this setup, so it is not verified that the variant values are directly comparable with the source values. Mean over the 150 pairs: 0.322 (original, source values) and 0.305 (variant).

Limitations

  • Many answers are small integers.
  • Typos and ambiguities in the original problem texts were kept, and the variants inherit them.
  • Variant solve rates fall outside the source's filtering range in some pairs (30 below 0.10, 17 above 0.60).

Citation

Please cite Big-Math when using this data.

@misc{albalak2025bigmath,
  title         = {Big-Math: A Large-Scale, High-Quality Math Dataset for Reinforcement Learning in Language Models},
  author        = {Alon Albalak and Duy Phung and Nathan Lile and Rafael Rafailov and Kanishk Gandhi and Louis Castricato and Anikait Singh and Chase Blagden and Violet Xiang and Dakota Mahan and Nick Haber},
  year          = {2025},
  eprint        = {2502.17387},
  archivePrefix = {arXiv}
}