Drift-Recentered Latent Rank Regularizer
Implementation & benchmark of arXiv:2607.15945 — Testing the rank of the spot covariance matrix of a multidimensional Itô semi-martingale
Source paper: Testing the rank of the spot covariance matrix of a multidimensional Itô semi-martingale arXiv:2607.15945 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Constrain the local stochastic dimension of neural hidden-state trajectories using covariance of residual increments rather than raw second moments. A local mean estimate removes predictable drift, so the regularizer targets genuinely independent noise or latent-factor directions and can encourage compact diffusion or state-space representations.
Formulas
Mathematical statement
The paper models a continuous process X(t) in R^d by the Ito decomposition dX(t) = b(t) dt + sigma(t) dW(t), where b(t) in R^d is the adapted drift, W(t) in R^q is standard Brownian motion, sigma(t) in R^(d x q) is instantaneous volatility, and the spot covariance is Sigma(t) = sigma(t) sigma(t)^T. The paper emphasizes that a second-moment estimator is contaminated by the drift and instead uses a re-centred covariance estimator. For a neural trajectory h_0,...,h_T in R^d, define increments Delta h_i = h_(i+1) - h_i, a local window I_t = {i : |i-t| <= w}, local mean increment b_hat_t = |I_t|^(-1) sum over i in I_t of Delta h_i, and re-centred covariance Sigma_hat_t = (|I_t|-1)^(-1) sum over i in I_t of (Delta h_i - b_hat_t)(Delta h_i - b_hat_t)^T. If eigenvalues are lambda_hat_(t,1) >= ... >= lambda_hat_(t,d), a rank-r penalty is the sum of eigenvalues after r. The exploited property is that local covariance eigenvalues measure stochastic directions after predictable drift has been removed, whereas raw E[Delta h_i Delta h_i^T] mixes drift and covariance.
Implementation notes
Integrate this into the training loss of a latent diffusion model, neural SDE, or recurrent state-space model. Record hidden states h[t] in R^d at consecutive solver steps or sequence positions. Compute increments delta[t] = h[t+1] - h[t]. For every center t with a complete window of radius w, form the local mean mu[t] = mean(delta[t-w:t+w]) and the centered covariance C[t] = mean over i of ((delta[i] - mu[t]) outer-product (delta[i] - mu[t])). Add epsilon times the identity matrix to C[t] before eigendecomposition. Compute the smallest d-r eigenvalues using a symmetric eigensolver, or use a low-rank randomized eigensolver when d is large. Add alpha times their sum to the task loss; alternatively use the smooth threshold penalty sum_j softplus((lambda[t,j] - tau) / tau), where tau is the desired noise-floor threshold. Average over windows and batch elements. Compare against no regularizer and against raw second-moment regularization C_raw = mean over i of delta[i] outer-product delta[i]. Start with a two-layer GRU or tiny latent diffusion model on noisy sine waves and sequential MNIST, using d=32, target rank r=4 or 8, window radius w=4, and a grid of alpha values. Measure validation likelihood or reconstruction error, effective local rank above tau, and training overhead. Inject a known time-varying deterministic drift into the hidden trajectory. Success means the re-centred method preserves task performance while reducing active stochastic directions, and remains stable under drift whereas the raw second-moment penalty incorrectly interprets drift as extra rank.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.