Resets in High Dimensions: Tracking Repeated Covariance Changes When Every Restart Leaves Too Little Data

Monitoring systems such as water plants, server fleets, and portfolios watch hundreds of coupled sensors at once. They must raise an alarm soon after the joint behavior of those sensors changes, keep false alarms rare, and keep doing this through many successive changes. The standard online recipe for many changes is detect, reset, relearn: after an alarm, the detector throws away old data and rebuilds its picture of "normal" from the new regime alone. In one dimension this recipe is now well understood and close to optimal. In hundreds of dimensions it has a hidden problem. Right after a reset, the detector has only a few samples to estimate a covariance matrix with $p(p+1)/2$ free entries. With so few samples, the estimates are noisy enough that the detector can mistake its own estimation error for a change.

This note proposes to make that problem precise and to fix it. We argue that in high dimensions, the confounding that hurts multi-change trackers has a second face. Missed changes contaminate the baseline, as is already known in one dimension. In addition, resets shrink the baseline to the point where noisy covariance estimates trigger spurious alarms, which cause further resets. We propose a tracker whose alarm threshold at each candidate split point depends on how many samples lie on each side, relative to the dimension. It uses shrinkage estimates of the covariance on both sides of the split. We derive how detection delay depends on the spacing between consecutive changes, and in particular the minimum spacing below which no detector can find the next change.

Core Claim

Consider a Gaussian stream of dimension $p$ whose mean and covariance jump at unknown times $\tau_1<\dots<\tau_S$. An online tracker compares, at each candidate split $s$ inside the current segment, an estimate built from the $n_L$ samples before $s$ with one built from the $n_R$ samples after it. Two existing results are the starting point. High-Dimensional Sequential Change Detection shows that for a single change with a long reference window, and with $p/n\to\gamma$, the delay of window-limited CUSUM is governed by a normalized high-dimensional Kullback–Leibler divergence (NHDKL). That paper also shows that Ledoit–Wolf shrinkage minimizes the estimation penalty in that divergence. The Cost of Learning Under Multiple Change Points shows, in one dimension, that test-and-reset tracking with a threshold growing logarithmically in time avoids the cascade of missed changes and attains near-minimax regret.

Our claim is that combining them naively fails, and fails in a specific way. When the reference segment is short, the ratio $p/n_L$ is large and varies from split to split. The null distribution of the two-sample statistic then shifts with $(p/n_L, p/n_R)$, so a single threshold over all splits is miscalibrated. Splits with a short side cross it spuriously. We conjecture, and will try to prove, a spacing-dependent delay law of the form

$$\mathbb{E}[\text{delay}_k] \approx \frac{\log(ARL_0)}{\mathrm{NHDKL}_{\gamma_k}(P_k\,\|\,P_{k-1}) - \mathrm{pen}_{\gamma_k}(\hat\Sigma)}.$$

Here $P_{k-1}$ and $P_k$ are the regimes before and after change $k$. The quantity $\gamma_k = p/(\tau_k-\tau_{k-1})$ is the dimension divided by the length of the preceding segment. The term $\mathrm{pen}_{\gamma}(\hat\Sigma)$ is the divergence lost by estimating the covariance with estimator $\hat\Sigma$ from a segment at ratio $\gamma$. This form extends the single-change NHDKL result by letting the reference window be the random, change-dependent segment length that resets produce.

The detectability floor is the spacing at which the denominator reaches zero. Our hypothesis is that shrinkage moves this floor to markedly shorter segments than the plain sample covariance. This would be the first quantitative statement of what multiple changes cost in proportional high dimensions.

Research Program

Theory. The first theoretical step is the null behavior of the two-sample generalized likelihood ratio, the statistic comparing the best-fitting "one regime" and "two regimes" explanations of a segment, when both sides use either the sample covariance or a Ledoit–Wolf shrinkage estimate. We will use the same random-matrix tools as the high-dimensional sequential paper, namely the Marchenko–Pastur law and Stieltjes transforms. The aim is a centering term $c(p/n_L, p/n_R)$ and a scale term. Subtracting $c$ and adding a $\log t$ term, as the one-dimensional tracker does, should give a threshold that controls false alarms uniformly over splits.

The second step proves the delay law above when the reference is itself the output of the previous reset. This requires controlling the random localization error of the previous alarm, which leaves a few post-change samples in what the tracker treats as the pre-change baseline. The third step is a lower bound showing that the spacing floor is information-theoretic and not merely a weakness of our estimator.

Algorithm. The tracker evaluates candidate splits only on the dyadic grid of look-backs used by Optimal Online Change Detection via Random Fourier Features. That paper tests splits $2^j$ steps back to get logarithmic cost per step for a single change; we reuse this technique. Each dyadic block keeps running sums of $x$ and $xx^\top$, so any grid split's covariance is assembled from block sums. Shrinkage intensities can be computed in closed form from the same sums.

The cost per step is $O(p^2\log T)$ memory. Each evaluated split also needs one eigendecomposition per side. We will evaluate splits at a reduced cadence if the eigendecompositions dominate the cost.

Resets follow the one-dimensional tracker's rule. Unlike that tracker, ours does not need a known noise scale: the covariance is estimated, and the random-matrix correction absorbs the estimation error.

Beyond Gaussian. Real sensors are neither Gaussian nor independent over time. As a secondary aim, we will prewhiten each segment with a low-order vector autoregression fitted on the reference side. This addresses the autocorrelation gap noted for both the Fourier-feature method and Optimal Nonparametric Multivariate Change Point Detection and Localization. We will test empirically whether the size-dependent centering still calibrates false alarms on heavy-tailed (Laplace) data.

Baselines

The naive reference point is a sliding-window Gaussian likelihood-ratio detector with sample covariance and a fixed threshold. It is tuned over window lengths on held-out streams with the same false-alarm budget. The one-dimensional tracker paper reports that sliding and discounted estimators incur large error after shifts on the AWS CPU stream of the Numenta benchmark, though it gives no scalar values in the file. Beating this detector is necessary but not interesting.

The strongest existing detector-side competitor is Online RFF-MMD from Optimal Online Change Detection via Random Fourier Features. It is nonparametric, multivariate, minimax-optimal for a single change, uses the same dyadic grid, and its authors handled continuous monitoring with heuristic restarts. It is the competitor most likely to match us without any covariance modeling. We will run it with its restart heuristic, the same grid, the same number of random features, and bandwidth chosen by the median heuristic. It gets the same threshold-tuning budget, calibrated so that every method attains the same empirical false-alarm rate on change-free stretches. The file reports no result on Lacuna for Online RFF-MMD on HASC, MNIST streams, or synthetic multi-change data, so we will establish that number ourselves. Beating it means lower mean delay and fewer missed changes at matched false-alarm rate, specifically in the short-spacing regime $\gamma_k>0.5$.

On the anomaly benchmarks, the strongest neural competitor is CCM-TAD from Cluster-Aware Causal Mixer for Online Anomaly Detection in Multivariate Time Series. It reports Best-F1 gains of 8.71% on WADI and 8.65% on PSM over the next-best models. Only these relative gains appear in the file, not absolute F1. The only absolute SWaT figures in the file come from Benchmarking IoT Time-Series AD with Event-Level Augmentations: F1 0.804 for the graph autoencoder GBAD and 0.762 for MTAD-GAT on clean data. We will rerun CCM-TAD under that benchmark's event-level protocol rather than quote Best-F1, because Best-F1 tunes the threshold on the test labels.

Two ablations isolate our ingredients. The first is a naively restarted single-change LWISE window CUSUM: shrinkage, but a uniform threshold and no size-dependent centering. The second is our tracker with the sample covariance in place of shrinkage. If the first ablation matches the full method, the centering contributes nothing. If the second matches it, shrinkage contributes nothing.

Why not just…?

Why not just restart the existing high-dimensional CUSUM after each alarm? This is the most direct threat, and it is our first ablation. The single-change analysis assumes a long, clean reference window. Our hypothesis is that after a reset the reference is short, and a uniform threshold produces bursts of spurious alarms immediately after resets. The decisive measurement is the false-alarm rate as a function of time since the last reset. If it is flat for the naive restart, our centering claim is wrong and the contribution narrows to the spacing-floor theory.

Why not just run Online RFF-MMD with restarts, since it is nonparametric and already efficient? This could genuinely match us when changes are far apart or alter the distribution's shape rather than its covariance. Its estimator also has to rebuild a kernel mean embedding after each reset. We expect the short-segment penalty to hit it too, but whether harder or more gently than covariance shrinkage is an open empirical question. We will report delay against spacing for both methods. If RFF-MMD matches us at small spacings, we will add our size-dependent centering to its statistic, since the calibration argument is not tied to the Gaussian model.

Why not just run a one-dimensional tracker on each channel and combine alarms with a Bonferroni correction? For sparse mean shifts this is strong and cheap, and we will include it. It cannot see changes where every marginal stays fixed while correlations rotate. Optimal Nonparametric Multivariate Change Point Detection and Localization reports that marginal statistics missed such joint changes. Our synthetic suite will contain both sparse-mean and pure-correlation changes, so the regime where channel-wise tracking wins is mapped rather than hidden.

Proposed Experiments

The decisive experiment is synthetic. We generate Gaussian streams with $p\in\{50,200,500\}$ and $S$ changes whose spacings are chosen to sweep $\gamma_k$ from 0.05 to 2. The changes are of three kinds: mean shifts, eigenvalue rescalings, and correlation rotations with marginals held fixed. A Laplace version tests distributional robustness, and a version with vector-autoregressive noise tests serial dependence.

The theory is supported if three things hold. Measured delay should follow the predicted NHDKL law across $\gamma_k$, checked against the closed-form prediction. The detectability floor for shrinkage should sit at a clearly shorter spacing than for the sample covariance. The false-alarm rate after resets should be flat for the centered threshold and elevated for the uniform one.

On real data, we will use the S&P 500 returns used by the nonparametric localization paper, where repeated covariance shifts are the natural signal. We also use the 784-dimensional MNIST class-switching stream from the Fourier-feature paper, where the true change times are known. On both, we report mean delay, miss rate, and localization error at matched false-alarm rate.

Finally, we place the detector as an alarm layer on SWaT, WADI, and SMD under the drift and dropout stress tests of the IoT benchmarking paper. That paper found that fixing a learned graph made models about eight times more sensitive to drift. Re-estimating covariance after each reset is our direct response to that failure. We will check whether a detector that re-estimates its own dependence structure keeps event-level F1 under log drift where the static-graph models degraded.