analiza aiqbench
This research introduces a stochastic pruning framework for Direct Preference Optimization (DPO) that selectively omits computation in scoring, execution, and backpropagation stages to reduce memory usage and accelerate training by approximately 30%. While the method achieves significant efficiency gains across two model families, it trades off slightly lower mean accuracy and exhibits benchmark-dependent variations in open-ended scores. The study provides a rigorous analysis of how these computational shortcuts alter the training objective while maintaining unbiased gradient estimation through inverse-probability weighting.
Stochastic Pruning of the DPO Computation Graph: 1.4x Faster Training and Lower Peak Memory
arXiv:2610.29538v1 Announce Type: new Abstract: Direct preference optimization (DPO) incurs training costs in output scoring, sequence execution, and backpropagation, so reducing supervision alone does not necessarily save computation. We introduce a unified framework for stochastic pruning of the DPO computation graph that independently samples response positions for scoring, response prefixes for execution, and preference branches for backpropagation. By making these selections before the corresponding operations, the framework omits computation at each stage of a training step. Our analysis characterizes the objective changes induced by position and sequence pruning and uses inverse-probability weighting to obtain a conditionally unbiased single-branch gradient estimator for the sampled objective. Controlled measurements show that position and sequence pruning primarily reduce peak memory, with most output-memory savings attributable to an implementation that retains full response supervision. Branch pruning yields a $1.426\times$ step-time speedup over a concatenated DPO baseline and reduces training time by about 30\% relative to stock DPO across two model families, with slightly lower mean accuracy and benchmark-dependent changes in open-ended scores. These findings relate the resource benefits of stochastic graph pruning to the computation omitted and the resulting changes in the training objective.
Title:Stochastic Pruning of the DPO Computation Graph: 1.4x Faster Training and Lower Peak Memory
Abstract:Direct preference optimization (DPO) incurs training costs in output scoring, sequence execution, and backpropagation, so reducing supervision alone does not necessarily save computation. We introduce a unified framework for stochastic pruning of the DPO computation graph that independently samples response positions for scoring, response prefixes for execution, and preference branches for backpropagation. By making these selections before the corresponding operations, the framework omits computation at each stage of a training step. Our analysis characterizes the objective changes induced by position and sequence pruning and uses inverse-probability weighting to obtain a conditionally unbiased single-branch gradient estimator for the sampled objective. Controlled measurements show that position and sequence pruning primarily reduce peak memory, with most output-memory savings attributable to an implementation that retains full response supervision. Branch pruning yields a $1.426\times$ step-time speedup over a concatenated DPO baseline and reduces training time by about 30\% relative to stock DPO across two model families, with slightly lower mean accuracy and benchmark-dependent changes in open-ended scores. These findings relate the resource benefits of stochastic graph pruning to the computation omitted and the resulting changes in the training objective.
Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
arXiv:2610.29538 [cs.LG]
(or arXiv:2610.29538v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2610.29538 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Text integral sub licența deschisă a publicației · 295 cuvinte
Subiecte conexe
CN101 - A Digital Thermodynamic Computer for Generative AI
arXiv · 5 aug. 2026
Computing with Agentic Oracles
arXiv · 5 aug. 2026

University of Bristol Team Develops Stochastic Tsetlin Machine for Interpretable Learning
Quantum Zeitgeist · 15 iul. 2026
A deterministic polynomial chaos Galerkin method for non-Markovian quantum state diffusion
arXiv · 9 oct. 2026