Incremental Object Detection with Prompt-based Methods

Matthias Neuwirth-Trapp, Maarten Bieshaar, Danda Pani Paudel, Luc Van GoolarXiv 2025 · DOI

Abstract

Incremental Learning (IL) aims to enable models to learn from a sequence of tasks without suffering from catastrophic forgetting. While prompt-based methods have emerged as a parameter-efficient alternative to fine-tuning in image classification, their efficacy in the more complex domain of Incremental Object Detection (IOD) has not been thoroughly explored. This paper presents a comprehensive evaluation of state-of-the-art prompt-based methods—L2P, DualPrompt, and S-Prompt—on the D-RICO benchmark for domain-incremental object detection. Our findings reveal that while deep prompting and careful initialization improve performance, these methods currently underperform compared to simple data replay strategies. We provide insights into the stability-plasticity dilemma in IOD and suggest directions for future "space-aware" prompting techniques.

Introduction

In the field of computer vision, the ability to learn continuously from new data without overwriting previously acquired knowledge is a significant challenge known as the stability-plasticity dilemma. When models are trained on a sequence of new tasks, they often suffer from catastrophic forgetting. While prompt-based methods—which involve training small, learnable embedding vectors while keeping the main model backbone frozen—have shown promise in image classification, their effectiveness in Incremental Object Detection (IOD) remains less understood. Object detection is inherently more complex than classification, requiring the model to localize objects in diverse and shifting environments.

Methodology

This study systematically evaluates three prominent prompt-based methods integrated into an EVA-02 vision transformer backbone:

  • L2P (Learning to Prompt): Selects relevant prompts from a pool based on input features.
  • DualPrompt: Utilizes both "general" (shared) and "expert" (task-specific) prompts.
  • S-Prompt: Allocates distinct prompts for every individual task.

These methods were benchmarked against Naive Fine-tuning, Data Replay (1% and 10% buffers), and Joint Training (the upper bound). The evaluation utilized the D-RICO benchmark, which consists of 15 tasks across 14 datasets, encompassing diverse sensors (RGB, thermal, event-based) and environments (automotive, surveillance, varying weather).

Results and Discussion

The evaluation highlights a significant performance gap between current prompt-based methods and traditional replay strategies. As illustrated in Figure 1, prompt-based methods generally occupy a middle ground, failing to match the performance of even a 1% data replay buffer.

Performance vs. Forgetting trade-offs for various incremental learning methods.

Key Insights

  • The Replay Advantage: Replaying just 10% of previous data remains the most effective strategy, achieving a mean Average Precision (mAP) of 31.62, compared to the best prompt-based result of 23.81 from DualPrompt (see Figure 6). This suggests that current prompting strategies do not yet fully capture the spatial complexities required for detection.
  • Prompt Depth: "Deep" prompting (inserting prompts at every transformer layer) significantly outperformed "shallow" prompting, indicating that detection models require task-specific guidance throughout the feature extraction process.
  • Initialization Sensitivity: The study found that smaller initialization intervals for prompt values (e.g., [-0.01, 0.01]) lead to more stable and effective learning compared to standard random initialization.
  • Output Layer Dynamics: Freezing the detection head after the first task can mitigate forgetting for weaker methods but may limit the plasticity of more capable models.
Comprehensive evaluation of prompt-based methods and baselines on the D-RICO benchmark.

Conclusion

While prompt-based methods offer high parameter efficiency, they currently lag behind robust replay strategies in domain-incremental object detection. The primary limitation stems from these methods being originally designed for classification tasks. Future research should focus on developing "space-aware" prompts that assist the model in better localizing objects. Additionally, hybrid approaches combining the efficiency of prompts with the stability of small-scale data replay represent a promising frontier for addressing the stability-plasticity dilemma in more challenging class-incremental scenarios.

Summary updated

BibTeX
@misc{neuwirthtrapp2025incremental,
  author = {Matthias Neuwirth-Trapp and Maarten Bieshaar and Danda Pani Paudel and Luc Van Gool},
  title = {{Incremental Object Detection with Prompt-based Methods}},
  year = {2025},
  eprint = {2508.14599},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.14599},
}
Figure