Manuscript Offprint

arXiv:2610.06647

LoGRA: Scaling LLM Reinforcement Learning with Low-Rank Gradient Sketches

Shaokun Zhang, Yifan Zhang, Jian Hu, Yueying Li, Hao Zhang, Binfeng Xu, Jan Kautz, Yi Dong

Abstract

Reinforcement learning has greatly advanced the capabilities of large language models, but its memory demands remain a barrier to broader adoption. We introduce LoGRA, an approach to RL post-training that reduces memory by retaining useful learning signals in low-rank gradient sketches. These compact representations support both model updates and efficient policy synchronization. To prevent overly large updates from disrupting learning, we complement gradient compression with predicted-KL step control, which estimates policy changes before applying each update and adjusts its magnitude accordingly. With all techniques combined, LoGRA reduces average training memory usage by up to 45.7% across reasoning tasks without compromising performance. It also enables stable training of a 27B-parameter model for over 1,100 steps on a single eight-GPU node, where dense Adam runs out of memory, making previously memory-infeasible RL training practical. Code is available in the Molt library.

1. Introduction

Figure

Figure 1: Lower training memory across model scales. Colors denote model sizes; hatching distinguishes Dense Adam from LoGRA. Dark bars show average memory and pale extensions reach peak memory (Table 1); labels report average / peak in GiB per training GPU. Arrows show average-memory savings over Dense Adam. The broken axis omits 34–48 GiB. The 27B Dense Adam bar marks OOM at GPU capacity, not a measured value.

Reinforcement learning (RL) has emerged as a key driver of advances in LLM, enabling models to improve through feedback on their own generated responses (Sheng et al., 2024; nem, 2025; Xu et al., 2026; Zhang et al., 2026b). However, its substantial memory requirements remain a major barrier to broader adoption. This challenge extends well beyond storing model parameters, as gradients and optimizer states can consume several times more memory than the weights themselves. For example, the BF16 weights of a 7B-parameter Qwen model (Bai et al., 2023) require approximately 14 GB, while Adam's (Kingma & Ba, 2014) two FP32 moment buffers add another 56 GB, even before accounting for gradients and activations. Consequently, hardware

© 2026 NVIDIA. All rights reserved.

capable of running a model may still be insufficient to improve it through RL. Reducing this memory overhead is therefore critical to making RL post-training accessible to the broader research community.

To overcome this bottleneck, existing approaches span both system-level optimizations and memory-efficient training algorithms. At the system level, FSDP (Zhao et al., 2023) shards training states across GPUs, gradient checkpointing (Chen et al., 2016) reduces activation storage through recomputation, and CPU offloading moves selected training states to host memory (Rajbhandari et al., 2020). Parameter-efficient methods reduce the number of parameters that require gradients and optimizer states: LoRA (Hu et al., 2021), for example, freezes pretrained weights and learns small low-rank adapters. Gradient compression offers another route (Zhao et al., 2024; Su et al., 2025; Hao et al., 2024): they keep the original weight matrices trainable while using compact representations of gradients and optimizer states, thereby reducing training memory while still enabling effective updates to the full model.

Motivated by this perspective, we introduce LoGRA, a method that uses low-rank gradient sketches to reduce the memory and communication costs of RL post-training, thus lower the hardware barrier. Our intuition is that learning from rewards may require far less information than a full gradient can represent: with binary outcome rewards, each generated response receives only a single correctness signal, motivating a compact representation of the resulting learning signal (Schulman & Lab, 2025). LoGRA directly accumulates sketches during backpropagation, avoiding the construction and storage of full gradients for the selected weight matrices. These sketches produce updates that are merged into the model weights, with directions that can vary throughout training. The same compact representation is then reused to synchronize the rollout policy, extending the benefits of compression from training memory to communication.

LoGRA alone is insufficient to ensure stable updates: an overly large update can abruptly shift the policy and disrupt previously learned behavior. We therefore introduce predicted-KL step control, which estimates how much a proposed update would change the model's next-token probabilities before applying it. This estimate guides the update scale to stay within a prescribed KL budget with simple optimizers.

We evaluate LoGRA across multiple reasoning tasks with models ranging from 1.5B to 27B parameters. LoGRA reduces average training memory by 21.8% at 1.5B and 45.7% at 7B without sacrificing task performance. These savings also make larger-scale training feasible: LoGRA sustains stable learning of a 27B model for over 1,100 steps on a single eight-GPU node, where the dense Adam baseline runs out of memory under the same hardware allocation. Ablations further clarify how projection design and KL budgets affect learning performance and training stability.

References (41)