Introduction
Autonomous drone racing represents a pinnacle of high-speed robotics, requiring precise perception and rapid decision-making. A fundamental task in this domain is gate detection—the ability of a drone to identify and estimate the 3D pose of gates in real-time. However, deep learning models used for this task often struggle when transitioned between environments with different lighting conditions. This paper, a collaboration between Nanyang Technological University, Aarhus University, and Paderborn University, investigates how Continual Learning (CL) can be leveraged to maintain robust performance across varying illumination levels without the need for exhaustive retraining.
The Challenge: Catastrophic Forgetting
In a typical racing scenario, a drone might be trained in a well-lit laboratory but required to compete in a dimly lit arena. Standard neural networks suffer from "catastrophic forgetting," where learning a new task (e.g., detecting gates in low light) causes the model to overwrite the weights associated with previous tasks (e.g., detecting gates in bright light). While retraining on a combined dataset of all conditions is a potential solution, it is computationally expensive and often impractical for real-world deployments where data is acquired incrementally.
Methodology
PencilNet Backbone
The researchers utilized PencilNet as their foundational architecture. PencilNet is a lightweight backbone designed for efficiency. It incorporates a "pencil filter"—a morphological operation that emphasizes geometric edges. By focusing on the structural contours of the gates rather than raw pixel intensities, the model becomes inherently more resilient to fluctuations in lighting.
Continual Learning Strategies
To address the stability-plasticity dilemma—the trade-off between retaining old knowledge and acquiring new information—the authors evaluated several CL strategies:
- Knowledge Distillation (KD): This approach uses a "teacher" model (the previous iteration of the network) to regularize the "student" model (the current iteration), encouraging it to maintain similar internal feature representations.
- Experience Replay (ER): The model maintains a small memory buffer containing a subset of samples from previous tasks. These samples are interleaved with new data during training to "remind" the network of prior environments.
- Dark Experience Replay (DER++): A more advanced rehearsal method that stores not only the raw images but also the soft-target outputs (logits) of the model from the time those images were first encountered. This preserves the "dark knowledge" or the logic the model used to arrive at its previous conclusions.
Experimental Setup
The study utilized a custom dataset collected at Aarhus University, consisting of 6,760 images of four identical square gates. The dataset spanned five distinct illumination levels, ranging from 100% down to 10% light intensity. To ensure high-fidelity evaluation, ground truth 3D poses were established using a Vicon motion capture system with 16 cameras, providing sub-millimeter accuracy.
Key Insights and Results
The Curriculum Effect
The researchers discovered that the order of tasks significantly impacts performance. Training in a "Bright-to-Dark" (Easy-to-Hard) sequence resulted in superior overall accuracy. This suggests that establishing a robust feature representation in clear conditions provides a better foundation for adapting to more challenging, degraded environments.
The Superiority of Rehearsal
Experimental results demonstrated that rehearsal-based methods (ER and DER++) significantly outperformed distillation-only methods. By maintaining a tiny buffer of just 200 samples, the models were able to drastically reduce forgetting. In the Bright-to-Dark sequence, the DER++ method achieved an Average Precision (AP) of 0.65, compared to just 0.50 for a standard fine-tuned (Naive) model. Furthermore, the distance estimation error ($E_d$) for the Naive model quadrupled as it moved through the tasks, while the CL-enhanced models kept errors consistently low.
Stability vs. Plasticity
While CL methods slightly reduced the "plasticity" (the speed of learning a new task), the gain in "stability" (retention of old tasks) was substantial. Using a specialized Forgetting Measure (FM), the authors showed that DER++ reduced the loss of previous knowledge by more than 50% compared to the baseline.
Conclusion and Future Work
This research demonstrates that Continual Learning is a viable and effective strategy for making autonomous drone perception systems more robust to environmental shifts. By implementing strategies like DER++, drones can adapt to new lighting conditions while maintaining their ability to navigate previously encountered environments.
Future work aims to expand this framework to address other visual degradations, such as high-speed motion blur, and to transition from batch-based learning to true Online Continual Learning, where the drone adapts frame-by-frame during active flight.
Summary updated