Taming the Tail: Stable LLM Reinforcement Learning via Dynamic Vocabulary Pruning

Yingru Li, Jiawei Xu, Jiacai Liu, Yuxuan Tong, Ziniu Li +4 more
12/28/2025
cs.LGcs.AIstat.ML

No confident code implementation found for this paper.

Abstract

Reinforcement learning for large language models (LLMs) faces a fundamental tension: high-throughput inference engines and numerically-precise training systems produce different probability distributions from the same parameters, creating a training-inference mismatch. We prove this mismatch has an asymmetric effect: the bound on log-probability mismatch scales as $(1-p)$ where $p$ is the token probability. For high-probability tokens, this bound vanishes, contributing negligibly to sequence-level mismatch. For low-probability tokens in the tail, the bound remains large, and moreover, when sampled, these tokens exhibit systematically biased mismatches that accumulate over sequences, destabilizing gradient estimation. Rather than applying post-hoc corrections, we propose constraining the RL objective to a dynamically-pruned ``safe'' vocabulary that excludes the extreme tail. By pruning such tokens, we trade large, systematically biased mismatches for a small, bounded optimization bias. Empirically, our method achieves stable training; theoretically, we bound the optimization bias introduced by vocabulary pruning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025taming,
  title  = {Taming the Tail: Stable LLM Reinforcement Learning via Dynamic Vocabulary Pruning},
  author = {Yingru Li and Jiawei Xu and Jiacai Liu and Yuxuan Tong and Ziniu Li and Tianle Cai and Ge Zhang and Qian Liu and Baoxiang Wang},
  year   = {2025},
  eprint = {2512.23087},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.23087v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.23087.svg)](https://codeofpaper.com/paper/2512.23087)

Discussion