Skip to content

TESSAL: Chain Tensor-Sketched Deep Analytic Continual Learning

Owen Whitaker, Meilin Chen, Arjun Subramanian, Clara Lindholm, Henrik Solberg

cs.LG

Abstract

Analytic class-incremental learning (ACIL) achieves exact equivalence to full-replay training---absolute memorization---by maintaining additive second-order sufficient statistics over frozen pre-trained features. Yet this guarantee has remained restricted to single-layer linear heads: extending exact sufficient statistics to depth-LL nonlinear networks causes the moment tensor to scale as O((d+1)2L)O((d{+}1)^{2L}), reaching hundreds of terabytes even at L=2L{=}2. We show that deep analytic continual learning can be realized in strictly polynomial space and wall-clock seconds without storing exemplars or optimizing synthetic surrogates. Our key insight is to pair \emph{input-coupled multilinear} heads---decoupled-gate MLPs, GaLU, and ΠΠ-Nets---with a recursive left-to-right \emph{Chain TensorSketch} that compresses the LL-fold outer product into additive O(m2)O(m^2) sufficient statistics in a single streaming pass, independent of both sample count NN and depth LL. On the model side, we prove that contracting the exponentially large parameter tensor through the exact same sketch requires \emph{zero parameter-side FFTs}, collapsing to L−1L{-}1 sparse shift-and-hash steps. Theoretically, Chain TensorSketch reduces depth variance from flat sketching's O(3L/m)O(3^L/m) blow-up to linear O(L/m)O(L/m), induces a non-negative implicit functional tensor-norm regularizer, and admits exact closed-form final-layer elimination via Variable Projection with inverse-free Envelope gradients. Across seven ViT-B/16 benchmarks and three million-scale streams past the N∗≈130kN^*{\approx}130k storage crossover (ImageNet-1K, Places365, iNat21), TESSAL outperforms shallow analytic heads by +1.4+1.4--3.03.0 pts at matched 0.40 GB0.40\,GB state while matching or surpassing 10×10\times--21×21\times larger full replay in under 3030 seconds.

Create a lesson