Manuscript Offprint
arXiv:2610.32472Online Continual Learning in Edge-Cloud Applications
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Deployed machine learning models in real-world IoT and edge/cloud systems face a critical reliability bottleneck: the requirement for online adaptation to non-stationary data streams while operating without access to the full original training dataset. Performance is severely degraded when models encounter Out-of-Distribution (OOD) inputs or suffer from catastrophic forgetting. Addressing these challenges requires adaptation mechanisms capable of learning from evolving data streams while preserving previously acquired knowledge.
This paper proposes an edge-cloud methodology for integrating Continual Learning (CL) with Out-of-Distribution (OOD) Detection and Concept Drift Detection in IoT applications. The methodology incorporates ODIN and ECDD as alternative mechanisms for identifying informative samples for annotation and triggering rehearsal-based model updates. Experimental results across automotive, healthcare, and agricultural datasets demonstrate the applicability of the proposed methodology and its potential to support model adaptation while mitigating catastrophic forgetting.
1 Introduction
The rapid growth of the Internet of Things (IoT) and edge-cloud computing has enabled numerous real-world applications—from autonomous vehicles and industrial automation to remote healthcare. A critical challenge in these systems is ensuring that machine learning (ML) models deployed at the edge can adapt to novel scenarios without access to the original training dataset. In practice, models often encounter out-of-distribution (OOD) inputs that differ from the data seen during initial training, leading to potential performance degradation in mission-critical applications.
A promising paradigm involves deploying adaptive models that can continually learn from local feedback. This requires a mechanism to efficiently identify novel scenarios (OOD detection), select the most informative samples for labeling (active learning), and then integrate this new knowledge without losing previously acquired skills (continual learning). Current solutions, such as RILOD [1] and EAR [2], have demonstrated feasibility. However, integrating alternative drift- and confidence-based sample-selection mechanisms into asynchronous edge-cloud continual-learning pipelines remains an important research challenge.
*Corresponding author. Email: cdavalas@hua.gr. ORCID:0000-0003-4445-4314
Email: michail@hua.gr. ORCID:0000-0002-5316-6704
Email: cdiou@hua.gr. ORCID:0000-0002-2461-1928
Email: varlamis@hua.gr. ORCID:0000-0002-0876-8167
Email: tserpes@mail.ntua.gr. ORCID:0000-0001-5183-1443
This paper addresses these gaps by proposing a comprehensive edge-cloud continual learning pipeline. Our design is centered on an asynchronous, rehearsal-based fine-tuning strategy, triggered specifically by robust conflict detection mechanisms. This approach prioritizes informative samples for annotation and rehearsal-based model updates, supporting continual adaptation to evolving data distributions.
The main contributions of this work are:
• A Unified Architecture for Adaptive Edge ML: We introduce a novel, general framework that synergistically integrates OOD detection, Concept Drift detection, and rehearsal-based Continual Learning within a practical edge-cloud deployment pipeline.
• Drift and Out-of-Distribution Sampling Strategy: We evaluate model-versus-user disagreement and model confidence scoring as alternative mechanisms for selecting informative samples and supporting continual model adaptation in IoT environments.
• Performance and Robustness Analysis: We evaluate the proposed methodology across automotive, healthcare, and agricultural applications, examining its ability to adapt to new stream data while retaining previously acquired knowledge.
The remainder of this paper is organized as follows. Section II reviews related work on online continual learning, edge-cloud adaptation, and OOD detection. Section III presents the proposed framework, including continual learning strategies and adaptive model updates. Section IV describes the experimental evaluation, while Sections V and VI illustrate applications in automotive and healthcare domains, respectively. Section VII concludes with discussion and insights.
2.1 Edge Computing in IoT
The Once-for-All (OFA) network [3] proposes a strategy for efficient deployment of deep neural networks across diverse hardware platforms. OFA effectively addresses model compression and deployment heterogeneity. Most traditional edge computing frameworks emphasize computational efficiency in resource-constrained environments but often lack mechanisms for dynamic model updating. Zhang et al. [4] employed a dual-network setup for traffic sign classification at the edge, utilizing knowledge distillation to balance supervisory and decision-making tasks. Similarly, Tabernik et al. [5] developed efficient traffic sign detection pipelines, while Ali et al. [6] extended these concepts to large-scale IoT deployments across urban environments. More recently, frameworks such as RILOD [1], which incrementally constructs datasets “on-the-fly” to learn new classes, and EAR [2], which adapts models via shallow adaptors to mitigate catastrophic forgetting under resource constraints, have demonstrated the feasibility of embedding continual learning into edge-cloud systems. These works highlight the need for scalable architectures that support not only real-time inference but also efficient model adaptation in dynamic environments. The work of [7] focuses on scheduling pretrained models based on directed acyclic graphs and edge availability. The models are not necessarily trained continually. Finally AdaInf [8] focuses on similar principles for scheduling training and inference of models based on model drift.
2.2 Continual Learning and Catastrophic Forgetting
A long-standing challenge in adapting continual learning to IoT environments is catastrophic forgetting, where models lose previously acquired knowledge when adapting to new information. Traditional continual learning methods, such as those proposed by Rebuffi et al. [9], Hoiem et al. [10], and Kirkpatrick et al. [11], primarily address scenarios with predefined task boundaries. However, in real-world applications, especially in IoT contexts, environmental changes are often unpredictable, necessitating task-agnostic learning approaches.
Chaudhry et al. [12] introduced a combination of experience replay with reservoir sampling, significantly outperforming prior techniques in adaptive, task-agnostic learning pipelines. Prabhu et al. [13] revisited rehearsal methods, demonstrating competitive performance with a simplified and adaptable framework.
Our work extends these methodologies by emphasizing the integration of continual learning techniques for real-time model adaptation in streaming data, focusing on detecting and responding to distributional variations without relying on predefined task boundaries.
2.3 Online Continual Learning
Online continual learning extends these ideas by emphasizing real-time adaptation. Recent methods, such as the work of Pellegrini et al. [14], emphasize the real-time aspect of learning. These approaches preserve and reuse a latent space of activations for rehearsal training, avoiding the need to store raw data. When combined with existing continual learning techniques, this strategy has shown promising results in experiments conducted on datasets like OpenLoris and CORe50 [15, 16].
In our previous work [17,18], we proposed a rehearsal-based method to mitigate catastrophic forgetting in a resource-constrained online setting. This method combines a drift detection mechanism with a rehearsal strategy similar to experience replay. A key distinction is that, instead of retraining continuously, the model is updated only when the drift detector raises a flag. Furthermore, we introduced an adaptive rehearsal strategy that dynamically determines the number of training steps based on the detected drift magnitude.
Building on this foundation, we extend these methods and integrate them into an edge–cloud architecture for online learning, enabling dynamic model updates in IoT applications.
2.4 Drift Detection Mechanisms
Drift detection methods are central to adaptive streaming systems, as they identify gradual or sudden distributional changes. Influential methods in this field include ADWIN [19], which uses windowing in a data stream based on drift per time step, and ECDD [20], which combines exponentially weighted moving average tables with statistical drift detection, offering computational efficiency.
While drift detection is potent, as shown in our previous work [17,18], it can be further improved by utilizing methods that provide model diagnostics without requiring ground truth labels. This enhancement is crucial for real-time applications where obtaining labeled data is challenging.
2.5 Out-of-Distribution Detection
Out-of-distribution (OoD) detection refers to a model's ability to identify input samples that differ from those seen during training and handle them appropriately. OoD methods are particularly valuable in safety-critical applications such as autonomous driving, where reliable model confidence is essential [21].
OoD methods can be broadly categorized into classification-based, density-based, reconstruction-based, and distance-based approaches. Among these, the ODIN method [22] perturbs inputs using gradient-based noise and evaluates the resulting softmax confidence to detect distributional shifts, without requiring modifications to a pre-trained model or ground truth labels. Considering the use of OOD methods in IoT Systems, RILOD [1] employs selective labeling of OOD samples to incrementally learn new classes, while EAR [2] introduces lightweight adaptors to address domain shifts. These systems illustrate how OOD detection can act as a trigger for continual fine-tuning, ensuring both adaptability and robustness in dynamic IoT environments.
In our work, we adapt OoD detection for online continual learning to mitigate catastrophic forgetting by training on samples exhibiting distribution shifts, rather than relying on arbitrary hyperparameters or randomized sampling.
3 Our Approach: An edge-cloud online continual learning pipeline
Smart applications have been developed to support various tasks such as autonomous driving, dashcam monitoring, disease detection, and quality assurance. Despite their utility, the models and devices employed in these systems often lack the ability to adapt to novel conditions or environmental changes.
To address this limitation, we propose the incorporation of an additional edge-cloud interaction layer that enables continual learning. By leveraging modern rehearsal-based techniques, the neural network model can be incrementally updated without requiring large volumes of training data—unlike conventional full retraining pipelines. An overview of the proposed framework is presented in Fig. 1.
Cloud

Figure 1: Overview of the proposed continual learning pipeline using edge-cloud interactions. The edge device includes a mechanism for identifying novel or ambiguous samples, which are stored for deferred processing in the cloud. Labels are provided or verified by a human annotator, and the model is updated through a continual learning mechanism before being redeployed to the edge.
This setup implements a supervised, continual learning pipeline, with processing distributed between the edge and the cloud infrastructure. Initially, both the operator and the model observe the environment and make decisions based on the sensor input. We assume that the sensor data is noise-free and that the observation space is unobstructed.
The operator’s actions are expressed as labels, representing fundamental decisions—such as decelerating or stopping a vehicle, or providing a positive or negative diagnosis in a medical setting. The model generates suggestions in the same label space.
Occasionally, discrepancies arise between the operator's decisions and the model's predictions. These can result from human error, inattention, or from model inaccuracies due to unfamiliar or low-visibility inputs. Upon repeated conflict, a drift or out-of-distribution (OoD) detector is triggered, and the corresponding samples are stored in a buffer without labels.
Subsequently, the buffered samples are transmitted to a cloud infrastructure equipped with the required computational, memory, and human resources. A domain expert reviews and annotates the samples, providing unbiased ground truth labels. The newly annotated data is then used to retrain the model using a GPU-enabled cloud infrastructure. The updated model is subsequently deployed back to the edge. Details of the edge-side and cloud-side operations are discussed in Sections 3.1 and 3.2, respectively.
3.1 User and Model Conflicts detection
Each edge device stored data based on a specific conflict detection algorithm in order to keep a sufficient amount of possibly questionable data in a buffer. The methods of data storage can be either based on drift detection between driver input and model output or by Out-of-Distribution detection. By using this mechanism, the benefits are twofold. First, model updates are initiated according to detector signals and buffer conditions rather than being performed continuously, extending the event-driven adaptation strategy of our previous work in [17]. Secondly, the model is only trained in specific intervals and in the case of drift/OoD detection, the model will be trained based on its classification statistics and not only based on the statistical properties of the data. In the following subsections, we give a detailed description of the anomaly detectors in use.
3.1.1 Drift detection
One of the most well established methods for concept drift, is the use of the Exponentially Weighted Moving Average Charts for Detecting Concept Drift (ECDD) [20]. This method combines the Exponential Weighted Moving Average (EWMA) Charts with a change detector based on the Bernoulli distribution. This method requires two streams for detecting drifts between them, and a flag is raised when that happens. the triggering factor for raising the alarm is based on three conditions i) a drift is detected, and the buffer is non-empty, ii) the dynamic buffer is filled and iii) while having a non-empty buffer, a certain number of time steps t has passed without any drift, therefore the model was for a significant amount of time idle in terms of training. The use of ECDD, can provide a stable and computationally effective alternative for continual learning with limited resources (O(1) complexity). One issue that is possibly detrimental to the use of such a method is the fact that ECDD requires both driver reactions and model output. We also provide an algorithmic description of ECDD for clarity in algorithm 1 based on [20]
3.1.2 Out of Distribution detection
Recent advancements in anomaly detection have focused on monitoring model status and determining when retraining is required, particularly when incoming samples deviate from the training data distribution. Out-of-Distribution (OoD) detection methods offer the advantage of evaluating a model's decision-making capability without requiring external input. In driving
Algorithm 1 ECDD
Input: Model logits , ground truths , decay factor , average run length , precomputed statistics tables
Output: Drift boolean flag
-
Initialize:
-
For each do:
-
-
-
Compute and from
-
-
If then:
-
-
Return
applications, for example, the model can report its own status solely based on sensor data, eliminating the need for driver feedback.
One widely used algorithm for this purpose is ODIN [22], which provides a metric to assess a model's classification confidence. ODIN is model-agnostic and consists of two primary components: an input preprocessing routine that perturbs incoming samples, and a temperature-scaled softmax function that evaluates the model's response. Together, these produce a confidence score, which is then compared against a threshold to determine whether a sample is considered low-confidence.
Out-of-Distribution Detection via ODIN: ODIN is a post-processing technique that enhances the separability between samples using temperature scaling and small input perturbations. Specifically, given a neural network producing logits , ODIN rescales them by a temperature parameter T > 1 before a small, targeted perturbation is added to the input. The perturbed and temperature-scaled confidence is used as the OOD score: higher values indicate in-distribution samples. ODIN provides an OOD score without requiring the underlying model to be retrained for detection.
Unlike ECDD, ODIN operates independently of user input, making it more adaptive to dynamic environments. In Equations 1, 2, and 3, we provide a formal definition of the ODIN algorithm.
In table 1 we provide the pros and cons of each algorithm. Note that directly comparing ECDD and ODIN is not applicable due to the difference in their original roles.
The is the complexity of calculating the model gradients and is the model inference which both methods require in order to evaluate the model logits. Note that these complexities are highly affected by the model architecture.
ODIN can be less scalable in larger architectures due to the additional overhead of input perturbations and temperature scaling. However, it is generally safe to assume that IoT applications often employ smaller or lightweight models, making this overhead more manageable in such contexts.
Table 1: ECDD and ODIN comparison.
| Algorithm | Complexity | Requires ground truth? |
|---|---|---|
| ECDD | Yes | |
| ODIN | No |
3.2 Online continual learning on the cloud
An edge device is constrained in terms of hardware. Even the most lightweight neural networks require a significant amount of computation and memory, which may not be readily available [23]. Methods such as reducing parameter precision (e.g., from 64-bit to 32-bit floating-point) can lower computational overhead; however, a model will eventually require updates to accommodate new data. An online continual learning pipeline can support model updates in response to changes in incoming data.
Our approach utilizes a rehearsal method with conflict-based sampling. Instead of selecting samples based on occurrence (e.g., reservoir sampling), we employ a selection process that detects and prioritizes conflict-inducing samples. These may be identified either by triggering a drift detection mechanism or through out-of-distribution (OoD) detection.
In parallel with sample selection, the selected detection mechanism determines when the buffered samples should initiate a model update. Drift detection uses disagreement between model predictions and user responses, whereas OOD detection identifies samples that differ from the model's training distribution. In our setup, these alternative mechanisms guide sample selection and the timing of rehearsal-based updates.
In the case of drift detection, each batch of samples is passed through the neural network. The model's outputs are compared against user responses, and disagreements are aggregated into a classification score. If the model and user repeatedly choose different actions—indicating a potential drift—an alarm is raised. These drift-inducing samples are retained, and the detector's statistics are used to trigger further actions when stream samples deviate significantly from expected user responses. For OoD detection, a buffer limit is used: if the buffer is filled with samples flagged as out-of-distribution, this serves as a valid signal without requiring user input.
A key advantage of this method is its flexibility: if hardware permits, the setup can be deployed on either edge or cloud infrastructure interchangeably. By combining selective sample acquisition with rehearsal-based learning, the proposed pipeline supports model adaptation using a curated subset of incoming stream data. Another benefit is the potential for each edge device to contribute useful data, such as parts of a camera feed or locally trained model snapshots. These can later be aggregated or annotated—either through human input or more advanced automated mechanisms—addressing the challenge of ground truth scarcity in sensor-driven applications.
4 Experimental setup
In this section, we show the outline of our propositions as shown in Fig 1. The basic concept is to propose and test methods both within an edge device and on a cloud infrastructure. We analyze the setup of experimentation for a variety of Cloud-Edge interactions for continual learning from sensor input. The task is to test classification accuracy of models with our proposed continual learning framework. The full experimental setup and the implementations have been developed with TensorFlow2 [24]
4.1 Method combinations
Testing all the possible method combinations we propose combinations based on the methodologies used for conflict resolution alongside various methodologies for rehearsing new samples
Table 2: List of all methodologies with abbreviations and a short description. Note that, in the case of edge training there is no sample selection. The methods in asterisk require user input to the edge device/model
| Training methodology | Abbr. | Description |
|---|---|---|
| Edge training* | TRN | The model is being trained only with new samples and the user/annotator labeling. This type of continual learning usually induces catastrophic forgetting. |
| Edge/cloud rehearsal | RH | The model is being trained with rehearsing new samples (with their respective labels/annotations), alongside older samples from a factory dataset subset (memory buffer). This operation can either reside in an edge device or a cloud infrastructure |
| Cloud annotation and dataset expansion | ANDE | The model is being trained with the newly annotated samples and an extended dataset which is composed of factory samples and older annotated images from another edge device |
| Sample selection method | Abbr. | Description |
| Random | RAND | The samples are being loaded in a buffer with reservoir sampling regardless of conflict or not. |
| Drift detection* | ECDD | Drift detection method as described in 3.1. The samples are being stored, based on the disagreements between the operator and the model. The samples are being used for rehearsal when the method is triggered or when the buffer is full. This method requires user input |
| Out-Of-Distribution detection | ODIN | Out-Of-Distribution method as described in 3.1 the OoD samples are stored in an edge buffer and are being used when the buffer has reached its limit. |
along with older ones. In Table 2, we refer to those combinations in detail.
4.2 Factory and Stream accuracy
In order to test if a model's ability to maintain current knowledge we need a simple accuracy metric based on held-out samples, based on the knowledge of the model from the pre-training phase, named Factory accuracy. For testing a model's ability to expand knowledge, we use a second metric is actually an accuracy metric based on a combination of samples which are also held out and are originated from the stream samples. We name this metric Stream accuracy. Both metrics do not differ from the original classification accuracy A which is
The only difference is the data we use in order to calculate those metrics.
We have run the tests three times per method for reproducibility, each method has a mean-standard deviation for each time step, which will be shown in the following figures (2, 3, 4, 5). The scores are presented as the mean-standard deviation of the total average of scores per testing run which is provided by the following tables 3, 5, 6 and 7
4.3 Models in use
Excluding the “toy scenario” experiment (section 5.1), the base model in our experiments is the MobileNet, used in the majority of the edge-cloud learning literature [25]. We aim to classify smaller image samples under the assumption that the camera is not necessarily the best in terms of analysis. The model is first trained offline with a subset of the dataset. The model used in the experiments is a “factory pre-trained” model which is trained, based on a preset amount of samples that cannot include all possible variations of real life samples. This model is used at the start of online training in all experiments.
5 Assisted driving
Although the 1968 Vienna Convention on Road Signs and Signals was the first attempt to agree on a universally accepted format of traffic signals, and a lot of progress has been performed since then, there are still differences among countries, in addition to maintaining local peculiarities, which makes the task of traffic sign detection systems even harder.
A smart detection system must be able to respond to such a dynamic environment and be able to perform under a variety of cases. This is usually achieved by augmenting the training datasets with variations of the training samples or expanding them with more samples from other datasets, thus widening the problem space coverage. Although such actions can improve the system performance, they can become very complex and cost-inducing in the long term.
5.1 Training with driver reactions to traffic signs
We begin with a simplified proof-of-concept scenario to establish a baseline. Here, a skilled driver follows familiar routes, occasionally encountering new situations. Based on a sequence of traffic signs, the driver responds by i) stopping, ii) decelerating, or iii) maintaining speed. The continual learning pipeline focuses solely on classifying traffic signs, assuming each has been pre-detected and isolated from the camera feed.
This setup uses a customized version of the Belgium Traffic Signs dataset [26], where each image is labeled with one of the three actions. Due to the small dataset size, we apply data augmentation by introducing environmental and equipment distortions such as exposure and saturation issues.
At each timestep, the model's prediction and the driver's reaction are recorded simultaneously. The model is pre-trained on approximately 1400 clean, disjoint samples to ensure reasonable initial performance. Training is deliberately limited to prevent overfitting and emphasize the importance of continual updates. The driver is assumed to be 95% accurate, and all methods are evaluated under this setting.
The stream is a combination of random blocks with different class ratios of samples per class (between 3 classes) and each sample has 15% possibility of corruption in the stream.
The model is plainly composed of two VGG blocks [27] of size [32,64] convolutional filters. Each edge device/driver is presented with a stream of 22400 samples with some samples being randomly distorted by using brightness and color intensity, which is a common occurrence when light conditions and camera quality varies and possibly shown more than once. Note that all drivers see a variation of the same stream. The metrics are being calculated with disjoint test data both for factory and stream accuracy.
Fig. 2 shows that omitting rehearsal or anomaly detection significantly reduces accuracy. The following figures present test results for all method combinations during online training in an edge/cloud rehearsal setting. Initial accuracies are and , reflecting the typical performance gap between factory and deployment. ODIN yields the highest improvement. Table 3 lists all combinations with average factory and stream accuracies. Another important improvement is how fast ODIN can increase stream accuracy whilst maintaining both stream and factory accuracy throughout the experiment.
https://unece.org/DAM/trans/conventn/signalse.pdf
TRN

ANDE+ECDD
ANDE+RAND

ANDE+ODIN

ANDE+ODIN

Figure 2: Accuracy results for the custom Belgium Traffic Signs dataset with cloud annotation and dataset expansion as described in Table 2. The dotted lines are the factory and stream accuracy in the first timestep. The results are the mean and standard deviation between three drivers
Table 3: Average accuracy on the Belgium Traffic Signs custom dataset with all method combinations. The maximum average is shown in teal.
| Strategy | ||
|---|---|---|
| Initial state | 0.9533 | 0.7125 |
| TRN | 0.8124 ±0.0216 | 0.6188 ±0.0148 |
| RH+RAND | 0.9584 ±0.0008 | 0.7044 ±0.0035 |
| RH+ODIN | 0.9447 ±0.0009 | 0.7494 ±0.0146 |
| RH+ECDD | 0.9422 ±0.0025 | 0.6952 ±0.0088 |
| ANDE+RAND | 0.9257 ±0.0048 | 0.7444 ±0.0074 |
| ANDE+ODIN | 0.9592 ±0.0031 | 0.7856 ±0.0152 |
| ANDE+ECDD | 0.8337 ±0.0024 | 0.659 ±0.0022 |
5.2 Training for general classification on the road
Another important aspect of neural networks within the realms of autonomous or assisted driving is the timely detection and classification of various subjects or objects, without depending on the driver's actions. In this scenario, we assume a system that can work and be updated independently, by using only the model's output response.
RH+RAND

RH+ODIN
ANDE+RAND

ANDE+ODIN


Figure 3: Accuracy results for a stream of 1000 timesteps of the nuScenes objects dataset with ODIN and RAND methods as described in Table 2. The dotted lines are the factory and stream accuracy in the first timestep. The results are the mean and standard deviation between three drivers
The dataset in use is the detected objects from the nuScenes dataset [28]. We use a similar setup as in the case of Section 5.1. The stream is composed of frames of various classes which, due to dataset class imbalance, cannot be distributed as in the controlled manner of the stream in 5.1. Another change is the removal of classes that have a small number of frames, by selecting the top-10 classes in terms of samples in the dataset. In Table 4 we list the number of pre-training and stream samples per class. In all occasions the samples for training, testing
Table 4: Number of samples per class for the nuScenes experiment stream
| Class name | #Stream samples | #Factory samples |
|---|---|---|
| truck | 2916 | 589 |
| motorcycle | 1354 | 273 |
| construction | 472 | 95 |
| car | 20078 | 4056 |
| bus | 647 | 130 |
| bicycle | 1357 | 274 |
| traffic cone | 6832 | 1380 |
| barrier | 6941 | 1402 |
| construction worker | 1036 | 209 |
| adult | 11998 | 2424 |
| total | 53631 | 10832 |
Table 5: Accuracy results for the nuScenes objects dataset with all available method combinations. The maximum average is shown in teal.
| Strategy | ||
|---|---|---|
| Initial state | 0.7659 | 0.6976 |
| RH+RAND | 0.7708 ±0.0018 | 0.7268 ±0.0083 |
| RH+ODIN | 0.7727 ±0.0006 | 0.7332 ±0.0016 |
| ANDE+RAND | 0.7799 ±0.0024 | 0.7478 ±0.0048 |
| ANDE+ODIN | 0.8035 ±0.0006 | 0.7546 ±0.0003 |
and for factory and stream accuracy calculation are disjoint. In all tests, the combination of cloud annotation, dataset expansion and out-of-distribution detection show a clear increase in classification accuracy both for stream and factory data.
The results, as shown in Table 5 and Figure 3 provide a detailed analysis of how each method combination contributes in catastrophic forgetting mitigation with the ANDE+ODIN combination being the most capable both in factory and stream accuracy. ODIN increases and maintains accuracy consistently, while a random sample introduces high deviations in accuracies. Additionally ODIN is able to correct the model in use not only by rising both average accuracies whilst keeping a significantly low deviation as shown in Table 5.
6 Infection detection
Considering the scarcity of the appropriate facilities for medical and agricultural assistance in remote areas, detection and classification mechanisms of infections can provide significant assistance in the hands of trained individuals. By using an edge device that can isolate images of infected fauna or flora, medical or agricultural professionals can be supported by neural networks for their decisions. Note that such a mechanism does not substitute or form the diagnosis or the final verdict of the aforementioned professional. A suggestive mechanism simply provides an important insight for detecting issues for ambiguous samples, assuming that the human input is always prioritized in all occasions.
Most of the recent works, such as [29] and [30], despite their significant promise in advancing the field, they do not necessarily evolve dynamically with streams of new samples. A continual learning mechanism, can be updated online, providing an evolving platform for all available neural networks. This adaptability can further evolve the potential of resource constrained edge devices and eventually provide ubiquitous medical and agricultural assistance across multiple remote locations.
6.1 Infection detection with cell image classification
This scenario considers the challenge of limited medical infrastructure for cell infection detection. Using a continual learning pipeline and an edge device such as a smart microscope, cell images can be diagnosed on-site. While detecting infected cells is a relatively simple binary classification task—where catastrophic forgetting is less prominent—achieving optimal accuracy remains crucial. Such systems can also serve as supplementary diagnostic tools, particularly useful in remote locations.
TRN

RH+RAND
RH+ODIN

RH+ECDD


Figure 4: Accuracy results for a stream of 1000 timesteps of the Malaria objects dataset with edge-based methods, as described in Table 2. The dotted lines are the factory and stream accuracy in the first timestep. The results are the mean and standard deviation between three users
In the event of prediction conflicts, medical professionals can provide corrective input to support training. This input, combined with the model output, can trigger a drift detection response. Given the critical nature of medical diagnoses, expert intervention may be necessary.
when model predictions are uncertain. In such cases, either annotation from a qualified third party or a “user override” mechanism—allowing professionals to label data and retrain the model locally—can be employed.
For our experiment, we use the TensorFlow Malaria dataset [31]. To simulate real-world discrepancies, factory data is augmented with slight lighting variations, while stream data includes more severe lighting distortions. As shown in Table 6 and Fig. 4, catastrophic forgetting is not observed due to the relative simplicity of the task. However, continuous training on every batch would require constant expert input, whereas our methods maintain high accuracy with minimal human intervention. All rehearsal-based approaches perform well, with ECDD and ODIN combinations showing particularly strong performance overall. It is important to note that while edge training does not induce forgetting as strongly as in previous experiments, per-timestep deviation remains a concern. In large-scale disease screening, false positives can have significant consequences, particularly during pandemics. Therefore, minimizing performance variability is also critical.
Table 6: Accuracy results for the Malaria infected cells dataset with all available method combinations. The maximum average is shown in teal.
| Strategy | ||
|---|---|---|
| Initial state | 0.9408 | 0.9027 |
| TRN | 0.949 ±0.0075 | 0.9433 ±0.0021 |
| RH+RAND | 0.9588 ±0.0018 | 0.9537 ±0.0011 |
| RH+ODIN | 0.9574 ±0.0026 | 0.9459 ±0.0005 |
| RH+ECDD | 0.9595 ±0.0029 | 0.9512 ±0.0017 |
6.2 Crop inspection with leaf samples classification
The objective is the early detection of disease in crops based on drone images of plant foliage. An expert such as a farmer or an agriculturist can use a suggestion machine and provide human feedback when in doubt of a model's decision.
When the expert and the model have reached a point of conflict, the questionable samples can be annotated by a third party. We can also use the user annotations as an override, when the expert is adamant about the final verdict. Then the model can train locally if the cloud infrastructure is unavailable. For the experiment, the TensorFlow Plant village dataset is used [32]. We use the similar augmentations as the Malaria example, given that crop inspection samples can be extracted in favorable conditions, unlike in the case of driving. The results show that edge training can cause significant catastrophic forgetting, rendering the model incapable of providing dependable predictions.
Table 7: Accuracy results for the Plant Village dataset with all available method combinations. The maximum average is shown in teal.
| Strategy | ||
|---|---|---|
| Initial state | 0.8468 | 0.7873 |
| TRN | 0.6943 ±0.1645 | 0.81 ±0.0947 |
| RH+RAND | 0.9082 ±0.0087 | 0.8974 ±0.0031 |
| RH+ODIN | 0.9168 ±0.0059 | 0.9145 ±0.0025 |
| RH+ECDD | 0.916 ±0.009 | 0.9168 ±0.0027 |
The results in Figure 5 and Table 7 show how catastrophic forgetting has been induced when using the TRN baseline, while the RH+ODIN and RH+ECDD methods can adequately mitigate the effect. TRN shows significant amount of deviations and a considerable drop in
TRN

RH+RAND
RH+ODIN

RH+ECDD


Figure 5: Accuracy results for a stream of 1000 timesteps of the Plant Village objects dataset with edge-based methods, as described in Table 2. The dotted lines are the factory and stream accuracy in the first timestep. The results are the mean and standard deviation between three users average accuracy. This phenomenon is considerably mitigated by ODIN and ECDD with a considerable increase in both stream and factory accuracies on average
7 Discussion
This study presented a framework for applying rehearsal-based continual learning methods in cloud-edge scenarios for assisting professionals in a variety of real life application such as assisted driving and supplementary infection detection. Our experiments demonstrate that selective sampling and rehearsal-based model updates can support adaptation under distribution shifts while mitigating catastrophic forgetting in the evaluated datasets. The proposed edge-cloud pipeline provides an architectural setting for incorporating these mechanisms into IoT applications. According to our experiments, a combination of rehearsal methods, drift detection or out-of-distribution detection can be very potent, not only for catastrophic forgetting mitigation, but also for evolving the classification ability of a pre-trained model. It also important to note that there is not a specific approach that can adapt to all possible scenarios. The application each method has its own benefits and limitations. Of course some limitations can arise such as storing samples that require user permission. Additionally these methods can possibly be further improved given that both drift detection and OoD literature shows promise and growth.
References
[1] D. Li, S. Tasci, S. Ghosh, J. Zhu, J. Zhang, and L. Heck, “Rilod: Near real-time incremental learning for object detection at the edge,” in Proceedings of the 4th ACM/IEEE Symposium on Edge Computing, 2019, pp. 113–126.
[2] K. Chen and et al., “Ear: Efficient adaptive representation learning for continual learning at the edge,” in arXiv preprint arXiv:2308.02084, 2023.
[3] H. Cai, C. Gan, T. Wang, Z. Zhang, and S. Han, “Once-for-all: Train one network and specialize it for efficient deployment,” arXiv preprint arXiv:1908.09791, 2019.
[4] J. Zhang, W. Wang, C. Lu, J. Wang, and A. Kumar, “Lightweight deep network for traffic sign classification,” Annals of Telecommunications, vol. 75, 07 2019.
[5] D. Tabernik and D. Skočaj, “Deep learning for large-scale traffic-sign detection and recognition,” IEEE Transactions on Intelligent Transportation Systems, vol. 21, no. 4, pp. 1427–1440, 2020.
[6] O. Ali and M. K. Ishak, “Bringing intelligence to iot edge: Machine learning based smart city image classification using microsoft azure iot and custom vision,” Journal of Physics: Conference Series, vol. 1529, p. 042076, 04 2020.
[7] Y. Zeng, R. Zhou, L. Jiao, and R. Zhang, “Online scheduling of edge multiple-model inference with dag structure and retraining,” in IEEE INFOCOM 2025-IEEE Conference on Computer Communications. IEEE, 2025, pp. 1–10.
[8] S. S. Shubha and H. Shen, “Adainf: Data drift adaptive scheduling for accurate and sloguaranteed multiple-model inference serving at edge servers,” in Proceedings of the ACM SIGCOMM 2023 Conference, 2023, pp. 473–485.
[9] S.-A. Rebuffi, A. Kolesnikov, G. Sperl, and C. H. Lampert, “icarl: Incremental classifier and representation learning,” in 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017, pp. 5533–5542.
[10] Z. Li and D. Hoiem, "Learning without forgetting," in Computer Vision – ECCV 2016, B. Leibe, J. Matas, N. Sebe, and M. Welling, Eds. Cham: Springer International Publishing, 2016, pp. 614–629.
[11] J. Kirkpatrick, R. Pascanu, N. Rabinowitz, J. Veness, G. Desjardins, A. A. Rusu, K. Milan, J. Quan, T. Ramalho, A. Grabska-Barwinska, D. Hassabis, C. Clopath, D. Kumaran, and R. Hadsell, “Overcoming catastrophic forgetting in neural networks,” Proceedings of the National Academy of Sciences, vol. 114, no. 13, pp. 3521–3526, 2017. [Online]. Available: https://www.pnas.org/doi/abs/10.1073/pnas.1611835114
[12] A. Chaudhry, M. Rohrbach, M. Elhoseiny, T. Ajanthan, P. Dokania, P. Torr, and M. Ranzato, “Continual learning with tiny episodic memories,” in Workshop on Multi-Task and Lifelong Reinforcement Learning, 2019.
[13] A. Prabhu, P. H. Torr, and P. K. Dokania, “Gdumb: A simple approach that questions our progress in continual learning,” in Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part II 16. Springer, 2020, pp. 524–540.
[14] L. Pellegrini, G. Graffieti, V. Lomonaco, and D. Maltoni, “Latent replay for real-time continual learning,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2020, pp. 10203–10209.
[15] X. Shi, D. Li, P. Zhao, Q. Tian, Y. Tian, Q. Long, C. Zhu, J. Song, F. Qiao, L. Song et al., “Are we ready for service robots? the openloris-scene datasets for lifelong slam,” in 2020 IEEE international conference on robotics and automation (ICRA). IEEE, 2020, pp. 3139–3145.
[16] V. Lomonaco and D. Maltoni, “Core50: a new dataset and benchmark for continuous object recognition,” in Conference on robot learning. PMLR, 2017, pp. 17–26.
[17] C. Davalas, D. Michail, C. Diou, I. Varlamis, and K. Tserpes, “A rehearsal framework for computational efficiency in online continual learning,” Applied Intelligence, pp. 1–17, 2024.
[18] ___,“Computationally efficient rehearsal for online continual learning,” in International Conference on Image Analysis and Processing. Springer, 2022, pp. 39–49.
[19] A. Bifet and R. Gavaldà, “Learning from time-changing data with adaptive windowing,” vol. 7, 04 2007.
[20] G. J. Ross, N. M. Adams, D. K. Tasoulis, and D. J. Hand, “Exponentially weighted moving average charts for detecting concept drift,” Pattern recognition letters, vol. 33, no. 2, pp. 191–198, 2012.
[21] A. Seppänen, E. Alamikkotervo, R. Ojala, G. Dario, and K. Tammi, “Out-of-distribution-and location-aware pointnets for real-time 3d road user detection without a gpu,” Journal of Big Data, vol. 11, no. 1, p. 2, 2024.
[22] S. Liang, Y. Li, and R. Srikant, “Enhancing the reliability of out-of-distribution image detection in neural networks,” in 6th International Conference on Learning Representations, ICLR 2018, 2018.
[23] S. Liu, D. S. Ha, F. Shen, and Y. Yi, “Efficient neural networks for edge devices,” Computers & Electrical Engineering, vol. 92, p. 107121, 2021.
[24] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Mané, R. Monga, S. Moore, D. Murray, C. Olah, M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viégas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, and X. Zheng, “TensorFlow: Large-scale machine learning on heterogeneous systems,” 2015, software available from tensorflow.org. [Online]. Available: https://www.tensorflow.org/
[25] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, “Mobilenets: Efficient convolutional neural networks for mobile vision applications,” arXiv preprint arXiv:1704.04861, 2017.
[26] M. Mathias, R. Timofte, R. Benenson, and L. Van Gool, “Traffic sign recognition—how far are we from the solution?” in The 2013 international joint conference on Neural networks (IJCNN). IEEE, 2013, pp. 1–8.
[27] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint arXiv:1409.1556, 2014.
[28] W. K. Fong, R. Mohan, J. V. Hurtado, L. Zhou, H. Caesar, O. Beijbom, and A. Valada, “Panoptic nuscenes: A large-scale benchmark for lidar panoptic segmentation and tracking,” IEEE Robotics and Automation Letters, vol. 7, no. 2, pp. 3795–3802, 2022.
[29] D. Sharath, S. A. Kumar, M. Rohan, K. Suresh, C. Prathap et al., “Disease detection in plants using convolutional neural network,” in 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT). IEEE, 2020, pp. 389–394.
[30] S. Asif, M. Zhao, F. Tang, Y. Zhu, and B. Zhao, “Metaheuristics optimization-based ensemble of deep neural networks for mpox disease detection,” Neural Networks, vol. 167, pp. 342–359, 2023.
[31] S. Rajaraman, S. K. Antani, M. Poostchi, K. Silamut, M. A. Hossain, R. J. Maude, S. Jaeger, and G. R. Thoma, “Pre-trained convolutional neural networks as feature extractors toward improved malaria parasite detection in thin blood smear images,” PeerJ, vol. 6, p. e4568, 2018.
[32] D. Hughes, M. Salathé et al., “An open access repository of images on plant health to enable the development of mobile disease diagnostics,” arXiv preprint arXiv:1511.08060, 2015.