Continual learning trains one network on a sequence of tasks. The most dependable way to keep it from forgetting earlier tasks is experience replay: a small memory buffer of old examples is mixed back into training. Because the buffer is tiny and gets revisited constantly, the network memorizes it. Buffer loss goes to nearly zero while accuracy on unseen data from old tasks keeps falling. Architecture search could in principle find networks that resist this. In practice it is hopeless, because the score that matters, final accuracy after a long task stream, needs a full continual run for every candidate. Single runs are also noisy enough that rankings partly reflect random seeds.
This note proposes a single cheap score for that problem. Train each candidate architecture twice on a short two-task replay episode, using the same buffer but different random seeds and batch orders. Then measure how often the two copies disagree on unlabeled, unbuffered data from the first task. The reasoning is that memorizing a buffer is a variance phenomenon. Two copies fit the same few exemplars in different idiosyncratic ways, so they agree on the buffer and disagree off it. If that disagreement, measured early, predicts which architectures degrade late in the stream, it turns the main nuisance of architecture search, run-to-run randomness, into the measurement itself.
Core Claim
The work builds on one result and tests it in a new setting. Inconsistency, Instability, and Generalization Gap of Deep Neural Network Training splits the generalization gap into parts and shows that one of them, inconsistency, predicts the gap well. Inconsistency is the disagreement between models trained on the same data with different seeds, and it can be computed on unlabeled data. On ImageNet it predicted the gap with error 0.13, against 0.21 for sharpness. That paper studies offline, single-task training on fixed architectures.
Replay-based continual learning is the regime where the gap is largest and least observable. Rehearsal revealed shows that rehearsal drives buffer gradients toward zero while gradients on the real old-task distribution stay high. Diagnosing this required held-out labeled data from old tasks. Our claim has two parts. First, the gap between buffer agreement and off-buffer agreement in a short replay episode ranks architectures by their eventual old-task accuracy better than three alternatives: offline accuracy, training-free proxies, and short-episode labeled accuracy. Second, this ranking signal makes local search over a standard search space cheap enough to run.
Concretely, let $f_\theta$ and $f_{\theta'}$ be two copies of an architecture trained on the same short replay episode with different seeds. Let $B$ be the buffer and $U$ a set of unlabeled first-task images that are not in the buffer. The score is
$$ s = D_U(f_\theta, f_{\theta'}) - D_B(f_\theta, f_{\theta'}), $$
where $D_X$ is the average prediction disagreement on set $X$ (the fraction of inputs where the two copies predict different classes, with average pairwise KL as a variant). A large $s$ means the copies agree only where they memorized. We predict that a large $s$ marks architectures that overfit the buffer.
Relation to Prior Work
Three groups of prior work have already joined architecture search and continual learning, and all three avoid the buffer.
- CLEAS uses a reinforcement-learning controller to decide which neurons of a frozen network to reuse.
- CAS/MAS grows a weight-sharing cell under sparsity and orthogonality constraints.
- GASIM routes graph tasks to separate supernet modules, after showing that differentiable search collapses under sequential tasks.
All three prevent forgetting through parameter isolation, so buffer memorization never comes up. DP-NAS does use a 40-example core set, but its backbone has frozen random weights. The representation cannot overfit by construction, and the method says nothing about networks whose features are updated on replayed data. Our setting is the reverse: the whole network trains on the buffer, and the question is which topologies tolerate this.
A second group motivates the target quantity.
- LiDER shows that replay carves jagged decision boundaries around exemplars, and smooths them with a Lipschitz penalty on fixed layers.
- DER++ anchors the network to stored past logits.
- The bag of tricks gains a great deal through augmentation and sampling heuristics.
These are training-time fixes on a fixed backbone. We treat them as the training recipe inside which architectures are compared, not as competitors to be replaced.
A third group constrains the evaluation design. Exploring the Loss Landscape in Neural Architecture Search shows that seed noise inflates the apparent difficulty of search. On NASBench-201, it raises the number of local minima from 21 to 55 and shrinks the global optimum's basin of attraction from 47.4% to 6.7%. With noise removed, plain hill-climbing becomes competitive. This tells us that any continual search must be denoised, and it supplies our search algorithm. It also sets a fairness rule: our score uses two runs per architecture, so every baseline must get a matched budget for averaging.
Training-free proxies, EZNAS and TF-TAS, rank architectures at initialization on static data. They are the zero-cost end of the spectrum we compare against.
Research Program
The first step settles whether the question is worth asking: does architecture explain buffer overfitting beyond seed noise at all? We will sample about 300 cells from NASBench-201, stratified by offline CIFAR-100 accuracy and parameter count. Each cell is trained under full replay on Split CIFAR-100 (ten tasks) and Split CIFAR-10 (five tasks), with three seeds, under two recipes: ER with the bag of tricks at buffer 500, and DER++ at buffer 200. For each run we record two quantities:
- Final average accuracy, the usual continual-learning metric.
- Buffer overfitting gap, defined as buffer accuracy minus held-out old-task test accuracy.
A variance decomposition over architecture, seed, and recipe then tells us how much of the gap is structural. If architecture explains only a small share relative to seed, we will report that negative result and stop. That would be a useful finding in its own right, because it says continual-learning architecture search is mostly chasing noise.
If architecture matters, the second step builds the score. A short episode trains on task 1, then on task 2 with replay, for a small fixed number of epochs. Two seeds share the same buffer, and $s$ is computed on 2,000 unbuffered task-1 images whose labels are never used. We will vary episode length to find the cheapest length at which the ranking holds.
We will also compute a second kind of disagreement for comparison: between copies trained on different random buffers, which corresponds to the instability term in Johnson et al. Rehearsal revealed found that models trained on different random buffers are linearly mode connected, which suggests this between-buffer variant carries less information. We will test that directly rather than assume it.
The third step plugs the score into the denoised local search of White et al. on NASBench-201. The search runs under a fixed GPU-hour budget, and the winning cells are retrained in full under DER++ to measure final accuracy.
Baselines
Naive reference: no search. A standard hand-designed backbone trained with DER++ and with ER plus the bag of tricks, using the training recipe of the cited papers. On Split CIFAR-10 at buffer 200, DER++ reports 64.88% class-incremental accuracy, and the bag of tricks reports about 59% for ER plus tricks. These are the numbers any searched cell must approach or exceed. Because a NASBench-201 cell is smaller than these backbones, we will also train the hand-designed backbone at a parameter count matched to the searched cell. A win counts only at matched parameters and FLOPs, under the same recipe, buffer, and three-seed averaging.
Offline accuracy. Each cell's tabulated NASBench-201 CIFAR-100 accuracy, used as the ranking. It costs nothing and is the strongest naive predictor. It wins outright if offline accuracy and continual accuracy are nearly the same ranking.
Training-free proxies. EZNAS-A, NASWOT, and Synflow. On NASBench-201 CIFAR-10, EZNAS reports offline Kendall tau of 0.65 for EZNAS-A and 0.57 for both NASWOT and Synflow. We found no reported result on Lacuna for any proxy's correlation with continual-learning accuracy.
Short-episode labeled accuracy. This is the strongest low-fidelity competitor. It uses the identical two-task episode and the identical two seeds as our score, but replaces disagreement with averaged labeled held-out task-1 accuracy. This matches compute exactly. It is the low-fidelity estimation idea of Budgeted Performance Estimation carried over to continual learning.
Ablations. The ablations isolate the key ingredient by removing pieces of the score one at a time:
- off-buffer disagreement alone, without subtracting buffer disagreement;
- single-seed short-episode accuracy;
- disagreement across different buffers instead of across seeds.
The proposal beats the baselines if the Kendall tau of $s$ against full-stream final accuracy is higher than that of short-episode labeled accuracy, with confidence intervals over seeds that do not overlap. A tie is not a win.
Why not just…?
Why not just use the hand-designed backbone with DER++ and the tricks? That may well be the right answer, and the first step tests it directly. If architecture explains little of the gap once seeds are averaged, the tricks and DER++ are all one needs. The proposal then becomes a measurement study showing that, rather than a method paper.
Why not just rank by offline accuracy? Offline accuracy measures fitting capacity. Buffer memorization is driven by capacity acting on a tiny sample, as the file notes from Zhang et al. and Zhao et al.. So we expect the most accurate offline cells to be partly the worst overfitters, but we have no direct evidence for this. The rank correlation between offline and continual accuracy in step one settles it. A correlation near the noise ceiling would make our score unnecessary.
Why not just use zero-cost proxies? They are measured at initialization, before any buffer exists, and memorization only appears through training on the buffer. Even offline, the best proxy reaches a tau of 0.65, and EZNAS notes that proxies struggle to rank the top 10% of candidates, which is the only region search cares about. We will report top-decile tau separately.
Why not just measure short-run labeled accuracy on task 1? This is the real threat. It costs the same and needs no new theory. Our bet is that, at short horizons, accuracy has not yet separated the architectures, while disagreement already exposes the memorization that grows as the stream lengthens relative to the buffer. If labeled accuracy ranks as well, we will say so and recommend it. The unlabeled score would then matter only for monitoring deployed systems, where old-task labels are unavailable.
Decisive Checks
The first check is the variance decomposition. It decides whether to continue at all.
The second is the head-to-head Kendall tau, overall and in the top decile, of $s$ against short-episode labeled accuracy and the other baselines, as a function of episode length. This decides whether the score adds anything.
The third is end to end. Local search guided by $s$ on NASBench-201 under a fixed budget must yield a cell that, retrained under DER++, beats both the parameter-matched backbone and the cell found by search guided by labeled accuracy, on Split CIFAR-100 and Split CIFAR-10. Final accuracy will also be reported on Split-miniImageNet to check transfer beyond the search data.
A further check is whether $s$ remains predictive across the two recipes. If DER++'s logit anchoring removes the variance that $s$ detects, the score is recipe-specific, and we will report it that way.
References
- Inconsistency, Instability, and Generalization Gap of Deep Neural Network Training
- Rehearsal revealed: The limits and merits of revisiting samples in continual learning
- Efficient Architecture Search for Continual Learning
- Continual and Multi-Task Architecture Search
- Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet
- Neural Architecture Search of Deep Priors: Towards Continual Learning Without Catastrophic Interference
- On the Effectiveness of Lipschitz-Driven Rehearsal in Continual Learning
- Dark Experience for General Continual Learning: a Strong, Simple Baseline
- Rethinking Experience Replay: a Bag of Tricks for Continual Learning
- Exploring the loss landscape in neural architecture search
- EZNAS: Evolving Zero-Cost Proxies For Neural Architecture Scoring
- Training-free Transformer Architecture Search
- Rethinking Performance Estimation in Neural Architecture Search
- A simple but strong baseline for online continual learning: Repeated Augmented Rehearsal
- Improving Continual Relation Extraction by Distinguishing Analogous Semantics