Manuscript Offprint

arXiv:2610.10379

Continual Learning without Continual Training

Nikita Narayanan, Ritham Majumdarr, Sonali Parbhoo

ABSTRACT

Continual learning requires models to adapt to new domains and new classes while retaining prior knowledge. Many existing methods rely on continued optimization, using regularization, replay, or parameter expansion to prevent new updates from overwriting previously learned knowledge. Instead, we propose replacing continual training with continual inference: a PFN-based model that is meta-trained, and then frozen, adapting to new classes only by extending an in-context evidence set. Our model, Latent Concept PFN, performs in-context Bayesian inference over a latent concept space that captures semantic structure shared across domains and classes. As each new domain or class arrives, exemplars are added to the memory; adaptation reflects updated posterior beliefs over latent concepts rather than gradient updates. No parameters are changed, reducing forgetting. The same method handles both domain and class incremental continual learning without task identity. Concept annotations are only used during meta-training, acting as a soft anchor on the latent space rather than a fixed bottleneck. Unlike fixed-vocabulary concept methods, the model also handles noisy, ambiguous, or incomplete annotations by combining concept labels with raw input evidence to discover distinctions beyond the predefined concept set. Experiments on class and domain incremental learning datasets demonstrate competitive continual learning performance while learning interpretable latent concepts.

1 Introduction

Machine learning systems deployed in the real world rarely operate under stationary conditions. Clinical AI models trained at one hospital can fail when deployed elsewhere due to differences in scanners, imaging protocols, and patient populations [Finlayson et al., 2021]. In this case the input distribution changes while the underlying prediction task remains the same, giving rise to domain-incremental continual learning. In other cases the set of labels itself grows: a diagnostic model may need to recognise a newly defined disease or subtype while still distinguishing the conditions it was originally trained on, giving rise to class-incremental continual learning. The two often occur together. During the COVID-19 pandemic, chest X-ray models had to accommodate a new diagnostic class while the scanners, protocols, and patient populations generating the images varied across hospitals and over the course of the pandemic [DeGrave et al., 2021, Roberts et al., 2021]. In both settings, models must sequentially adapt to new data while retaining performance on what was seen before, and at test time it is typically unknown which step (and therefore which domain or classes were available) a query comes from. The central challenge is therefore twofold: models must remain plastic enough to learn from new data, while remaining stable enough to avoid catastrophic forgetting, the tendency of gradient-based training to overwrite previously learned representations when parameters are updated on new data [McCloskey and Cohen, 1989, Goodfellow et al., 2015].

Existing continual learning methods approach this challenge through parameter updates. Regularisation methods e.g. Elastic Weight Consolidation [Kirkpatrick et al., 2017], Synaptic Intelligence [Zenke et al., 2017] penalise changes to parameters deemed important for previous tasks, but largely fail when no task identity is given at test time [van de Ven et al., 2022]. Replay methods [Rolnick et al., 2019, Buzzega et al., 2020, Chaudhry et al., 2019, Rebuffi et al., 2017] interleave historical data with new examples during training. Class-incremental methods additionally correct the classifier's bias towards recently seen classes [Wu et al., 2019, Zhao et al., 2020] or allocate additional parameters as new classes arrive [Rusu et al., 2022, Mallya et al., 2018, Yan et al., 2021]. Methods built on large pretrained models instead learn a small set of prompts on top of frozen features [Wang et al., 2022b,a] or train a new set of low-ranked parameters when a new task arrives [Liang and Li, 2024, Wu et al., 2025].

More recently, concept-based methods [Yu et al., 2025, Javadi et al., 2026] have been used to provide interpretable structure in continual learning, however these methods still depend on explicit concept supervision and sequential weight updates across new tasks. Although different in mechanism, these approaches all share a common premise: adaptation requires further optimisation. As a result, they inherit the fundamental tension between plasticity i.e. learning from new data, and stability i.e. retaining prior knowledge, with catastrophic forgetting arising whenever new updates interfere with previously learned representations. Prototype-based methods are a partial exception: they classify by comparing inputs to class prototypes in the feature space of a frozen pretrained model [McDonnell et al., 2023, Zhou et al., 2025], and so largely avoid updating weights on the stream. However, each class is summarised by a single set of statistics in a fixed feature space, which cannot represent a class whose relationship to the inputs differs across domains.

In this paper, we argue that this framing is unnecessarily restrictive. When domains evolve or new classes arrive, the quantity that must be preserved is not a specific parameter configuration, but the conceptual structure that governs the mapping from observations to labels. A rotated digit retains its identity, and a pathology remains characterised by the same morphology despite variation in imaging conditions. Many of these concepts are also shared across classes: the vertical and horizontal strokes that make up handwritten letters also make up digits. From this perspective, continual learning is fundamentally not a problem of preserving model weights, but rather of inferring stable latent concepts from changing observations and relating them to the labels seen so far. This perspective suggests replacing continual training with continual inference. If a model can infer the shared latent concepts underlying each new domain or class, then adaptation can occur through belief updating rather than gradient descent. This would avoid parameter overwriting entirely, while allowing knowledge acquired earlier in the stream to transfer naturally whenever latent concepts are reused.

Prior-data fitted networks (PFNs) Müller et al. [2022], Hollmann et al. [2023, 2025] offer a natural starting point. They are trained to approximate the posterior predictive over many datasets drawn from a prior. Although PFNs were designed for prediction on a single, static dataset, we extend this to the continual learning setting and map inputs to a structured latent space anchored to human-interpretable concepts before predicting targets. We meta-train a PFN-based model once, before the continual learning stream, and then keep it frozen. New domains and classes are then learned solely by conditioning on a growing context of stored examples, so no parameters are updated and none can be overwritten.

Contributions. (1) We introduce Latent Concept PFN, an in-context learner that maps inputs to a structured latent space shaped by concepts and then to targets. (2) We show that the Latent Concept PFN achieves competitive continual learning performance with minimal forgetting, without parameter updates on the continual learning stream. (3) We show that the structured latent space can be used to explain errors in the model's output. (4) We show that the latent space captures information beyond the given concepts and therefore is not restricted to a fixed concept vocabulary.

References (93)