Adapting a model to perform well on unforeseen data outside its training set is a common problem that continues to motivate new approaches. We demonstrate that application of batch normalization in the output layer, prior to softmax activation, results in improved generalization across visual data domains in a refined ResNet model. The approach adds negligible computational complexity yet outperforms many domain adaptation methods that explicitly learn to align data domains. We benchmark this technique on the Office-Home dataset and show that batch normalization is competitive with other leading methods. We show that this method is not sensitive to presence of source data during adaptation and further present the impact on trained tensor distributions tends toward sparsity. Code is available at https://github.com/matthewbehrend/BNC
翻译:调整模型以很好地利用培训组外的意外数据是一个常见问题,它继续激励采取新的办法。我们证明,在软马克思激活前在产出层应用批量正常化,在经过改进的ResNet模型中,可以改善全视数据领域的通用性。这种方法增加了可忽略的计算复杂性,但优于许多明确学习统一数据领域的领域适应方法。我们在Office-Home数据集中将这一技术作为基准,并表明批量正常化与其他主要方法相比具有竞争力。我们表明,在适应期间,这一方法对源数据的存在并不敏感,并进一步展示了对经过培训的高温分布趋向于垃圾场的影响。代码可在https://github.com/matthewbehrend/BNC查阅。