GRACE: Gradient-aligned Reasoning Data Curation for Efficient Post-training

Junjie Li, Ziao Wang, NingXuan Ma, Jianghong Ma, Xiaofeng ZhangarXiv 2026

TL;DR

GRACE (Gradient-aligned Reasoning dAta Curation for Efficient post-training) is a novel data selection method that filters chain-of-thought (CoT) datasets by evaluating individual reasoning steps rather than entire examples. By scoring steps based on their gradient alignment with the final answer and historical consistency—using a highly efficient representation-level proxy—GRACE matches full-data performance with just 5% of the data and outperforms it with 20%.

What Problem Does This Paper Address?

Post-training large language and vision-language models on massive reasoning datasets (like Chain-of-Thought corpora) is incredibly expensive, often requiring hundreds of GPU hours. Current data curation pipelines select data at the sample level, treating every intermediate step in a reasoning trace as equally valuable.

In reality, reasoning steps contribute highly unevenly: some steps are crucial breakthroughs, while others are redundant, irrelevant tangents, or outright noise. However, evaluating data at the step level using traditional gradient methods is computationally intractable because it would require treating every step as an independent training instance and running repeated backward passes. GRACE addresses this scalability bottleneck, allowing fine-grained, step-level data curation without the massive computational overhead.

Methods

Instead of viewing reasoning traces as static text, GRACE models them as a sequence of optimization events. It evaluates each step using two complementary internal optimization signals:

  1. Answer-oriented objective: Measures how well a step's induced gradient direction aligns with the gradient direction needed to produce the final correct answer.
  2. Trajectory consistency objective: Measures whether the step is directionally coherent with the preceding reasoning history.
Figure 1: Motivation and empirical effect of GRACE. Left: Reasoning traces are viewed as sequences of optimization events, where each step induces an update direction whose utility depends on its alignment with the target objective and the evolving trajectory. Right: Radar chart comparing downstream performance across benchmarks. GRACE achieves full-data or better performance using only a fraction of the training data.

To make this scalable, the authors introduce a representation-level gradient proxy. Instead of performing full backward passes through the parameter space for every single step, GRACE extracts token-level upstream signals directly at the model's final representation interface (the pre-softmax layer) during a single forward pass. These token signals are averaged into step-level proxies, which are then aggregated into a final sample-level utility score for ranking and subset selection.

Datasets

  • Candidate Pool / Training: MMathCoT-1M, a large-scale multimodal mathematical reasoning dataset. The authors filtered this to a "reasoning-rich" candidate pool containing traces with at least 8 steps.
  • Evaluation Benchmarks: A diverse suite of multimodal benchmarks split into three categories:
  • General VQA/Perception: HallusionBench, ScienceQA (SQA), MMBench, and MME.
  • Multi-task/Multi-image Reasoning: MMT-Bench (Single-Image & Multi-Image).
  • Mathematical Reasoning: MathVista and MathVision (MINI & Full).

Key Insights and Ideas

  • More Data Isn't Always Better: Training on 100% of a math-heavy dataset can cause the model to over-specialize, leading to partial forgetting of general visual perception and QA capabilities. Curating a smaller, high-quality subset mitigates this catastrophic forgetting.
  • The Jacobian Geometry Can Be Bypassed: The exact parameter-space gradient alignment depends on complex token-level interactions via a Jacobian matrix. GRACE proves that simply averaging the interface-level upstream signals ($W_{\text{out}}(p_t - y_t)$) acts as an incredibly stable and effective proxy, bypassing the need for explicit Jacobian construction.
  • Intrinsic Data Value is Transferable: Subsets selected using a small scoring model (Qwen3-VL-2B-Instruct) consistently improved the performance of entirely different architectures and larger scales (such as LLaVA-1.5-7B and Qwen3-VL-8B) without re-running the data selection process. This indicates GRACE captures properties inherent to the data rather than model-specific artifacts.

Key Results

  • Superhuman Efficiency: Post-training on just 20% of the GRACE-curated data achieved 108.8% of the full-data performance averaged across all benchmarks.
  • Extreme Compression: With a tiny budget of just 5% of the data, GRACE retained 100.2% of the full-data baseline.
  • Outperforming Baselines: GRACE consistently outperformed heuristic selectors (like choosing the longest responses) and state-of-the-art curation methods (LESS, ICONS, CADC) across virtually all selection ratios.
  • Low Overhead: The proxy collection process is highly lightweight, taking only 6.5 single-node hours and 5.7 GB of storage for the candidate pool.

Limitations and Future Work

  • Fixed Scoring Model: GRACE relies on a fixed scoring model obtained via a small warm-up phase (5% of the data). If the initial warm-up configuration is poor, the data curation quality might degrade.
  • Domain Scope: The empirical validation was heavily focused on multimodal vision-language reasoning with CoT data. The authors note that extending GRACE to pure language models, non-CoT instruction data, or reinforcement-learning-based post-training remains an open avenue for future research.
  • Safety Risks: By significantly lowering the compute barrier to training highly capable reasoning models, efficient curation methods like GRACE could inadvertently make it easier for malicious actors to optimize models for harmful downstream uses, highlighting the need for careful dataset governance.

Summary updated

BibTeX
@misc{li2026grace,
  author = {Junjie Li and Ziao Wang and NingXuan Ma and Jianghong Ma and Xiaofeng Zhang},
  title = {{GRACE: Gradient-aligned Reasoning Data Curation for Efficient Post-training}},
  year = {2026},
  eprint = {2605.13130},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.13130},
}
Figure