The PocketRL researchers completed reinforcement learning on math problems for a 7B language model using a single RTX 5090. Post-training the existing model took 7.3 hours. The estimated GPU rental cost for the run was $4.71.
The figures come from the PocketRL paper submitted to arXiv on November 27, 2026.
What training ran on a single RTX 5090?
The researchers started with Qwen2.5-Math-7B, a language model already trained on math data. 7B means about 7 billion parameters. They used a program to grade the model's answers and assign rewards. This kind of post-training is called reinforcement learning with verifiable rewards (RLVR).
In the 7B experiment, the researchers sampled 16 math problems per update. They generated 8 answers per problem and graded 128 answers at a time. Each answer was limited to 3,000 tokens. Under these conditions, they updated the weights 500 times.
PocketRL-7B averaged 79.9% accuracy on MATH-500 across three training runs.
What parts of the gradient does ActGRA retain?
ActGRA keeps the directions in which each layer's actual inputs are concentrated. The values that enter a layer are called activations. These input directions also show up in the gradient, which is used to calculate how much to change the weights.
ActGRA mixes the input activations, then uses QR decomposition to find a set of mutually orthogonal basis directions. It stores the Adam state used to compute updates from gradients compressed along those directions. It then applies the computed updates to the original weight matrix.
| Method | Directions used during training | Where updates are applied |
|---|---|---|
| LoRA | Directions learned by a small low-rank adapter | Updates the adapter while keeping the base weights fixed |
| LoGRA | Randomly chosen directions for gradient projection | Computes updates in the compressed space and applies them to the original weights |
| ActGRA | Projection directions derived from the layer's input activations | Computes updates in the compressed space and applies them to the original weights |
Gradient retention is the fraction of the sum of squared gradient components that remains after projection. The researchers compared the methods on a 1.5B model, using 128 basis directions for each. Average retention was 45.5% with ActGRA and 7.3% with random projection.
What the 84% memory savings for 7B training are based on
The 84% figure compares the amount of data kept on the GPU throughout training. The largest savings came from the Adam state used when updating the weights. Table 1 of the paper breaks down resident memory usage for Qwen2.5-Math-7B.
| Resident memory item | Standard dense training | PocketRL |
|---|---|---|
| 16-bit weights for answer generation | 14.19 GiB | Shared with training |
| 16-bit weights for training | 14.19 GiB | 14.19 GiB |
| 32-bit master weights for updates | 28.37 GiB | Not stored separately |
| Rounding error records | Not stored separately | 3.04 GiB |
| Optimizer state | 56.74 GiB | 0.61 GiB |
| Total, as rounded in the paper | 113 GiB | 18 GiB |
Small updates can be lost when weights are rounded to BF16, a 16-bit format. PocketRL records the difference using 4 bits, or 0.5 bytes, per weight. Adding this value to the next update lets even small changes accumulate.