cs.LGNov 25, 2026

Hybrid Neural Network Training with Two-Dimensional Model-Based Subspace Search

Authors: Churui Wang, Pengcheng Xie

Organizations: University of California, Berkeley, Berkeley, CA, USA · Applied Mathematics and Computational Research Division, Lawrence Berkeley National Laboratory, Berkeley, CA, USA

Abstract

Training neural networks without derivatives is challenging because full-dimensional quadratic models require a number of coefficients that grows quadratically with the parameter dimension. We investigate 2D-MoSub, which constructs quadratic models in two-dimensional subspaces, as both a standalone optimizer and a complement to Adam. Two hybrid strategies are considered: periodic subspace interventions and an Adam phase followed by derivative-free refinement. In the reported noisy Ackley fitting experiment with 1,341 parameters, standalone 2D-MoSub reaches a lower mean squared error than finite-difference Adam. In a flow-matching experiment with 12,866 parameters, standalone search stagnates, whereas Adam and the hybrids reduce the loss; the available curves do not establish a consistent advantage of the hybrids over Adam. We analyze conditional unbiasedness and noise amplification for fixed-geometry stochastic quadratic models, characterize the limited guarantee provided by exact-loss acceptance, and derive stationarity bounds for randomized and deterministic hybrids with stochastic gradient steps. These bounds do not apply directly to Adam. The analysis also identifies the endpoint regularization needed for the reported flow-matching path and includes the cost of model construction and acceptance checks. Together, the results define conditions under which subspace training can be assessed without equating a small interpolation problem with dimension-independent training cost.

Figures & tables

Explore similar work

Sep 1, 2026

Subspace Levenberg Marquardt Algorithms in Training Neural Networks

The Levenberg-Marquardt (LM) algorithm is a well-known second-order method for rapid convergence and strong robustness when training small- to medium-sized neural networks (NNs). However, its computational and memory costs increase significantly as the number of parameters in an NN grows. To address this limitation, subspace methods have been proposed, such as the Krylov subspace LM (KSLM) and the hybrid subspace LM (HSLM), making second-order algorithms more efficient. In this work, we evaluate the subspace Levenberg-Marquardt algorithms for regression and classification tasks in neural networks. We compare the performance of subspace LM variants with the classical LM method, as well as other popular first-order algorithms, such as stochastic gradient descent (SGD) and Adam.
Jan 30, 2026

Adaptive Momentum and Nonlinear Damping for Neural Network Training

Momentum Stochastic Gradient Descent (mSGD) relies on a fixed momentum coefficient shared across all parameters, failing to account for the heterogeneous structure of modern loss landscapes. In this work, we adopt a continuous-time formulation to introduce individual, adaptive momentum coefficients regulated by the kinetic energy of each model parameter. This mechanism automatically adjusts to evolving training dynamics to maintain stability without sacrificing convergence speed. We demonstrate that this adaptive friction is inextricably linked to cubic damping, a suppression mechanism from structural dynamics. We additionally introduce two optimization schemes by augmenting the continuous dynamics of mSGD and Adam with a cubic damping term. Empirically, our methods demonstrate robustness and match or outperform Adam on training ViT, BERT, and GPT2 tasks where mSGD typically struggles. We further provide theoretical results establishing the exponential convergence of the proposed schemes.
Nov 26, 2025

Mean-Field Model for Two-Layer Neural Networks Trained with Consensus-Based Optimization

We study Consensus-Based Optimization (CBO) for two-layer neural network training. We compare the performance of CBO against Adam on two test cases and demonstrate how a hybrid approach, combining CBO with Adam, provides faster convergence than CBO. Additionally, in the context of multi-task learning, we recast CBO into a formulation that offers less memory overhead. The CBO method allows for a mean-field model formulation, which we couple with the mean-field model of the neural network. To this end, we first reformulate CBO within the optimal transport framework. As the number of particles tends to infinity, we lift the corresponding dynamics to the Wasserstein-over-Wasserstein space and show that the variance decreases monotonically. We confirm numerically that both mean-field models converge.