PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090
Stephen Chung, Wenyu Du
DualverseAI
Published November 27, 2026 · on the feed November 30, 2026 · ▲ 6 · arXiv 2611.37942
The abstract
It is now common to post-train large language models with reinforcement learning with verifiable rewards (RLVR), but its heavy memory use, and hence high cost, is an important bottleneck for RLVR research and a major expense in training frontier models. We introduce PocketRL, a low-cost, memory-efficient RLVR code base that trains a 7B model on a single RTX 5090 and a 27B model on only four, without CPU offloading. PocketRL combines two ideas. First, we project each layer's gradient and optimizer state onto a small basis fitted to the layer's input activations by a QR factorisation, which we call ActGRA, and show that such a basis retains far more of the gradient than the random projections used in prior work. Second, we propose training on 16-bit weights with half an extra byte per weight that carries the rounding error, which prevents small updates from being lost. The same 16-bit weights are used for inference, which saves further memory. Together, these methods reduce memory use for training a 7B model by 84%. This enables us to train a competitive 7B model in less than 8 hours on a single RTX 5090 for just $4.71, less than 9% of the cost of training comparable models. PocketRL also reduces the cost of a 27B training step by more than 77% compared with similar code bases. We open-source our PocketRL code base.
The Brief
2:25A short podcast summary of the paper. Written and voiced by AI.
Transcript
PocketRL. Training a 7B Language Model with Reinforcement Learning on One RTX 5090. By Stephen Chung and one other, from Dualverse AI. Published on the twenty-seventh of November.
Post-training large language models with reinforcement learning with verifiable rewards, or RLVR, is now common. It is also memory hungry. That heavy memory use, and the cost that follows from it, is an important bottleneck for RLVR research and a major expense when training frontier models. Memory, in other words, decides how much hardware a run needs, and hardware decides who can afford to run it at all.
PocketRL is a low-cost, memory-efficient RLVR code base built on two ideas. With it, a model of seven billion parameters trains on a single RTX 5090, and a model of twenty-seven billion parameters trains on only four of them, with no CPU offloading in either case.
The first idea is called ActGRA. For each layer, the gradient and the optimizer state are projected onto a small basis, and that basis is fitted to the layer's input activations by a QR factorisation. The authors show that a basis chosen this way retains far more of the gradient than the random projections used in prior work. Projecting onto a small basis is what saves memory, and how much of the gradient survives the projection is what decides whether training still works. The claim here is that choosing the basis from the layer's own input activations, rather than at random, keeps much more of it.
The second idea concerns precision. Weights are trained in sixteen bits, with half an extra byte per weight that carries the rounding error. Without that extra half byte, small updates would be lost to rounding. The same sixteen-bit weights then serve for inference as well, which saves more memory still.
Combined, the two methods cut the memory needed to train a seven billion parameter model by eighty-four percent. That makes it possible to train a competitive model of that size in under eight hours on one RTX 5090, for four point seven one dollars. The authors put that at less than nine percent of the cost of training comparable models. At the larger scale, PocketRL cuts the cost of a single twenty-seven billion parameter training step by more than seventy-seven percent compared with similar code bases.
Both ideas target the memory that training carries, not the model itself. One shrinks what the optimizer has to store per layer by keeping it in a basis drawn from the activations. The other keeps low-precision weights honest by carrying their rounding error along. Together they move RLVR on a model of this size from a cluster to a single card.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free