Stochastic Rounding Implicitly Regularizes Tall-and-Thin Matrices
Gregory Dexter, Christos Boutsikas, Linkai Ma, Ilse C. F. Ipsen, Petros Drineas
TL;DR
This work investigates stochastic rounding (SR) for tall-and-thin matrices and shows that SR implicitly regularizes such matrices by making the smallest singular value of the rounded matrix stay bounded away from zero with high probability. The authors derive a general lower bound $\sigma_d(\widetilde{\mathbf{A}}) \ge \mathcal{R}\sqrt{n}(\sqrt{\nu}-\varepsilon_{n,d})$, where $\nu$ captures the stochasticity in rounding and $\mathcal{R}$ bounds entrywise errors; under mild dimension growth ($d=O((n/\log n)^{1/4})$), $\varepsilon_{n,d}\to0$, yielding $\sigma_d(\widetilde{\mathbf{A}}) \gtrsim \mathcal{R}\sqrt{n\nu}$. The proofs combine anti-concentration results from Random Matrix Theory with projection-based Weyl-type arguments, ensuring errors do not concentrate in low-dimensional subspaces. Extensive experiments with fixed-point and floating-point SR across rank-deficient and full-rank matrices confirm the theoretical predictions and show practical relevance, though the current bounds can be conservative for modest $n/d$; a small constant relaxation aligns theory with observed behavior. Overall, SR provides a principled mechanism for implicit regularization in high-dimensional linear settings, with potential implications for training and deploying low-precision neural networks and large-scale ML models.
Abstract
Motivated by the popularity of stochastic rounding in the context of machine learning and the training of large-scale deep neural network models, we consider stochastic nearness rounding of real matrices $\mathbf{A}$ with many more rows than columns. We provide novel theoretical evidence, supported by extensive experimental evaluation that, with high probability, the smallest singular value of a stochastically rounded matrix is well bounded away from zero -- regardless of how close $\mathbf{A}$ is to being rank deficient and even if $\mathbf{A}$ is rank-deficient. In other words, stochastic rounding \textit{implicitly regularizes} tall and skinny matrices $\mathbf{A}$ so that the rounded version has full column rank. Our proofs leverage powerful results in random matrix theory, and the idea that stochastic rounding errors do not concentrate in low-dimensional column spaces.
