Skip to content

Menu

WorksComputer Science

The Geometry Is the Memory: Task-Density Routing for Continual LoRA

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_y8h2a6ja. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Freezing older adapters does not ensure that a continual learner will select and use them properly at inference time. When multiple adapters exist, routing among them and identifying the adapter whose representation space matches the query's answer can be difficult. We propose CONTLORA, which replaces stored examples with compact class statistics for adapter selection and classification. Gaussian class models in a frozen representation select LoRA adapters, while accumulated feature moments exactly recover a class-balanced ridge classifier for fixed training features. Trained without retaining images or feature vectors, CONTLORA reaches 88.55% accuracy on 20-task CIFAR-100 and 86.99% on CUB-200. Across three benchmarks in the matched component study, its mean final accuracy differs from an independently trained stored-feature counterpart by at most 0.07 percentage points. Ablations show that improved task coverage need not improve classification and adapter composition also matters. On held-out classes, competitor-centered likelihood scores improve novelty AUROC over raw likelihood without altering routing ranks. These results support statistical memory as an alternative to example-retention approaches in the evaluated settings, while identifying task ambiguity as an ongoing limitation.

Introduction

Class-incremental learning (CIL) requires a model to learn new classes while retaining earlier capabilities, without task labels at inference. Pre-trained vision transformers provide transferable representations, and parameter-efficient methods adapt them through prompts, adapters, or low-rank updates [16, 25, 30, 34, 35, 40, 42]. However, preserving task-specific parameters does not guarantee that the complete system continues to use them correctly.

Freezing a completed adapter prevents its weights from changing, but later tasks can still alter the global classifier and the adapters selected or combined at inference. Retaining past features can re-balance the classifier, although storing all such features increases memory as the stream grows. This motivates two questions:

  • can compact statistics replace retained examples throughout a continual adapter system, and

  • how do adapter selection, composition, and classifier alignment affect its performance?

We introduce CONTLORA, which uses class statistics as memory for both adapter selection and classification (Figure 1). Class means in a frozen representation, together with a covariance shared across tasks, define task densities that select the top-kk LoRA adapters. Adapter training uses a linear head optimized with cross-entropy. After each stage, we re-balance this training head using Gaussian samples from stored class statistics and carry it into the next stage. For prediction, we solve a separate ridge head after each stage using accumulated moments of adapted features from all classes seen so far. These moments exactly recover the class-balanced ridge solution for the fixed training features; the system retains neither past images nor per-example feature vectors.

Figure 1. Default CONTLoRA pipeline. (a) Continual training. Current-task data train the new adapter and global head (a1); Gaussian samples re-balance only the head, carried into the next task (a2). (b) Retained state. After each stage, memory stores routing geometry (b1), alignment statistics (b2), frozen adapters (b3), and prediction moments (b4). Routing statistics use frozen features; alignment and prediction statistics use own-adapter features. Per-example data are discarded. (c) Inference. A frozen pass selects adapters; a second pass composes their updates and predicts with a separate ridge head solved after each stage. Blocks are schematic; density colors distinguish distributions.

Our matched study on CIFAR-100, ImageNet-R, and CUB-200 (Table 2) compares independently trained systems with the same architecture, task orders, and evaluation configuration. Training-head alignment uses either stored features or Gaussian samples from class statistics. Across these benchmarks, replacing stored features with Gaussian samples for training-head alignment changes the final mean accuracy by at most 0.07 percentage points. This supports statistical memory as an alternative to the retained examples in the evaluated settings. Our ablations also show that better task coverage need not improve classification: adapter composition affects the result as well.

Table 2. Class-incremental results with rank-8 LoRA in all attention blocks of a frozen ViT-B/16. Replay: whether the head is re-balanced on stored adapted features. CONTLORA rows use the shared-covariance router and ridge head; the GMM + linear head configuration uses per-task diagonal mixtures and a stored-feature linear head. The oracle selects the true task’s adapter at full weight. Continual runs: 5 class orders on CIFAR-100, 3 on ImageNet-R and CUB-200; ±\pm: 95% interval. Task-0 is the mean over orders. Bold: best continual mean and values within 0.1 pp, excluding joint and oracle rows; this is a display convention, not a significance test. Joint references train all classes together; see Supp. for their separate protocols.

MethodReplayCIFAR-100, T=20T=20 Alast↑A_{\mathrm{last}}\uparrowCIFAR-100, T=20T=20 Fgt↓\downarrowCIFAR-100, T=20T=20 Task-0↑\uparrowImageNet-R, T=10T=10 Alast↑A_{\mathrm{last}}\uparrowImageNet-R, T=10T=10 Fgt↓\downarrowImageNet-R, T=10T=10 Task-0↑\uparrowCUB-200, T=10T=10 Alast↑A_{\mathrm{last}}\uparrowCUB-200, T=10T=10 Fgt↓\downarrowCUB-200, T=10T=10 Task-0↑\uparrow
Joint (reference)–92.90±0.1492.90\pm0.14––81.6981.69––87.79±0.1687.79\pm0.16––
Sum, trainable-BB✓50.79±13.1350.79\pm13.1350.80±13.9250.80\pm13.9232.8432.8449.63±1.6449.63\pm1.6445.15±1.4245.15\pm1.4232.0232.0258.72±3.9858.72\pm3.9841.58±3.3141.58\pm3.3128.3628.36
Sum, fixed-AA✓84.55±1.3684.55\pm1.3612.88±1.6212.88\pm1.6255.4855.4875.15±0.9075.15\pm0.907.64±0.867.64\pm0.8665.8565.8586.30±0.8886.30\pm0.886.66±0.846.66\pm0.8475.9975.99
CONTLORA, GMM + linear head✓86.50±0.3486.50\pm0.346.93±0.626.93\pm0.6279.5279.5270.52±0.2270.52\pm0.2212.35±0.4612.35\pm0.4665.1765.1785.98±0.5685.98\pm0.565.41±0.625.41\pm0.6280.9780.97
CONTLORA, stored-feature training✓88.57±0.1588.57\pm0.155.16±0.265.16\pm0.2685.7285.7273.40±0.9173.40\pm0.918.51±1.808.51\pm1.8075.0475.0487.05±0.1587.05\pm0.154.68±0.564.68\pm0.5683.4983.49
CONTLORA (replay-free)✗88.55±0.1988.55\pm0.195.16±0.365.16\pm0.3685.6885.6873.33±0.9473.33\pm0.948.59±1.838.59\pm1.8375.0975.0986.99±0.2686.99\pm0.264.68±0.834.68\pm0.8383.6183.61
oracle task identity✗96.90±0.2196.90\pm0.211.30±0.201.30\pm0.2096.1296.1286.15±0.6886.15\pm0.682.51±0.252.51\pm0.2588.6088.6089.81±0.1989.81\pm0.193.54±0.403.54\pm0.4087.8487.84

Table 2.

CONTLORA coordinates three uses of statistical memory: selecting adapters, aligning the carried training head, and solving a separate prediction head. The contribution is this architecture and a controlled test of replacing retained features across its training and inference pipeline.

Contributions and scope.

  • Statistical memory for routing and classification. We

design a system that retains class statistics instead of examples and compare it with an independently trained counterpart that uses stored features.

  • Analysis of density-based decisions. We relate the task-identification error to density overlap and model fit through a stage-wise bound, showing that it reflects genuine convergence rather than random behavior. A variance identity characterizes when subtracting the mean competitor log-likelihood reduces the score variance for a fixed task. We also have separate measurements for downstream classification or novelty-detection performance guarantees.

  • Controlled analysis of system components. We compare task descriptors, adapter selection, composition weights, and classifier designs while holding adapter weights fixed. Separate training runs assess the consequences of replacing retained features during classifier alignment.

Related Work

Continual learning with pre-trained models. Parameter-efficient methods differ in how they select, share, and combine adaptations to a pre-trained backbone. L2P and DualPrompt use key-based prompt selection [33, 34], while CODA-Prompt combines learned components through input-conditioned weighting [25]. HiDe-Prompt explicitly separates task-identity inference from within-task prediction [31]. Other approaches study compact parameter tuning and combinations of feature subspaces [8, 39, 40]. LoRA-based methods constrain updates to reduce interference [16, 32, 38]. SD-LoRA decouples update magnitude and direction [35]; BiLoRA constructs almost-orthogonal task subspaces using two fixed bases [42]. SLAO studies continual merging into a single LoRA for language models [20], while mixture-of-adapter approaches learn input-dependent composition [30, 36]. CONTLoRA addresses the inference memory surrounding frozen adapters: it couples density selection with prediction statistics to distinguish parameter preservation from successful use.

Feature statistics as memory. Several exemplar-free methods replace stored samples with summaries of their representations. PASS augments prototypes with Gaussian noise [41], FeCAM uses class covariance information for Mahalanobis classification [9], and SLCA aligns a classifier using Gaussian feature samples after slow backbone adaptation [37]. RanPAC combines random nonlinear projections with a classifier computed from accumulated feature statistics [18]. CONTLoRA separates the classifier carried through training from the head used for prediction: Gaussian samples align the former, while exact moments of own-adapter features determine the latter. Unlike RanPAC’s projected features, these prediction moments use adapted features directly, with equal class weighting.

Representation summaries also support adapter selection. SEMA uses representation descriptors for expansion and a learned router for adapter composition [30]. HESTIA combines order-invariant linearized adaptation with density-guided routing in task-free streams and analyzes retrieval error through density quality and embedding separability [14]. CONTLoRA uses class Gaussians with shared covariance in a frozen embedding space [9, 15], followed by top-kk composition within attention-layer LoRA. It assumes known training boundaries and learns no composition router. Our matched memory study tests selection, alignment, and prediction together; fixed-adapter ablations expose when improved retrieval fails to improve the composed classifier.

Rehearsal. Experience replay [4], iCaRL [22], and DER++ [2] retain past examples. We examine the memory needed for classifier alignment within the same adapter architecture. § 5.3 compares full and bounded feature replay with statistical alternatives; independent streams test replacement throughout training. Replay-free here permits statistic-generated features but retains no past images or per-example vectors. This tests feature-memory substitution, not superiority over raw-image replay methods.

Likelihood scores and novelty detection. Deep generative models can assign higher likelihood to out-of-distribution inputs than to inputs from their training distribution [19]. Likelihood ratios against a background model can reduce the influence of confounding input statistics [23]. Relative Mahalanobis distance similarly adjusts class-conditional scores using a class-agnostic Gaussian background [24]. Our adaptation of this correction uses the other stored task densities as the background (§ 3.5): subtracting their mean log-likelihood forms a log ratio to their unnormalized geometric mean. Unlike a separately fitted background, this construction reuses the router’s existing models. We distinguish its cross-input novelty-scoring effect from adapter selection: centering preserves every within-input task ranking.

Method

Figure 1 presents the CONTLoRA architecture and functionalities, categorized into three main regimes: (a) continual training (a1–a2 training steps), (b) retained state (b1–b4 memory modules), and (c) inference.

Setting

Tasks t=1,…,Tt = 1, \ldots, T have known training boundaries and disjoint label sets Yt\mathcal{Y}_t. At stage tt, evaluation covers all seen classes Y1:t=⋃s≤tYs\mathcal{Y}_{1:t} = \bigcup_{s \le t} \mathcal{Y}_s without task identity. The frozen ViT-B/16 [7] has 12 transformer blocks and produces an adapter-free [CLS] embedding ϕ(x)∈Rd\phi(x) \in\mathbb{R}^d, d=768d = 768. The default system retains no past images or per-example features; replay-free here permits synthetic features drawn from statistics. Dataset splits and task counts appear in § 5.1.

The default CONTLoRA combines Gaussian-sample training-head alignment, shared-covariance routing, and ridge prediction. The stored-feature training variant instead aligns its training head on retained adapted features, keeping the same inference design. The GMM + linear head variant uses those stored-feature-trained adapters with per-task diagonal mixtures and the re-balanced linear head for prediction. The latter two configurations reuse the same saved adapter weights, but differ in their router and prediction head.

Isolated attention-layer adapters

Each task adds ΔWtl=BtlAtl/r\Delta W^{l}_{t} = B^{l}_{t}A^{l}_{t}/r [12] to the qkv projection of all 12 transformer blocks, with Atl∈Rr×dA^{l}_{t} \in\mathbb{R}^{r \times d}, Btl∈R3d×rB^{l}_{t} \in\mathbb{R}^{3d \times r}, and r=8r = 8. We initialize AtlA^{l}_{t} with Gaussian entries and Btl=0B^{l}_{t} = 0; the backbone and completed adapters remain frozen.

In Figure 1(a1), current-task data train the new adapter and a global linear head using Lt=LCE,t+L⊥\mathcal{L}_{t} = \mathcal{L}_{\mathrm{CE},t} + \mathcal{L}_{\perp}. Cross-entropy uses all seen classes, with only the current adapter active at full weight. The penalty discourages overlap between new and completed adapters’ output directions:

L⊥=λ⊥∑l∑s<t∥(Btl)TBsl∥F2,λ⊥=0.1.(1)\mathcal{L}_{\perp} = \lambda_{\perp} \sum_{l} \sum_{s<t} \lVert(B^{l}_{t})^{\mathsf{T}} B^{l}_{s} \rVert^{2}_{F}, \qquad\lambda_{\perp} = 0.1. \tag*{(1)}

Only current BtlB^{l}_{t} factors receive penalty gradients; cross-entropy updates current AtlA^{l}_{t}, BtlB^{l}_{t}, and the head.

The penalty is zero at the first task because the sum is empty. It is used only during adapter training, not head re-balancing or inference. It is soft and norm-dependent: for bounded input-factor norms it controls an upper bound on update overlap, without guaranteeing interference-free predictions (Supp. Sec. S2.6). No forgetting-rate guarantee follows. Completed adapters enter the frozen bank in Figure 1(b3).

Task densities and routing

Stored statistics and task densities. In Figure 1(b1), we store each class’s frozen-feature mean μc\mu_{c} and accumulate within-class scatter StS_{t} and sample count ntn_{t}. Each task is an equal-weight mixture of its class Gaussians with a covariance shared across all seen classes:

p^j,t(z)=1∣Yj∣∑c∈YjN(z∣μc,Σ^t),(2)\hat{p}_{j,t}(z) = \frac{1}{\lvert\mathcal{Y}_{j} \rvert} \sum_{c \in\mathcal{Y}_{j}} \mathcal{N}(z \mid\mu_{c}, \hat{\Sigma}_{t}), \tag*{(2)}
Σ^t=(1−γ)Stnt+γtr⁡(St/nt)dI.\hat{\Sigma}_{t} = (1-\gamma)\frac{S_{t}}{n_{t}} + \gamma\frac{\operatorname{tr}(S_{t}/n_{t})}{d}I.

Here Σ^t\hat{\Sigma}_{t} estimates the pooled within-class covariance. Shrinkage toward a scaled identity stabilizes its inversion; γ\gamma controls the amount, and we set γ=0.1\gamma= 0.1. The quadratic term in zz is common to all tasks, so their log-densities reduce to log-sum-exp evaluations of affine class scores, minus log⁡∣Yj∣\log\lvert\mathcal{Y}_{j} \rvert, up to a common input-dependent term. For our equal-sized task label sets, ranking omits both common terms. Unequal sets require retaining −log⁡∣Yj∣-\log\lvert\mathcal{Y}_{j} \rvert (Supp. Sec. S1.2). Updating the covariance can change old likelihoods; new competitors can change selection even with a fixed feature map.

Alternative descriptor. A per-task diagonal GMM models the frozen embedding distribution without class assignments, with a separate diagonal covariance per component. This is the router of the GMM + linear head configuration. We fit K=100K = 100 components by EM [6], using kk-means++ [1], at most 30 iterations, and variance floor 10−610^{-6} (615 KB/task). Section 5.4 compares the two descriptors’ top-1 routing accuracy, top-3 task coverage, and downstream classification accuracy.

Adapter selection and composition. Define LLj(x)=log⁡p^j,t(ϕ(x))\mathrm{LL}_j(x) = \log\hat{p}_{j,t}(\phi(x)) and let Sk(x)S_k(x) contain the min⁡(k,t)\min(k,t) highest-scoring tasks. Their updates are composed inside each adapted layer:

Wl(x)=W0l+wtr∑j∈Sk(x)BjlAjl(3)W^l(x) = W_0^l + \frac{w_t}{r}\sum_{j \in S_k(x)} B_j^l A_j^l \tag*{(3)}

Inference uses a frozen pass to select adapters and one adapted pass to compose them (Figure 1(c), Passes 1–2), regardless of kk. We set k=3k = 3, with wt=1/3w_t = 1/3 on CIFAR-100 and wt=1/min⁡(k,t)w_t = 1/\min(k,t) on ImageNet-R and CUB-200. These coincide from stage three onward; CIFAR-100 uses less total adapter weight at the first two stages.

Margin-gated ablation. Only at the final stage, the GMM + linear head ablation switches between one full-weight adapter and top-3 composition using the top-two likelihood margin. Its threshold is calibrated on synthetic mixture samples, without test data (Supp. Sec. S1.4). The default does not use this gate.

Classifier: training head and ridge head

Training head. Current-task training biases the global linear head toward new classes. To restore access to old classes, the alignment memory (Figure 1(bFigure 2) stores each class’s adapted-feature mean mcm_c, diagonal variance vcv_c, and count NcN_c, using its own adapter at full weight. After each stage, we draw NcN_c samples from N(mc,diag⁡(vc))\mathcal{N}(m_c,\operatorname{diag}(v_c)) for every seen class and re-balance only the head (Figure 1(aFigure 2), following Gaussian alignment [37]. The draw is reused for 30 SGD epochs; settings are in Supp. Sec. S1.3. Sampling preserves original class counts rather than imposing equal class frequencies. The head carries into the next stage to train the next adapter; real features and synthetic samples are discarded. Own-adapter feature maps stay fixed because their backbones and completed adapters are frozen.

Figure 2. Accuracy Ri,jR_{i,j} on task jj (columns) after stage ii (rows), CIFAR-100, T=20T=20, mean over the five class orders of Tab. 2, common color scale. The summed-adapter controls re-balance their head on stored features and still lose more early-task accuracy than the replay-free CONTLORA.

Ridge prediction head. Prediction uses a separate class-balanced least-squares head. Let h~=[h;1]\tilde{h} = [h;1] augment the own-adapter training feature with a bias coordinate, and let E^c\widehat{\mathbb{E}}_c average over class cc’s training examples. The prediction memory (Figure 1(b4)) retains

G=∑c∈Y1:tE^c[h~h~T],U=[E^c[h~]]c∈Y1:t.G = \sum_{c \in\mathcal{Y}_{1:t}} \widehat{\mathbb{E}}_c[\tilde{h}\tilde{h}^{\mathsf{T}}], \qquad U = [\widehat{\mathbb{E}}_c[\tilde{h}]]_{c \in\mathcal{Y}_{1:t}}.

For λ>0\lambda> 0, W=(G+λI)−1UW = (G + \lambda I)^{-1}U uniquely minimizes

∑c∈Y1:tE^c[∥WTh~−ec∥22]+λ∥W∥F2,\sum_{c \in\mathcal{Y}_{1:t}} \widehat{\mathbb{E}}_c\left[\lVert W^{\mathsf{T}}\tilde{h} - e_c\rVert_2^2\right] + \lambda\lVert W\rVert_F^2,

where ece_c is a one-hot target. Classes contribute equally, and the regularizer includes the bias row. Prediction takes arg⁡max⁡c(WTh~(x))c\arg\max_c(W^{\mathsf{T}}\tilde{h}(x))_c. These moments exactly recover the retained-feature ridge solution for the same fixed features, weights, and regularization; no Gaussian assumption is needed (Supp. Sec. S2.1). This does not remove the mismatch between own-adapter training features and composed test features or guarantee accuracy. We set λ=0.01tr⁡(G)/(d+1)\lambda= 0.01\operatorname{tr}(G)/(d+1) using held-out training features from one order of dataset. This analytic approach follows RanPAC [18] without its random projection.

Competitor-centered novelty scores

Routing compares tasks within an input; novelty scoring compares inputs. Input-independent variation shared across task likelihoods can obscure novelty [19, 23]. A common constant offset cannot change rankings across inputs. For t>1t > 1, define

Λj(x)=LLj(x)−1t−1∑q≠jLLq(x).(4)\Lambda_j(x) = \mathrm{LL}_j(x) - \frac{1}{t-1}\sum_{q \ne j}\mathrm{LL}_q(x). \tag*{(4)}

Equivalently, Λj=tt−1LLj−1t−1∑qLLq\Lambda_j = \frac{t}{t-1}\mathrm{LL}_j - \frac{1}{t-1}\sum_q \mathrm{LL}_q. Thus centering preserves every within-input task ranking and top-kk set, while potentially changing rankings across inputs. Our offline novelty study scores max⁡jΛj\max_j \Lambda_j using per-task GMMs, with larger scores indicating known classes, and reports AU-ROC/FPR95. It implements neither deployment threshold calibration nor a conformal detector. Centering also rescales the top-two margin and its matched quantile threshold by t/(t−1)t/(t-1), leaving the gated ablation unchanged. The supplement states the separate conformal assumptions.

What is stored

Table 1 gives packed fp32 representation sizes in decimal KB/MB, excluding the common backbone, optimizer, and temporary state. On 20-task CIFAR-100, adapters occupy 23.59 MB; router and ridge moments each occupy 1.49 MB in distinct feature spaces; alignment statistics occupy 0.61 MB and the training head 0.31 MB. Caching derived ridge weights adds 0.31 MB. These are storage estimates: the implementation uses full fp64 matrices and solver workspace, detailed in the supplement.

ItemSizeRetained form
LoRA adapter (12 blocks, qkv)1.18 MB/taskparameters
Router: class means15 KB/taskmeans
Router: shared scatter (once)1.18 MBscatter
Training head: class statistics31 KB/taskmean, variance
Training head: weights and bias15 KB/taskparameters
Ridge head: class means ucu_c15 KB/taskmoments
Ridge head: Gram matrix GG (once)1.18 MBmoments
Counts and class/task identifiersO(C+T)O(C+T)integers
Per-task GMM (K=100K = 100)615 KB/taskparameters
Stored adapted features7.7 MB/taskfeatures
Feature buffer, 20/class0.31 MB/taskfeatures

Table 1. Retained-state accounting for ViT-B/16 with r=8r = 8 on CIFAR-100 with five classes per task. Sizes use fp32, with symmetric matrices packed; counts and identifiers are separate. Rows above the line describe default state. Below, the GMM + linear head configuration uses the GMM; both feature-replay variants retain 500 features/class; the buffer-head ablation (Table 4) retains 20/class.

Analysis

We characterize routing error and score variance, separately from downstream classification.

Routing error from stored densities. Fix a stage tt. The fitted densities p^i≡p^i,t\hat{p}_i \equiv\hat{p}_{i,t} induce distributions P^i\hat{P}_i; PiP_i is the true distribution of frozen embeddings ϕ(x)\phi(x) for task ii. Define their fitted overlap as OVL⁡(p^i,p^j)=\operatorname{OVL}(\hat{p}_i,\hat{p}_j) = ∫Rdmin⁡{p^i(z),p^j(z)} dz\int_{\mathbb{R}^d} \min\{\hat{p}_i(z),\hat{p}_j(z)\}\,\mathrm{d}z. Condition on the fitted mixtures and take the test input independent of the fitting data. Let Ei=⋃j≠i{p^j≥p^i}E_i = \bigcup_{j\ne i}\{\hat{p}_j \ge\hat{p}_i\} and δi=∣Pi(Ei)−P^i(Ei)∣\delta_i = |P_i(E_i)-\hat{P}_i(E_i)|.

Proposition 1. For a task-ii input, top-1 likelihood routing over tt tasks errs with PiP_i-probability at most ∑j≠iOVL⁡(p^i,p^j)+δi\sum_{j\ne i}\operatorname{OVL}(\hat{p}_i,\hat{p}_j)+\delta_i.

A union bound under P^i\hat{P}_i and transfer by δi\delta_i give the result for any tie-breaking rule (Supp.).

The event-specific δi\delta_i avoids a vacuous TV bound: deterministic embeddings of discrete 8-bit images have atomic PiP_i, whereas P^i\hat{P}_i has a density, giving TV⁡(Pi,P^i)=1\operatorname{TV}(P_i,\hat{P}_i)=1. Estimate its two event probabilities from held-out task-ii data and independent P^i\hat{P}_i samples, respectively, then take their absolute difference. Sampling-error control is required for a certificate; none is reported (Supp.). Updating the shared covariance changes old densities, overlaps, and EiE_i; the bound applies anew at each stage, rather than merely adding an overlap term. It does not bound classification error.

Variance of competitor centering. For t>1t > 1, let XX follow a fixed reference population and condition on the fitted models. Suppose {LL⁡j(X)}\{\operatorname{LL}_j(X)\} have common variance σ2>0\sigma^2 > 0 and common pairwise correlation ρ\rho.

Lemma 1. Var⁡(Λj(X))=σ2t(1−ρ)t−1\operatorname{Var}(\Lambda_j(X)) = \sigma^2\frac{t(1-\rho)}{t-1}.

Expanding the variance gives the result (Supp.). It is smaller than σ2\sigma^2 only when ρ>1/t\rho> 1/t. The identity concerns a fixed task index, not the selected maximum, and it gives no guarantee for mean separation, AUROC, or false-positive rate. We therefore evaluate novelty scores directly instead of inferring detection quality from variance reduction.

Experiments

Setup

Benchmarks. For the component study, we split CIFAR-100 [13] into 20 tasks of 5 classes and 10 tasks of 10 classes, ImageNet-R [11] into 10 tasks of 20 classes and 25 tasks of 8 classes, with a fixed per-class 80/20 train/test split (approximately 24k / 6k images), and CUB-200-2011 [29] into 10 tasks of 20 classes with its official split (5,994 / 5,794 images).

Model and training. ViT-B/16 pre-trained on ImageNet-21k (AugReg [26]), frozen; rank-8 LoRA on qkv in all 12 transformer blocks; AdamW, learning rate 3×10−43\times10^{-4}, cosine decay, batch 64, 15 epochs per task at T=25T=25 and T=20T=20, and 20 epochs per task at T=10T=10. ConTLoRA trains with the sampled-statistics head, routes with Eq. (2) and k=3k=3, predicts with the ridge head, and retains no images or features. A second ConTLoRA run per class order uses the stored-feature head instead and carries auxiliary heads for § 5.3.

Comparison systems. We compare two local summed-adapter controls with the same backbone and optimizer; both re-balance their head on stored features, i.e., they use feature replay. Sum, fixed-A fixes a random orthonormal AtA_t, trains BtB_t, freezes completed modules, and sums them at inference. Sum, trainable-B freezes previously learned AA factors while continuing to update their BB factors. These methods capture the core ideas of BiLoRA and SD-LoRA; however, for an exact comparison, we use the official published implementations; Sum, fixed-A omits BiLoRA’s two-basis construction, while Sum, trainable-B omits SD-LoRA’s fixed-direction/learned-magnitude parameterization. CIFAR summed controls combine four archived runs with a new seed-1993 run; other continual runs in Table 2 use the new runner. An archived vision adaptation of SLAO [20] is not used as a comparator because its initialization departs from the published rule (Supp. Sec. S1.6). Separate ConTLoRA runs appear in Table 3. Its ImageNet-R rows use 25 tasks of 8 classes, separately from the 10-task of Table 2.

Table 3. Additional runs of the cited methods on ViT-B/16, final accuracy (%). ImageNet-R uses T=25T=25 (8 classes per task), separately from T=10T=10 in Tab. 2; the CONTLORA rows are also separate runs. Baselines use method-specific class orders, backbone checkpoints and training budgets (Supp.). Bold: highest mean in each column.

MethodCIFAR-100 T=20T=20ImageNet-R T=25T=25CUB-200 T=10T=10
L2P [34]79.5163.2667.13
InfLoRA [16]80.9768.6570.47
SD-LoRA [35]84.1468.3477.48
C-LoRA [38]86.7070.1482.25
CL-LoRA [10]85.3270.7380.03
CONTLORA (replay-free)88.5271.9286.86
CONTLORA, stored-feature training88.6971.8787.12

Table 3.

Metrics. Alast=T−1∑j=1TRT,jA_{\mathrm{last}}=T^{-1}\sum_{j=1}^{T}R_{T,j}: mean final per-task accuracy. This equals image accuracy on equal-sized CIFAR-100 tasks; ImageNet-R and CUB-200 tasks have unequal test counts, so there it is a task-macro average. Forgetting Fg=1T−1∑i<T(max⁡j≤iRi,j−RT,j)F_g=\frac{1}{T-1}\sum_{i<T}\left(\max_{j\le i}R_{i,j}-R_{T,j}\right), where Ri,jR_{i,j} is accuracy on task jj after stage ii [3]. Task-0: accuracy on the first task after the last stage, RT,1R_{T,1}. Routing accuracy: fraction of test inputs whose true task is the top-1 (or in the top-kk) of {LLj}\{\mathrm{LL}_j\}. The component study uses five CIFAR-100 class-order seeds {0,7,42,1993,2024}\{0,7,42,1993,2024\} and three ImageNet-R and CUB-200 seeds {7,42,2024}\{7,42,2024\}; ±\pm denotes a 95% Student-tt interval. Paired differences use shared class orders; this pairing does not remove implementation or tuning confounds. Tests are exploratory and uncorrected for multiple comparisons.

Main results

Table 2 reports the comparison systems. On CIFAR-100 the replay-free CONTLORA reaches 88.55%, 4.01±1.314.01\pm1.31 pp above the fixed-AA control (paired over five orders, p=0.001p=0.001), with forgetting 5.16% versus 12.88% and first-task accuracy 85.7% versus 55.5% (Figure 2). On CUB-200 it reaches 86.99%, 0.69 pp above the control on all three orders, reduces forgetting from 6.66% to 4.68%, and raises first-task accuracy from 76.0% to 83.6%. The control re-balances its head on stored features, whereas CONTLORA retains none.

In the paired runs of Table 2, training CONTLORA with stored features instead raises final accuracy by only 0.02, 0.07 and 0.06 pp on the three benchmarks. Relative to the GMM + linear head configuration, the replay-free system gains 2.05±0.442.05\pm0.44, 2.80±0.982.80\pm0.98 and 1.01±0.491.01\pm0.49 pp; § 5.3 and § 5.4 attribute most of this to the ridge head. Joint training is a separate reference, not an upper bound; its capacity and optimization budget differ (Supp.). The CUB-200 joint mean is 0.80 pp above the default continual mean.

ImageNet-R: selection and composition. Here CONTLORA reaches 73.33%, 1.82±1.731.82\pm1.73 pp below the fixed-AA control (p=0.046p=0.046), with similar forgetting (8.59% versus 7.64%, p=0.27p=0.27) and higher first-task accuracy (75.1% versus 65.9%). Selecting the true task’s adapter at full weight reaches 86.15%, 11 pp above the control, showing substantial sensitivity to adapter selection and composition. The router ranks the true task first for 69.7% of inputs and among the top three for 83.5%, compared with 88.0%/96.2% on CIFAR-100 and 89.7%/98.1% on CUB-200: renditions share styles across classes, and tasks are random class splits, so frozen features separate them less well. Across benchmarks, the oracle-minus-default gap is 2.8, 8.4 and 12.8 pp on CUB-200, CIFAR-100 and ImageNet-R, in decreasing order of top-3 coverage. The oracle supplies unavailable task identity and replaces top-3 composition by one full-weight adapter. Its gap combines selection and composition effects and does not isolate a recoverable routing loss. Two checkpoint diagnostics with stored-feature-trained adapters did not help (Supp.): moment-based composition weights and scoring each shortlisted task’s classes under its own adapter.

Additional comparison runs. Table 3 compares CONTLORA with L2P, InfLoRA, SD-LoRA, C-LoRA and CL-LoRA on 20-task CIFAR-100, 25-task ImageNet-R and 10-task CUB-200. These runs are distinct from the paired component study in Table 2; their means should not be substituted into its uncertainty estimates or ablations. The replay-free configuration exceeds the strongest listed baseline by 1.82, 1.19 and 4.61 pp, respectively. Stored-feature training changes its accuracy by +0.17, −0.05 and +0.26 pp compared to the replay free. These are descriptive comparisons under method-specific training recipes; aggregate means alone do not establish statistical significance. Supp. Sec. S3.6 compares geometric descriptors on frozen features under a separate known-vs-novel selection protocol, without attention-layer adapters or the ridge head.

Takeaway. Compact class statistics are a sufficient substitute for retained features: replacing all stored features changes final accuracy by less than a tenth of a point, and replay-free CONTLORA remains roughly 1–5 pp above the listed baselines. The remaining error arises from adapter selection and composition at inference rather than from a loss of task knowledge.

Geometry versus data

Table 4 uses the stored-feature training run, keeps its adapters and per-task mixture router fixed, and changes only the head; all rows share the same adapters. The ridge head, built from class moments alone, is the most accurate: +2.22±0.37+2.22\pm0.37 pp over the stored-feature head on CIFAR-100, +2.20±0.69+2.20\pm0.69 on ImageNet-R and +1.08±0.56+1.08\pm0.56 on CUB-200, with forgetting 5.03% versus 6.93% on CIFAR-100, while keeping 1.5 MB instead of 154 MB. A linear head re-balanced on sampled statistics loses 2.64±0.582.64\pm0.58 pp against stored features on CIFAR-100, and without alignment the head reaches only 9.09%. Solving ridge regression from exact moments requires neither Gaussian sampling nor iterative head re-balancing. Whether the adapters themselves need stored features is answered by the independent replay-free run of Table 2: with the ridge head it matches the stored-feature run within 0.07 pp on all three benchmarks, although its in-run sampled head is 5.3 pp lower on CIFAR-100.

Table 4. AlastA_{\mathrm{last}} (%) by what the head is built from (stored-feature training run; per-task mixture router, top-3; adapters and router shared across rows). Memory counts only alignment data for that head over all CIFAR-100 classes. The buffer stores features, not images; this is not an ER comparison.

HeadMem.CIFAR-100IN-RCUB
Stored features154 MB86.50±0.3486.50\pm0.3470.52±0.2270.52\pm0.2285.98±0.5685.98\pm0.56
Buffer 20/class6.1 MB82.36±0.5882.36\pm0.5866.99±0.9666.99\pm0.9685.47±0.9385.47\pm0.93
Ridge on moments1.5 MB88.72±0.1388.72\pm0.1372.72±0.6072.72\pm0.6087.05±0.3987.05\pm0.39
Sampled statistics0.6 MB83.86±0.5583.86\pm0.5567.70±0.4267.70\pm0.4285.84±1.0285.84\pm1.02
Class means, NCM081.76±0.2781.76\pm0.2764.28±1.0064.28\pm1.0085.86±0.2585.86\pm0.25
None090.99±1.1190.99\pm1.1112.81±0.9512.81\pm0.9515.35±2.4215.35\pm2.42

Table 4.

Takeaway. A class-moment head uses 1% of the storage and gains 1–2 pp accuracy over a feature-trained head by exactly solving the balanced problem.

Ablation Study: Sources of Accuracy

Table 5 varies one component at a time. The routing and composition blocks share trained adapter weights within each block; the penalty block instead compares independently retrained adapters.

VariantCIFAR-100IN-RCUB-200
Router (replay-free adapters, ridge head)
Oracle task identity96.90±0.2186.15±0.6889.81±0.19
Shared cov., top-188.38±0.1271.12±0.4988.10±0.02
Shared cov., top-3 (default)88.55±0.1973.33±0.9486.99±0.26
Per-task GMM K=100K=100, top-388.71±0.1572.73±0.6986.99±0.49
Composition (GMM + linear head)
Top-185.88±0.2062.77±0.6286.31±0.28
Top-3, weights 1/386.50±0.3470.52±0.2285.98±0.56
Top-3, weights 185.01±0.8744.36±2.2983.72±1.17
Gated top-1/top-386.77±0.3070.44±0.5086.07±0.41
GMM K=20K=20 instead of 10086.45±0.4570.38±0.8585.83±0.54
Adapters (retrained, seeds 7, 42, 2024)
With penalty, same seeds86.48±0.9370.44±1.0286.08±0.38
No L⊥L_{\perp} (λ⊥=0\lambda_{\perp}=0)87.62±0.6569.11±0.7186.37±0.31

Table 5. Ablations, AlastA_{\mathrm{last}} (%; 5 class orders on CIFAR-100, 3 on ImageNet-R and CUB-200). Top block: replay-free adapters with the ridge head. Middle block: the GMM + linear head configuration (per-task mixtures, stored-feature head), shared adapters. Bottom: adapters retrained without the penalty of Eq. (1) (stored-feature head, 3 paired orders). Non-default middle-block rows re-evaluate the final model with fixed adapters and classifier.

Routing and composition. The shared-covariance router raises top-1/top-3 task coverage over per-task mixtures from 83.4/93.5% to 88.0/96.2% on CIFAR-100, from 46.7/65.7% to 69.7/83.5% on ImageNet-R, and from 77.1/92.4% to 89.7/98.1% on CUB-200, using about one-eighth the router storage (1.49 versus 12.30 MB, packed fp32, CIFAR-100 at T=20T=20). With the ridge head, higher coverage improves final accuracy on ImageNet-R (+0.60±0.350.60\pm0.35 pp), but not on CIFAR-100 (−0.15±0.140.15\pm0.14) or CUB-200 (0.00 pp); task coverage alone does not determine classification accuracy. Top-3 activation helps most where coverage is low (+2.2 pp over top-1 on ImageNet-R) and costs 1.1 pp on CUB-200, where top-1 routing is already accurate; we keep k=3k=3 on all benchmarks rather than select it on test data. In the GMM + linear head configuration, weights 1 instead of 1/3 cost 1.5 pp on CIFAR-100 and 26 pp on ImageNet-R, model-sample-calibrated gating adds 0.27±0.070.27\pm0.07 pp on CIFAR-100, and K=20K=20 instead of 100 changes CIFAR-100 accuracy by −0.05±0.40-0.05\pm0.40 pp at a

fifth of the router memory. On CIFAR-100 and ImageNet-R, top-1 classification accuracy exceeds task-identification accuracy: some inputs remain classifiable under a different task’s adapter. A tuned learned-router comparison remains open (Supp.).

Output-factor penalty. With retrained adapters and the same seeds, removing L⊥L_{\perp} (λ⊥=0\lambda_{\perp}=0) changes accuracy by +1.14 percentage points on CIFAR-100, −1.33 points on ImageNet-R, and +0.29 points on CUB-200.

Takeaway. Shared-covariance routing cuts storage 90% while improving task retrieval; classification depends on adapter weights (¿25 pp loss if poor), while orthogonality changes accuracy only ±1 pp. competing tasks improves unseen-class detection by 5–10 AUROC points over raw likelihood, without changing routing, although dedicated class-level scores perform better.

Held-out-class novelty detection

Table 6 uses five class orders: the first 16/20 CIFAR-100 tasks (80 classes) and 8/10 ImageNet-R tasks (160 classes) are known; remaining classes are novel. Known images are positives. FPR95 uses the fifth percentile of known-test scores, an evaluated ROC operating point rather than a deployment-calibrated threshold.

ScoreCIFAR-100ImageNet-R
AUROC↑\uparrowFPR95↓\downarrowAUROC↑\uparrowFPR95↓\downarrow
Max log-likelihood75.6±4.473.8±6.560.5±1.490.9±0.8
Mahalanobis [15]72.2±6.076.6±8.359.6±1.389.3±1.0
Relative Mahalanobis [24]88.7±2.755.2±8.876.8±1.079.8±2.6
Energy [17]89.5±1.453.1±2.974.3±1.088.4±2.5
kk-NN [27]71.8±4.686.1±3.653.5±1.793.0±1.4
Competitor ratio Λ\Lambda85.7±2.666.5±2.266.0±0.689.8±1.2

Table 6. Known-vs-novel detection on frozen ViT-B/16 features (AUROC↑\uparrow / FPR95↓\downarrow, mean ± 95% interval over five class orders). Max-LL and Λ\Lambda use the per-task mixture densities; Mahalanobis uses class means and a tied full covariance; relative Mahalanobis additionally fits a global mean and covariance; energy uses a linear probe on the known classes; kk-NN (kk=50) keeps every training feature and is a reference only.

Centering raises AUROC over maximum likelihood from 75.6 to 85.7 on CIFAR-100 and 60.5 to 66.0 on ImageNet-R. Relative Mahalanobis and linear-probe energy achieve higher AUROC (88.7/76.8 and 89.5/74.3, respectively; CIFAR-100/ImageNet-R) and lower mean FPR95. This suggests a benefit from class-level models, although the comparison does not isolate its cause. On ImageNet-R, every score has FPR95 near or above 80%; none reliably rejects novel classes at high recall, and kk-NN is close to chance (53.5 AUROC). These offline results establish neither online task-arrival detection nor conformal coverage under drift. Additional protocol and storage details are in Supp. Sec. S1.5.

Takeaway. Centering the router’s existing densities against

Limitations and Conclusion

Limitations. On 10-task ImageNet-R, the fixed-AA control outperforms the default. Pooled covariance updates change earlier task likelihoods. Even with fixed existing scores, new competitors can alter adapter selection when tasks are ambiguous or representations are heavily imbalanced. Therefore, input shifts can invalidate stored statistics despite a frozen encoder. Inference uses one frozen and one adapted backbone pass; adapter storage is linear in task count and each input needs a frozen routing pass plus an adapted pass—about 48 ms/image on CPU vs. 28 ms/image for a merged model (Supp. Tab. S7). The method, consistent with prior work, assumes a clear separation among tasks and requires that each class be assigned to exactly one task.

Conclusions. Class statistics support replay-free routing and classification. Shared-covariance routing improves task identification over per-task mixtures; ridge heads outperform heads re-balanced on stored features. CONTLoRA thus treats the geometry of the feature space as memory: A continual learner only needs to retain feature densities, not past task samples. Routing then becomes retrieval in which a feature vector returns a model rather than another vector, pointing toward adapter libraries that are searched like vector stores and grow by insertion rather than retraining.

Supplementary Material

References of the form “main Sec. 3.3”, “main Tab. 2” or “main (4)” point to the main paper. Supplementary sections, tables, figures and equations are prefixed with S.

Implementation details

Pipeline

Algorithms S1 and S2 give the training and inference procedures of main § 3. Completed adapters and recorded class statistics remain fixed. The pooled scatter and ridge moments accumulate, while the shared covariance, ridge head, and training head are updated at each stage. The ridge objective weights classes equally: GG sums within-class mean outer products (Sec. S2.1). The router covariance instead averages within-class residual outer products over all seen training samples before shrinkage. The attention-layer streams have equal numbers of classes per task, so the router may omit the common −log⁡∣Yj∣-\log|\mathcal{Y}_j| term in main Eq. (2) when ranking tasks; unequal task sizes would require retaining it. Each class order is trained twice. The replay-free run (main Table 2, default) aligns the primary head on Gaussian samples of class statistics and retains no features. The stored-feature run aligns it on stored adapted features and also trains the auxiliary heads of main Table 4 on detached features; auxiliary-head operations use separate random generators to avoid changing the primary trajectory. The ridge head and both routers are evaluated stage by stage from the saved adapters of either run; because adapters are frozen after their stage, this equals computing them during training. With k=3k=3, CIFAR-100’s fixed 1/31/3 routing weights sum to 1/31/3 and 2/32/3 at stages 1 and 2. ImageNet-R and CUB-200 normalize the selected routing weights to one. Both conventions coincide from stage 3 onward.

Efficient evaluation of the shared-covariance router

At a fixed stage tt, task jj is represented by the equal-weight mixture

p^j,t(z)=1∣Yj∣∑c∈YjN(z∣μc,Σ^t).(5)\hat{p}_{j,t}(\mathbf{z}) = \frac{1}{|\mathcal{Y}_j|}\sum_{c\in\mathcal{Y}_j}\mathcal{N}(\mathbf{z}\mid\boldsymbol{\mu}_c,\hat{\Sigma}_t). \tag*{(5)}

Assuming Σ^t\hat{\Sigma}_t is positive definite, expanding the Gaussian log-density gives

log⁡N(z∣μc,Σ^t)=ac,t(z)+bt(z),(6)\log\mathcal{N}(\mathbf{z}\mid\boldsymbol{\mu}_c,\hat{\Sigma}_t)=a_{c,t}(\mathbf{z})+b_t(\mathbf{z}), \tag*{(6)}

where

ac,t(z)=μcTΣ^t−1z−12μcTΣ^t−1μc,(7)a_{c,t}(\mathbf{z})=\boldsymbol{\mu}_c^\mathsf{T}\hat{\Sigma}_t^{-1}\mathbf{z}-\frac{1}{2}\boldsymbol{\mu}_c^\mathsf{T}\hat{\Sigma}_t^{-1}\boldsymbol{\mu}_c, \tag*{(7)}
bt(z)=−12zTΣ^t−1z−12log⁡det⁡(2πΣ^t).(8)b_t(\mathbf{z})=-\frac{1}{2}\mathbf{z}^\mathsf{T}\hat{\Sigma}_t^{-1}\mathbf{z}-\frac{1}{2}\log\det(2\pi\hat{\Sigma}_t). \tag*{(8)}

The class score ac,ta_{c,t} is affine in z\mathbf{z}, while btb_t depends on the input and stage but not on the class or task. Factoring exp⁡(bt(z))\exp(b_t(\mathbf{z})) out of the mixture yields

log⁡p^j,t(z)=LSE⁡c∈Yj(ac,t(z))−log⁡∣Yj∣+bt(z),(9)\log\hat{p}_{j,t}(\mathbf{z})=\operatorname{LSE}_{c\in\mathcal{Y}_j}(a_{c,t}(\mathbf{z}))-\log|\mathcal{Y}_j|+b_t(\mathbf{z}), \tag*{(9)}

where LSE⁡(ac)=log⁡∑cexp⁡(ac)\operatorname{LSE}(a_c)=\log\sum_c\exp(a_c). The affine coefficients can be precomputed after each covariance update, so scoring requires class-wise affine evaluations followed by a log-sum-exp within each task.

The term −log⁡∣Yj∣-\log|\mathcal{Y}_j| comes from averaging, rather than summing, the class densities. It ensures that each task mixture integrates to one. For example, if every class density evaluates to the same value qq at an input, the normalized task density is qq regardless of its number of classes; an unnormalized sum would instead equal ∣Yj∣q|\mathcal{Y}_j|q.

Algorithm S1 Stage tt of CONTLoRA (training).

Require: task data DtD_t; frozen backbone; past adapters; router sums; ridge moments; primary head HH and its alignment state; auxiliary heads HvH_v (stored-feature run only)

  1. initialize Atl∼N(0,1/d)A_t^l \sim\mathcal{N}(0,1/d) and Btl=0B_t^l=0; expand every head to all seen classes

  2. for each training minibatch (x,y)(x,y) of task tt do

  3. compute features hh using adapter tt only, with update BtlAtl/rB_t^l A_t^l/r

  4. update adapter tt and primary head HH using global cross-entropy +L⊥+\mathcal{L}_{\perp}

  5. update each auxiliary head HvH_v using cross-entropy on stopgrad(h)(h)

  6. end for

  7. freeze adapter tt; store frozen-feature class means and add class scatters to SS (main Eq. (2)); fit per-task GMMs for the ablations

  8. extract current-task adapted features using adapter tt at full routing weight; record class means, diagonal variances and counts; add GcG_c (augmented second moment, averaged within class) to GG and store the augmented mean ucu_c

  9. replay-free run: discard the adapted features and align HH on Gaussian samples of all seen class statistics

  10. stored-feature run: retain the features and 20-feature subsets, and align HH on stored features of all seen classes

  11. stored-feature run: align sampled and buffer heads on their respective data; leave the unaligned head unchanged

  12. form UU with all seen augmented class means ucu_c as columns; solve W=(G+λI)−1UW=(G+\lambda I)^{-1}U; evaluate all heads on the same routed test features

  13. carry the aligned primary head into stage t+1t+1 (its loss trains the next adapter)

Algorithm S2 Inference after stage tt.

Require: input xx; stage tt; kk; shared-covariance task densities; frozen adapters; ridge head WW

  1. LLj←log⁡p^j,t(ϕ(x))\mathrm{LL}_j \leftarrow\log\hat{p}_{j,t}(\phi(x)) for j≤tj\le t (main Eq. (2)) (one frozen forward pass)

  2. S←S\leftarrow indices of the min⁡(k,t)\min(k,t) largest LLj\mathrm{LL}_j

  3. w←1/kw\leftarrow1/k on CIFAR-100, or 1/min⁡(k,t)1/\min(k,t) on ImageNet-R and CUB-200

  4. h←[CLS]h\leftarrow[\mathrm{CLS}] of ff with Wl=W0l+(w/r)∑j∈SBjlAjlW^l=W_0^l+(w/r)\sum_{j\in S}B_j^lA_j^l (second forward pass)

  5. return arg⁡max⁡c(W⊤[h;1])c\arg\max_c(W^\top[h;1])_c (ridge head over all seen classes)

For a fixed input, bt(z)b_t(z) is common to every task and can be omitted without changing top-kk routing. In the evaluated streams, all tasks also contain the same number of classes, so −log⁡∣Yj∣-\log|\mathcal{Y}_j| can likewise be omitted. For unequal class counts, this normalization must be retained to rank the defined task densities correctly. These omissions preserve within-input task rankings; dropping the input-dependent term bt(z)b_t(z) does not generally preserve absolute likelihood values or novelty rankings across different inputs.

Hyperparameters

Table S1 lists the settings of the attention-layer experiments (main § 5). The ridge coefficient 0.01 in λ=0.01tr⁡(G)/(d+1)\lambda=0.01\operatorname{tr}(G)/(d+1) was selected on held-out training features of one ImageNet-R class order. Coefficients from 10−410^{-4} to 1 produced a held-out accuracy range of 0.22 pp on that order.

BackboneViT-B/16, AugReg, ImageNet-21k, frozen rank 8, attn. qkvqkv, all 12 blocks; update scaled by 1/r1/r
InitializationA∼N(0,1/d)A\sim\mathcal{N}(0,1/d), B=0B=0
OptimizerAdamW, lr 3×10−43\times10^{-4}, weight decay 0.01, cosine decay
Batch / epochs per task64 / 15 (T=20T=20), 20 (T=10T=10)
Losscross-entropy over all seen classes +L⊥+\mathcal{L}_{\perp} on BB, λ⊥=0.1\lambda_{\perp}=0.1
Routing densityclass means of frozen features, one pooled within-class scatter StS_t, shrinkage γ=0.1\gamma=0.1 toward tr⁡(St/nt)I/d\operatorname{tr}(S_t/n_t)I/d, as defined in main Eq. (2)
Ridge headW=(G+λI)−1UW=(G+\lambda I)^{-1}U on [h;1][h;1], λ=0.01tr⁡(G)/(d+1)\lambda=0.01\operatorname{tr}(G)/(d+1)
Ablation GMMdiagonal, K=100K=100; kk-means++ init, ≤30\le30 EM iterations, tol. 10−410^{-4}, variance floor 10−610^{-6}; fit uses at most 5,000 current-task features
Routingtop-kk, k=3k=3, weight 1/31/3 (CIFAR-100) or 1/min⁡(k,t)1/\min(k,t) (ImageNet-R, CUB-200)
Gate threshold τ\tau(ablation) 25th percentile of the top-1/top-2 margin on 100 samples per stored GMM
Head re-balancingSGD, lr 0.01, momentum 0.9, weight decay 10−410^{-4}, 30 epochs, batch 1024, cosine; NcN_c samples per class
SeedsCIFAR-100: 0, 7, 42, 1993, 2024; ImageNet-R and CUB-200: 7, 42, 2024
HardwareNVIDIA L4; per seed and T=20T=20: CONTLoRA 2.8 h (5 h with all head and routing variants), summed controls 4.6–4.8 h; CUB-200 about 1 h per run. Total experiments 304.7 h

Table S1. Hyperparameters of the attention-layer component study (main Tabs. 2, 4 and 5), as in the released code. The additional main Tab. 3 runs are described separately in Sec. S3.5.

Final-stage margin-gated ablation

This ablation uses the GMM + linear head configuration after all TT tasks have been learned. Adapters and the prediction head remain fixed; only adapter selection and composition change. It is evaluated once at stage TT on all seen tasks, not throughout training. The default shared-covariance/ridge system does not use it.

We draw 100 synthetic embeddings from each stored task mixture and score each embedding under all TT mixtures. For every embedding, we subtract its second-highest log-likelihood from its highest. The threshold is the 25th percentile of these margins pooled across the synthetic embeddings. A test margin above the threshold selects the top-1 adapter at full weight; otherwise the top-3 adapters each receive weight 1/31/3. No test examples enter threshold calibration. At a fixed stage, competitor centering multiplies both the margins and the matched quantile threshold by T/(T−1)T/(T-1), so it leaves these decisions unchanged.

Offline novelty protocol

Main Tab. 6 evaluates frozen-feature scores on five class orders. The first 16 of 20 CIFAR-100 tasks (80 classes), or 8 of 10 ImageNet-R tasks (160 classes), supply known classes; test images from the remaining classes are novel. Known images are positives. FPR95 is the fraction of novel inputs accepted at the fifth percentile of known-test scores. This is a test ROC operating point, not a threshold calibrated for deployment.

Max-LL and competitor centering use per-task GMMs. Mahalanobis uses class means and a tied full covariance; relative Mahalanobis also fits a global mean and covariance. These frozen-feature matrices differ from the diagonal adapted-feature variances used for head alignment and incur additional fitting and storage. Energy uses a linear probe trained on known classes. The kk-NN reference uses k=50k=50 and retains every known training feature. No empirical conformal transformation is applied; such transforms can introduce ties and need not preserve the raw-score AUROC/FPR95.

Baselines and matched protocol

The results labeled Sum, fixed-A and Sum, trainable-B in the paper are local summed-adapter controls. In our setup, these controls are produced by running the project runner (e.g., a CLI entry point) with the corresponding method flags (sum_fixed_a and sum_trainable_b). The fixed-A control draws an independent Gaussian matrix per task and block, uses its QR factor as AtA_t, trains BtB_t, then freezes both. It captures the fixed-basis idea of BiLoRA [42] with one fixed input basis, without BiLoRA’s two-basis bilinear construction. The trainable-B control freezes past AA factors but updates past BB factors. It captures SD-LoRA’s idea of keeping earlier directions fixed [35], without SD-LoRA’s fixed-direction/learned-magnitude parameterization. The published methods themselves are evaluated using their official implementations, rather than via these local controls.

SLAO is a local vision adaptation of the merging rule in [20], whose original experiments use language models. It QR-orthonormalizes the previous AA row space to initialize the new AA, and blends BB with weight 1/t1/\sqrt{t} while replacing AA with its new value. Reduced QR spans the previous row space; it does not construct its orthogonal complement. Because this initialization departs from the published rule and the corresponding archived training script is not part of the public release, the main paper does not use SLAO as a comparator. For completeness, the five archived CIFAR-100 runs reach 83.04±1.14%83.04\pm1.14\% final accuracy and 14.12±0.99%14.12\pm0.99\% forgetting; ImageNet-R was not run.

The CIFAR summed-control rows combine archived A5 runs for seeds 0, 7, 42, and 2024 with new seed-1993 runs generated with the current runner; the old seed-1993 runs are excluded because their head-evaluation protocol differed. The new seed-1993 accuracies are 83.64% (fixed-A) and 34.85% (trainable-B). The latter is below the other trainable-B seeds, not within their range. The CONTLoRA and ImageNet-R records underlying main Tab. 2 use the current runner. As a check that the current runner reproduces the archived protocol, CONTLoRA was trained by both on seeds 0, 7, 42, and 2024: final accuracies differ by at most 0.6 pp per seed (86.49% archived versus 86.48% current, mean of four). The two summed controls share this port, but their own archived seed-1993 runs ended near 9%, so no same-seed check exists for them. The shared class-order seeds support paired descriptive comparisons; they do not remove differences in implementation, random-number consumption, or training policy.

The comparisons in main Tab. 3 (L2P, InfLoRA, SD-LoRA, C-LoRA, CL-LoRA) are separate from these local controls; each method is trained with its official code. BiLoRA and matched HESTIA comparisons are not included in Tab. 3.

Training details affecting interpretation. Both training and evaluation use the deterministic timm evaluation transform; the backbone remains in evaluation mode while adapter gradients are enabled. Head losses use a global softmax over all seen classes, including when the minibatch contains only current-task labels. Alignment uses each class’s original feature count NcN_c. Thus it restores access to past classes but does not equalize class frequencies on ImageNet-R. The buffer head instead uses at most 20 features per class. Mean/variance sampling is performed once per alignment stage, then reused across its 30 SGD epochs. The original projection of the zero-initialized BtB_t was a no-op and is absent from the current runner; the evaluated regularization is the BtTBsB_t^{\mathsf T}B_s penalty.

Proofs

Ridge head from empirical class moments

At a fixed stage, let CC classes have augmented training features h~c,a\tilde{h}_{c,a}, a=1,…,Nca=1,\ldots,N_c, computed using their own frozen adapters at full weight. Define Gc=Nc−1∑ah~c,ah~c,aTG_c=N_c^{-1}\sum_a\tilde{h}_{c,a}\tilde{h}_{c,a}^{\mathsf T}, uc=Nc−1∑ah~c,au_c=N_c^{-1}\sum_a\tilde{h}_{c,a}, G=∑cGcG=\sum_cG_c and U=[u1,…,uC]U=[u_1,\ldots,u_C]. For one-hot targets ece_c, the implemented objective is

J(W)=∑c=1C1Nc∑a=1Nc∥WTh~c,a−ec∥2+λ∥W∥F2.(10)J(W)=\sum_{c=1}^{C}\frac{1}{N_c}\sum_{a=1}^{N_c}\lVert W^{\mathsf T}\tilde{h}_{c,a}-e_c\rVert^2+\lambda\lVert W\rVert_F^2. \tag*{(10)}

Expanding gives J(W)=tr⁡(WTGW)−2tr⁡(WTU)+C+λ∥W∥F2J(W)=\operatorname{tr}(W^{\mathsf T}GW)-2\operatorname{tr}(W^{\mathsf T}U)+C+\lambda\lVert W\rVert_F^2. Since G⪰0G\succeq0 and λ>0\lambda>0, setting the gradient to zero gives the unique solution W=(G+λI)−1UW=(G+\lambda I)^{-1}U. This is an exact sufficient-statistic calculation for the fixed empirical features, up to numerical precision; it does not require Gaussian features. Each class contributes equally, irrespective of NcN_c. If the data term is instead averaged over classes, its regularizer must be λ/C\lambda/C to give the same solution. The identity matrix also regularizes the augmented bias coordinate. The feature map used by the test-time adapter composition differs from the own-adapter map used to collect these moments, so replay equivalence for this objective is not a classification guarantee.

Routing error (main Prop. 1) and its top-kk version

Fix a stage tt and abbreviate p^j,t\hat{p}_{j,t} as p^j\hat{p}_j. These are Lebesgue densities on the frozen embedding space. Let P^i\hat{P}_i have density p^i\hat{p}_i, PiP_i be the true distribution of ϕ(x)\phi(x) for task ii, and OVL⁡(p^i,p^j)=∫Rdmin⁡{p^i(z),p^j(z)} dz\operatorname{OVL}(\hat{p}_i,\hat{p}_j)=\int_{\mathbb{R}^d}\min\{\hat{p}_i(z),\hat{p}_j(z)\}\,\mathrm{d}z. All probabilities are conditional on the fitted descriptors, with the test input independent of the fitting data. Write Ej={z:p^j(z)≥p^i(z)}E_j=\{z:\hat{p}_j(z)\ge\hat{p}_i(z)\}; each EjE_j is measurable because mixture densities are continuous. For a fixed event EE let δi(E)=∣Pi(E)−P^i(E)∣\delta_i(E)=\lvert P_i(E)-\hat{P}_i(E)\rvert; with TV⁡(P,Q)=sup⁡A∣P(A)−Q(A)∣\operatorname{TV}(P,Q)=\sup_A\lvert P(A)-Q(A)\rvert, δi(E)≤TV⁡(Pi,P^i)\delta_i(E)\le\operatorname{TV}(P_i,\hat{P}_i).

Lemma S1. P^i(Ej)≤OVL⁡(p^i,p^j)\hat{P}_i(E_j)\le\operatorname{OVL}(\hat{p}_i,\hat{p}_j).

Proof. On EjE_j, p^i=min⁡(p^i,p^j)\hat{p}_i=\min(\hat{p}_i,\hat{p}_j), so P^i(Ej)=∫Ejmin⁡(p^i,p^j)≤∫min⁡(p^i,p^j)\hat{P}_i(E_j)=\int_{E_j}\min(\hat{p}_i,\hat{p}_j)\le\int\min(\hat{p}_i,\hat{p}_j).

Proposition S1 (main Prop. 1). Top-1 routing errs on task ii with PiP_i-probability at most ∑j≠iOVL⁡(p^i,p^j)+δi(E)\sum_{j\ne i}\operatorname{OVL}(\hat{p}_i,\hat{p}_j)+\delta_i(E), where E=⋃j≠iEjE=\bigcup_{j\ne i}E_j.

Proof. Under any tie-breaking rule the error event is contained in EE. Then Pi(E)≤P^i(E)+δi(E)P_i(E)\le\hat{P}_i(E)+\delta_i(E), and a union bound with Lemma S1 bounds P^i(E)\hat{P}_i(E).

Proposition S2 (Top-kk routing). For k<tk<t, the probability that task ii is not among the kk highest-scoring tasks is at most 1k∑j≠iOVL⁡(p^i,p^j)+δi({N≥k})\frac{1}{k}\sum_{j\ne i}\operatorname{OVL}(\hat{p}_i,\hat{p}_j)+\delta_i(\{N\ge k\}), with N(z)=∑j≠i1[z∈Ej]N(z)=\sum_{j\ne i}\mathbf{1}[z\in E_j]. For k≥tk\ge t the event is empty.

Proof. Under any tie-breaking rule, task ii is missed only if N(z)≥kN(z)\ge k. Under P^i\hat{P}_i, Markov’s inequality and Lemma S1 give P^i(N≥k)≤1k∑j≠iP^i(Ej)≤1k∑j≠iOVL⁡(p^i,p^j)\hat{P}_i(N\ge k)\le\frac{1}{k}\sum_{j\ne i}\hat{P}_i(E_j)\le\frac{1}{k}\sum_{j\ne i}\operatorname{OVL}(\hat{p}_i,\hat{p}_j); transfer to PiP_i as before.

Gated selection. Let QQ be the event that the gate selects top-1, with its score function and threshold fixed before observing the test input. A missed true task is contained in H=(Q∩{N≥1})∪(Qc∩{N≥k})H=(Q\cap\{N\ge1\})\cup(Q^c\cap\{N\ge k\}). Pointwise, 1H≤(1Q+1Qc/k)N\mathbf{1}_H\le(\mathbf{1}_Q+\mathbf{1}_{Q^c}/k)N, so

Pi(miss)≤∑j≠i∫Ej(1Q+1Qck)min⁡(p^i,p^j)+δi(H).(11)P_i(\mathrm{miss})\le\sum_{j\ne i}\int_{E_j}\left(\mathbf{1}_Q+\frac{\mathbf{1}_{Q^c}}{k}\right)\min(\hat{p}_i,\hat{p}_j)+\delta_i(H). \tag*{(11)}

This follows by integration under P^i\hat{P}_i and transfer on the single event HH. The unconditional top-1 and top-kk bounds cannot simply be conditioned on the gate: that changes the input distribution.

Scope. The overlaps involve only stored descriptors and can be estimated by Monte Carlo from them. The fit term is the reason we use δi\delta_i rather than total variation. Under our deterministic evaluation transform, the discrete distribution of 8-bit images induces an atomic PiP_i. Its countable support has PiP_i-mass 11 and P^i\hat{P}_i-mass 00 because P^i\hat{P}_i has a Lebesgue density. Thus TV⁡(Pi,P^i)=1\operatorname{TV}(P_i,\hat{P}_i)=1; this support mismatch alone does not imply poor routing. Continuous stochastic preprocessing would require reassessing the atomic-support premise. At a fixed stage, estimate Pi(E)P_i(E) by the empirical frequency of EE on held-out task-ii inputs, and P^i(E)\hat{P}_i(E) by its frequency on independent samples from the fitted model. Their absolute difference estimates δi(E)\delta_i(E). A risk certificate additionally requires sampling-error control for both estimates (and estimated overlaps); we do not report such a certificate. For independently fitted, frozen per-task mixtures, adding a task leaves old pairwise overlaps fixed and adds a new competitor. The main shared-covariance router instead updates Σ^t\hat{\Sigma}_t: old densities, their overlaps and the error event all change. The bounds apply anew at each stage, without an additive-across-stages guarantee. The bounds concern routing on frozen features only; they say nothing about the adapted features used by the classifier. Their fixed-fit interpretation assumes the true task distribution does not change. A frozen representation alone does not prevent covariate shift.

Variance of the competitor ratio (main Lemma 1)

For t>1t>1, assume Var⁡(LLj)=σ2>0\operatorname{Var}(\mathrm{LL}_j)=\sigma^2>0 for all jj and Cov⁡(LLj,LLq)=ρσ2\operatorname{Cov}(\mathrm{LL}_j,\mathrm{LL}_q)=\rho\sigma^2 for j≠qj\ne q, and let LL‾−j=1t−1∑q≠jLLq\overline{\mathrm{LL}}_{-j}=\frac{1}{t-1}\sum_{q\ne j}\mathrm{LL}_q. This common-correlation covariance requires −1/(t−1)≤ρ≤1-1/(t-1)\le\rho\le1. Then

Var⁡(LL‾−j)=σ2(t−1)2[(t−1)+(t−1)(t−2)ρ]=σ2[1+(t−2)ρ]t−1,\begin{aligned} \operatorname{Var}(\overline{\mathrm{LL}}_{-j})=\frac{\sigma^2}{(t-1)^2}\left[(t-1)+(t-1)(t-2)\rho\right] \\ &=\frac{\sigma^2[1+(t-2)\rho]}{t-1}, \end{aligned}
Cov⁡(LLj,LL‾−j)=ρσ2,\operatorname{Cov}(\mathrm{LL}_j,\overline{\mathrm{LL}}_{-j})=\rho\sigma^2,

and therefore

Var⁡(Λj)=σ2−2ρσ2+σ2[1+(t−2)ρ]t−1=σ22t(1−ρ)t−1.(12)\operatorname{Var}(\Lambda_j)=\sigma^2-2\rho\sigma^2+\frac{\sigma^2[1+(t-2)\rho]}{t-1}=\sigma^2\frac{2t(1-\rho)}{t-1}. \tag*{(12)}

The random variable is the input drawn from a specified reference population, with fitted models held fixed. Equal variances and equicorrelation are assumptions, not consequences of high dimension; Gaussian scores are not required for the identity. The lemma concerns variance only; detection performance must be evaluated independently. The next subsection explains why the historical SNR statistic is insufficient for that purpose.

What the historical SNR statistic measures

The measurement code computes, for each labeled input, a=LLya = \mathrm{LL}_y and b=(t−1)−1∑j≠yLLjb = (t-1)^{-1}\sum_{j\ne y}\mathrm{LL}_j, with yy the true task, and D=a−bD=a-b. It reports

SLL=E[a]−E[b]sd⁡(b).(13)S_{\mathrm{LL}} = \frac{\mathbb{E}[a]-\mathbb{E}[b]}{\operatorname{sd}(b)}. \tag*{(13)}

After centering, the true-task score is DD and the mean of the wrong-task scores is −D/(t−1)-D/(t-1) because the centered scores sum to zero. Ignoring the code’s numerical 10−810^{-8} stabilizer, and assuming nonzero standard deviations and E[D]≠0\mathbb{E}[D]\ne0 (the ratio divides by SLLS_{\mathrm{LL}}),

SΛ=tE[D]sd⁡(D),SΛSLL=tsd⁡(b)sd⁡(D).(14)S_{\Lambda}=t\frac{\mathbb{E}[D]}{\operatorname{sd}(D)}, \qquad\frac{S_{\Lambda}}{S_{\mathrm{LL}}}=t\frac{\operatorname{sd}(b)}{\operatorname{sd}(D)}. \tag*{(14)}

This is a task-labeled score statistic, not known-versus-novel separation. Its ratio includes a task-count factor introduced by changing the denominator; it cannot be interpreted as a like-for-like variance reduction or a detection gain. The previous runner-up/competitor-mean decomposition does not match the code and is not used here. We report direct held-out-class detection metrics in the main paper instead.

Conditions for a conformal novelty construction

No conformal detector is executed by the reported novelty script; the following describes a possible construction and its assumptions. Fix the fitted models and the current task set before calibration. For task jj, obtain calibration points Zj1,…,ZjmZ_{j1},\ldots,Z_{jm} independently of fitting, and define

πj(x)=1+∑i=1m1{Λj(Zji)≤Λj(x)}m+1.(15)\pi_j(x)=\frac{1+\sum_{i=1}^{m}\mathbf{1}\{\Lambda_j(Z_{ji})\le\Lambda_j(x)\}}{m+1}. \tag*{(15)}

If the calibration points and a fresh task-jj test point are exchangeable under the same score function, then Pr⁡[πj(X)≤α]≤α\Pr[\pi_j(X)\le\alpha]\le\alpha [28]. With ties the rank need not be uniform, but this conservative inequality holds. When task identity is unknown, πknown(x)=max⁡jπj(x)\pi_{\mathrm{known}}(x)=\max_j\pi_j(x) provides a conservative known-class rejection rule: for the true task ii, {πknown≤α}⊆{πi≤α}\{\pi_{\mathrm{known}}\le\alpha\}\subseteq\{\pi_i\le\alpha\}. Using only the likelihood-selected task’s pp-value does not have this implication; a Bonferroni factor alone does not repair testing the wrong task model.

Adding competitors changes Λ\Lambda, requiring calibration under the new score function. Resampling from a fitted GMM gives a guarantee only for a fresh test point from that same fitted model, not for real task data unless the fit is exact. If instead calibration points are drawn from P^j\hat{P}_j and the test point from the real task distribution PjP_j, the level becomes α+TV⁡(Pj,P^j)\alpha+\operatorname{TV}(P_j,\hat{P}_j), a valid but loose upper bound; for the atomic PjP_j of 8-bit images this distance is 1, so the transfer is vacuous. No such error term or online false-rejection rate is measured here. Finite empirical rank transforms also introduce ties, so AUROC and FPR95 need not equal those of continuous raw scores.

Why factor orthogonality is not a forgetting guarantee

The implemented penalty controls ∥BtTBs∥F2\lVert B_t^\mathsf{T}B_s\rVert_F^2. Although

∣⟨BtAt,BsAs⟩F∣≤∥BtTBs∥F∥AtAsT∥F,(16)\lvert\langle B_t A_t,B_s A_s\rangle_F\rvert\le\lVert B_t^\mathsf{T}B_s\rVert_F\lVert A_tA_s^\mathsf{T}\rVert_F, \tag*{(16)}

a small parameter inner product does not bound the output perturbation on an old input. For example, take rank one, As=e1TA_s=e_1^\mathsf{T}, At=e2TA_t=e_2^\mathsf{T}, Bs=e1B_s=e_1, and Bt=e2B_t=e_2. Both factor overlaps are zero, so the penalty and the parameter inner product vanish, but on the old-task input e1+e2e_1+e_2 the new adapter adds w e2/rw\,e_2/r to the output under main Eq. (3). A downstream classifier sensitive to that direction can change its prediction. More generally, a nonzero update BtAtB_tA_t perturbs every input outside its null space, even when its factors are orthogonal to those of past adapters. Thus the former proof step that bounded output change by alignment with a past update was unsupported. Moreover, gradient descent on factors with this penalty is not gradient descent on normalized full-update alignment coefficients. We do not claim an O(t−1/2)O(t^{-1/2}) forgetting law, nor use a fitted decay curve as validation of one. The no-penalty retraining experiment is the evidence for the regularizer’s effect in this implementation.

Additional results

Per-task accuracy at T=20T=20

Table S2 breaks main Table 2 down by task. The replay-free Con tLoRA leads on the eight oldest tasks; the fixed-A control, which re-balances on stored features, leads on tasks 8–18. These are descriptive differences across the evaluated configurations. The trainable-B control reaches 98.88% on the last task and stays below 67% on every task before task 18.

Ten tasks, nearest-class-mean evaluation

Before the T=20T=20 study we ran CIFAR-100 with 10 tasks of 10 classes (seed 1993, 20 epochs per task), classifying by nearest class mean computed from 20 stored adapted features per class, except for the explicitly labeled linear-head row. These historical rows differ in head and routing settings and are not used as a controlled comparison on one verified checkpoint. The base configuration (K=20K=20, top-1) uses NCM. The K=100K=100, top-3 result uses a calibrated linear head, as confirmed by the experiment log; their difference is not a routing-only ablation. As predicted by main § 3.5, the competitor ratio does not change the result when routing is a per-input arg-max: the GMM and GMM+Λ\Lambda rows are identical. Only the current adapter is active during Con tLoRA training; the summed controls run all adapters in the forward pass. In these historical runs, summed-control task times grew from 19.5 to 34.3 min by task 10; total times were 3.3 h for Con tLoRA versus 4.4–4.5 h for the controls. This does not imply constant total cost per task: classifier

jjSum, trainable-BBSum, fixed-AACONTLoRA
032.84±21.2755.48±12.9685.68±4.93
129.52±26.3259.64±13.0787.80±3.36
231.96±12.7254.56±14.8384.24±6.25
333.96±18.8668.84±7.4487.36±4.08
431.04±15.2977.44±8.4888.92±2.26
538.40±15.4681.76±6.9288.76±3.40
636.08±14.8482.32±2.9286.60±3.28
745.12±23.1290.24±3.8790.72±2.39
849.08±13.8491.88±2.1389.88±4.73
953.72±11.0891.32±2.1789.92±1.43
1059.00±19.1792.72±3.5991.08±2.30
1141.76±13.8190.64±4.6688.32±3.68
1241.40±14.3291.20±4.4487.16±3.36
1356.12±21.1693.08±3.8689.68±2.52
1460.80±17.1193.84±2.2390.36±2.09
1564.60±13.4194.48±1.8389.60±2.73
1658.32±11.6094.76±0.6489.44±2.15
1766.44±12.1394.96±1.6688.32±2.08
1886.68±13.7396.00±1.3387.76±2.54
1998.88±0.5895.80±1.7789.48±3.43
Mean50.7984.5588.55
Fgt50.8012.885.16

caption: tbl:S2. Accuracy on task jj after the last stage, CIFAR-100, T=20T=20, mean ± std over the same five seeds for all methods. CONTLoRA: replay-free, shared-covariance router, ridge head.

:::

MethodAccStdTrain (h)
Sum, trainable-BB62.6417.44.5
Sum, fixed-AA85.508.24.4
CONTLoRA, K=20K=20, top-183.553.13.3
CONTLoRA, K=20K=20, top-1, Λ\Lambda83.553.13.3
CONTLoRA, K=100K=100, top-3*87.502.753.3

Table S3. Table S3. Historical CIFAR-100, 10 tasks, seed 1993. NCM except *, which uses a calibrated linear head. Std is spread across tasks, not uncertainty across seeds.

training and alignment also depend on the number of seen classes.

Routing diagnostics and missing controls

The reported routing comparisons use the same layer-level composition and trained adapters. A tuned learned-router comparison under the same training and evaluation protocol remains missing. Historical explorations used cached feature mixtures and test-derived tuning data; they are excluded from comparative evidence here. A valid comparison must train on permitted stage data, tune on a separate validation split, and evaluate layer-level composition on untouched test inputs.

Routing coverage at the end of the stream. Table S4 compares the two task descriptors on the replay-free runs. Both read frozen features, so coverage does not depend on the adapters. Figure S1 and Figure S2 show the per-task GMM of the GMM + linear head configuration.

DescriptorCIFAR-100ImageNet-RCUB-200
Per-task GMM, K=100K=10083.4 / 93.546.7 / 65.777.1 / 92.4
Class means, shared cov.88.0 / 96.269.7 / 83.589.7 / 98.1
Memory (MB)12.3 / 1.496.15 / 1.806.15 / 1.80

Table S4. Table S4. Top-1 / top-3 task coverage (%) at the final stage, mean over class orders. Router storage uses packed fp32 arrays at the largest task count; each pair lists per-task GMM / shared covariance.

Figure S1. Top-1 routing confusion at the end of the stream (rows: true task, columns: routed task, row-normalized, mean over seeds; K=100K=100). CIFAR-100 (T=20T=20, 5 seeds) is nearly diagonal; on ImageNet-R (T=10T=10, 3 seeds) errors spread over all tasks.

Figure S2. Routing coverage: fraction of test inputs whose true task is among the kk highest-likelihood tasks, measured at k=1,3,5k=1,3,5 in the final runs. CIFAR-100: five seeds; ImageNet-R: three; 95% Student-tt intervals.

Per-task mixture diagnostics. The fitted K=100K=100 mixtures show signs of overfitting: several components concentrate on few points, and training log-likelihood exceeds held-out log-likelihood by roughly 70 nats on CIFAR-100 and ImageNet-R. A diagonal mixture can model correlations through its component means, but its within-component covariances remain diagonal. Removing the log-determinant term lowers ImageNet-R top-1 coverage to 26.2%; this correction does not resolve the routing errors, but the test does not rule out other score corrections. A per-class diagonal model reaches 87.6% top-1 on CUB-200; a shared full covariance additionally represents within-class correlations using one matrix for all tasks. With shrinkage γ∈{0.01,0.1,0.3}\gamma\in\{0.01,0.1,0.3\} ImageNet-R top-1 coverage varies by less than 0.4 pp.

Two attempts that did not help (ImageNet-R). Both are post-training evaluations on fixed adapters from stored-feature-training runs, using the ridge head; neither is a separate replay-free training experiment. (i) Moment-based weights. Instead of equal weights over the top-3 adapters, we solved a simplex-constrained quadratic program that uses per-layer activation second moments to penalize deviations from individual adapter updates. On class order 7 it gave 71.85%, close to posterior weights (71.83%) and below equal weights (73.00%), (ii) Shortlist verification. The router shortlists kk tasks, each runs its own adapter at full weight, and the ridge head scores that task’s classes; the highest score wins. Final accuracy was 70.79 / 72.27% (k=3k=3 / 5) on order 7 and 71.32 / 72.56% on order 2024, against 72.98 and 73.67% for top-3 composition; this scoring rule did not improve accuracy on either order. A local HESTIA-inspired diagnostic [14], not a reproduction, evaluates fixed adapters from a stored-feature-training run using adapted-feature mixtures with one pass per task. On order 7, it gave 68.08% final accuracy with the stored-feature head, against 69.82% for top-1 routing with the shared-covariance density. Coverage is image-weighted; the downstream classification metric averages tasks equally. Figure S1 and Figure S2 are regenerated from the final-run JSONs. Coverage says whether the true task is available to the composition, not whether that composition predicts correctly.

Reference points

The CIFAR-100 and ImageNet-R joint-training references in main Table 2 use rank-32 LoRA and 3 epochs on all classes jointly: 92.90±0.14% on CIFAR-100 (five archived seeds) and 81.69% on ImageNet-R (one new seed). The completed CUB-200 joint experiment gives 87.79±0.16%, 0.80 pp above the default continual result. These are separate training references, not upper bounds. Oracle selection additionally receives task identity and activates one adapter at full weight, whereas the default composes three; the oracle gap therefore combines selection and composition effects.

Additional comparison protocol

Main Tab. 3 reports an additional set of comparison runs, with 20 tasks of 5 classes on CIFAR-100, 25 tasks of 8 classes on ImageNet-R, and 10 tasks of 20 classes on CUB-200. Its ImageNet-R stream therefore differs from the 10-task stream used for the component analysis in main Tabs. 2, 4 and 5 and for the held-out-class novelty study. The CONTLoRA means in main Tab. 3 also come from these additional runs: 88.52/88.69, 71.92/71.87 and 86.86/87.12% for replay-free/stored-feature training on the three benchmarks, respectively. They are not replacements for the matched class-order means and intervals in main Tab. 2.

The table reports additional experiments with L2P, InfLoRA, SD-LoRA, C-LoRA and CL-LoRA; citations identify the algorithms. Backbone checkpoints, class orders and training budgets are method-specific, so the table provides descriptive comparisons rather than a paired component ablation. It reports aggregate final accuracies without per-seed uncertainty; we make no significance claim from these means.

Geometric descriptor variants

Tables S5 and S6 compare four ways to summarize task geometry: probability density, spatial coverage, boundary extent, and kernel mean embeddings. Figure S3 illustrates these distinct representations on the same schematic task. All variants use frozen ViT-B/16 [CLS] features in a known-vs-novel selection study, without attention-layer adapters or the ridge prediction head.

Figure S3. Four geometric descriptors of the same schematic task. Gray points are input features. (a) A GMM stores component weights, means (crosses), and diagonal variances (contours). (b) kk-center retains centers and covering radii. (c) The hull proxy retains points extreme along sampled directions; dashed edges illustrate their boundary envelope, not an exact hull-distance score. (d) A Hilbert coreset selects support points to approximate the kernel mean; equal-radius circles indicate the shared kernel scale, not covering radii. Panels (b–d) retain selected feature vectors. Budgets are reduced for illustration; this is not a benchmark projection.

Gaussian mixtures (GMM). A diagonal mixture fitted by EM [6] stores component weights, means, and coordinate-wise variances (Figure S3). The means locate components, the variances describe their local spread, and the weights allocate probability mass; the mixture log-density scores familiarity with a task. Each task uses K=20K=20 components.

kk-center. Farthest-first selection retains 50 feature vectors as centers, together with their covering radii (Figure S3). Each new center covers a region far from those already selected; negative nearest-center distance supplies a familiarity score. This descriptor emphasizes spatial coverage rather than modeling how probability mass is distributed within the covered regions.

Convex-hull proxy. Directional-extrema selection retains feature vectors that maximize projections along sampled directions (Figure S3). These points summarize the task’s outer extent, emphasizing boundary geometry rather than interior density. The descriptor is a finite-direction proxy, not an exact convex hull or an exact point-to-hull distance computation.

Hilbert coreset. Kernel-herding-style selection [5] retains 40 support vectors to approximate the empirical mean in a Gaussian-kernel feature space (Figure S3}), using random Fourier features [21] during selection. The score is the log of the weighted Gaussian-kernel similarity to these vectors, with uniform weights. It summarizes distributional geometry at the kernel bandwidth’s scale; this similarity score is not a normalized density. Unlike the parametric GMM and the default statistical-memory system, the kk-center, hull-proxy, and Hilbert variants retain selected per-example feature vectors.

Projection and score calibration. +JL constructs the descriptor after a shared Johnson–Lindenstrauss projection to d′=256d'=256, reducing its feature dimension. +F denotes competitor-centered scoring with conformal threshold calibration in this study. Centering changes cross-input threshold decisions while preserving the per-input task ranking; it does not change which geometry the descriptor stores.

Evaluation. Known tasks are evaluated alongside held-out novel-task probes. The reported known-task counts are T=19T=19 for CIFAR-100 and ImageNet-R, T=9T=9 for ImageNet-A, CUB-200 and Cars, T=5T=5 for VTAB-50, and T=4T=4 for DomainNet. AA is balanced known-vs-novel selection accuracy, with a 50% chance reference; ATA_T is downstream accuracy after the final task. The feature-only model, held-out-task protocol, and metrics differ from main Table 2 and Table 3, so their accuracy levels are not directly comparable. For the unprojected GMM, adding +F changes ATA_T from 51.73 to 62.85% on VTAB-50 and 79.50 to 83.51% on CUB-200, and selection accuracy from 44.1 to 54.4% on DomainNet. Its ATA_T changes on CIFAR-100 and ImageNet-R are +0.74 and −0.75 pp. Effects depend on the descriptor: Hilbert+F lowers VTAB-50 ATA_T from 59.84 to 54.21%. The observed change with +F also depends on projection: for the ImageNet-A GMM, ATA_T rises from 58.44 to 60.15% without JL, but falls from 59.37 to 52.23% with JL. The tables report no per-seed uncertainty; these comparisons are descriptive and concern the thresholded protocol, not changes to per-input density arg-max routing.

Deployment and retained information

Routing requires a frozen backbone pass followed by an adapted pass; likelihood evaluation and grouping by route add overhead. At each adapted layer, the selected low-rank branches act on the same layer input and their weighted outputs are summed with the frozen layer output; top-3 does not require three complete adapted backbone passes. Component timings from other configurations do not establish end-to-end latency for this system.

VariantDomainNet (T=4T=4) ATA_TDomainNet (T=4T=4) AACUB-200 (T=9T=9) ATA_TCUB-200 (T=9T=9) AACars (T=9T=9) ATA_TCars (T=9T=9) AA
ContLoRA-GMM43.3244.179.5082.549.6051.8
ContLoRA-GMM+F53.3654.483.5186.648.5250.7
ContLoRA-GMM+JL+F50.2751.380.2083.247.8550.0
ContLoRA-Hil+F56.4757.652.2754.248.8351.0
ContLoRA-Hil+JL+F56.1157.250.9252.846.4448.5
ContLoRA-CH+JL45.6346.646.7148.946.4948.6

Table S6. Geometric descriptor variants for known-vs-novel selection, further benchmarks. Notation as in Table S5.

VariantC100 (T=19T=19) ATA_TC100 (T=19T=19) AAIN-R (T=19T=19) ATA_TIN-R (T=19T=19) AAIN-A (T=9T=9) ATA_TIN-A (T=9T=9) AAVTAB (T=5T=5) ATA_TVTAB (T=5T=5) AAMem
ContLoRA-GMM48.1756.651.0858.958.4464.251.7358.1120 KB
ContLoRA-GMM+F48.9157.350.3357.860.1567.362.8566.7120 KB
ContLoRA-GMM+JL46.7154.849.9256.959.3765.460.0363.140 KB
ContLoRA-GMM+JL+F47.2853.549.6855.252.2356.767.1469.240 KB
ContLoRA-kC+JL45.8551.948.5355.053.4858.649.9653.950 KB
ContLoRA-CH+JL45.1450.346.0253.855.7161.748.3652.561 KB
ContLoRA-Hil46.3354.245.8753.457.6263.959.8463.6120 KB
ContLoRA-Hil+F45.4752.645.0551.953.1958.154.2157.8120 KB

Table S5. Geometric descriptor variants for known-vs-novel selection (see § 3.6), primary benchmark. AA: balanced selection accuracy; ATA_T: downstream accuracy after the final task (%). Bold: best variant. Mem: per-stage descriptor memory, CIFAR-100 configuration.

Memory accounting in the main paper describes packed fp32 representations, with only one triangle of each symmetric matrix, and excludes the common frozen backbone, optimizer state, evaluation caches, and temporary sampled features. It is not measured runtime memory: the current router and ridge evaluator accumulate full fp64 matrices. On CIFAR-100, their scatter-plus-means and Gram-plus-means arrays require approximately 5.33 and 5.35 MB, respectively, before solver workspace or derived prediction weights, compared with 1.49 MB each in the packed fp32 accounting. These are separate accumulators for frozen and adapted features; the ridge moments include a bias coordinate. Together, their base arrays occupy 10.68 MB in the evaluator, versus 2.98 MB when packed as fp32; neither total measures peak runtime memory. The carried training head requires (d+1)C(d+1)C fp32 parameters (0.31 MB for d=768d=768, C=100C=100). Counts and class/task identifiers require O(C+T)O(C+T) integers; the pooled scatter also requires a total sample count. The ridge prediction weights can be reconstructed from GG and UU; caching them uses another (d+1)C(d+1)C fp32 values. The quoted router storage ratio compares representations under the same packed fp32 convention, not peak memory of the experimental code. At T=20T=20 on CIFAR-100, the replay-free CONTLORA keeps adapters, class means and the pooled covariance, class statistics, ridge moments, and the training head; the stored-feature run additionally keeps all 50,000 adapted training features. The auxiliary experiment retains several heads and alignment representations simultaneously; its total experimental memory is larger than any individual head-memory row.

No differential-privacy guarantee is claimed for these experiments. Fitted distribution parameters and moments can still reveal information about their training data, and the stored-feature run retains training features. A calibrated privacy guarantee would require a specified neighboring-dataset relation, clipping, sensitivity and composition accounting; a parameter-noise sweep or a weak membership attack alone does not supply one.

Inference cost

Algorithm S2 runs two backbone passes per input: a frozen pass for routing and an adapted pass for prediction. Table S7 lists the measured per-sample CPU cost of the components and the end-to-end bound they imply. The adapted pass performs every operation of the frozen pass and additionally evaluates the selected low-rank branches, so it costs at least one frozen pass.

ComponentTime / sampleRelative
Measured
Frozen backbone pass27.96 ± 0.43 ms1.0×
Linear head3.34 ± 2.72 μs<0.001×
Per-task GMM routing (ablation router)5.83 ± 2.85 ms0.21×
Derived
Single-pass reference (merged adapters)27.96 ms1.0×
Two-pass routed inference∼ 47.92 ms∼ 1.7×
with per-task GMM routing∼ 53.75 ms∼ 1.9×

Table S7. Per-sample CPU inference cost, ViT-B/16, CIFAR-100. Upper block: measured components (mean ± std). Lower block: derived from the measured rows, not timed end to end. Relative cost is with respect to one frozen backbone pass.

Timings use the CPU (14 cores) without GPU acceleration, with PyTorch 2.11 and its default thread count, batch size 1. Each run times one CIFAR-100 test input: the per-task GMM router (T=20T=20, K=100K=100, NumPy) and the linear head over 200 repetitions, and the backbone over 10 passes of one 224×224224 \times224 input after a warm-up pass. Rows report mean ±\pm standard deviation over four runs. GPU runtimes would be lower because parallelization allows routing to run concurrently, reducing the overhead measured here.

References

  1. [1]David Arthur and Sergei Vassilvitskii. k-means++: The advantages of careful seeding. In Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1027–1035, 2007. 4DOI
  2. [2]Pietro Buzzega, Matteo Boschini, Angelo Porrello, Davide Abati, and Simone Calderara. Dark experience for general continual learning: a strong, simple baseline. In NeurIPS, 2020. 2arxiv.org/abs/2004.07211
  3. [3]Arslan Chaudhry, Puneet K. Dokania, Thalaiyasingam Ajanthan, and Philip H. S. Torr. Riemannian walk for incremental learning: Understanding forgetting and intransigence. In ECCV, 2018. 5
  4. [4]Arslan Chaudhry, Marcus Rohrbach, Mohamed Elhoseiny, Thalaiyasingam Ajanthan, Puneet K. Dokania, Philip H. S. Torr, and Marc’Aurelio Ranzato. On tiny episodic memories in continual learning. arXiv preprint arXiv:1902.10486, 2019. 2
  5. [5]Yutian Chen, Max Welling, and Alex Smola. Super-samples from kernel herding. In Proceedings of the 26th Conference on Uncertainty in Artificial Intelligence, pages 117–124, 2010. 16
  6. [6]Arthur P. Dempster, Nan M. Laird, and Donald B. Rubin. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society: Series B, 39 (1):1–22, 1977. 4, 16DOI
  7. [7]Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021. 2
  8. [8]Qiankun Gao, Chen Zhao, Yifan Sun, Teng Xi, Gang Zhang, Bernard Ghanem, and Jian Zhang. A unified continual learning framework with general parameter-efficient tuning. In ICCV, 2023. 2arxiv.org/abs/2303.10070
  9. [9]Dipam Goswami, Yuyang Liu, Bartłomiej Twardowski, and Joost van de Weijer. FeCAM: Exploiting the heterogeneity of class distributions in exemplar-free continual learning. In NeurIPS, 2023. 2arxiv.org/abs/2309.14062
  10. [10]Jiangpeng He, Zihao Duan, and Fengqing Zhu. CL-LoRA: Continual low-rank adaptation for rehearsal-free class-incremental learning. In CVPR, pages 30534–30544, 2025. 7arxiv.org/abs/2505.24816
  11. [11]Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dourmando, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, Dawn Song, Jacob Steinhardt, and Justin Gilmer. The many faces of robustness: A critical analysis of out-of-distribution generalization. In ICCV, 2021. 5
  12. [12]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In ICLR, 2022. 3arxiv.org/abs/2106.09685
  13. [13]Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. 5
  14. [14]Hang Thi-Thuy Le, Nam-Quan Nguyen, Lam-Huy Nguyen, Dien Dinh, Minh Hoang, and Trong Nghia Hoang. Task-free continual learning via order-invariant linearized adaptation and density-guided adapter routing. In Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence, pages 3274–3297. PMLR, 2026. 2, 15
  15. [15]Kimin Lee, Kibok Lee, Honglak Lee, and Jinwoo Shin. A simple unified framework for detecting out-of-distribution samples and adversarial attacks. In NeurIPS, 2018. 2, 9
  16. [16]Yan-Shuo Liang and Wu-Jun Li. IntraLoRA: Interference-free low-rank adaptation for continual learning. In CVPR, pages 23638–23647, 2024. 1, 2, 7arxiv.org/abs/2404.00228
  17. [17]Weitang Liu, Xiaoyun Wang, John Owens, and Yixuan Li. Energy-based out-of-distribution detection. In NeurIPS, 2020. 9arxiv.org/abs/2010.03759
  18. [18]Mark D. McDonnell, Dong Gong, Amin Parvaneh, Ehsan Abbasnejad, and Anton van den Hengel. RanPAC: Random projections and pre-trained models for continual learning. In NeurIPS, 2023. 2, 4
  19. [19]Eric Nalisnick, Akihiro Matsukawa, Yee Whye Teh, Dilan Gorur, and Balaji Lakshminarayanan. Do deep generative models know what they don’t know? In ICLR, 2019. 2, 4arxiv.org/abs/1810.09136
  20. [20]Fuli Qiao and Mehrdad Mahdavi. Merge before forget: A single LoRA continual learning via continual merging. In International Conference on Learning Representations, 2026. 2, 5, 12arxiv.org/abs/2512.23017
  21. [21]Ali Rahimi and Benjamin Recht. Random features for large-scale kernel machines. In Advances in Neural Information Processing Systems, 2007. 16
  22. [22]Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H. Lampert. iCaRL: Incremental classifier and representation learning. In CVPR, 2017. 2arxiv.org/abs/1611.07725
  23. [23]Jie Ren, Peter J. Liu, Emily Fertig, Jasper Snoek, Ryan Poplin, Mark A. DePristo, Joshua V. Dillon, and Balaji Lakshminarayanan. Likelihood ratios for out-of-distribution detection. In NeurIPS, 2019. 2, 4arxiv.org/abs/1906.02845
  24. [24]Jie Ren, Stanislav Fort, Jeremiah Liu, Abhijit Guha Roy, Shreyas Padhy, and Balaji Lakshminarayanan. A simple fix to Mahalanobis distance for improving near-OOD detection. arXiv preprint arXiv:2106.09022, 2021. 2, 9arxiv.org/abs/2106.09022
  25. [25]James Seale Smith, Leonid Karlinsky, Vyshnavi Gutta, Paola Cascante-Bonilla, Donghyun Kim, Assaf Arbelle, Rameswar Panda, Rogerio Feris, and Zsolt Kira. CODA-Prompt: Continual decomposed attention-based prompting for rehearsal-free continual learning. In CVPR, 2023. 1, 2arxiv.org/abs/2211.13218
  26. [26]Andreas Steiner, Alexander Kolesnikov, Xiaohua Zhai, Ross Wightman, Jakob Uszkoreit, and Lucas Beyer. How to train your ViT? data, augmentation, and regularization in vision transformers. Transactions on Machine Learning Research, 2022. 5arxiv.org/abs/2106.10270
  27. [27]Yiyou Sun, Yifei Ming, Xiaojin Zhu, and Yixuan Li. Out-of-distribution detection with deep nearest neighbors. In ICML, 2022. 9arxiv.org/abs/2204.06507
  28. [28]Vladimir Vovk, Alex Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005. 14
  29. [29]Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The Caltech-UCSD birds-200-2011 dataset. Technical Report CNS-TR-2011-001, California Institute of Technology, 2011. 5
  30. [30]Huiyi Wang, Haodong Lu, Lina Yao, and Dong Gong. Self-expansion of pre-trained models with mixture of adapters for continual learning. In CVPR, pages 10087–10098, 2025. 1, 2arxiv.org/abs/2403.18886
  31. [31]Liyuan Wang, Jinying Xie, Xinxing Zhang, Mingyi Huang, Hang Su, and Jun Zhu. Hierarchical decomposition of prompt-based continual learning: Rethinking obscured sub-optimality. In NeurIPS, 2023. 2arxiv.org/abs/2310.07234
  32. [32]Xiao Wang, Tianza Chen, Qiming Ge, Han Xia, Rong Bao, Rui Zheng, Qi Zhang, Tao Gui, and Xuanjing Huang. Orthogonal subspace learning for language model continual learning. In Findings of EMNLP, 2023. 2arxiv.org/abs/2310.14152
  33. [33]Zifeng Wang, Zizhao Zhang, Sayna Ebrahimi, Ruoxi Sun, Han Zhang, Chen-Yu Lee, Xiaoqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, and Tomas Pfister. DualPrompt: Complementary prompting for rehearsal-free continual learning. In ECCV, 2022. 2arxiv.org/abs/2204.04799
  34. [34]Zifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang, Ruoxi Sun, Xiaoqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, and Tomas Pfister. Learning to prompt for continual learning. In CVPR, 2022. 1, 2, 7arxiv.org/abs/2112.08654
  35. [35]Yichen Wu, Hongming Piao, Long-Kai Huang, Renzhe Wang, Wanhua Li, Hanspeter Pfister, Deyu Meng, Kede Ma, and Ying Wei. SD-LoRA: Scalable decoupled low-rank adaptation for class incremental learning. In ICLR, pages 10049–10065, 2025. 1, 2, 7, 12arxiv.org/abs/2501.13198
  36. [36]Jiazhuo Yu, Yunzhi Zhuge, Lu Zhang, Ping Hu, Dong Wang, Huchuan Lu, and You He. Boosting continual learning of vision-language models via mixture-of-experts adapters. In CVPR, pages 23219–23230, 2024. 2arxiv.org/abs/2403.11549
  37. [37]Gengwei Zhang, Liyuan Wang, Guoliang Kang, Ling Chen, and Yunchao Wei. SLCA: Slow learner with classifier alignment for continual learning on a pre-trained model. In ICCV, 2023. 2, 4arxiv.org/abs/2303.05118
  38. [38]Xin Zhang, Liang Bai, Xian Yang, and Jiye Liang. C-LoRA: Continual low-rank adaptation for pre-trained models. arXiv preprint arXiv:2502.17920, 2025. 2, 7arxiv.org/abs/2502.17920
  39. [39]Da-Wei Zhou, Zi-Wen Cai, Han-Jia Ye, De-Chuan Zhan, and Ziwei Liu. Revisiting class-incremental learning with pre-trained models: Generalizability and adaptivity are all you need. International Journal of Computer Vision, 2024. 2arxiv.org/abs/2303.07338
  40. [40]Da-Wei Zhou, Hai-Long Sun, Han-Jia Ye, and De-Chuan Zhan. Expandable subspace ensemble for pre-trained model-based class-incremental learning. In CVPR, 2024. 1, 2arxiv.org/abs/2403.12030
  41. [41]Fei Zhu, Xu-Yao Zhang, Chuang Wang, Fei Yin, and Cheng-Lin Liu. Prototype augmentation and self-supervision for incremental learning. In CVPR, 2021. 2DOI
  42. [42]Hao Zhu, Yifei Zhang, Junhao Dong, and Piotr Kon iusz. BiLoRA: Almost-orthogonal parameter spaces for continual learning. In CVPR, pages 25613–25622, 2025. 1, 2, 12DOI

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type