TinyCL: An Efficient Hardware Architecture for Continual Learning on Autonomous Systems

Eugenio Ressa, Alberto Marchisio, Maurizio Martina, Guido Masera, Muhammad Shafique

TL;DR

TinyCL is the first hardware accelerator designed specifically to enable Continual Learning (CL) directly on resource-constrained autonomous edge devices. By introducing reconfigurable processing units and a "snake-like" memory access pattern, it achieves a 58× training speedup over an NVIDIA Tesla P100 GPU while consuming a mere 86 mW of power.

What Problem Does This Paper Address?

Deploying deep learning models on autonomous systems (like robots or drones) typically follows a rigid paradigm: train a model in a massive data center, optimize it, and deploy it statically on the edge device. However, real-world environments change. A static model cannot adapt to new tasks or shifting data distributions without suffering from Catastrophic Forgetting (CF)—a phenomenon where learning new information wipes out previously acquired knowledge.

While Continual Learning (CL) algorithms solve this by updating network weights on the fly, the underlying math requires backpropagation and complex memory management. Existing edge hardware accelerators are built almost exclusively for inference (the forward pass). The few edge training accelerators that do exist lack the specialized control logic needed to handle CL-specific workloads, such as managing experience replay buffers or enforcing constraints to prevent forgetting. TinyCL bridges this gap with a dedicated ASIC architecture.

Methods

The authors designed TinyCL at the RTL level using SystemVerilog and synthesized it using a standard 65 nm CMOS ASIC flow. Its core architecture consists of a specialized Control Unit (CU) and a highly optimized Processing Unit (PU) surrounded by four distinct memory groups: Training Data, Gradient, Kernel, and Partial Feature memories.

Top-level view of the TinyCL architecture

Key architectural innovations include:

  • Reconfigurable MAC Blocks: To minimize silicon area, the Multiply-and-Accumulate (MAC) blocks can switch modes at runtime depending on the operation. In Multi-Operand mode, they form an adder-tree to compute 3D convolutions during forward and backward propagation. In Multi-Adder mode, they compute parallel channels for kernel gradient calculations.
  • Snake-like Sliding Window: Standard convolutions reset to the first column at the start of every new row, which requires reloading data from memory. TinyCL forces the convolutional sliding window to move in a continuous "snake-like" pattern. This allows the hardware to reuse 6 out of 9 input features between consecutive cycles, drastically reducing power-hungry SRAM accesses.
Example of snake-like forward computation
  • Data Quantization: The architecture utilizes a 16-bit fixed-point format (4-bit integer and 12-bit fractional data) combined with value clipping. This eliminates the need for resource-heavy batch normalization while maintaining high numerical accuracy.

Datasets

The architecture was evaluated using the standard CIFAR10 image dataset. To benchmark its continual learning performance, the authors split the dataset into 5 sequential tasks (with 2 distinct classes per task) using the GDumb replay framework. The system utilized a 6.144 MB memory buffer to store up to 1,000 old RGB training samples to mitigate catastrophic forgetting.

Key Insights and Ideas

  • Unified Hardware Reuse: Instead of splitting the silicon into separate forward and backward propagation pipelines, TinyCL demonstrates that the exact same processing units can be dynamically reconfigured to handle both training phases efficiently.
  • Data Trajectory Matters: Memory access is the primary energy bottleneck for edge training. Simply altering the spatial trajectory of how a convolution traverses an image (the snake pattern) yields massive data-reuse dividends.
  • The Memory Footprint Challenge: Even with aggressive optimization, the synthesis results reveal that memory blocks consume 80% of the total area and 76% of the total power of the chip. This underscores that the future of edge training relies heavily on solving the memory bottleneck.

Key Results

  • Massive Speedup vs. GPU: TinyCL completed one training epoch of a Conv + ReLU + Dense model on CIFAR10 in just 1.76 seconds. The equivalent software implementation running on an enterprise-grade NVIDIA Tesla P100 GPU took 103 seconds, representing a 58× speedup for TinyCL.
  • Ultra-low Power & Area: Operating at a clock period of 3.87 ns, the entire synthesized architecture draws only 86 mW and occupies a tiny silicon area of 4.74 mm².
  • Competitive Edge: When compared to other state-of-the-art training accelerators in literature (such as HNPU and LNPU), TinyCL demonstrates significantly lower power consumption and a smaller physical footprint, making it uniquely qualified for strict edge deployment.

Limitations and Future Work

  • Algorithmic Constraints: TinyCL currently only supports memory-based (replay) CL algorithms due to their straightforward hardware implementation. Adapting the control unit to support regularization-based methods (like Elastic Weight Consolidation) or dynamic network architecture expansion remains an open challenge.
  • Hardware Underutilization in Dense Layers: Because the size of the gradient matrix changes dynamically based on the CL task setup, the hardware cannot always guarantee 100% MAC utilization during dense layer gradient propagation.
  • SRAM Scaling: Since memory dominates the chip's physical footprint, scaling up to larger models will require integrating advanced memory compression or exploring emerging non-volatile in-memory computing technologies.

Summary updated

BibTeX
@inproceedings{ressa2025tinycl,
  author = {Eugenio Ressa and Alberto Marchisio and Maurizio Martina and Guido Masera and Muhammad Shafique},
  title = {{TinyCL: An Efficient Hardware Architecture for Continual Learning on Autonomous Systems}},
  booktitle = {IJCNN},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228478},
}
Figure