Papers › Synthetic Data RL: Task Definition Is All You Need

Synthetic Data RL: Task Definition Is All You Need

18 May 2025arXiv:2505.17063archive 2025-07-28

Yiduo Guo, Zhen Guo, Chuanwei Huang, Zi-Ang Wang, Zekai Zhang, Haofei Yu, Huishuai Zhang, Yikang Shen

Reinforcement learning (RL) is a powerful way to adapt foundation models to specialized tasks, but its reliance on large-scale human-labeled data limits broad adoption. We introduce Synthetic Data RL, a simple and general framework that reinforcement fine-tunes models using only synthetic data generated from a task definition. Our method first generates question and answer pairs from the task definition and retrieved documents, then adapts the difficulty of the question based on model solvability, and selects questions using the average pass rate of the model across samples for RL training. On Qwen-2.5-7B, our method achieves a 29.2% absolute improvement over the base model on GSM8K (+2.9 pp vs. instruction-tuned, +6.6 pp vs. Self-Instruct), 8.7% on MATH, 13.1% on GPQA (+7.0 pp vs. SynthLLM), 8.9% on MedQA, 17.7% on CQA (law) and 13.7% on CFA (finance). It surpasses supervised fine-tuning under the same data budget and nearly matches RL with full human data across datasets (e.g., +17.2 pp on GSM8K). Adding 100 human demonstrations improves the performance of GSM8K only by 0.4 pp, showing a limited added value. By reducing human data annotation, Synthetic Data RL enables scalable and efficient RL-based model adaptation. Code and demos are available at https://github.com/gydpku/Data_Synthesis_RL/.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.17063")

Code

Syntology Ran 3 of 13 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gydpku/data_synthesis_rl officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 3 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
1ran
10unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gydpku/data_synthesis_rl. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_huggingface_actor gydpku/data_synthesis_rl/verl/utils/model.py official repository ran Apache-2.0 (permissive) · 360c671d6041ba3b · report
union_tensor_dict gydpku/data_synthesis_rl/verl/protocol.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 21331a58f93375e4 · report
unpad_dataproto gydpku/data_synthesis_rl/verl/protocol.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 25f0ea3f460f6ce1 · report
async_batch_inference gydpku/data_synthesis_rl/src/model_inference/batch_inference.py official repository unverified Apache-2.0 (permissive) · ab0537fbd368ce39 · report
batch_inference gydpku/data_synthesis_rl/src/model_inference/batch_inference.py official repository unverified Apache-2.0 (permissive) · 82dbd97cab0a290c · report
collect_relevant_texts gydpku/data_synthesis_rl/TinyZero/retriever.py official repository unverified Apache-2.0 (permissive) · 9a2160da0e1e8827 · report
example_check gydpku/data_synthesis_rl/src/data_generator/generator.py official repository unverified Apache-2.0 (permissive) · de0116bb662c7d17 · report
get_huggingface_actor_config gydpku/data_synthesis_rl/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 19472d4343d0a082 · report
get_weight_loader gydpku/data_synthesis_rl/verl/models/weight_loader_registry.py official repository unverified Apache-2.0 (permissive) · 919cf310ad4c189a · report
label_transform gydpku/data_synthesis_rl/src/data_generator/generator.py official repository unverified Apache-2.0 (permissive) · 302f895014dc42fc · report
search_relevant_texts gydpku/data_synthesis_rl/TinyZero/retriever.py official repository unverified Apache-2.0 (permissive) · 3978dc853d731360 · report
squeeze gydpku/data_synthesis_rl/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 3b15e2ac7497c441 · report
tokenize gydpku/data_synthesis_rl/TinyZero/retriever.py official repository unverified Apache-2.0 (permissive) · 41f93bba51be41cf · report

Tasks

AllGSM8KMathReinforcement Learning (RL)

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections