In standard deep learning, we treat every weight in a network as a variable to be nudged by gradient descent. We compute a loss, backpropagate the error, and update everything from the first layer to the last. However, a growing body of research suggests that this "one-size-fits-all" approach ignores a fundamental structural property of many neural architectures: the distinction between nonlinear feature extraction and linear reconstruction.
By viewing neural networks as adaptive basis sets, researchers have developed a hybrid optimization strategy that decouples these components. Instead of using gradient descent for the entire system, they solve the linear portion of the model exactly using closed-form mathematics—like Least Squares or Kalman filters—while reserving gradient-based methods for the nonlinear "features."
The Adaptive Basis Perspective
To understand why this works, we must first change how we view a neural network. In a typical regression or classification task, the final layer of a network is often just a linear combination of the features produced by the previous layers. Eric C Cyr, Nathaniel Trask, and their colleagues at Sandia National Laboratories frame this in Robust Training and Initialization of Deep Neural Networks: An Adaptive Basis Viewpoint.
In this view, the hidden layers act as a set of basis functions $\phi(x; \theta)$ parameterized by $\theta$. The final output is then $y = \sum w_i \phi_i(x; \theta)$. If we fix the nonlinear parameters $\theta$, finding the optimal weights $w$ becomes a simple linear least-squares problem. Standard gradient descent tries to learn both $\theta$ and $w$ simultaneously, which often leads to "competing dynamics" where the linear layer is trying to hit a moving target as the features shift.
Decoupling the Optimization
The core innovation across these papers is a hybrid strategy—often called Least Squares/Gradient Descent (LSGD) or Separable Nonlinear Least Squares. The process follows an alternating rhythm:
- The Linear Solve: Given the current state of the hidden layers, calculate the optimal linear weights $w$ using a closed-form solution (like the Moore-Penrose pseudo-inverse).
- The Nonlinear Step: Using these optimal weights, take a gradient descent step to update the nonlinear parameters $\theta$ in the hidden layers.
This ensures that at every single step of training, the network provides the best possible linear fit for its current set of features. Jyh-Shing Roger Jang pioneered this "hybrid learning" in 1991 with the ANFIS architecture, using Kalman filters to identify linear consequence parameters while gradient descent handled the fuzzy membership functions. More recently, Bertille Follain and Francis Bach 0001 applied this to Brownian Kernel Neural Networks, showing that analytical solutions for the output layer prevent the optimization instabilities common in high-dimensional settings.
Why It Works: Stability and Precision
The primary benefit of this approach is the elimination of "optimization stagnation." In complex problems like turbulent fluid dynamics or high-frequency physics, standard neural networks often get stuck in local minima because the gradient signal for the hidden layers is noisy or weak.
By solving for the linear weights exactly, the model "clears the path" for the nonlinear optimizer. In Accurate Compression of Tabulated Chemistry Models with Partition of Unity Networks, E. F. ARMSTRONG and James C. Sutherland demonstrate that this dual-optimization approach leads to significantly lower final error rates. Because the local linear fits are always optimal, the gradient descent process can focus entirely on refining the spatial partitions (the "where") rather than struggling to learn the coefficients (the "what").
Similarly, Madison Cooley and Varun Shankar use this in Fourier PINNs to overcome "spectral bias." By using least-squares to solve for the coefficients of a dense set of Fourier bases while using gradient descent for the neural weights, they achieve orders-of-magnitude better accuracy on challenging partial differential equations.
Beyond Regression: Manifolds and Dynamics
This principle of "analytical solve + gradient step" extends beyond simple regression:
- Graph Learning: Xuelong Li and colleagues introduced a GCN architecture where the final softmax layer is replaced by a "non-gradient" manifold learning layer. This uses an analytical solution for classification, accelerating convergence by avoiding thousands of iterations in the final layer.
- Dynamical Systems: In ResKoopNet, Yuanchao Xu and Zhongwei Shen alternate between a closed-form least-squares solution for the Koopman matrix and SGD for the neural network's feature weights. This allows the model to capture complex, continuous spectra in turbulence that pure gradient methods often miss.
- Interpretable Models: Shijian Xu and Volker Roth developed NIMO, which uses a "profile likelihood" approach. It solves for global linear coefficients in a closed-form step during each iteration, ensuring the neural network only learns the "nonlinear corrections" to a stable linear baseline.
Conclusion
The shift from unified gradient descent to separable optimization represents a move toward "structure-aware" machine learning. By recognizing that the final layer of many networks is a convex problem hiding inside a non-convex one, researchers like Zhiqiang Cai (SgGN) and Yuanzhi Li (AND) have shown we can achieve higher precision and faster training. The intuition is simple: why guess with a gradient when you can solve with an equation?