BSFA: Leveraging the Subspace Dichotomy to Accelerate Neural Network Training
By: Wenjie Zhou , Bohan Wang , Wei Chen and more
Potential Business Impact:
Makes computer learning much faster and more stable.
Recent studies \citep{gur2018gradient,song2024does, wen2024understanding} highlight a fundamental dichotomy in deep learning optimization: Although parameter updates along the top eigendirections of the loss Hessian (Dom-space) capture most of the update magnitude, they often contribute minimally to loss reduction. In contrast, updates in the orthogonal component (Bulk-space) have smaller magnitudes but drive most learning progress. In this work, we further advance the understanding of this phenomenon and introduce the \textbf{Bulk-Space-Filtration-Accelerator (BSFA)}, a novel plug-and-play framework. BSFA accelerates training by differentially scaling update components projected onto these distinct subspaces, simultaneously enhancing stability by moderating updates in the dominant subspace and boosting convergence speed by amplifying those in the bulk-space. To ensure BSFA is both practical and scalable for contemporary large models, we introduce two key innovations: an efficient estimator using Principal Component Analysis (PCA) on historical updates for fast subspace estimation, and a block-wise strategy that applies this estimation on a per-parameter-block basis. These designs make BSFA computationally tractable and highly effective. We demonstrate BSFA's acceleration across various tasks, notably achieving approximately 2$\times$ speedup when pre-training LLaMA-72M on WikiText-103 and LLaMA-134M on OpenWebText compared to vanilla AdamW.
Similar Papers
Accelerating Eigenvalue Dataset Generation via Chebyshev Subspace Filter
Machine Learning (CS)
Finds math answers much faster for computers.
GradientSpace: Unsupervised Data Clustering for Improved Instruction Tuning
Machine Learning (CS)
Teaches AI to learn many skills better.
Barycentric subspace analysis of network-valued data
Differential Geometry
Helps understand complex networks by finding patterns.