Consolidation or Adaptation? PRISM: Disentangling SFT and RL Data via Gradient Concentration

Yang Zhao, Yangou Ouyang, Xiao Ding, Hepeng Wang, Bibo Cai, Kai Xiong, Jinglong Gao, Zhouhao Sun, Li Du, Bing Qin, Ting Liu

Abstract

While Hybrid Supervised Fine-Tuning (SFT) followed by Reinforcement Learning (RL) has become the standard paradigm for training LLM agents, effective mechanisms for data allocation between these stages remain largely underexplored. Current data arbitration strategies often rely on surface-level heuristics that fail to diagnose intrinsic learning needs. Since SFT targets pattern consolidation through imitation while RL drives structural adaptation via exploration, misaligning data with these functional roles causes severe optimization interference. We propose PRISM, a dynamics-aware framework grounded in Schema Theory that arbitrates data based on its degree of cognitive conflict with the model's existing knowledge. By analyzing the spatial geometric structure of gradients, PRISM identifies data triggering high spatial concentration as high-conflict signals that require RL for structural restructuring. In contrast, data yielding diffuse updates is routed to SFT for efficient consolidation. Extensive experiments on WebShop and ALFWorld demonstrate that PRISM achieves a Pareto improvement, outperforming state-of-the-art hybrid methods while reducing computational costs by up to 3.22$\times$. Our findings suggest that disentangling data based on internal optimization regimes is crucial for scalable and robust agent alignment.

Introduction

Training capable LLM agents typically follows a two-stage pipeline: Supervised Fine-Tuning (SFT) to establish behavioral norms and Reinforcement Learning (RL) to refine long-horizon reasoning. However, the prevailing "Monolithic Sequencing" approach—applying both stages to the entire dataset—is often inefficient and counterproductive.

This approach ignores the intrinsic learning requirements of different data points. Forcing RL on low-complexity data can introduce exploratory noise that degrades well-consolidated patterns, while relying solely on SFT for high-conflict data may lead to the memorization of shortcuts rather than true reasoning. PRISM (Partitioning Regimes via Internal Spatial-gradient Metrics) addresses this by using internal gradient diagnostics to route data to the most appropriate training regime.

Methodology: The PRISM Framework

PRISM operates on the principle that the geometric structure of a model's gradients reveals the degree of "cognitive conflict" a data point presents. The framework functions in three distinct stages:

  1. Non-Invasive Gradient Probing: Before training, a single forward and backward pass is performed on the frozen base model using reference trajectories. Gradient norms are calculated for specific functional units, such as Attention and FFN linear projections, without updating weights.
  2. Quantifying Structural Dissonance: The framework measures the "spikiness" or concentration of these gradients using statistical metrics including the Gini Coefficient, Kurtosis, and Coefficient of Variation (CV).
  3. Distribution-Adaptive Routing: Data is partitioned based on these concentration scores. Data with diffuse updates (low conflict) is routed to SFT for consolidation, while data with highly concentrated updates (high conflict) is routed to RL for structural adaptation.
The PRISM framework: Stage I probes gradients, Stage II calculates concentration metrics, and Stage III routes data to RL or SFT based on the median score.

Key Insights: Gradient Concentration vs. Magnitude

A critical finding of this research is that gradient concentration is a more effective diagnostic tool than gradient magnitude. While large magnitudes often indicate simple knowledge gaps easily addressed by SFT, high concentration—where a small subset of neurons requires significant updates—signals a fundamental clash with the model's existing logic. This structural dissonance requires the trial-and-error exploration of RL to effectively rewire the model's internal schemas.

Experimental Results

PRISM was evaluated on the WebShop and ALFWorld benchmarks using Qwen3-8B and Llama-3.1-8B-Instruct backbones. The results demonstrate a significant Pareto improvement in both performance and efficiency.

  • Performance: On ALFWorld, PRISM achieved a 79.69% success rate on unseen tasks, significantly outperforming the standard SFT-then-RL baseline (69.53%). On WebShop, PRISM reached a state-of-the-art score of 85.15.
  • Efficiency: By routing only 50% of the data to the computationally expensive RL phase, PRISM reduced training wall-clock time by nearly 50% on WebShop and achieved a 3.22$\times$ speedup on ALFWorld compared to full-data RL.
WebShop success rates for Qwen3-8B and Llama-3.1-8B-Instruct, showing that PRISM consistently outperforms random and inverse allocation baselines across various concentration metrics.

Conclusion

PRISM demonstrates that smarter data arbitration based on internal optimization regimes is superior to exhaustive exploration. By disentangling data into consolidation (SFT) and adaptation (RL) regimes, the framework achieves higher success rates with substantially lower computational overhead. Future work will focus on scaling these findings to larger models and exploring dynamic routing strategies that adapt as the model learns.

Summary updated

BibTeX
@inproceedings{zhao2026consolidation,
  author = {Yang Zhao and Yangou Ouyang and Xiao Ding and Hepeng Wang and Bibo Cai and Kai Xiong and Jinglong Gao and Zhouhao Sun and Li Du and Bing Qin and Ting Liu},
  title = {{Consolidation or Adaptation? PRISM: Disentangling SFT and RL Data via Gradient Concentration}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1097},
}
Figure