在持续变化的测试域中目标检测器应当更新什么、如何更新以及何时更新?
What, How, and When Should Object Detectors Update in Continually Changing Test Domains?
AI总结:
针对测试域持续变化下目标检测的分布偏移问题,提出含架构无关轻量适配器、逐类特征对齐及自适应时机判断的在线自适应方法,性能优于基线且保持较高推理速度。
摘要:
众所周知,深度学习模型在测试时遇到分布偏移时性能会下降。测试时自适应(Test-time Adaptation, TTA)算法被提出用于在推理测试数据的过程中在线调整模型。然而,现有研究主要聚焦于分类任务,通过优化批归一化层或分类头实现自适应,但这种方法限制了其对Transformer等多种模型架构的适用性,也难以应用于目标检测等其他任务。本文提出了一种面向持续变化测试域下目标检测的新型在线自适应方法,综合考虑模型的更新部位、更新方式以及更新时机。通过引入架构无关的轻量级适配器模块,仅更新这些模块而保持预训练骨干网络不变,我们能够高效快速地适配新测试域,同时防止灾难性遗忘。此外,我们提出了一种实用且简便的目标检测逐类特征对齐方法,以解决域偏移问题。我们还通过判断模型何时已充分适配、或何时因测试分布变化需要额外自适应来提升效率。我们的方法在广泛使用的基准上优于基线方法,在COCO→COCO-corrupted和SHIFT数据集上的平均精度均值(mAP)分别提升最高达4.9个百分点和7.9个百分点,同时保持约20 FPS或更高的帧率。
英文摘要:
It is a well-known fact that the performance of deep learning models deteriorates when they encounter a distribution shift at test time. Test-time adaptation (TTA) algorithms have been proposed to adapt the model online while inferring test data. However, existing research predominantly focuses on classification tasks through the optimization of batch normalization layers or classification heads, but this approach limits its applicability to various model architectures like Transformers and makes it challenging to apply to other tasks, such as object detection. In this paper, we propose a novel online adaption approach for object detection in continually changing test domains, considering which part of the model to update, how to update it, and when to perform the update. By introducing architecture-agnostic and lightweight adaptor modules and only updating these while leaving the pre-trained backbone unchanged, we can rapidly adapt to new test domains in an efficient way and prevent catastrophic forgetting. Furthermore, we present a practical and straightforward class-wise feature aligning method for object detection to resolve domain shifts. Additionally, we enhance efficiency by determining when the model is sufficiently adapted or when additional adaptation is needed due to changes in the test distribution. Our approach surpasses baselines on widely used benchmarks, achieving improvements of up to 4.9\%p and 7.9\%p in mAP for COCO $\rightarrow$ COCO-corrupted and SHIFT, respectively, while maintaining about 20 FPS or higher.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。