[Paper Review] Scalable Analytic Classifiers with Associative Drift Compensation for Class-Incremental Learning of Vision Transformers
The paper introduces LR-RGDA, a scalable analytic classifier that reduces RGDA complexity via a low-rank perturbation, and HopDC, a training-free drift compensator using continuous Hopfield networks, achieving state-of-the-art class-incremental learning with Vision Transformers.
Class-incremental learning (CIL) with Vision Transformers (ViTs) faces a major computational bottleneck during the classifier reconstruction phase, where most existing methods rely on costly iterative stochastic gradient descent (SGD). We observe that analytic Regularized Gaussian Discriminant Analysis (RGDA) provides a Bayes-optimal alternative with accuracy comparable to SGD-based classifiers; however, its quadratic inference complexity limits its use in large-scale CIL scenarios. To overcome this, we propose Low-Rank Factorized RGDA (LR-RGDA), a scalable classifier that combines RGDA's expressivity with the efficiency of linear classifiers. By exploiting the low-rank structure of the covariance via the Woodbury matrix identity, LR-RGDA decomposes the discriminant function into a global affine term refined by a low-rank quadratic perturbation, reducing the inference complexity from $\mathcal{O}(Cd^2)$ to $\mathcal{O}(d^2 + Crd^2)$, where $C$ is the class number, $d$ the feature dimension, and $r \ll d$ the subspace rank. To mitigate representation drift caused by backbone updates, we further introduce Hopfield-based Distribution Compensator (HopDC), a training-free mechanism that uses modern continuous Hopfield Networks to recalibrate historical class statistics through associative memory dynamics on unlabeled anchors, accompanied by a theoretical bound on the estimation error. Extensive experiments on diverse CIL benchmarks demonstrate that our framework achieves state-of-the-art performance, providing a scalable solution for large-scale class-incremental learning with ViTs. Code: https://github.com/raoxuan98-hash/lr_rgda_hopdc.
Motivation & Objective
- Address the efficiency–accuracy trade-off in classifier reconstruction for Class-Incremental Learning (CIL) with Vision Transformers.
- Develop a scalable analytic classifier that retains RGDA expressivity while reducing inference cost.
- Mitigate representation drift caused by backbone updates without additional training.
- Provide a training-free mechanism to recalibrate historical class statistics under drift.
- Demonstrate state-of-the-art performance across diverse ViT backbones and CIL strategies.
Proposed method
- Develop Low-Rank Factorized RGDA (LR-RGDA) by modeling class covariance as a global base plus a class-specific low-rank perturbation.
- Apply the Woodbury matrix identity to efficiently invert regularized covariances, reducing inference complexity.
- Decompose the LR-RGDA discriminant into a global affine term plus a class-specific low-rank quadratic correction in a subspace of dimension r (r << d).
- Provide explicit discriminant decomposition: g_c^{LR-RGDA}(x) = L_c(x) + Q_c(x) with L_c using B^{-1} mu_c and Q_c involving a small r×r matrix M_c^{-1} and a projection.
- Introduce HopDC, a training-free drift compensator that uses Modern Continuous Hopfield Networks to align historical class statistics with the current feature space via unlabeled anchors.
- Prove an upper bound on drift estimation error arising from HopDC’s attention-based retrieval, relating it to Lipschitz continuity of the drift function and anchor density.
Experimental results
Research questions
- RQ1Can LR-RGDA achieve Bayes-optimal performance while drastically reducing RGDA inference cost?
- RQ2How can representation drift from backbone updates be corrected without extra training?
- RQ3Does HopDC reliably bound drift estimation error and improve CIL performance across backbone strategies?
- RQ4Is the LR-RGDA + HopDC framework robust across diverse ViT backbones and Stage-1 adaptation methods?
Key findings
- LR-RGDA reduces inference complexity from O(C d^2) to O(d^2 + C r d) by using a low-rank class-specific perturbation and Woodbury inversion.
- Discriminant function decomposes into a global affine term plus a class-specific quadratic correction in an r-dimensional subspace, preserving RGDA expressivity with much lower cost.
- HopDC provides a training-free calibration of historical statistics by modeling drift with associative memory using unlabeled anchors, with a formal error bound on estimation.
- Empirical results show state-of-the-art performance across multiple ViT backbones and Stage-1 strategies, including notable gains when HopDC is used.
- LR-RGDA consistently outperforms SGD-based classifiers in cross-domain and within-domain CIL benchmarks, with HopDC further boosting performance in plastic backbones.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.