SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.05316 · NeurIPS · 2025

Improving Data Efficiency for LLM Reinforcement Fine-tuning Through Difficulty-targeted Online Data Selection and Rollout Replay

Huan Zhang, Zhendong Wang, Yifan Sun, Yibin Wang, Jingyan Shen, Uiuc Chen, Microsoft Zhou

arXiv · PDF · Open in the Atlas

Code that ran

2 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 4 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2506.05316.json · badge: /api/ran/2506.05316.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
astral-group/data-efficient-llm-rl canonical (classifier label)
classifier basis: classifier_2025
2 ran · 4 no recorded run
FunctionStatusWhere it lives
DataProto Ran
ran on a synthesized input
astral-group/data-efficient-llm-rl/rl_training/verl/verl/trainer/ppo/ray_trainer_teacher_replay.py
pointer only (licence: NONE) · get_code("20ba9212ecfbbbbc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, astral-group/data-efficient-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

union_two_dict Ran
ran; our contract draft was wrong, not the code
astral-group/data-efficient-llm-rl/rl_training/verl/verl/trainer/ppo/ray_trainer_teacher_replay.py
pointer only (licence: NONE) · get_code("182d4d22f782691b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, astral-group/data-efficient-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DataProtoItem Not yet run
unverified (harvested, no recorded run)
astral-group/data-efficient-llm-rl/rl_training/verl/verl/trainer/ppo/ray_trainer_teacher_replay.py
pointer only (licence: NONE) · get_code("3673e3d46aca5c5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, astral-group/data-efficient-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

collate_fn Not yet run
unverified (harvested, no recorded run)
astral-group/data-efficient-llm-rl/rl_training/verl/verl/trainer/ppo/ray_trainer_teacher_replay.py
pointer only (licence: NONE) · get_code("d11b448b5d76e167")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, astral-group/data-efficient-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dataprotoitem_to_dataproto Not yet run
unverified (harvested, no recorded run)
astral-group/data-efficient-llm-rl/rl_training/verl/verl/trainer/ppo/ray_trainer_teacher_replay.py
pointer only (licence: NONE) · get_code("483d81ba8924261d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, astral-group/data-efficient-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

select_buffer Not yet run
unverified (harvested, no recorded run)
astral-group/data-efficient-llm-rl/rl_training/verl/verl/trainer/ppo/ray_trainer_teacher_replay.py
pointer only (licence: NONE) · get_code("8dff9b7e4a9fed7e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, astral-group/data-efficient-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 3 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
DataProtoItem
brick of this paper's assembly: helper
4 other papers
2 dated earlier, 2 later · 1 only as an assembly brick
2505.14146 (2025-05)
s3: You Don't Need That Much Data to Train a Search Agent via RL
2505.17447 (2025-05)
LeTS: Learning to Think-and-Search via Process-and-Outcome Reward Hybridization
2603.02146 (2026-03)
LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards
and 1 more not named here
collate_fn
brick of this paper's assembly: helper
4 other papers
2 dated earlier, 2 later
2505.14146 (2025-05)
s3: You Don't Need That Much Data to Train a Search Agent via RL
2505.17447 (2025-05)
LeTS: Learning to Think-and-Search via Process-and-Outcome Reward Hybridization
2603.02146 (2026-03)
LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards
and 1 more not named here
union_two_dict
brick of this paper's assembly: helper
4 other papers
2 dated earlier, 2 later · 1 only as an assembly brick
2505.14146 (2025-05)
s3: You Don't Need That Much Data to Train a Search Agent via RL
2505.17447 (2025-05)
LeTS: Learning to Think-and-Search via Process-and-Outcome Reward Hybridization
2603.02146 (2026-03)
LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards
and 1 more not named here
DataProto
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2505.14146 (2025-05)
s3: You Don't Need That Much Data to Train a Search Agent via RL

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Reinforcement learning (RL) has become an effective approach for fine-tuning large language models (LLMs), particularly to enhance their reasoning capabilities. However, RL fine-tuning remains highly resource-intensive, and existing work has largely overlooked the problem of data efficiency. In this paper, we propose two techniques to improve data efficiency in LLM RL fine-tuning: difficultytargeted online data selection and rollout replay. We introduce the notion of adaptive difficulty to guide online data selection, prioritizing questions of moderate difficulty that are more likely to yield informative learning signals. To estimate adaptive difficulty efficiently, we develop an attention-based framework that requires rollouts for only a small reference set of questions. The adaptive difficulty of the remaining questions is then estimated based on their similarity to this set. To further reduce rollout cost, we introduce a rollout replay mechanism inspired by experience replay in traditional RL. This technique reuses recent rollouts, lowering per-step computation while maintaining stable updates. Experiments across 6 LLM-dataset combinations show that our method reduces RL fine-tuning time by 23% to 62% while reaching the same level of performance as the original GRPO algorithm. Our code repository is available at https://github.com/ASTRAL-Group/data-efficient-llm-rl/.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2506.05316")
get_code_for_paper("2506.05316")
have("2506.05316")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2506.05316.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2506.05316.svg)](https://syntology.ai/paper/2506.05316)

Connect an agent — have() is free.