[Paper Review] TinyTL: Reduce Memory, Not Parameters for Efficient On-Device Learning
TinyTL proposes a memory-efficient on-device learning method that freezes network weights and only trains bias modules, eliminating the need to store intermediate activations. By introducing a lite residual module with only 3.8% memory overhead, TinyTL achieves up to 6.5x memory reduction and up to 33.8% accuracy gain over last-layer fine-tuning, while maintaining performance comparable to full fine-tuning on Inception-V3.
On-device learning enables edge devices to continually adapt the AI models to new data, which requires a small memory footprint to fit the tight memory constraint of edge devices. Existing work solves this problem by reducing the number of trainable parameters. However, this doesn't directly translate to memory saving since the major bottleneck is the activations, not parameters. In this work, we present Tiny-Transfer-Learning (TinyTL) for memory-efficient on-device learning. TinyTL freezes the weights while only learns the bias modules, thus no need to store the intermediate activations. To maintain the adaptation capacity, we introduce a new memory-efficient bias module, the lite residual module, to refine the feature extractor by learning small residual feature maps adding only 3.8% memory overhead. Extensive experiments show that TinyTL significantly saves the memory (up to 6.5x) with little accuracy loss compared to fine-tuning the full network. Compared to fine-tuning the last layer, TinyTL provides significant accuracy improvements (up to 33.8%) with little memory overhead. Furthermore, combined with feature extractor adaptation, TinyTL provides 7.5-12.9x memory saving without sacrificing accuracy compared to fine-tuning the full Inception-V3.
Motivation & Objective
- To address the memory bottleneck in on-device continual learning, where activations—not parameters—dominate memory usage.
- To reduce memory footprint without sacrificing model adaptation capacity on resource-constrained edge devices.
- To develop a method that maintains high accuracy while minimizing trainable parameters and activation storage.
- To enable efficient fine-tuning of deep networks on edge devices by focusing on bias learning and lightweight residual adaptation.
Proposed method
- Freeze all network weights and only train bias modules to eliminate the need to store intermediate activations.
- Introduce a lite residual module that learns small residual feature maps with only 3.8% memory overhead.
- Apply the lite residual module to refine the feature extractor in a memory-efficient manner.
- Combine bias-only training with feature extractor adaptation to maintain model performance.
- Use a parameter-efficient fine-tuning strategy that avoids storing gradients and activations for backpropagation.
- Design the method to be compatible with existing pre-trained models like Inception-V3 without architectural changes.
Experimental results
Research questions
- RQ1Can on-device learning be made significantly more memory-efficient by avoiding activation storage?
- RQ2Does training only bias modules with a lightweight residual module preserve or improve model accuracy compared to full fine-tuning?
- RQ3How does bias-only training compare to last-layer fine-tuning in terms of memory efficiency and accuracy?
- RQ4Can the combination of bias learning and feature extractor adaptation achieve both high memory savings and high accuracy?
- RQ5What is the trade-off between memory reduction and accuracy loss when applying parameter-efficient adaptation on edge devices?
Key findings
- TinyTL achieves up to 6.5x memory reduction compared to full network fine-tuning, with minimal accuracy loss.
- Compared to last-layer fine-tuning, TinyTL improves accuracy by up to 33.8% while incurring only a 3.8% memory overhead from the lite residual module.
- When combined with feature extractor adaptation, TinyTL provides 7.5-12.9x memory savings without sacrificing accuracy relative to full Inception-V3 fine-tuning.
- The lite residual module adds only 3.8% memory overhead while enabling effective feature refinement.
- TinyTL maintains high performance on edge devices by eliminating activation storage through weight freezing and bias-only learning.
- Extensive experiments confirm that TinyTL is both memory-efficient and accurate across multiple benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.