GAC: Stabilizing Asynchronous RL Training for LLMs via Gradient Alignment Control

Haofeng Xu, Junwei Su, Yukun Tian, Lansong Diao, Zhengping Qian, Chuan WuarXiv 2026

TL;DR

Scaling Reinforcement Learning (RL) for Large Language Models (LLMs) often requires asynchronous execution to maximize hardware utilization, but this frequently leads to catastrophic training collapse. This paper introduces Gradient Alignment Control (GAC), a lightweight mechanism that stabilizes asynchronous training by identifying and suppressing "stale-aligned" gradients—a newly discovered dynamical signature where consecutive updates become dangerously correlated.

What Problem Does This Paper Address?

Modern LLM alignment pipelines, such as Group Relative Policy Optimization (GRPO), involve three distinct stages: generating text (rollouts), computing rewards, and updating the model (optimization). In a fully synchronous setup, the system waits for the slowest worker to finish rollouts before updating, leading to significant idle time and poor efficiency.

To fix this, researchers use asynchronous RL, where rollout generation and optimization happen concurrently. However, this introduces "staleness": the data used for the current update was generated by an older version of the model. While previous research focused on correcting the data distribution (off-policy correction), this paper argues that the real killer is a change in training dynamics. Specifically, asynchronous training causes consecutive gradients to align too closely, creating a positive feedback loop that leads to overshooting, trust-region violations, and eventual model collapse.

Methods

The authors propose Gradient Alignment Control (GAC), an optimizer-level intervention that regulates the geometry of updates.

  1. Monitoring Alignment: GAC tracks the cosine similarity ($c_t$) between the current gradient and the previous one.
  2. Three Operational Regimes:
    • Safe Regime ($|c_t| \le c_{low}$): Updates proceed normally.
  3. Projection Regime ($c_{low} < |c_t| < c_{high}$): GAC applies Directional Gradient Projection. It decomposes the current gradient into components parallel and orthogonal to the previous update, then rescales the parallel component to bring the alignment back down to the $c_{low}$ target.
  4. Violation Regime ($|c_t| \ge c_{high}$): The update is skipped entirely to prevent a massive overshoot that could break the model.

Unlike prior methods that modify the loss function or clipping logic, GAC is "algorithm-agnostic" and acts directly on the aggregated policy gradient before it hits the optimizer.

Datasets

The researchers evaluated GAC on seven rigorous mathematical reasoning benchmarks to test its ability to handle complex Reinforcement Learning from Verifiable Rewards (RLVR) tasks:

  • Benchmarks: AIME24/25, AMC23/24, Math500, OlympiadBench, and MinervaMath.
  • Models: The Qwen3 family (1.7B, 4B, and 8B parameters) and Llama-3.2-3B-Instruct.
  • Training Data: The mathematical reasoning dataset from DeepScaleR.

Key Insights and Ideas

  • The Orthogonality of Success: In stable, synchronized RL training, consecutive gradients are nearly orthogonal (cosine similarity $\approx 0$). They explore diverse descent directions.
  • The Signature of Collapse: Asynchronous training exhibits persistently high cosine similarity. This "stale-aligned gradient effect" acts as a leading indicator; the alignment spikes before the model's reward and accuracy crash.
  • Mechanistic Explanation: Stale rollouts introduce a systematic bias. When this bias aligns with previous updates, it effectively amplifies the step size along a low-dimensional subspace, causing the model to "drift" out of its stable region.
Figure 1: Progressive instability under increasing staleness. Panels (a–b) report training reward and validation accuracy across staleness levels. Panels (c–d) report consecutive-gradient cosine similarity ct, contrasting synchronized training (s=0) with mild (s=8) and larger staleness (s=16, 32). Results on MATH with Qwen3-1.7B.

Key Results

  • Stability at Scale: GAC successfully prevented collapse across all model sizes (1.7B to 8B). While standard asynchronous GRPO often crashed, GAC maintained smooth, monotonic convergence.
  • Matching Synchronous Performance: On Qwen3-8B, GAC achieved an average accuracy of 53.7%, nearly identical to the 53.8% achieved by the much slower fully synchronized baseline. Other off-policy baselines (like M2PO and BAPO) trailed by 4–5 percentage points.
  • Robustness to Staleness: GAC remained stable even when the behavior policy lagged by 32 optimization steps ($s=32$), a regime where standard methods fail entirely.
Figure 2: Cross-scale learning curves showing GAC (purple) matching synchronized performance (black) while baselines fluctuate or collapse.

Limitations and Future Work

  • Task Scope: The study focused heavily on mathematical reasoning (RLVR). The authors note that extending GAC to broader tasks like general instruction-following or agentic tool-use is a necessary next step.
  • Optimization vs. Surpassing: GAC is designed to stabilize asynchronous training to reach on-policy performance levels, not necessarily to exceed the performance of a perfectly synchronized model.
  • Extreme Heterogeneity: While GAC handles high staleness, its effectiveness in extremely heterogeneous hardware environments (where staleness might vary wildly between workers) warrants further investigation.

Summary updated

BibTeX
@misc{xu2026gac,
  author = {Haofeng Xu and Junwei Su and Yukun Tian and Lansong Diao and Zhengping Qian and Chuan Wu},
  title = {{GAC: Stabilizing Asynchronous RL Training for LLMs via Gradient Alignment Control}},
  year = {2026},
  eprint = {2603.01501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.01501},
}
Figure