English

GradAlign: Gradient-Aligned Data Selection for LLM Reinforcement Learning

Machine Learning 2026-02-26 v1 Artificial Intelligence Computation and Language

Abstract

Reinforcement learning (RL) has become a central post-training paradigm for large language models (LLMs), but its performance is highly sensitive to the quality of training problems. This sensitivity stems from the non-stationarity of RL: rollouts are generated by an evolving policy, and learning is shaped by exploration and reward feedback, unlike supervised fine-tuning (SFT) with fixed trajectories. As a result, prior work often relies on manual curation or simple heuristic filters (e.g., accuracy), which can admit incorrect or low-utility problems. We propose GradAlign, a gradient-aligned data selection method for LLM reinforcement learning that uses a small, trusted validation set to prioritize training problems whose policy gradients align with validation gradients, yielding an adaptive curriculum. We evaluate GradAlign across three challenging data regimes: unreliable reward signals, distribution imbalance, and low-utility training corpus, showing that GradAlign consistently outperforms existing baselines, underscoring the importance of directional gradient signals in navigating non-stationary policy optimization and yielding more stable training and improved final performance. We release our implementation at https://github.com/StigLidu/GradAlign

Keywords

Cite

@article{arxiv.2602.21492,
  title  = {GradAlign: Gradient-Aligned Data Selection for LLM Reinforcement Learning},
  author = {Ningyuan Yang and Weihua Du and Weiwei Sun and Sean Welleck and Yiming Yang},
  journal= {arXiv preprint arXiv:2602.21492},
  year   = {2026}
}

Comments

14 pages. Preliminary work

R2 v1 2026-07-01T10:50:57.071Z