The Pneumetron
NEWSTOOLSINFRASTRUCTURE
Pneumetron.PocketRL trains a 7B model on one RTX 5090 using activation-fitted gradient compression
Share
Skip to article content
  1. Home
  2. ›
  3. News
  4. ›
  5. AI Research
  6. ›
  7. PocketRL trains a 7B model on one RTX 5090 using activation-fitted gradient compression
AI Research·December 1, 2026

PocketRL trains a 7B model on one RTX 5090 using activation-fitted gradient compression

BY PNEUMETRON|5 MIN READ · 1,033 WORDS5 MIN READ|
Tools
Share

In This Article

  • Compressing the optimizer state
  • Keeping small updates from vanishing
  • Performance and scaling on consumer hardware
  • Practical limits and next steps
  • Sources
Illustrative photo: engineer, engineering, broadcast, broadcast engineer
Illustrative image: This_is_Engineering / Pixabay

A new open-source codebase combines activation-fitted gradient projection with a quantized rounding remainder to cut RLVR memory use by 84%. The authors report training a 7B model on a single consumer GPU for under five dollars.

Key Takeaways

  • 01ActGRA projects gradients onto activation-fitted bases, retaining 45% of gradient norm versus 7% for random projections.
  • 02A 4-bit rounding remainder allows BF16 weights to accumulate small updates without requiring an FP32 master copy.
  • 03Training a 7B model takes 1.8 hours on one RTX 5090 for $1.40 per 100 steps, reducing memory by 84%.
  • 04Results are limited to mathematics benchmarks on Qwen models, and cost savings depend on fluctuating GPU rental prices.

A preprint published on arXiv this week introduces PocketRL, an open-source reinforcement learning codebase that trains a 7B language model on a single RTX 5090 and a 27B model on four of the same cards. The authors report an 84% reduction in persistent training memory, dropping the footprint from 113 GiB to 18 GiB, and claim a total training cost of $4.71 for the 7B run. The work targets the memory bottleneck that currently forces most RLVR (reinforcement learning with verifiable rewards) pipelines onto multi-GPU clusters or expensive cloud instances.

The memory savings come from two independent modifications to the standard training loop. The first tackles the optimizer state, which typically consumes several times the memory of the model weights when using Adam. The second eliminates the need for a separate 32-bit master weight copy by storing a tiny rounding remainder alongside 16-bit weights. Together, these changes allow the entire training state to fit on consumer hardware without CPU offloading.

Compressing the optimizer state

Standard RLVR training stores the full gradient matrix and two moment buffers for every parameter. To shrink this footprint, the authors propose ActGRA, a gradient compression method that projects each layer’s gradient onto a low-dimensional basis. The projection basis is not chosen at random; it is fitted to the layer’s input activations using a randomized range finder and QR factorization.

The rationale is straightforward. A weight gradient is a weighted sum of the layer’s input activations, meaning the gradient naturally concentrates in the same directions as the activations. By stacking sampled token activations into a matrix and applying a random Gaussian mixing followed by QR decomposition, the method extracts an orthonormal basis that captures the dominant activation directions. At a rank of 128, ActGRA retains 45% of the squared gradient norm, compared to just 7% for the random projections used in prior work like LoGRA.

The authors provide a theoretical bound showing that the retention ratio depends on how concentrated the activations are. If the activations vary mainly along a few directions, the QR factorization reliably captures them. Empirical measurements across 42 weight matrices show a 0.94 Pearson correlation between activation retention and gradient retention, confirming that fitting the basis to activations is a reliable proxy for capturing the gradient.

During the backward pass, the full gradient is never materialized. Instead, the projected activations are multiplied by the output gradients to compute the compressed coordinates directly. The Adam optimizer then updates the first and second moment buffers in this compressed space. A row-wise second moment buffer reduces memory further, and the update is lifted back to full dimensionality via the basis matrix before being applied to the weights. The basis is refitted every few updates to track activation drift, with the momentum buffer projected onto the new basis to maintain continuity.

Keeping small updates from vanishing

The second memory saving addresses the precision requirements of training. RLVR typically uses very small learning rates, which means optimizer updates can be smaller than the spacing between adjacent BF16 floating-point numbers. When this happens, rounding maps the updated weight back to its old value, and the update is lost. Standard mixed-precision training avoids this by keeping a 32-bit master copy of the weights, but that doubles the weight memory.

Illustrative photo: circuit, electronic, phone, samsung Illustrative image: Surprising_Media / Pixabay

PocketRL keeps the weights in BF16 for both training and inference, but adds a four-bit count per weight to track the rounding error. Each count represents one-sixteenth of the gap between adjacent BF16 numbers at that magnitude. When an update is applied, the system adds the stored remainder and the new update in FP32, rounds the sum back to BF16, and stores the new rounding difference as a signed four-bit integer using stochastic rounding. This allows sub-precision changes to accumulate across steps without requiring a full 32-bit master copy.

The remainder adds just 0.5 bytes per weight, or 3.04 GiB for a 7B model. Combined with the compressed optimizer state, the total persistent memory drops to 18 GiB. The same 16-bit weights are used directly for inference, eliminating the need to maintain a separate inference checkpoint.

Performance and scaling on consumer hardware

The authors evaluated PocketRL on Qwen2.5-Math-1.5B, Qwen2.5-Math-7B, and Qwen3.8-27B using Dr. GRPO as the base algorithm. Training was run on 8,552 level 3–5 mathematics problems, with evaluation across six test sets including MATH-500, AIME 2024, AIME 2025, AMC 2023, Minerva Math, and OlympiadBench.

On a single RTX 5090, PocketRL completes 100 RL updates for a 7B model in 1.8 hours at a cost of $1.40. The abstract reports a total run cost of $4.71, which is less than 9% of the cost of the next-cheapest comparable released model. The 7B model reaches a 43.0% average score across the six math test sets, matching the mean of 42.1% reported for other released 7B models trained from the same base. ActGRA consistently outperforms both dense training and LoGRA across the evaluation sets, with the authors attributing the gain to low-rank projection reducing overfitting to noise in sampled rewards.

The method also scales to larger models. A 27B model trained on four RTX 5090s completes 100 steps in 9.1 hours for $23.59, a 77% cost reduction compared to similar codebases running on H100s. The 27B model improves by 13.5 percentage points on MATH-500, moving from 80.85% to 94.3%.

Practical limits and next steps

The paper’s empirical evidence is confined to mathematics benchmarks and a single model family. The authors note that evaluating larger models or different domains would require more resources than were available. The cost projections are calculated from GPU rental quotes collected in late November 2026, and the authors explicitly state that these figures will fluctuate with market availability and pricing.

For practitioners, the immediate takeaway is that RLVR is no longer strictly gated by multi-GPU memory constraints for models up to 7B. The open-source release allows teams to prototype RLVR pipelines on consumer hardware, though the method requires careful tuning of the refit interval and learning rate to avoid accuracy degradation. The trade-off is clear: significant memory and cost savings are achieved by accepting a compressed gradient representation and a quantized weight update scheme, both of which are now available for direct integration into existing training stacks.

Sources

  • arXiv: PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090
#reinforcement learning#gradient compression#quantization#open source#gpu training
PE
PUBLISHED BY

PNEUMETRON EDITORIAL

Pneumetron's pipeline pairs AI-assisted drafting with human editorial review before publishing — our goal is to make staying informed easier, not to replace real reporting.

Source Material:arXiv ↗
Share this article
Share
Stay Informed

Never miss a signal.

Subscribe to the Pneumetron Intelligence Digest.

← Previous
AI evaluations shift to reliability, security boundaries, and social reasoning
Next →
NVIDIA releases agent training workflow and failure analysis toolkit, plus new robotics paper

More from AI Research

View All →
AI Research3d ago
Illustrative photo: engineer, engineering, broadcast, broadcast engineer

BiSAT couples separate acoustic and semantic branches with shared-index quantization

A new speech tokenizer decouples acoustic and semantic encoders while linking them through a shared-index mechanism, reducing representation interference and enabling efficient autoregressive speech modeling and zero-shot TTS with less training data.

BY PNEUMETRON4 MIN READ
Read more
AI Research3d ago
Illustrative photo: server, cloud, development, business

GigaChat 4 launches unified reasoning model alongside LlamaIndex CPU OCR release

GigaChat 4 delivers a 708B hybrid model with instant and reasoning modes in one checkpoint, while LlamaIndex releases an 8.1M parameter CPU OCR pipeline for local document parsing.

BY PNEUMETRON5 MIN READ
Read more
AI Research3d ago
Illustrative photo: cyberspace, data, wire, electronic

μ-Bench benchmarks multi-user voice agents, exposes open-weight gaps

A new closed-loop benchmark evaluates 13 voice models on joint task completion across 800 multi-user scenarios. Proprietary systems lead with 65% success, while open-weight models struggle with attribution and threading.

BY PNEUMETRON6 MIN READ
Read more
AI Research3d ago
Illustrative photo: switch, it, server, server cabinet

NVIDIA releases agent training workflow and failure analysis toolkit, plus new robotics paper

NVIDIA shares a post-training workflow that lifts Nemotron 3.5 Super VL task success from 50% to 85%, alongside an open-source failure analysis toolkit. A separate paper introduces a training-free protocol that improves robot skill discovery by grounding failure diagnosis in measured action outcomes.

BY PNEUMETRON4 MIN READ
Read more

Comments

In This Article

  • Compressing the optimizer state
  • Keeping small updates from vanishing
  • Performance and scaling on consumer hardware
  • Practical limits and next steps
  • Sources

Most Read

01
AI Research·Nov 22
AtomicChat Releases Uncensored LoRA for Inkling-2-Mini
02
AI Research·Nov 24
Firecrawl Unifies Web Scraping and Structured Data for AI Agents
03
AI Research·Nov 22
S1CogBench Benchmarks System One Decision Models on Cognitive Experiments
04
AI Research·Nov 22
DaisyRose-27B RL Training, NVIDIA Dynamo, and Run:ai GPU Sharing on EKS
05
AI Research·Nov 25
Microduck obstacle avoidance workflow and Coding4Games benchmark for coding agents
Daily Digest

Get top AI & tech signals delivered to your inbox every morning.

Subscribe →
Follow Signals
X / TWITTERLINKEDININSTAGRAMYOUTUBETELEGRAM

THE PNEUMETRON

The publication of modern technology, AI, and infrastructure.

AI-assisted, human-reviewed.

NEWS CATEGORIES

  • AI RESEARCH
  • TECHNOLOGY
  • WORLD
  • BUSINESS
  • POLITICS
  • SCIENCE
  • HEALTH
  • SPORTS
  • ENTERTAINMENT

AI & RESEARCH

  • AI RESEARCH
  • INFRASTRUCTURE
  • TOOLS
  • DEEP DIVES
  • TECHNICAL DISPATCHES

RESOURCES

  • ABOUT US
  • CONTACT
  • CAREERS
  • ADVERTISE
Pneumetron.
© 2026 Pneumetron. AI-assisted, human-reviewed.
All rights reserved.
ABOUTTOOLSPRIVACYTERMSCONTACT