AI RESEARCH
Closed-Form Last Layer Optimization
arXiv CS.LG
•
ArXi:2510.04606v2 Announce Type: replace Neural networks are typically optimized with variants of stochastic gradient descent. Under a squared loss, however, the optimal solution to the linear last layer weights is known in closed-form. We propose to leverage this during optimization, treating the last layer as a function of the backbone parameters, and optimizing solely for these parameters. We show this is equivalent to alternating between gradient descent steps on the backbone and closed-form updates on the last layer.