Many methods that fit a low-rank model $XX^\top$ to data now use a fix called preconditioning. Before each gradient step, they rescale the gradient by the inverse of the small $r \times r$ matrix $X^\top X$. This removes the slowdown caused by a wide spread of singular values in the target, measured by the condition number $\kappa$, the ratio of largest to smallest relevant singular value. When the model is given more rank than the target needs, that inverse becomes singular. Practitioners then add a damping term, $(X^\top X + \lambda I)^{-1}$, and set $\lambda$ either from the current loss or by hand. Real targets are rarely exactly low-rank. They have a strong head of $r^*$ singular values, then a gap, then a tail of noise or weak structure. Here the damping value decides which directions the method fits quickly and which it suppresses. Eigenvector solvers have studied this exact decision for decades under the name "shift selection."
We propose to treat the damping $\lambda$ as a shift in the shift-and-invert sense and to choose it by reading the spectrum of $X_k^\top X_k$ at each step. This $r \times r$ matrix is cheap to eigendecompose exactly. Our rule places $\lambda_k$ inside the largest relative gap of that spectrum. Directions above the gap then get condition-number-free updates. Directions below it grow only at plain gradient speed, scaled down by $1/\lambda_k$. The question we want to answer is concrete: can one tuning-free rule match a hand-tuned damping across targets whose head condition number, gap size, and tail shape all vary? And does its iteration count depend on $\kappa$ and on the gap additively rather than multiplicatively?
Core Claim
Two results in the literature fit together but have not been joined. The first comes from shift-and-invert eigensolvers. Robust Shift-and-Invert Preconditioning and Faster Eigenvector Computation via Shift-and-Invert Preconditioning apply power iteration to the shifted inverse $(\lambda I - A^\top A)^{-1}$. Placing the shift just above the top eigenvalue makes the effective gap constant. This turns a cost of "matrix size times a polynomial in 1/gap" into "matrix size plus a gap term." The weak point, which these papers and Gradient Descent Meets Shift-and-Invert Preconditioning both acknowledge, is that the shift must be estimated in a crude first phase. A badly placed shift loses the benefit.
The second result comes from damped preconditioned factorization. Preconditioned Gradient Descent for Over-Parameterized Nonconvex Matrix Factorization (PrecGD, with $\eta_k \approx \sqrt{f(X_k)}$) and The Power of Preconditioning in Overparameterized Low-Rank Matrix Sensing (ScaledGD($\lambda$), with fixed $\lambda$) both multiply the gradient by a shifted inverse Gram matrix. Neither treats the damping as a shift that must sit inside a spectral gap. Both analyses assume the target is exactly rank $r^*$, so the only gap is between $\sigma_{r^*}$ and zero.
Write $s_i$ for the eigenvalues of $X^\top X$ and $m_i$ for the corresponding target singular values. Along direction $i$ the preconditioned step behaves roughly like a gradient step with effective rate $\eta/(s_i+\lambda)$. Directions with $s_i \gg \lambda$ are fitted at a rate independent of $m_i$; this is the $\kappa$-free regime of Preconditioning Matters. Small directions with $s_i \ll \lambda$ grow like power iteration on the target, with factor $1+\eta m_i/\lambda$. The separation between head and tail is therefore governed by the ratio $m_{r^*}/m_{r^*+1}$, the same eigengap ratio that slows power iteration and EM-style PCA (EM Algorithms for PCA and SPCA).
A loss-based damping cannot see where that gap is. Once the head is fitted, $f(X_k)$ plateaus at the tail energy. So $\sqrt{f}$ lands wherever the tail's total mass puts it, not where the gap is. Our hypothesis is that a damping placed at the observed gap in the spectrum of $X_k^\top X_k$ gives an iteration count of the rough form
$$T(\varepsilon) \approx O\big(\log \kappa_{\text{head}}\big) + O\!\left(\frac{\log(1/\alpha)}{\log(m_{r^*}/m_{r^*+1})}\right) + O\big(\log(1/\varepsilon)\big).$$
Here $\kappa_{\text{head}} = m_1/m_{r^*}$, $\alpha$ is the initialization scale, and $\varepsilon$ is the error relative to the best rank-$r^*$ approximation. The middle term comes from the power-iteration picture of small components: they separate by a factor $m_{r^*}/m_{r^*+1}$ per unit of effective step. By contrast, a misplaced damping should make the head and gap terms interact. Tail directions then either get condition-number-free acceleration and are fitted alongside the signal, or the smallest head directions are slowed to plain gradient speed.
Research Program
The method, which we call gap-placed damping, adds one cheap step to ScaledGD. At each iteration it computes the $r$ eigenvalues of $X_k^\top X_k$, which costs $O(r^3)$ and is negligible next to the gradient for $r \ll n$. It finds the index $j$ that maximizes the relative gap $s_j/s_{j+1}$, smoothed by an exponential moving average to avoid flicker. It sets $\lambda_k$ to the geometric mean of $s_j$ and $s_{j+1}$, with a floor proportional to $\sqrt{f(X_k)}$ for the early phase when every $s_i$ is tiny. Early on, all directions sit below the damping and the method behaves like small-initialization ScaledGD($\lambda$). Once a gap emerges, the shift tracks it.
There are three strands of work. On the analysis side, we will try to prove the additive bound above for symmetric factorization against a full-rank target with a head-gap-tail spectrum. We start from the population-loss setting where Preconditioning Matters has clean proofs, then extend to RIP sensing following The Power of Preconditioning in Overparameterized Low-Rank Matrix Sensing.
The robustness strand is borrowed from the eigensolver literature. We will ask whether the shift-placement robustness argument of Robust Shift-and-Invert Preconditioning has an analogue here: how far can $\lambda_k$ stray inside the gap before the rate degrades? This matters because the estimate comes from the iterate, not the target.
On the empirical side, we will map iteration count and final error against a grid of $\kappa_{\text{head}}$, relative gap, tail shape (flat, geometrically decaying, heavy), and over-parameterization ratio $r/r^*$.
Clustered singular values inside the head change the factorization loss very little, because the loss does not care how the head is rotated. We therefore deliberately do not center the proposal on internal clustering, despite the research file listing it as a gap. We will report it as a control condition. Our prediction is that it is harmless for reconstruction error. It should matter only if one reads off individual singular vectors.
Baselines
The naive reference point is vanilla gradient descent from small random initialization with a tuned step size. Preconditioning Matters shows this needs on the order of $\kappa^2\log(1/\varepsilon)$ iterations. Preconditioned Gradient Descent for Over-Parameterized Nonconvex Matrix Factorization shows it drops to sublinear rates under over-parameterization. It tells us how much any preconditioning buys.
The strongest existing method is ScaledGD($\lambda$) from The Power of Preconditioning in Overparameterized Low-Rank Matrix Sensing. That paper reports it as "over 10x faster" than vanilla GD at $\kappa = 7$, with identical convergence at guessed rank $r=3$ and over-specified rank $r=20$. We will run it two ways. The default way uses the paper's recommended $\lambda$. The oracle way grid-searches $\lambda$ per problem instance with the same number of total gradient evaluations given to our method's development. Beating the default means fewer iterations to a fixed error relative to the best rank-$r^*$ approximation, at matched per-iteration cost. Against the oracle, the honest success criterion is matching its iteration count within a small constant factor without tuning, while the oracle's best $\lambda$ shifts by orders of magnitude across tail shapes.
PrecGD with $\eta_k = \sqrt{f(X_k)}$ is the second strong competitor, because it is already adaptive. We use the same initialization, step size grid, and stopping rule for it. We beat it if it reaches lower error at equal iterations on targets where tail energy is large relative to the gap. That is the regime where we predict its damping lands in the wrong place.
The ablation that isolates our key ingredient keeps everything identical but places $\lambda_k$ at a fixed index $r^*$ supplied by an oracle rather than at the detected gap. A second ablation removes the moving-average smoothing. If the fixed-index oracle matches gap detection, the contribution reduces to "know $r^*$." That is a weaker but still useful finding.
For the structured-signal setting, JHGD from Fast Spectrally Sparse Signal Reconstruction via Jacobi-Preconditioned Gradient Descent is the baseline. It reports reaching target error in about 3 seconds on a $25{,}000 \times 25{,}000$ Hankel problem, roughly twice as fast as SGD. We add gap-placed damping to its Hankel-factor updates and compare at equal wall-clock time.
Why not just…?
Why not just use PrecGD, whose damping is already adaptive? When the target is exactly low-rank, $\sqrt{f(X_k)}$ shrinks toward zero and the shift naturally ends up in the gap. That is probably why PrecGD works there, so it is a real threat in that regime and we expect a tie. When the target has a tail, the loss stalls at the tail energy. That energy is a sum over all tail directions and need not lie between $m_{r^*+1}$ and $m_{r^*}$. The tail-shape sweep in our experiments separates the two rules directly. If PrecGD matches us on heavy and flat tails, we will report that the loss is a sufficient proxy and drop the claim.
Why not just grid-search a fixed $\lambda$ for ScaledGD($\lambda$)? On a single problem this will likely do as well as any adaptive rule, and we include it as the oracle baseline. Its weakness is cost and transfer. The right $\lambda$ depends on the unknown gap location, and the analysis in The Power of Preconditioning in Overparameterized Low-Rank Matrix Sensing leaves a fixed damping with an error floor unless it is tuned to the noise level. We will measure how far the oracle $\lambda$ moves across our grid. If it barely moves, the default suffices and our method adds little.
Why not just estimate $r^*$ with a spectral method first and run exact-rank ScaledGD? This removes over-parameterization entirely, and Nyström-style spectral initialization makes ScaledGD converge very fast (On the Crucial Role of Initialization for Matrix Factorization). In sensing and completion, however, the initial spectral estimate is noisy precisely when the gap is small. Misjudging $r^*$ downward truncates signal. Misjudging it upward brings back the singular-Gram failure of pure ScaledGD. We include "spectral rank estimate, then ScaledGD at that rank" as a baseline on small-gap sensing instances. The decisive measurement is how often it picks the wrong rank and what that costs, compared with gap-placed damping, which can revise its estimate during training.
Proposed Experiments
The core testbed is the synthetic factorization and sensing setup used by the three preconditioning papers. We replace the exactly low-rank target with $M = U\,\mathrm{diag}(m)\,U^\top$ and set $m$ by four controls: head condition number $\kappa_{\text{head}} \in \{1, 10, 10^2, 10^3\}$, relative gap $m_{r^*}/m_{r^*+1} \in \{1.2, 2, 10, \infty\}$, tail shape, and over-parameterization ratio $r/r^* \in \{1, 2, 7\}$. The values $r=3$ and $r=20$ match the ScaledGD($\lambda$) experiment. We measure sensing operators with Gaussian (RIP) measurements and with entrywise sampling, which is matrix completion and falls outside the RIP setting of both prior damped analyses.
The primary metric is iterations and wall-clock time to reach $\|XX^\top - M_{r^*}\|_F \le \varepsilon\|M_{r^*}\|_F$, where $M_{r^*}$ is the best rank-$r^*$ approximation of $M$. We also track the minimum distance to $M_{r^*}$ reached before the method starts fitting the tail.
The decisive check is a regression of log iteration count on $\log \kappa_{\text{head}}$ and $1/\log(\text{gap ratio})$. Our hypothesis predicts an additive fit with no significant interaction term for gap-placed damping, and a significant interaction for default ScaledGD($\lambda$) and PrecGD. A second check is the gap-detection ablation against the oracle-index variant. A third is the internal-clustering control: we set $m_1 \approx m_2$ within the head and predict no change in reconstruction iterations for any preconditioned method.
The second testbed is spectrally sparse signal reconstruction with closely spaced frequencies. Close frequencies produce small singular-value gaps in the Hankel matrix naturally. We use signal lengths up to 49,999 to match the JHGD setting and compare JHGD with and without gap-placed damping at equal wall-clock time.
As a stretch test of whether the effect survives outside controlled spectra, we will add gap-placed damping to a preconditioned low-rank adapter on LLaMA-2-7B commonsense reasoning. There, On the Crucial Role of Initialization for Matrix Factorization reports 78.76% average accuracy for NoRA versus 77.6% for standard LoRA. A preconditioned-adapter baseline on this benchmark has no reported result on Lacuna, so we would run it ourselves under the same budget. We treat this only as exploratory: a null result there would not undercut the synthetic findings.
The whole program fails cleanly if PrecGD or default ScaledGD($\lambda$) already shows additive scaling across tail shapes. In that case the shift-selection view explains existing methods rather than improving them, and we would report it as such.
References
- Robust Shift-and-Invert Preconditioning: Faster and More Sample Efficient Algorithms for Eigenvector Computation.
- Faster Eigenvector Computation via Shift-and-Invert Preconditioning
- Gradient descent meets shift-and-invert preconditioning for eigenvector computation
- Preconditioned Gradient Descent for Over-Parameterized Nonconvex Matrix Factorization
- The Power of Preconditioning in Overparameterized Low-Rank Matrix Sensing
- Preconditioning Matters: Fast Global Convergence of Non-convex Matrix Factorization via Scaled Gradient Descent
- EM Algorithms for PCA and SPCA
- Fast Spectrally Sparse Signal Reconstruction via Jacobi-Preconditioned Gradient Descent
- On the Crucial Role of Initialization for Matrix Factorization