Abstract
Continual learning in object detection (CLOD) is often hindered by the high resource demands of standard distillation techniques, making deployment on edge devices difficult. This paper proposes Latent Distillation (LD), an efficient approach that shares a frozen backbone between teacher and student models. By integrating LD with the ultra-lightweight NanoDet architecture, the researchers reduced distillation memory overhead by 74% and computational costs by 56% compared to standard methods, while maintaining competitive detection performance on PASCAL VOC and MS COCO datasets.
Introduction: The Challenge of Forgetting at the Edge
Deep learning models are notoriously "forgetful." When trained on a new task, such as detecting cars, they often lose the ability to perform previous tasks, like detecting dogs—a phenomenon known as catastrophic forgetting. While Continual Learning (CL) aims to mitigate this, existing solutions are typically designed for high-performance servers.
In "Edge AI" environments—such as drones or smart cameras—two major hurdles exist:
- Memory Constraints: Standard distillation requires keeping two full models in memory, doubling resource needs.
- Computational Cost: Frequent model updates are battery-intensive and slow on low-power hardware.
Proposed Method: Latent Distillation
The authors introduce two key innovations to address these challenges:
1. NanoDet for Continual Learning
The researchers selected NanoDet, an open-source, ultra-lightweight, anchor-free object detector. By stripping away auxiliary training modules, they reduced the model to just 1.2 million parameters, making it suitable for microcontrollers. Its anchor-free nature provides additional flexibility when adapting to new object shapes compared to traditional detectors.
2. Latent Distillation (LD)
Traditional Knowledge Distillation involves a "Teacher" (the old model) and a "Student" (the updating model) processing the same image. The authors observed that lower network layers (the backbone) learn general features that remain relatively stable across tasks.
In Latent Distillation, the backbone is frozen after the initial task and shared between the Teacher and Student. Only the "heads" — the components responsible for predicting boxes and classes — remain unique to each model. This ensures that heavy feature extraction is performed only once, drastically reducing the memory footprint.
Experimental Results
The approach was validated using PASCAL VOC 2007 and MS COCO benchmarks across various incremental scenarios (e.g., learning 10 classes, then another 10).
- Efficiency Gains: LD reduced additional parameters for distillation by 74% and cut Floating Point Operations (FLOPs) by 56% per update.
- Detection Performance: In the VOC 19p1 scenario, LD achieved a mean Average Precision (mAP) of 23.6%, outperforming the heavier SID (Selective and Inter-related Distillation) method (22.8%) despite using significantly fewer resources.
- Memory Footprint: Training with LD requires only 1.5M parameters, compared to the 2.4M required by standard distillation.
Discussion and Future Work
Freezing the backbone acts as a natural stabilizer, physically preventing the model from forgetting basic textures and shapes. However, this introduces a trade-off between stability and "plasticity" — the model's ability to learn radically different new objects.
Future research will focus on deploying this method on tinyML hardware (e.g., ARM Cortex-M) to measure real-world battery consumption and exploring "Domain-Incremental" learning, where environmental conditions change while object classes remain the same.
Summary updated