Papers › Do Not Let Low-Probability Tokens Over-Dominate in RL for LLMs

Do Not Let Low-Probability Tokens Over-Dominate in RL for LLMs

19 May 2025arXiv:2505.12929archive 2025-07-28

Zhihe Yang, Xufang Luo, Zilong Wang, Dongqi Han, Zhiyuan He, Dongsheng Li, Yunjian Xu

Reinforcement learning (RL) has become a cornerstone for enhancing the reasoning capabilities of large language models (LLMs), with recent innovations such as Group Relative Policy Optimization (GRPO) demonstrating exceptional effectiveness. In this study, we identify a critical yet underexplored issue in RL training: low-probability tokens disproportionately influence model updates due to their large gradient magnitudes. This dominance hinders the effective learning of high-probability tokens, whose gradients are essential for LLMs' performance but are substantially suppressed. To mitigate this interference, we propose two novel methods: Advantage Reweighting and Low-Probability Token Isolation (Lopti), both of which effectively attenuate gradients from low-probability tokens while emphasizing parameter updates driven by high-probability tokens. Our approaches promote balanced updates across tokens with varying probabilities, thereby enhancing the efficiency of RL training. Experimental results demonstrate that they substantially improve the performance of GRPO-trained LLMs, achieving up to a 46.2% improvement in K&K Logic Puzzle reasoning tasks. Our implementation is available at https://github.com/zhyang2226/AR-Lopti.

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.12929")

Code

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

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

zhyang2226/ar-lopti 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

14 samples harvested; 5 ran; 1 honoured the contract we drafted; 9 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 · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
2ran
9unverified

Licence: 0 of the 14 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 zhyang2226/ar-lopti. “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 zhyang2226/ar-lopti/verl/utils/model.py official repository ran Apache-2.0 (permissive) · 360c671d6041ba3b · report
extract_step zhyang2226/ar-lopti/verl/trainer/fsdp_sft_trainer.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 216e28c040173a61 · report
is_transformers_version_in_range zhyang2226/ar-lopti/verl/models/transformers/monkey_patch.py official repository ran Apache-2.0 (permissive) · 42a7954a8cfa89e0 · report
union_tensor_dict zhyang2226/ar-lopti/verl/protocol.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 21331a58f93375e4 · report
unpad_dataproto zhyang2226/ar-lopti/verl/protocol.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 25f0ea3f460f6ce1 · report
apply_monkey_patch zhyang2226/ar-lopti/verl/models/transformers/monkey_patch.py official repository unverified Apache-2.0 (permissive) · 1fb4adb621eefddc · report
extract_answers zhyang2226/ar-lopti/dataset_format.py official repository unverified Apache-2.0 (permissive) · 13606d906fd1dfa3 · report
extract_prompts zhyang2226/ar-lopti/dataset_format.py official repository unverified Apache-2.0 (permissive) · 33ed081f30218012 · report
find_first_eos_position zhyang2226/ar-lopti/verl/trainer/fig_plot.py official repository unverified Apache-2.0 (permissive) · 82115dc84c0c9c2e · report
find_max_length zhyang2226/ar-lopti/verl/trainer/fig_plot.py official repository unverified Apache-2.0 (permissive) · 88bf147f4ef431b1 · report
get_huggingface_actor_config zhyang2226/ar-lopti/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 19472d4343d0a082 · report
get_weight_loader zhyang2226/ar-lopti/verl/models/weight_loader_registry.py official repository unverified Apache-2.0 (permissive) · 919cf310ad4c189a · report
squeeze zhyang2226/ar-lopti/verl/utils/model.py official repository unverified Apache-2.0 (permissive) · 3b15e2ac7497c441 · report
wrap_text zhyang2226/ar-lopti/verl/trainer/fig_plot.py official repository unverified Apache-2.0 (permissive) · bbb3cd7b7c99574a · report

Tasks

Reinforcement Learning (RL)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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