[Paper Review] RILOD: Near Real-Time Incremental Learning for Object Detection at the Edge
RILOD proposes a near real-time incremental learning system for object detection on edge devices, using knowledge distillation to prevent catastrophic forgetting while training only on new-class data. It achieves sub-2-minute training per new class via an automated, real-time dataset construction pipeline, enabling practical on-device personalization with minimal accuracy loss.
Object detection models shipped with camera-equipped edge devices cannot cover the objects of interest for every user. Therefore, the incremental learning capability is a critical feature for a robust and personalized object detection system that many applications would rely on. In this paper, we present an efficient yet practical system, RILOD, to incrementally train an existing object detection model such that it can detect new object classes without losing its capability to detect old classes. The key component of RILOD is a novel incremental learning algorithm that trains end-to-end for one-stage deep object detection models only using training data of new object classes. Specifically to avoid catastrophic forgetting, the algorithm distills three types of knowledge from the old model to mimic the old model's behavior on object classification, bounding box regression and feature extraction. In addition, since the training data for the new classes may not be available, a real-time dataset construction pipeline is designed to collect training images on-the-fly and automatically label the images with both category and bounding box annotations. We have implemented RILOD under both edge-cloud and edge-only setups. Experiment results show that the proposed system can learn to detect a new object class in just a few minutes, including both dataset construction and model training. In comparison, traditional fine-tuning based method may take a few hours for training, and in most cases would also need a tedious and costly manual dataset labeling step.
Motivation & Objective
- Address the challenge of enabling personalized, on-device object detection for new, user-specific object classes without retraining on all previous classes.
- Overcome catastrophic forgetting in one-stage object detectors during incremental learning using knowledge distillation.
- Develop a practical, end-to-end system that operates efficiently on edge-only or edge-cloud architectures for real-world deployment.
- Automate dataset creation for new object classes by collecting and labeling images from the web in real time with bounding boxes and categories.
- Achieve fast incremental training—under 2 minutes per new class—while maintaining high detection accuracy.
Proposed method
- Apply knowledge distillation to transfer three types of knowledge from the old model: classification probabilities, bounding box regression outputs, and intermediate feature representations.
- Train the new model exclusively on data from the new class, using distillation losses to constrain changes in predictions for old classes.
- Use a pre-trained ImageNet classifier to automatically detect and localize candidate objects in web-crawled images for dataset construction.
- Implement a real-time pipeline that downloads images, applies object detection to generate bounding box annotations, and constructs a training dataset on-the-fly.
- Support both edge-only and edge-cloud deployment, with model training on GPU-accelerated cloud servers or on-device using Jetson TX2.
- Use small input sizes (e.g., 512×512) to reduce training time while maintaining acceptable accuracy, with ablation studies on input resolution impact.
Experimental results
Research questions
- RQ1Can incremental learning for object detection be performed efficiently on edge devices without access to old training data?
- RQ2How can catastrophic forgetting be effectively mitigated in one-stage object detectors during incremental learning?
- RQ3Can automated, real-time dataset construction from web images achieve high-quality bounding box and category annotations for new classes?
- RQ4What is the end-to-end training latency of incremental learning for new object classes in practical edge deployments?
- RQ5How does model architecture and input resolution affect the trade-off between training speed and detection accuracy in incremental learning?
Key findings
- RILOD achieves incremental training for a new object class in under 2 minutes on a single GPU, with a total system time of 119 seconds in the edge-cloud setup.
- The system reduces training time by 38x compared to traditional fine-tuning methods, which typically require several hours.
- Using input size 512×512, training time per epoch is 8.3 seconds for 10 exemplars, increasing to 14.1 seconds for 30 exemplars, showing a linear scaling trend.
- The method maintains high detection accuracy, with minimal accuracy loss despite training only on new-class data and using distillation to preserve old knowledge.
- Edge-Cloud setup is significantly faster than Edge-Only due to superior GPU resources, with model training taking 83 seconds vs. 233 seconds on Jetson TX2.
- The real-time dataset construction pipeline successfully generates high-precision annotations from web images, eliminating the need for manual labeling.
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.