[Paper Review] Double descent in the condition number
This paper demonstrates that the condition number of a random $ n \times d $ matrix $ A $ exhibits a double descent behavior as a function of $ d $, peaking when $ n = d $, due to the singular value distribution governed by the Marchenko-Pastur law. The key finding is that overdetermined ($ n > d $) and underdetermined ($ n < d $) systems are better conditioned than square systems, which has implications for stability in inverse problems and machine learning, especially in kernel methods.
In solving a system of $n$ linear equations in $d$ variables $Ax=b$, the condition number of the $n,d$ matrix $A$ measures how much errors in the data $b$ affect the solution $x$. Estimates of this type are important in many inverse problems. An example is machine learning where the key task is to estimate an underlying function from a set of measurements at random points in a high dimensional space and where low sensitivity to error in the data is a requirement for good predictive performance. Here we discuss the simple observation, which is known but surprisingly little quoted (see Theorem 4.2 in \cite{Brgisser:2013:CGN:2526261}): when the columns of $A$ are random vectors, the condition number of $A$ is highest if $d=n$, that is when the inverse of $A$ exists. An overdetermined system ($n>d$) as well as an underdetermined system ($n
Motivation & Objective
- To analyze the behavior of the condition number of random matrices as a function of dimensionality $ d $, particularly in relation to overdetermined and underdetermined systems.
- To explain why the condition number is worst when $ n = d $, despite the existence of a unique inverse, using random matrix theory.
- To extend the double descent phenomenon in condition number to kernel matrices derived from high-dimensional i.i.d. data.
- To connect the stability of linear systems to generalization performance in machine learning, especially in interpolating models.
- To show that kernel methods based on high-dimensional i.i.d. data are inherently well-conditioned without regularization when $ \gamma = n/d < 1 $.
Proposed method
- The condition number $ \kappa(A) = \sigma_{\text{max}}(A)/\sigma_{\text{min}}(A) $ is analyzed using the Marchenko-Pastur law for large random matrices with i.i.d. entries of mean zero and unit variance.
- Asymptotic limits are considered for $ n, d \to \infty $ with $ \gamma = n/d $ fixed, deriving the limiting distributions of the largest and smallest singular values of $ A $.
- The analysis uses the operator norm and pseudoinverse to define $ \kappa(A) = \|A\| \|A^\dagger\| $, linking it to the ratio of extreme singular values.
- For kernel matrices $ K(x_i, x_j) = f(x_i^T x_j) $, the paper applies results from El Karoui (2010) showing that under mild conditions, the kernel matrix behaves asymptotically like a linear combination of $ XX^T $, identity, and all-ones matrix, preserving the Marchenko-Pastur spectrum.
- Numerical validation is performed via MATLAB's 'cond' function, confirming the double descent pattern in both linear and radial kernel matrices.
- Theoretical support is drawn from results on the smallest singular value of random matrices, including Rudelson & Vershynin (2009) and Davidson & Szarek (2001).
Experimental results
Research questions
- RQ1Why is the condition number of a random matrix $ A \in \mathbb{R}^{n \times d} $ maximized when $ n = d $?
- RQ2How does the condition number of $ A $ behave as a function of $ d $, particularly in the regimes $ n > d $, $ n = d $, and $ n < d $?
- RQ3To what extent does the double descent behavior of the condition number extend to kernel matrices constructed from high-dimensional i.i.d. data?
- RQ4Can kernel methods be inherently well-conditioned without regularization when $ n/d < 1 $?
- RQ5What is the connection between the double descent in condition number and the double descent in generalization error observed in modern machine learning?
Key findings
- The condition number of a random $ n \times d $ matrix with i.i.d. $ \mathcal{N}(0,1) $ entries peaks when $ n = d $, exhibiting a double descent pattern with a minimum at $ n/d \to 0 $ and $ n/d \to \infty $.
- For $ \gamma = n/d < 1 $, the smallest singular value of $ \frac{1}{d}AA^T $ concentrates around $ (1 - \sqrt{\gamma})^2 $, and for $ \gamma > 1 $, the smallest singular value of $ \frac{1}{n}A^T A $ concentrates around $ (1 - \sqrt{\gamma^{-1}})^2 $.
- When $ \gamma = 1 $, the minimal singular value scales as $ \min\{n^{-1}, d^{-1}\} (\max\{\sqrt{n} - \sqrt{d-1}, \sqrt{d} - \sqrt{n-1}\})^2 $, which is significantly smaller than in the $ \gamma \neq 1 $ regimes.
- The condition number of the pseudoinverse solution $ x = A^\dagger b $ is typically much better (closer to 1) than that of the square system when $ n = d $, due to the improved singular value distribution in underdetermined or overdetermined cases.
- Kernel matrices based on i.i.d. high-dimensional data with smooth kernels (e.g., radial basis functions) inherit the same double descent behavior in condition number as linear random matrices, due to asymptotic equivalence to linear combinations of $ XX^T $, identity, and all-ones matrices under the Marchenko-Pastur limit.
- The double descent in condition number aligns with the double descent in test error observed in linear and kernel interpolators, suggesting a deep link between numerical stability and generalization in machine learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.