Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Rethinking Importance Weighting for Deep Learning under Distribution Shift

About

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.

Tongtong Fang, Nan Lu, Gang Niu, Masashi Sugiyama• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationMNIST-10 (test)
Test Accuracy74.75
19
Image ClassificationMNIST CS 100 (test)
Mean Accuracy78.58
19
Image ClassificationShift-MNIST (test)
Accuracy79.73
15
Image ClassificationColor-MNIST case (iii) (test)
Accuracy39.5
12
Image ClassificationCIFAR-20 case (iii) (test)
Accuracy55.78
12
Image ClassificationMNIST case (iii) (test)
Accuracy80.53
12
Image ClassificationMNIST Label Noise 0.2 (test)
Mean Accuracy80.12
12
Image ClassificationMNIST Label Noise 0.4 (test)
Mean Accuracy79
12
Image ClassificationMNIST case (iv) (test)
Accuracy75.11
12
Image ClassificationColor-MNIST Class-prior Shift 10 (test)
Mean Accuracy39.18
7
Showing 10 of 19 rows

Other info

Follow for update