Orthogonal and Stiefel constraints are used in neural networks to control weight geometry, improve conditioning, and stabilize signal propagation. However, standard Stiefel optimization keeps the singular values of the weight matrix fixed at one, so the model cannot learn to amplify or attenuate signals differently along different directions.

ManifoldFlow addresses this by separating the weight into an orthonormal factor and a bounded symmetric positive-definite (SPD) spectral factor. The SPD factor equals the Gram matrix of the realized weight, giving exact spectral interpretability, and the method reduces to standard Stiefel optimization when that factor is the identity. The optimizer uses the component of the gradient that standard Stiefel optimization rejects, accumulating it over time to jointly update the orthonormal basis and the learned spectrum.

The authors analyze the geometry of the rejected gradient and characterize optimization on the Stiefel–SPD product space, including effects on conditioning, signal propagation, and spectral complexity. In experiments across diverse tasks, ManifoldFlow consistently outperformed matched fixed-spectrum Stiefel baselines, with particularly strong gains in recurrent language modeling.