arXiv:2611.23040cs.LGNov 2026

Manuscript Offprint

arXiv:2611.23040

Variance Restoration over Covariance Rank: Memory-Budgeted Analytic Continual Learning

Elena Voss, Pixel Nomand, Marcus Hale, Sofia Reyes

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Analytic continual learning replaces iterative gradient updates with closed-form ridge regression over frozen pre-trained representations, summarizing all past sessions in two running sufficient statistics: the feature autocorrelation matrix Σt\Sigma_{t} and the class cross-correlation matrix Γt\Gamma_{t}. Lifting backbone features into a wide random code of dimension M≫DM\gg D substantially improves linear separability across tasks, but forces Σt\Sigma_{t} to grow quadratically as O(M2)\mathcal{O}(M^{2}). Under a fixed persistent memory envelope B\mathcal{B}, a learner faces a fundamental structural trade-off: store exact pairwise co-activations inside a narrower feature code, or expand to a wide code while compressing cross-coordinate interactions. We observe that the coordinate self-variances vt=diag(Σt)v_{t}=\mathrm{diag}(\Sigma_{t}) and class statistics Γt\Gamma_{t} grow only linearly with MM, whereas off-diagonal interactions dominate memory. We introduce CORE-ACL (Coordinate-Restored Analytic Continual Learning), which retains (vt,Γt)(v_{t},\Gamma_{t}) exactly, maintains off-diagonal co-activations through a streaming rank-qq factor FtF_{t}, restores exact diagonal variances via Σ^t=Ft⊤Ft+Diag(vt−diag(Ft⊤Ft))\widehat{\Sigma}_{t}=F_{t}^{\top}F_{t}+\mathrm{Diag}(v_{t}-\mathrm{diag}(F_{t}^{\top}F_{t})), and solves the full M×CM\times C normal equations via the Woodbury identity. Across five class-incremental benchmarks on frozen ViT-B/16, CORE-ACL matches dense full-covariance readouts within 0.090.09 points while cutting persistent state by 90.7%90.7\% (35.935.9 vs. 385.3385.3 MiB). Under equal memory envelopes of 1616–8080 MiB, prioritizing expansion width MM over covariance rank qq outperforms exact narrow readouts in 1717 of 1818 configurations by up to +2.19+2.19 points. Finally, we prove that hold-out penalty selection on untruncated splits triggers severe nullspace amplification (×γ−1\times\gamma^{-1}) upon refitting, and show that a rank-calibrated hold-out rule (CORE-ACL⋆) eliminates this instability without enlarging the state.

1 Introduction

Class-incremental learning (CIL) requires a recognition system to assimilate new categories sequentially without reprocessing historical data or degrading previously acquired decision boundaries [38, 9]. Whereas rehearsal, weight-regularization, and parameter-isolation paradigms treat catastrophic forgetting as an optimization artifact of stochastic gradient descent, analytic continual learning reformulates incremental adaptation as exact recursive least squares over a frozen backbone [44, 42, 40, 6]. Because the cumulative ridge solution depends on past sessions solely through two additive sufficient statistics—the feature autocorrelation Σt\Sigma_{t} and the feature–label cross-correlation Γt\Gamma_{t}—analytic learners achieve order-invariant updates without storing raw exemplars.

To unlock strong linear separability from frozen features fθ(x)∈RDf_{\theta}(x)\in\mathbb{R}^{D}, recent representation-matching pipelines project embeddings into a high-dimensional random space of width M≫DM\gg D via dense nonlinear projections [17, 21, 29] or biologically inspired sparse TopK\mathrm{TopK} expansions [46, 13]. However, widening the readout code shifts the bottleneck from compute to persistent memory: at M=10,000M{=}10{,}000, storing a dense FP32 autocorrelation matrix Σt∈RM×M\Sigma_{t}\in\mathbb{R}^{M\times M} requires 381.5381.5 MiB, whereas the class cross-correlation Γt∈RM×C\Gamma_{t}\in\mathbb{R}^{M\times C} for C=100C{=}100 classes requires only 3.83.8 MiB. When multiple incremental heads coexist on an edge accelerator or share a single frozen vision foundation model, this O(M2)\mathcal{O}(M^{2}) covariance footprint dictates the maximum affordable width.

Figure 1: The width–interaction allocation trade-off in analytic continual learning. (a) Dense autocorrelation storage (Σt\Sigma_{t}) scales quadratically as O(M2)\mathcal{O}(M^{2}), whereas CORE-ACL (q=840q{=}840) scales linearly with width MM and reduces persistent memory by 90.7%90.7\% at M=104M{=}10^{4}. (b) Under fixed memory envelopes (B∈{16,36}\mathcal{B}\in\{16,36\} MiB) with GCV regularization, reallocating bytes from covariance rank qq to expansion width MM consistently improves stage-average accuracy Aˉ\bar{\mathcal{A}} over exact narrow ridge, except when rank falls below a dataset-specific floor (q=318q{=}318 on CIFAR-100). (c) Stage-average accuracy saturates rapidly as interaction rank qq grows, matching the 385385 MiB full-covariance ceiling (dotted lines) already at q=840q{=}840 (35.935.9 MiB).

Constrained by a fixed memory envelope B\mathcal{B}, an analytic learner must choose between two competing designs that prior work has never disentangled: exact covariance at narrow width (MnM_{n} chosen so Mn2+MnC≈BM_{n}^{2}+M_{n}C\approx\mathcal{B}) versus compressed covariance at wide width (M≫MnM\gg M_{n} paired with a rank-qq approximation of Σt\Sigma_{t}). Existing sketching methods such as Frequent Directions (FD) [3], Robust FD (RFD) [15, 23], and LoRanPAC [20] study spectral compression at a fixed dimension, while expansion methods vary MM without bounding memory [17, 46]. Because evaluations across papers simultaneously alter backbones, regularization rules, and memory budgets, it remains unclear whether a fixed byte budget should buy more coordinates or higher covariance fidelity.

Figure 1 reveals the structural asymmetry that governs this choice. In the cumulative normal equations, both the class cross-correlation Γt\Gamma_{t} (MCMC scalars) and the coordinate self-variances vt=diag(Σt)v_{t}=\mathrm{diag}(\Sigma_{t}) (MM scalars) grow linearly with width; only the off-diagonal co-activations scale quadratically. Yet when Σt\Sigma_{t} is compressed into a streaming rank-qq factor Ft⊤FtF_{t}^{\top}F_{t}, repeated spectral truncation erodes 20%–33%20\%\text{--}33\% of the median coordinate self-variance across a ten-session stream (Figure 3a), leaving off-subspace feature directions with zero data curvature.

Built on this insight, we propose CORE-ACL (Coordinate-Restored Analytic Continual Learning). CORE-ACL maintains (vt,Γt)(v_{t},\Gamma_{t}) exactly in O(M+MC)\mathcal{O}(M+MC) space, summarizes off-diagonal interactions via a two-stage rank-qq factor Ft∈Rq×MF_{t}\in\mathbb{R}^{q\times M}, and restores the exact diagonal variance through Σ^t=Ft⊤Ft+Diag(vt−diag(Ft⊤Ft))\widehat{\Sigma}_{t}=F_{t}^{\top}F_{t}+\mathrm{Diag}(v_{t}-\mathrm{diag}(F_{t}^{\top}F_{t})) [25]. Applying the Woodbury identity yields the exact full-width M×CM\times C ridge classifier in O(Mq2+q3+MqC)\mathcal{O}(Mq^{2}+q^{3}+MqC) time without materializing any M×MM\times M matrix. Furthermore, we uncover a critical pathology in full-width sketched readouts: when the ridge penalty γt\gamma_{t} is selected via hold-out validation on an untruncated subset (nfit≤qn_{\mathrm{fit}}\leq q) and refitted on the full session (nrefit>qn_{\mathrm{refit}}>q), off-subspace label projections Γ⊥\Gamma_{\perp} are amplified by γt−1\gamma_{t}^{-1} [4]. Our rank-calibrated hold-out rule (CORE-ACL⋆) matches the truncation ratio during validation, eliminating this collapse.

Our main contributions are summarized as follows:

  • We formulate the memory-budgeted width–interaction problem for analytic continual learning and isolate when expansion width MM outweighs covariance rank qq under matched storage, backbones, and class orders.
  • We propose CORE-ACL, a variance-restored streaming ridge solver that preserves exact per-coordinate variances and class cross-correlations while compressing only off-diagonal interactions into a rank-qq factor.
  • We establish Loewner positivity, Frobenius diagonal optimality, and a nullspace amplification theorem that explains hold-out refit collapse and motivates our rank-calibrated selection rule (CORE-ACL⋆).
  • Across CIFAR-100, CUB-200, VTAB-50, ImageNet-R, and ImageNet-A, CORE-ACL matches dense full-covariance readouts within 0.090.09 points using 90.7%90.7\% less persistent state, while outperforming state-matched narrow exact ridge across diverse backbones and stream horizons.

References (35)