Introduction
Deep learning models deployed in autonomous systems, such as drones and self-driving vehicles, are frequently subjected to "data drift." A model optimized for clear, sunny highways often experiences a significant drop in accuracy when the vehicle encounters a rainy city at night. To maintain safety and reliability, these systems must employ Continuous Learning (CL)—a process where the system runs a lightweight "student" model for real-time inference, utilizes a high-capacity "teacher" model to label new, challenging data, and subsequently retrains the student model on-device.
However, executing inference, labeling, and retraining simultaneously creates a massive computational bottleneck. Current edge devices either lack the power to handle these tasks, leading to latency issues, or consume excessive battery life. DaCapo addresses this "resource wall" through a hardware-algorithm co-design that enables efficient, on-device continuous learning.
The DaCapo Architecture
DaCapo introduces a specialized accelerator designed to handle the heterogeneous workloads of continuous learning through two primary innovations: precision-flexible hardware and a spatiotemporal resource allocation algorithm.
1. Precision-Flexible Hardware
The hardware is built around Dot-Product Engines (DPEs) that support the MicroeXponent (MX) data format. Unlike standard fixed-precision accelerators, DaCapo can dynamically adjust its precision (4-bit, 6-bit, or 9-bit). This flexibility is critical because retraining typically requires higher precision (9-bit) than simple inference (6-bit) to ensure convergence and accuracy. Furthermore, the chip supports "spatial partitioning," allowing it to be split into distinct sub-accelerators. This ensures that the high-throughput requirements of the inference engine do not interfere with the resource-intensive labeling and retraining tasks.
2. Spatiotemporal Resource Allocation
To manage these partitioned resources, DaCapo employs a dual-layered allocation strategy:
- Spatial Allocation: This determines the physical hardware footprint (number of DPE rows) assigned to the inference engine to ensure it maintains frame-rate requirements without dropping data.
- Temporal Allocation: This serves as the system's scheduler. By monitoring accuracy in real-time, the allocator can detect data drift. When a drift occurs, the system dynamically shifts more time to labeling new data rather than retraining on stale data, allowing the system to adapt to new environments with minimal delay.
Experimental Evaluation
The researchers evaluated DaCapo using the BDD100K dataset, a diverse collection of driving videos featuring various environmental shifts (day to night, city to highway) and task changes. The system was tested across multiple model pairs, including ResNet18/WideResNet50 and Vision Transformers (ViT-B).
Key Results
- Superior Accuracy: DaCapo achieved 6.5% higher accuracy than Ekya and 5.5% higher accuracy than EOMU, two leading state-of-the-art continuous learning systems.
- Extreme Efficiency: Compared to an NVIDIA Jetson Orin GPU baseline, DaCapo consumed 254× less power, making it viable for small, battery-constrained autonomous platforms.
- Rapid Adaptation: In scenarios involving sudden environmental transitions (e.g., entering a snowstorm), DaCapo recovered its accuracy significantly faster than systems with fixed schedules due to its prioritized labeling strategy.
Discussion and Insights
A primary insight from the DaCapo study is the identification of the "labeling bottleneck." The authors discovered that during periods of high data drift, the most critical task is not the retraining itself, but the generation of high-quality labels for the new environment. By prioritizing the teacher model's labeling efforts immediately following drift detection, DaCapo ensures the student model has the relevant data it needs to adapt.
Additionally, the study highlights the importance of hardware fission. By physically isolating inference and training resources, DaCapo prevents cache contention and bandwidth bottlenecks that typically plague general-purpose GPUs when running concurrent, diverse workloads.
Conclusion and Future Work
DaCapo demonstrates that hardware-algorithm co-design is essential for bringing continuous learning to the edge. While the current prototype shows remarkable efficiency and accuracy, future work will focus on "online auto-tuning" for hyperparameters to reduce the need for offline configuration. Additionally, the researchers aim to scale the architecture to support multi-camera systems and more complex computer vision tasks such as semantic segmentation and depth estimation.
Summary updated