Skip to main content
QUICK REVIEW

[论文解读] Rethinking Importance Weighting for Deep Learning under Distribution Shift

Tongtong Fang, Nan Lu|arXiv (Cornell University)|Jun 8, 2020
Domain Adaptation and Few-Shot LearningComputer Science被引用 34
一句话总结

本文提出 Dynamic Importance Weighting (DIW),通过学习的特征变换和端到端优化,迭代地将加权训练数据与验证数据对齐,以应对深度学习中的分布漂移。

ABSTRACT

Under distribution shift (DS) where the training data distribution differs from the test one, a powerful technique is importance weighting (IW) which handles DS in two separate steps: weight estimation (WE) estimates the test-over-training density ratio and weighted classification (WC) trains the classifier from weighted training data. However, IW cannot work well on complex data, since WE is incompatible with deep learning. In this paper, we rethink IW and theoretically show it suffers from a circular dependency: we need not only WE for WC, but also WC for WE where a trained deep classifier is used as the feature extractor (FE). To cut off the dependency, we try to pretrain FE from unweighted training data, which leads to biased FE. To overcome the bias, we propose an end-to-end solution dynamic IW that iterates between WE and WC and combines them in a seamless manner, and hence our WE can also enjoy deep networks and stochastic optimizers indirectly. Experiments with two representative types of DS on three popular datasets show that our dynamic IW compares favorably with state-of-the-art methods.

研究动机与目标

  • 在训练和测试分布不同的情况下,激发并解决深度学习中的分布漂移。
  • 识别传统重要性权重中权重估计与分类器学习之间的循环依赖。
  • 提出一种动态的端到端解决方案,联合更新权重和模型参数。
  • 展示 DIW 能够利用深度特征提取,在不同数据集和漂移类型下提高鲁棒性。

提出的方法

  • 用密度比 w*(x,y)=p_te/p_tr 来纠正训练风险,形式化加权分类。
  • 引入非线性数据变换 pi(x,y) 以简化权重估计同时保持信息。
  • 采用核均值匹配(MMD)通过匹配变换后的训练和验证分布来计算权重。
  • 提出 DIW,在小批量中交替通过 WE 更新权重 W,通过 WC 更新分类器 f_theta。
  • 将 pi 用作隐藏层输出或损失值,以实现实用、可逆的变换。
  • 在小批量中利用核嵌入实现分布匹配,并求解约束二次规划以获得 W。

实验结果

研究问题

  • RQ1在分布漂移下,如何有效地对深度模型进行重要性加权?
  • RQ2与静态 IW 相比,端到端的动态权重更新是否能在分布漂移下稳定并提升深度学习?
  • RQ3非线性变换 pi 在实现对深度网络的准确权重估计中扮演怎样的角色?
  • RQ4DIW 在协变量漂移、类别先验漂移和标签噪声下的表现如何?

主要发现

  • 在 Fashion-MNIST 和 CIFAR 数据集上,DIW 在标签噪声和类别先验漂移下优于基线(IW、Reweight、Uniform、Random 以及 Clean/Truth)。
  • DIW 学得的权重与真实/最优权重非常接近,减少偏差并提高迁移性。
  • DIW 派生的嵌入比 IW 或 SIW 显示出更紧凑、判别性更强的结构,指示对完好数据与错标数据的去噪和聚类更好。
  • 预训练特征提取 FE 与动态权重更新(DIW)的性能优于静态流水线或单次再加权。
  • DIW 对标签噪声具有鲁棒性,随着噪声率上升仍保持更高的准确率。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。