--- license: apache-2.0 task_categories: - question-answering - text-generation language: - en - zh tags: - math - reasoning - reinforcement-learning - rlvr - decontamination pretty_name: DAPO-Math-17k Clean size_categories: - 10K}]`. The content is the bare problem statement. The trailing answer-format instruction from the thunlp/OPD release has been stripped, so append your own (for example "Please reason step by step, and put your final answer within \boxed{}."). - `reward_model`: `{"ground_truth": , "style": "rule-lighteval/MATH_v2"}`. - `data_source`: `dapo_math_17k_clean`. - `ability`: `MATH`. - `extra_info`: the source fields (`index`, `problem`, `solution`), plus - `upid`: id of the unique problem text, - `orig_row`: row index in the source file, - `gold_old`: the source answer, - `clean_status`: `keep` or `fix`, - `clean_reason`: why the row was kept, or how its answer was confirmed. ## How it was cleaned 1. **Exact duplicates.** Rows with an identical problem string were merged, going from 17,917 rows to 17,255 problems. For the 12 problems whose copies carried different answers, the verified answer was used. 2. **First vote.** Qwen3-30B-A3B-Thinking-2507 sampled 4 answers per problem. A problem was flagged if any of these held (1,506 problems in total): - no sample matched the reference; - the majority answer differed from the reference; - near-duplicate problems carried different answers; - the problem had several answers. 3. **Verification.** Claude agents checked each flagged problem in three roles: - a solver worked out the problem independently, using executable checks (exhaustive search with a justified bound, exact arithmetic, sympy, coordinates); - a second verifier tried to refute the solver's result; - an adjudicator settled any disagreement. The verdicts are: answer correct, answer wrong (corrected), notation problem (rewritten), ambiguous, broken statement, or undecidable. Problems with one of the last three verdicts are removed. Every correction was also checked by a blind verifier that saw only the statement and the original answer. A correction was applied only if the blind verifier reached the same answer; otherwise the problem was removed. 4. **Unflagged problems.** These are problems where the 30B model matched the reference in all 4 samples. A random sample was verified the same way: 233 of 235 were clean, with no wrong answers. The group was accepted. 5. **Second vote and verification with a stronger model.** Qwen3.5-122B-A10B voted again on 2,290 problems; 11 of them were voted by Qwen3.5-397B-A17B instead. The 2,290 were: - unverified problems where the 30B model matched the reference in only 1–3 of 4 samples; - every corrected answer; - every confirmed answer that the 30B model had disputed. Problems the stronger model disputed were verified again, without the verifier seeing the earlier verdict. A sample of the problems it agreed with was spot-checked, and 99 of 100 were clean. Of the 427 first-round corrections, 425 were supported by a second independent source. That source was either the stronger model's vote, or a re-verification that reached the same answer without seeing the earlier one. 6. **Decontamination against the seven evaluation sets.** - Candidate pairs came from Qwen3-Embedding-4B nearest neighbours in both directions, 8-character shingle and number-sequence matches, and pairs found related in earlier rounds. That gave 126,560 pairs for the 867 evaluation problems. - Qwen3.5-397B-A17B scored every pair as same problem, variant or different. - Claude agents judged the pairs above a low threshold, plus pairs whose answers coincide and whose problems are near neighbours. Each of these pairs had an independent re-check. 9,051 pairs were judged in all. - A training problem is removed when either judge calls it the same problem as an evaluation problem, or when the two texts differ only in formatting (whitespace, math delimiters, `\left`/`\right`, CJK vs ASCII punctuation). 229 training problems were related to an evaluation problem. 160 of them are the same problem and were removed. 69 are variants and were kept; 56 of those passed verification and deduplication. | Evaluation set | Removed (same problem) | Kept variants (in the final data) | |---|---:|---:| | OlympiadBench | 115 | 47 | | AMC 2023 | 44 | 3 | | AIME 2024 / 2025 / 2026 | 0 / 0 / 1 | 2 / 1 / 2 | | HMMT Feb 2025 / 2026 | 0 / 0 | 1 / 0 | 7. **Duplicates, same problem only.** - Texts that differ only in formatting were merged across the whole set. Commas, decimal points, brackets, `!` and letter case are not ignored, so the merge cannot join different problems. - Candidate pairs came from two sources: problems with an 8-gram Jaccard of at least 0.8 and the same multiset of numbers, and texts that become equal once all punctuation and case are dropped. 912 such pairs were judged: 908 were the same problem and were merged, and 4 were variants or different problems and were kept. - One problem per group was kept. Final checks: - No kept problem is the same problem as an evaluation problem. - No kept problem differs from an evaluation text only in formatting. - No two kept problems differ only in formatting. - Every reference answer grades as correct against itself with a math_verify-based grader. ## Limitations - All verification was done by models (Qwen models and Claude agents). Nobody reviewed the results by hand. - Problems that were never verified individually were accepted on spot checks, so a small share of flawed statements remains (about 1% in the samples). - Only the seven evaluation sets above were decontaminated, and only the same problem was removed. Variants of evaluation problems (56) are intentionally kept. Other benchmarks may overlap; MATH-500, for example, is not covered. - Ambiguous cases follow one convention: for example, "the sum of all elements in the solutions" is computed over ordered solutions. ## Source and license Derived from [BytedTsinghua-SIA/DAPO-Math-17k](https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k) (Apache-2.0), via the processed copy in [thunlp/OPD](https://github.com/thunlp/OPD). Released under Apache-2.0. An earlier revision of this repository (15,074 rows) also removed variants.