Comparison of Input-Data Matrix Representations Used for Continual Learning with Orthogonal Weight Modification on Edge Devices
Ronald Mendez, Andreas Maier, Johannes Emmert

TL;DR
The paper compares different matrix representations for continual learning on edge devices, finding the Fisher matrix and NEig-OWM suitable for large and small models respectively.
Contribution
The study identifies optimal matrix representations for continual learning on edge devices, comparing Fisher matrix and NEig-OWM for different model sizes.
Findings
The Fisher matrix is effective for continual learning on large AI models with minimal performance loss.
NEig-OWM is better suited for smaller models requiring less hardware and more control over learning.
These approaches enable distributed-process optimization in Industrial Internet of Things (IIoT) networks.
Abstract
What are the main findings? The Fisher matrix is suitable as a complexity reduction approach, applicable for continual learning with Orthogonal Weight Modification, on edge devices.NEig-OWM is suitable for smaller models, typically used in distributed-process optimization approaches, such as the Artificial Neural Twin. The Fisher matrix is suitable as a complexity reduction approach, applicable for continual learning with Orthogonal Weight Modification, on edge devices. NEig-OWM is suitable for smaller models, typically used in distributed-process optimization approaches, such as the Artificial Neural Twin. What are the implications of the main findings? It is possible to deploy an IIoT network of autonomously and continually learning devices.The distributed IIoT network can be automatically optimized though backpropagation. It is possible to deploy an IIoT network of autonomously…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18- —German Ministry of Education and Research (BMBF)
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and ELM · Domain Adaptation and Few-Shot Learning · Advanced Neural Network Applications
1. Introduction
The integration of smart sensors and intelligent machines into industrial processes is now a widely adopted practice. The Industrial Internet of Things (IIoT) focuses on connecting these devices for optimization and process automation purposes [1]. To that end, smart devices need to be capable of collecting, processing, and transmitting information from the environment to the network, where it is further processed and then translated into feedback by a server device that transmits back to the edge devices of the network [2].
The Artificial Neural Twin (ANT) enhances IIoT devices by enabling decentralized model predictive control setups. It integrates the principles of differentiable data fusion (for distributed data collection) and backpropagation (for distributed feedback) to support optimization and process digitization [3]. Effective processing of information gathered from both the environment and the network requires dedicated computational units within IIoT devices, typically Artificial Intelligence (AI) models, such as object detection systems, trained to execute specific tasks.
Training such models is generally time- and data-intensive, making it a major challenge for dynamic processes where tasks are constantly evolving [4]. Moreover, training a model for a new task leads to the model no longer being able to perform the former task, a phenomenon known as catastrophic forgetting [5]. In the field of continual learning (CL), many techniques have been developed for models to learn new tasks while avoiding forgetting; moreover, training data requirements can be minimized if these techniques are used in combination with the ANT as their source of training stimuli, which is a future step in our line of research. However, within the ANT network, access to the loss function is restricted, and therefore, gradient-based CL methods must be selected.
Orthogonal Weight Modification (OWM) is one such method. It prevents models from forgetting by building a matrix,
that projects training gradients in the orthogonal direction to the space formed by the gradients used to learn former tasks (original tasks’ knowledge space), where refers to an identity matrix, is a relatively small variable, and is the matrix formed by the gradient vectors used to learn former tasks; this means that even though new gradients can be collected within the process of learning a new task, this matrix remains constant, to be recalculated only after the mentioned task has been learned, and the preparation to learn the next task begins [6].
The problem of applying OWM in IIoT AI models lies in storing matrix formed by the gradients produced while learning previous tasks and processing it to build the projector . , where in a per-layer implementation of OWM, n refers to the length of a corresponding model layer and m to the number of training samples; intuitively we see that for large layers, this implementation becomes infeasible, especially within the capabilities of an edge device.
As mentioned previously, distributed systems consist of several such devices communicating with each other as part of a process. In this study we simulated a small example process, emulating the complexity of an industrial sorting facility, focusing mainly on a vision AI sensor powered by an object detection model (VGG11), which detects several types of objects on a conveyor belt and calculates the corresponding mass flow. Afterwards, we mimic the insertion of a previously unseen object, which constitutes the new task to be learned through CL.
The considered sensor represents a Mobile Edge Computing (MEC) device, which typically offers lower latency and reduced energy consumption compared to centralized IIoT architectures, but is subject to significant computational and memory constraints [7]. Considering these limitations, our objective is to investigate the impact of three alternative representations of matrix —the Fisher Information matrix, Low-Rank Approximation (LoRA), and Null Space Eigenface (NEig-OWM)—on CL performance and computational complexity in order to identify suitable approaches for implementing OWM on resource-constrained edge devices.
2. Related Work
Reducing the inference and training times of machine learning models is a topic of significant interest. Model compression techniques such as quantization aim to lower the precision of calculations to minimize model inference time [8]. Pruning approaches, on the other hand, identify sections of the model (i.e., layers, neurons, parameters) whose contribution is of minimal importance for the overall performance and remove them from the model’s structure [9]. In the context of continual learning, it may appear that pruning techniques inevitably impair a model’s capacity to learn new tasks, given the removal of model sections where new knowledge can be stored.
Nevertheless, pruning remains a popular technique for improving a model’s training efficiency on edge devices. As mentioned previously, pruning minimizes the model’s available space for CL; therefore, approaches such as Task-Aware Dynamic Masking (TDM) have developed “expand-and-shrink” techniques, which initially identify the importance of model weights for the current task; a metric is then used to mask the unimportant sections of the model, which are then pruned, resulting in a sparse model. During the initial epochs of CL, new knowledge is stored in the recently freed sections of the model, and then the importance metric is calculated again, followed by the corresponding pruning, which improves the efficiency of the remaining epochs of CL given the sparsity of the model [10].
On the training-data side, TDM calculates the importance of each sample, storing only the most informative for previous and new tasks; this data contains samples from old tasks, which mitigates catastrophic forgetting, and samples from the new task, which favors learning. Along similar lines, the Latent Reply approach [11] stores information from both previous and new tasks; however, instead of retaining samples in the input space, it stores the activations of the model’s internal layers. In federated CL approaches, instead, replay data from the server is divided among the client edge devices as customized datasets [12], aiming to reduce CL latency by training with less data and then improving the model’s performance through the aggregation characteristics of federated learning.
Contrary to pruning, structural continual learning techniques aim to incorporate new sections into the model where new knowledge can be stored. The Architectural and Regularization approach (AR1) [13] extends the prediction head of the model to incorporate the new task’s labels; then, during CL, old and new model parameters are trained, ruled by a penalty term in the loss function, as applied in Elastic Weight Consolidation (EWC) [14].
The newly introduced model parameters in such approaches have been the subject of parameter reduction strategies, such as Low-Rank Approximations (LoRAs) applied to their matrix representations. This technique improves training efficiency and allows previously learned model parameters to be frozen, while training only the low-rank approximated layers [15]. Further steps towards the optimization of model training involve decomposing the weight update matrix into two low-rank matrices and ; then, the update function is , with which the number of updated parameters during training is drastically reduced [16]. The approaches investigated in this study are used to reach a similar goal, which is to assess several matrix representations to minimize the resources required for model adaptation through CL.
3. Materials and Methods
Throughout this section we describe the algorithms and tools used to build the experimental setup required for the proper assessment of the tested approaches. We discuss case-specific metrics, and at last, we describe the pipeline for the test cases.
3.1. Artificial Neural Twin (ANT)
The ANT augments the functionality of the IIoT network by providing a platform for distributed-process optimization. Its core idea is to represent processes as neural networks (NNs), where machines correspond to the neurons and their parameters to the network weights.
In the ANT, like in an NN, during the forward pass, all machines communicate their state through the network, as shown in Figure 1. Then, they reach a consensus between the network-received and internal information in the process stage (ANT node) through data fusion to update their state and to forward propagate it through the network. This allows the state to be assessed at any process stage, which is important for quality control assessments and the evaluation of the global loss function at the exit. The generated loss gradients trigger the backpropagation period, which occurs on the basis of the process and time, propagating gradients to each machine involved in the process and, within them, from future time steps to the present, which allows the optimization of the current machine’s parameters.
The ANT can receive process quality control measurements from the user [3]. This means that at any stage, production recordings can be performed and introduced into the digital process. Afterwards, this data is contrasted with the state estimate for the respective ANT node, and then gradients are calculated and accordingly backpropagated to be used as training stimuli for CL. Another source of these stimuli is generated during data fusion, where, as mentioned above, every ANT node reaches a consensus for its state, a process in which data fusion residuals are produced, which can be used by AI models to learn new tasks. These sources of training stimuli make the ANT a great ally for implementing CL in industrial process chains.
3.2. Stability–Plasticity Trade-Off
The main properties of a CL technique are the model’s stability and plasticity while learning new tasks. Stability reflects the model’s capacity to retain previous knowledge, while plasticity refers to the capacity to acquire new knowledge. A highly stable approach will generate a model that retains knowledge well but that hardly learns, and vice versa for a highly plastic approach. This relation is known as the stability–plasticity trade-off [18].
Stability can be evaluated in terms of the forgetting measure (FM) [19], which relates the model’s past and current performance,
where refers to the model’s maximum performance (for this study we used F1 score as a metric) on task j calculated after learning task i, and likewise, is calculated after learning the new task k. Then, the forgetting at the k-th task is calculated as
from where the stability is simply calculated as
The plasticity, on the other hand, refers to the model’s capacity to learn new tasks. This is evaluated in terms of its convergence on the new task,
where corresponds to the performance right after convergence, and refers to the epochs necessary to reach this condition. In general, convergence to an equilibrium refers to the training state where the error has been minimized, and further epochs present minimal changes in the model’s performance, which indicates that a set of optimal parameters has been found [20]. Then, plasticity represents the relation between the first recorded point of the mentioned equilibrium zone and the number of epochs required to reach that point.
These two properties define the learning capacity of a model under specific CL conditions. Intuitively we observe the contradiction between them, and therefore, it is important to reach a reasonable trade-off [21], where the model can acquire new knowledge without considerable performance compromises.
3.3. Matrix A
, as previously mentioned, is formed by the gradient vectors collected during the training phase of the former task. In a per-layer configuration, this translates to an matrix for each layer, formed by the gradient vectors used to modify layer parameters in each backpropagation step; thereafter, the number of steps is defined by the dataset and batch sizes. To minimize m, we trained with a relatively small dataset and further reduced the dimensions of by subdividing it with a batch size of four, as Table A1 summarizes, resulting in .
3.4. Fisher Information Matrix
In supervised learning, training AI models means finding a set of parameters ( ) for which, given the input set (x), the model is capable of closely approximating the output (y). In other words, given the training set S(x,y), the goal is to minimize the objective function,
where is a loss function that measures the difference between the model’s prediction z and target y. This applies for any loss function, including cross-entropy loss , which is important for generating the Fisher matrix. Differentiating the loss with respect to , we obtain the respective gradients [22].
The Fisher matrix of the model’s learned distribution with respect to is
and since , where does not depend on , then , where the input x comes from an independent target distribution, with as its density function. Then the Fisher matrix can be expressed:
which represents the Fisher information matrix formed by the loss gradients produced while learning the model’s parameter distribution using the cross-entropy loss [23]. This means that the Fisher matrix is the Hessian matrix of the cross-entropy loss [24].
Regularization-based CL approaches like EWC use the diagonal of the Fisher matrix to penalize the learning of new tasks [14]. In this article we will use the same diagonal to build the projector matrix for OWM.
3.5. Low-Rank Approximation (LoRA)
Due to computational complexity, conventional machine learning methods can become inapplicable when dealing with large matrices. Traditionally, data reduction techniques are used to mitigate this issue, which should retain most of the intrinsic information of the original data. Low-rank approximation achieves this by decomposing the original matrix into two lower-rank (rank-k) matrices [25],
The optimal k for LoRA is typically obtained by minimizing the Frobenius norm between and its approximation . Then , where the Frobenius norm, , of a matrix is given by , and then can be formulated as a Singular Value Decomposition (SVD) of . Since the SVD of is , where and are orthogonal, , , and [26].
Rank k can be approximated following two approaches: fixed-rank approximation inputs a rank and searches for a matrix that minimizes the Frobenius norm, while fixed-precision approximation uses a predefined error tolerance in the search for rank k such that [25]. In the present work we implement the latter approach, considering a permissible error value of 20%, which, on average, among all layers, returns , reducing from to and .
3.6. Null Space Eigenface (NEig-OWM)
Many approaches have been developed to balance the stability–plasticity trade-off. Architecture-based-approach researchers concluded that deeper models show better plasticity and wider models better stability [27]. Normalization-based approaches introduce normalization layers with different strengths to maintain both high stability and plasticity [18]. Optimization-based techniques focus on enhancing the parameter updating rules by either introducing regularization terms or modifying the gradients applied to the model. OWM belongs to the second category, since it influences the parameter updating . NEig-OWM, however, updates the parameters while directly targeting the stability–plasticity trade-off [28], including in its projector , a specific term for the respective property,
where refers to the null space formed by the eigenvectors whose corresponding eigenvalues are equal to zero , refers to the orthogonal projector matrix formed by the eigenvectors whose eigenvalues are different from zero, and is a hyperparameter that regulates new learning. increases the model’s stability by projecting new knowledge orthogonally to previous knowledge, and the second term enhances plasticity by favoring learning in previously unused areas of the model.
In our implementation we use the linear algebra PyTorch (version 2.7.1, from PyTorch, San Francisco, CA, USA) function torch.linalg.eig [29] in the decomposition of , where the eigenvectors and the eigenvalues . The null space is extracted by filtering eigenvectors whose corresponding eigenvalue is below 1 × , while the remaining vectors form the non-null space. The projector is built with these spaces and a small constant value (1 × ) for the regularization parameter according to Equation (10).
3.7. Experimental Setup
As mentioned previously, for our experiments, we simulated a section of a bulk material recycling process using the physics engine of the Unity game development framework (version 2021.3.19f1, from Unity Technologies, San Francisco, CA, USA) [30]. This controlled environment provides us with a material stream that emulates the complexity of a real material sorting task. Inside the simulated process, we begin with a machine (“siever”) that sorts materials by size (Small, Medium, Large). In each outlet, we placed conveyor belts that emulate the delay between sorting machines, and after each of them, we placed magnetic sorters, which sort materials into metallic and non-metallic per the flow diagram in Figure 2.
Within our simulation, each device is independent and insulated from the information network. Then the ANT allows this to be converted into a machine learning distributed system, providing a platform for all devices to exchange information for the process to be optimized and for the models to be trained through CL.
The AI sensor in this study is set above the middle conveyor belt, as highlighted in the diagram, which is a location reached by the full set of objects involved in the process. Figure 3 depicts the mentioned set, from which we initially removed the Cans (a) that will later be used as a continual learning task. In Appendix C we provide an example of the sensor’s area of detection, with the corresponding identification of the mentioned materials.
Table 1 summarizes the material properties set in our simulation environment. These properties are used by the physics engine to represent phenomena like magnetism and gravity, which are important for the functioning of the simulated sorting machines as well as for the material traffic through the process, including some of its common problems (i.e., impurities in sorting outputs, materials being dropped from conveyor belts, or getting stuck in machine parts), which amount to a realistic process complexity level. For completeness, the mentioned table includes two additional material types (FeM and NFeM caps), which are part of the overall process, sorted as small classes by the siever. Due to their dimensions (diameter less than 2.5 cm), they cannot be detected on a moving conveyor belt by the vision sensor subject of this study; therefore, they were excluded from the simulation data presented in Table 2.
Within the simulation, we configured the sensor’s area of vision such that 1080 × 512 pixel images correspond to one-second mass flow in the process. For this we consider the speed (2 m/s) and width (1.2 m) of the conveyor belts to determine the area of the belt that is displaced each second (area of 2 × 1.2 m^2^); the counts of objects contained in this area represent the one-second mass-flow window, which we later enclose in the mentioned image size. This allows for calculation of mass flow at resolutions of per second or more. Table 2 shows the material distribution throughout the different datasets collected using this data configuration.
3.8. VGG11 Model
As previously introduced, our vision sensor is powered by a VGG11 (architecture as in VGG11-A [31], with conv2 layers given the 2D data) trained as a Single-Shot MultiBox Detector with input resized to 300 × 300 pixel images (SSD300), which is the basis for extracting low-feature maps. To classify different objects with similar low features, as in our use case (i.e., distinguishing Cans from Coffee cups), a high-feature map extractor is used on top [32], followed by a set of convolutional layers that map the location and class of the object to the prediction. The architectures of the additional layers are described in Table 3.
To avoid deviating from the goal of this research, further details of the model training and its parameterization are included in Table A1 in Appendix B.
3.9. Test Cases
Even though continual learning is usually performed online (during process operation), the initial training (Training dataset in Table 2) of the AI model is typically conducted offline. During this period we collect the training loss gradients, such that at the end of each model layer, we obtain a matrix where the rows are given by the number of layer parameters, and the columns by the number of training samples. These matrices represent the original task’s knowledge space, which should be preserved during CL [6].
We extract all representations from the respective of each layer. Since we used cross-entropy loss for the initial training, the Fisher matrix, per Equation (8), will correspond to multiplied by its transpose, from which we will extract and store only the diagonal to build the OWM projector. For LoRA approximation of , we apply SVD, and then extract and store the lower-rank and , as explained in Section 3.5. In NEig-OWM we divide matrix into two matrices per Equation (10), where we extract the eigenvectors and eigenvalues, separating the null and non-null space, and store their corresponding matrices.
The objective of our investigation is to evaluate alternative representations of matrix that better fit hardware and networking constraints. Therefore, the model, dataset, loss function, optimizer, and use of OWM as the CL method remained constant throughout our experiments. Meanwhile, we tuned the parameters (Validation dataset in Table 2) of the representation approaches to better approximate the original .
Algorithm 1 summarizes the CL training process (CL dataset in Table 2) used in our research. Here, each image is used for training only once, and thereafter, it can be used to measure convergence speed. This algorithm also shows our implementation of OWM in a per-layer configuration, which reduces the memory required to project a gradient vector. Algorithm 1: CL Training Loop
Here we apply the approach in turn to extract the specific matrix representation of , and instead of the larger matrix P materializing in memory, we multiply the gradient by each term of Equation (1), reducing the load in memory from to , where and represent the terms in the projector’s equation, and . This exempts us from storing matrix in memory, instead storing the smaller matrix . Afterwards, as is typical, the modified gradients are used to update the model’s parameters.
Per Algorithm 1, OWM was used to learn the new task (detecting and classifying Can objects), and we recorded test performance metrics (CL-Testing dataset in Table 2) to determine the efficiency of the different approaches during CL. We included the full matrix and the pure Stochastic Gradient Descent (SGD) as top and bottom lines of the benchmark used to assess the performance of the tested approaches.
The Results section will summarize the scores obtained in our experiments on the described as well as standard metrics, such as F1 score, precision, recall, and individual metrics drawn from a confusion matrix.
4. Results
As previously explained, the AI sensor is originally trained to detect four objects (Bottle, Coffee cup, Paper ball, Paper roll), which we refer to as the original task. Figure 4 shows its performance (F1 score of 86.70%) after the mentioned training, shown by the big dot (Testing dataset in Table 2) set at position zero in CL training images.
For every approach, we began CL with an evaluation (F1 score of 72.82%) on CL test data. The decrement in performance compared to the original task is caused by misclassifications in the new task. Then, we trained the model on gradients generated one image at a time, with evaluations on the test dataset every fifteen training images. We stopped recording after 250 images instead of using the full CL-Testing dataset, given that at this point all the tested approaches had clearly converged. This highlights the convergence speed that an optimization-based CL algorithm such as OWM can reach, within the scope of our experimental setup.
Among the approaches, as expected, the best performance was recorded while using the full matrix, with which the model managed to learn the new task after only 60 training images, reaching 85.17% as its maximum performance, followed by a minimal forgetting phase to end with a final score of 82.64%. Similar behavior was recorded for the NEig-OWM approach, with maximum and final F1 scores of 84.24% and 81.45%, respectively. The Fisher matrix comes in third, learning the new task after 105 images, with its maximum at 84.41% and a final performance of 81.45%, exactly the same as NEig-OWM. LoRA and SGD show catastrophic forgetting after the beginning of CL, as shown by the drops in their curves; this is even more clearly visible in their corresponding precision curves depicted in Figure A5 and Figure A7, respectively, where the per-object performance is shown. Afterwards, they learned the new task with increased overall performance, which is still comparatively low, with both finishing the experiment with an F1 score of 73.84%.
The described results are confirmed by the confusion matrices in Figure 5, where, once again, the full matrix’s performance is the highest, while LoRA’s and SGD’s are the lowest. In the upper-left corner, we have the confusion matrix of the original model (before CL) on the new task, where the decrement in performance due to false-positive classifications is clearly visible. This is no longer the case after finishing CL (all other confusion matrices), where, despite the remaining cases of misclassification between the Can and Coffee cup classes, it is observed that the model can perform the new task properly. The unavoidable forgetting due to CL is present in all classes as a minimal increment in false-positive scores, and as before, LoRA and SGD have the highest rates, showing percentages higher than 15% for false-positive classifications of almost every class.
Figure 6, on the left, depicts the stability–plasticity scores of the tested approaches. Given the single-CL-task scenario, the forgetting measure is simply calculated as the difference in F1 scores before and after CL (both in Testing dataset in Table 2) according to Equation (2); afterwards, we use Equation (4) to calculate stability measures. For the comparison of memory and complexity requirements (Figure 6, right), memory is defined by the cost in disk storage of the full set of matrices (stored using the Shelve module of Python, version 3.10.13, from Python Software Foundation, Fredericksburg, Virginia, USA, which stores data as persistent dictionary-like pickled objects known as Shelfs in “.db” file format) required to perform CL on the entire model for each approach. Meanwhile, complexity values correspond to the number of matrix-multiplication operations required for the orthogonal projection of the gradients corresponding to a backpropagation step. We collected this data aiming to provide a clear view of the additional requirements that each approach would introduce into a system already in operation.
Here, the minimum is obtained with SGD, which represents the approach with no implementation of CL. Therefore, no memory or additional computations are required. SGD is followed by the Fisher matrix, where the storage of only the matrix diagonal gives a marked advantage in memory requirements compared to the others. From the diagonal, we approximated , which translates to complexity equal to that when using the full matrix, which is also the case for LoRA. Since NEig-OWM divides the matrix into two and generates a projector for each section, this translates into the same storage requirements as full , but double the computational operations.
For the stability–plasticity trade-off in Figure 6 (left), the average stability through classes shows similar behavior for full , the Fisher matrix, and NEig-OWM, while a lower score is recorded for LoRA and SGD due to greater forgetting. Meanwhile, plasticity is calculated exclusively for the new task. High plasticity is shown by LoRA, SGD, and NEig-OWM, where the former two are highly plastic due to lower stability, while NEig-OWM remains high in both properties thanks to its mentioned characteristics that specifically address this trade-off. The higher stability using the full matrix is contrasted by lower plasticity; this effect is even greater when using the Fisher matrix, where the plasticity drops to 40%.
Its low memory requirements and complexity, plus its high stability, despite its lower plasticity, make the Fisher matrix the minimum and best-performing approach within the scope of our experiments. Therefore, in this last section, we will focus mostly on its results.
Per-class precision for the Fisher matrix approach is shown in Figure 7. Here, the process of learning the new task is clearly visible, with an initial peak in performance at 90 training images due to the model’s double detection (Cans labeled as Coffee cups and Cans simultaneously), which was later overcome, converging at 56.72% precision on the new task, which was not the highest score but was the most steady convergence compared to equivalent plots for other approaches, displayed in Figure A1, Figure A3, Figure A5, and Figure A7.
The stability of the approach is demonstrated here by the nearly constant scores of known classes, except for the class Coffee cup, which initially included falsely classified Cans. This issue is clarified in the recall plots in Figure 8, where false positives have no influence and therefore all-other-class scores remain constant, while the new-class score improves. This plot also shows the longer time before convergence for this approach compared to full , NEig-OWM, LoRA, and SGD, depicted in Figure A2, Figure A4, Figure A6, and Figure A8, respectively.
As an initial example of how the calculated complexity maps to the algorithm’s latency, we recorded the loop time (including forward pass, backpropagation, and CL, in combination with the Fisher matrix approach to update the model) of CL on the described version of VGG11 (disk space 151.14 MB) running in a lower-capacity machine (HP EliteBook 840 G8, processor Intel Core i7, 3.00 GHz, no GPU available). The average loop time recorded over the 250 images (1080x512pixels and 20.48 KB each) shown in our previous experiments was 2.58 s.
5. Discussion and Conclusions
The LoRA approach did not perform much better than plain SGD, which we understand is due to the highly minimized rank when approximating , which is predicated on losing parameters that are important for defining the original task’s knowledge space. Given that our objective is to find the least expensive solution, we considered that there was no need to further search for a higher-rank approximation. Moreover, the diagonal of the Fisher matrix proved to be a less expensive yet effective option. Therefore, we conclude that it is a viable solution for large models installed on devices with relatively tight hardware constraints, as depicted in Figure 4 and confirmed by its plasticity score in Figure 6.
We presented full as a benchmark; however, this is still an option for scenarios with medium to large models, where the hardware is not considerably restrictive and a faster learning speed is required. NEig-OWM is the approach with the highest hardware demands, which makes it suitable for situations with no restrictions or when hardware constraints are overcome by implementing small models, which, however, present bigger parameter overlaps between tasks. Here, the approach’s direct regard for the stability–plasticity trade-off allows for greater segregation of the non-overlapping areas of the model, which translates into greater control over forgetting while learning new tasks.
Despite the poor performance of the LoRA approach, we consider it a viable candidate for settings where the cross-entropy loss (required for the Fisher matrix) is not applicable, keeping in mind the extensive optimization of the rank selected. This amounts to the conclusion that the distinct characteristics of the approaches tested make them plausible options for scenarios where one of them has been proven ineffective.
Our future research will involve CL on a vision sensor, powered by a large object detection model with a Fisher matrix representation of matrix , and the implementation of NEig-OWM on a small machine model (i.e., the input/output prediction model of a magnetic sorter). We will insert both models into the ANT network so that we can analyze the performance of CL using QC gradients and DF residuals as training stimuli.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Serror M. Hack S. Henze M. Schuba M. Wehrle K. Challenges and Opportunities in Securing the Industrial Internet of Things IEEE Trans. Ind. Inform.2021172985299610.1109/TII.2020.3023507 · doi ↗
- 2Sisinni E. Saifullah A. Han S. Jennehag U. Gidlund M. Industrial Internet of Things: Challenges, Opportunities, and Directions IEEE Trans. Ind. Inform.2018144724473410.1109/TII.2018.2852491 · doi ↗
- 3Emmert J. Mendez R. Dastjerdi H.M. Syben C. Maier A. The Artificial Neural Twin—Process optimization and continual learning in distributed process chains Neural Netw.202418010664710.1016/j.neunet.2024.10664739208460 · doi ↗ · pubmed ↗
- 4Basedow N. Hadasch K. Dawoud M. Colloseus C. Taha I. Aschenbrenner D. Open Data Sources for Post-Consumer Plastic Sorting: What We Have and What We Still Need Procedia CIRP 20241221042104710.1016/j.procir.2024.01.141 · doi ↗
- 5Parisi G.I. Kemker R. Part J.L. Kanan C. Wermter S. Continual lifelong learning with neural networks: A review Neural Netw.2019113547110.1016/j.neunet.2019.01.01230780045 · doi ↗ · pubmed ↗
- 6Guanxiong Z. Yang C. Bo C. Shan Y. Continual learning of context-dependent processing in neural networks Nat. Mach. Intell.2019136437210.1038/s 42256-019-0080-x · doi ↗
- 7Tang S. Chen L. He K. Xia J. Fan L. Nallanathan A. Computational Intelligence and Deep Learning for Next-Generation Edge-Enabled Industrial Io TIEEE Trans. Netw. Sci. Eng.2023102881289310.1109/TNSE.2022.3180632 · doi ↗
- 8Wu H. Judd P. Zhang X. Isaev M. Micikevicius P. Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationar Xiv 202010.48550/ar Xiv.2004.09602 · doi ↗
