arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.06442cs.CVcs.LG
收藏

面向领域泛化的不确定特征表示建模

Modeling Uncertain Feature Representation for Domain Generalization

Peking University(北京大学);Singapore University of Technology and Design(新加坡科技设计大学);Tencent PCG(腾讯平台与内容事业群);Peng Cheng Laboratory(鹏城实验室)

Xiaotong Li, Zixuan Hu, Jun Liu, Yixiao Ge, Yongxing Dai, Ling-Yu Duan

摘要:

尽管深度神经网络在各种视觉任务上取得了令人印象深刻的成功,但当模型在分布外场景中进行测试时,仍然存在明显的性能下降。在解决这一局限性时,我们认为可以适当地操纵携带训练数据的域特征的特征统计(均值和标准差),以提高深度学习模型的泛化能力。现有的方法通常认为特征统计是从学习的特征中测量的确定性值,并且没有明确地对测试过程中潜在的域偏移引起的不确定统计差异进行建模。在本文中,我们通过建模不确定性域偏移(DSU)来提高网络的泛化能力,即,在训练期间将特征统计表征为不确定分布。具体来说,我们假设的特征统计量,在考虑潜在的不确定性,遵循多元高斯分布。在推理过程中,我们提出了一种实例自适应策略,可以自适应地处理不可预见的移位,并进一步提高训练模型的泛化能力,而额外的成本可以忽略不计。从泛化误差界和隐正则化效应两个方面进行了理论分析,验证了该方法的有效性。大量的实验表明,我们的方法不断提高网络的泛化能力,对多个视觉任务,包括图像分类,语义分割,实例检索,姿态估计。我们的方法简单而有效,可以很容易地集成到网络中,无需额外的可训练参数或损失约束。代码将在https://github.com/lixiaotong97/DSU上发布。

英文摘要:

Though deep neural networks have achieved impressive success on various vision tasks, obvious performance degradation still exists when models are tested in out-of-distribution scenarios. In addressing this limitation, we ponder that the feature statistics (mean and standard deviation), which carry the domain characteristics of the training data, can be properly manipulated to improve the generalization ability of deep learning models. Existing methods commonly consider feature statistics as deterministic values measured from the learned features and do not explicitly model the uncertain statistics discrepancy caused by potential domain shifts during testing. In this paper, we improve the network generalization ability by modeling domain shifts with uncertainty (DSU), i.e., characterizing the feature statistics as uncertain distributions during training. Specifically, we hypothesize that the feature statistic, after considering the potential uncertainties, follows a multivariate Gaussian distribution. During inference, we propose an instance-wise adaptation strategy that can adaptively deal with the unforeseeable shift and further enhance the generalization ability of the trained model with negligible additional cost. We also conduct theoretical analysis on the aspects of generalization error bound and the implicit regularization effect, showing the efficacy of our method. Extensive experiments demonstrate that our method consistently improves the network generalization ability on multiple vision tasks, including image classification, semantic segmentation, instance retrieval, and pose estimation. Our methods are simple yet effective and can be readily integrated into networks without additional trainable parameters or loss constraints. Code will be released in https://github.com/lixiaotong97/DSU.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑