Editor’s introduction
The study focuses on lifelong learning AI accelerators designed for deployment in untethered, resource-constrained environments. It outlines desired capabilities such as adaptive learning, low power consumption, and efficient memory usage, and proposes metrics to assess these features. The research reviews existing edge AI accelerators to identify design gaps relevant to continuous learning.
Fundamentals of lifelong learning
The term lifelong learning refers to a system’s ability to autonomously operate in, interact with, and learn from its environment. This requires the system to be able to improve its performance through the acquisition of new knowledge and learning to operate under energy and resource constraints. More specifically, a lifelong learning system needs to function in dynamic and noisy environments, rapidly adapt to novel situations, minimise forgetting when learning new tasks, transfer information between tasks, and operate without explicit task identification.
Several learning paradigms and features have been involved in the process of arriving at this definition of lifelong learning. The concept includes transfer learning in which the goal was to recycle/reuse the learnt representations for other tasks. This was followed by multi-task learning (MTL), which had the goal of improving generalisation by leveraging domain-specific information in related tasks; however, in this setting, tasks are trained jointly and not sequentially. Transfer learning and MTL evolved into few-shot learning, in which the goal is to learn from a limited number of examples with supervised information in the target domain. This drove the approach towards learning to learn (also called meta-learning), where a system learns to optimise the objective on its own; an approach that aims to achieve the rapid, general adaptation that biological brains can offer. In tandem, studies on biological brains have shown that there is a combination of learning mechanisms that support lifelong learning, rather than a single one. Drawing from this and more, researchers consider that a number of these learning paradigms constitute a subset of lifelong learning.
Synaptic consolidation is a way to preserve synaptic parameters when learning new tasks. The most common method is to add regularisation terms to the loss function to maintain previous synaptic strengths or neural activations. Another approach is to use more complex synapse models with memory-preserving mechanisms such as metaplasticity, multiple weight components operating on different timescales, or probabilistic synapses.
Dynamic architectures expand network capacity in order to solve a particular task, using top-down control of resources. The expansion of network capacity takes different forms, including periodic additions of new neurons or addition of entire new networks or layers dedicated to solving new tasks. Another approach is to dynamically gate the network components according to the task identity. This is often achieved by means of a task oracle (that is, an autoencoder capable of separating specific classes and tasks) or by meta-learning a gating function.
Initial metrics to evaluate lifelong learning accelerators
In lifelong learning scenarios, the statistical properties of the input stream cannot be assumed to be stationary, an assumption that underlies traditional statistical learning theory approaches. This limits the usability of standard evaluation protocols and metrics described in the machine learning literature. However, the methods used to assess the quality and capability of lifelong learning systems have been evolving along with the progress in models and applications.
A common benchmark for assessing how a system learns a sequence of tasks is to measure the mean accuracy across all tasks after the model has been trained on each task at least once (that is, at the end of the overall training sequence). This metric can be compared to the accuracy achieved when all tasks are trained jointly to obtain a measure of the amount of forgetting that is due to sequential learning. However, there are nuances that are not reflected in this type of measurement. For example, it does not distinguish between a system that learns the first task perfectly but is unable to learn subsequent ones and a system that learns the last task perfectly but forgets the preceding ones. For this reason, studies that measure how much performance changes in prior tasks (backward transfer), and how performance changes in downstream tasks (forward transfer) have provided more insight into how systems address continual learning and where their limitations lie.
Other metrics specific to lifelong learning include more granular methods for measuring trade-offs between plasticity and stability, measuring how continual learning can be leveraged to learn faster or improve performance compared to a baseline model (by using prior knowledge), measuring the time to recover performance after task transitions (performance recovery), and measuring performance degradation on previous tasks after each new task is learnt (performance maintenance). Beyond performance, it is also important to study models in terms of applicability; this includes metrics quantifying how robust models are to noise, failures and data ordering, and autonomy of the model (for example, does it need supervision, task oracles).
Another important dimension of evaluation, especially for edge AI accelerators, is sample efficiency and scalability. These aspects can be quantified in terms of memory overhead, training speed, and network growth over time (which should preferably be bounded irrespective of the amount of data processed). Furthermore, for the accelerators, we consider the cost of data movement and reuse for all the methods (arithmetic intensity), energy efficiency of the system, total memory footprint that can increase with lifelong learning methods, the communication overhead that is associated with accessing data from higher-order memory for replay or plasticity, and multi-tenancy capturing the systems response rate when executing sequential tasks for real-time operations.
Lifelong learning on current untethered AI accelerators
AI accelerators can be categorised based on those that support traditional rate-based implementations and those that support spiking neural networks. Tables 2 and 3 provide an overview of digital AI chips (rate-based and spiking) that can perform on-device learning in untethered environments. We split the accelerators into two tables because the baseline resolution of the computations and associated metrics such as performance (TOP/s) and power are different for spiking accelerators and rate-based accelerators and because SNN algorithms generally support different network topologies and have different encoding schemes. We also note there are differences in the choice of design optimisations for the two sets of accelerators.
Compared to rate-based accelerators, spiking neuromorphic accelerators are designed to support algorithmic models that more closely mimic the functionality of their biological counterparts. This often involves more complex synaptic and neuronal dynamics, which are inherently temporal in nature. The typical characteristic of a spiking neuron is how it integrates information over time, and only releases a spike once the accumulated information crosses a threshold. Neuromorphic systems tailored for SNNs have demonstrated efficiency in a number of ways: low cost of a single spike, asynchronous and sparse communication, and cheaper synaptic operations that do not require multiplication. Though these features can be achieved in non-spiking domains, unlike recurrent neural networks, SNNs have an inherent temporal aspect in the neuron dynamics without the need for recurrent connections while offering greater applicability and computational power than binary neural networks.
In the context of lifelong learning, several promising methods draw inspiration from neural plasticity, including spike-timing-dependent plasticity, heterosynaptic weight decay and consolidation, and neuromodulation. The bio-plausible learning models generally have local learning, neuronal and synaptic plasticity rules that require fine granular control on the hardware substrates. Neuromorphic accelerators inherently offer a high degree of freedom to optimise dynamically at such fine granularity compared to the rate-based accelerators. For example, triplet STDP rules that learn temporal correlations between pre- and post-synaptic spike neurons (useful for rapid adaptation) are more amenable for deployment on neuromorphic accelerators that support integrate-fire dynamics.
The current spiking accelerators capable of learning can be divided into two broad categories: large-scale spiking accelerators and accelerators targeted towards edge platforms. Large-scale spiking accelerators support a wider range of applications or cortical simulations that focus on scalability and programmability. These accelerators employ multiple independent parallel cores to realise the neurons and synapses of the network. The cores are connected through network-on-chip interconnects, which offer greater flexibility with high-bandwidth inter-chip or inter-board interfaces. In contrast, accelerators targeted towards edge platforms consist of a single core that supports various degrees of network connectivity, such as full connectivity in a crossbar architecture or locally-competitive- algorithm based architectures for sparse inputs.
General design considerations
Following Occam’s razor, designing lifelong learning accelerators can be seen as a form of multi-scale optimisation and may effectively increase the system robustness and reconfigurability. The greatest difficulty lies in activating all of the above features to their full potential in a single accelerator, so that it can be used for lifelong learning.
While lifelong learning accelerators feature the real-time learning capabilities of on-device learning accelerators, the former require quite a few additional features. In particular, lifelong learning accelerators must optimise mapping of sparse and irregular data movement within a limited power budget. Concretely, this optimisation supports structural changes during the model lifecycle. As far as memory is considered, a major difference is in the dynamic memory structures. Memory can grow or shrink at multiple abstractions (e.g., temporary buffers, replay buffers, plasticity modules) based on the lifelong learning mechanism. On the other hand, on-device learning accelerators can experience model changes, but the memory access patterns might not change across inference or training. Reconfigurability is a key element in any accelerator, but for lifelong learning systems, a more fine-granular reconfigurability is necessary to direct resources when rapid plasticity occurs at run-time. In recent times, most machine learning models use compression techniques such as sparsity and quantisation. What makes it difficult in the context of lifelong learning is that the early stage structure adaptation and later stage adaptation can be varied, or there can be unstructured sparsity caused by neurogenesis. This means the system has to perform adaptive compression, whether it is quantisation or other forms of compression. New tapered precision numerical formats that are effective during training and inference might come to rescue. A critical point is that all of these methods should address the extreme SWaP requirements associated with untethered applications.
Memory topologies
Addressing the first design consideration is particularly challenging, as data transfer across the chip can incur high energy (up to 62% of total energy in a mobile device ), which limits the bandwidth that can be supported in energy-constrained platforms. We envision memory organisation biased towards local computation as a promising approach to address this issue. Although current processing-in-memory architectures leverage this principle, these allow minimal modification in memory arrays, so it may prove difficult to accommodate complex computations. Developments to support such computations can prove impactful to realise energy-efficient lifelong learning accelerators. In this regard, processing-near-memory architectures have more potential, since the logic layer being close to memory can offer more flexibility. In addition, advances in memory technology are also necessary to support high bandwidth data transfer in energy-constrained platforms. Newer technologies, such as optical interconnects, can be incorporated in 3D memory to improve memory bandwidth and energy efficiency. More fine-grained DRAM architectures are also being explored that activate a smaller portion of the array and reduce the communication distance between I/O and cell array for energy efficiency. Progress on this front can also prove beneficial in supporting high memory bandwidth in lifelong learning accelerators.
The second design consideration of large memory footprint motivates us to look toward software-controlled heterogeneous memory for lifelong learning accelerators. In traditional hardware-managed memory hierarchy, high-speed memory incurs a large chip area without contributing to memory capacity, which is not feasible in area-constrained platforms. This issue can be avoided with software-controlled memory. It can optimally use heterogeneous memory to enhance on-chip memory capacity by allocating data with different lifetimes and access frequencies to different types of memory. For example, the gradient/ network activity information required in consolidation mechanisms can be stored in scratchpad memory or any memory technology with low access time and higher endurance while network parameters that are updated on a slower timescale, for example, parameter importance metrics, can be stored in a compact slower memory. Replay methods may require storing a substantial number of samples from previous tasks, but since these samples are usually interleaved with current task samples, their access may be less latency-sensitive. A more compact memory technology with higher access latency such as HBM or HMC could be more suitable for storing them. With advances in emerging memory technologies (more on this in subsection Beyond CMOS and emerging technologies), designers can choose from an array of devices from memory to storage to address the memory overhead associated with lifelong learning methods. However, it remains to be understood how memory should be distributed to optimally support data access patterns and memory overhead of the different lifelong learning methods.
Outlook
For AI models to learn efficiently and continually in practical settings, careful consideration of the underlying AI hardware accelerators is required. Rapid innovations are occurring in both lifelong learning models and the underlying hardware. Therefore, model and hardware efficiencies are intertwined, and co-design approaches are essential in order to design good machines. To facilitate co-design between model and hardware, we have outlined features for lifelong learning accelerators that are agnostic or tied to specific methods. These methods serve as the backbone for most existing lifelong learning models. However, as model complexity increases, transitioning from current AI accelerators to the next generation of accelerators will be necessary for both advances in research and practical applications.
We also explored existing accelerators for learning at the edge, and highlighted how lifelong learning can exacerbate the gap between an ideal accelerator and existing AI accelerators. We examined how common optimisation approaches can be adapted to focus on features necessary for lifelong learning, providing a route for existing AI accelerators to become applicable to lifelong learning. Often these optimisations will be application specific depending on the models tried and tested in their corresponding domains prior to deployment. To design a more general-purpose lifelong learning accelerator, the system should have the ability to autonomously self-tune at a finer granularity based on the application, and have the capability to evaluate the trade-offs across the learning features. However, these insights are limited to the scope of existing accelerators, and we also discussed areas that have room for further exploration, particularly beyond CMOS and emerging technologies.
What then is the optimal solution for lifelong learning accelerators? As a starting point, this can include achieving on-device training for high-dimensional and large-scale problems on the cheap, fine granular run-time reprogrammability of compute/memory resources and novel heterogeneous memory architectures that support high-density storage and fast access with increased bandwidth. Moreover, all of these features should be supported in sub-milliWatt power budget so that they can operate seamlessly in untethered environments. We also provided an initial set of metrics that can help assess the different solutions in terms of performance and cost. Although there is unlikely to be one unified metric to clearly identify if one solution is better than another, the metrics discussed should offer the granularity to compare accelerators based on applications.
The brain’s ability to adapt throughout its lifetime makes it an attractive source of inspiration for lifelong learning. However, the complexity of biological learning can be overwhelming. Therefore, it can be helpful to identify key high-level neuroscience insights when considering future directions for the development of lifelong learning accelerators.


