Domain adaptive detection aims to improve the generalization of detectors on target domain. To reduce discrepancy in feature distributions between two domains, recent approaches achieve domain adaption through feature alignment in different granularities via adversarial learning. However, they neglect the relationship between multiple granularities and different features in alignment, degrading detection. Addressing this, we introduce a unified multi-granularity alignment (MGA)-based detection framework for domain-invariant feature learning. The key is to encode the dependencies across different granularities including pixel-, instance-, and category-levels simultaneously to align two domains. Specifically, based on pixel-level features, we first develop an omni-scale gated fusion (OSGF) module to aggregate discriminative representations of instances with scale-aware convolutions, leading to robust multi-scale detection. Besides, we introduce multi-granularity discriminators to identify where, either source or target domains, different granularities of samples come from. Note that, MGA not only leverages instance discriminability in different categories but also exploits category consistency between two domains for detection. Furthermore, we present an adaptive exponential moving average (AEMA) strategy that explores model assessments for model update to improve pseudo labels and alleviate local misalignment problem, boosting detection robustness. Extensive experiments on multiple domain adaption scenarios validate the superiority of MGA over other approaches on FCOS and Faster R-CNN detectors. Code will be released at https://github.com/tiankongzhang/MGA.
翻译:为了减少两个领域之间地貌分布的差异,最近的方法通过对抗性学习,在不同颗粒中进行地貌调整,从而实现地貌调整,然而,这些方法忽视了多个颗粒和不同特性之间的关系,降低了检测质量。为此,我们为域-异性特征学习引入了统一的多色协调(MGA)检测框架,关键在于将不同颗粒(包括像素-直径、例-和类别级别)之间的依赖性进行编码,以同时对两个领域进行对齐。具体地说,根据像素级的特性,我们首先开发一个全称级封闭聚变异(OSGF)模块,以综合区分具有规模-觉悟变异(MGA)的情况,导致强有力的多度检测。此外,我们引入了多色谱分析器,以确定不同来源或目标领域不同样品的发源地。注意到,MGA不仅利用不同类别中的相扰动性,而且还利用了两种域域域域内地貌的闭调(OS)组合组合组合组合(OSGFGA) 升级测试战略的一致性。