Proceedings

Few-Shot Adaptation of Pre-Trained Networks for Domain Shift

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 1665-1671.

https://doi.org/10.24963/ijcai.2022/232

Abstract

Deep networks are prone to performance degradation when there is a domain shift between the source (training) data and target (test) data. Recent test-time adaptation methods update batch normalization layers of pre-trained source models deployed in new target environments with streaming data. Although these methods can adapt on-the-fly without first collecting a large target domain dataset, their performance is dependent on streaming conditions such as mini-batch size and class-distribution which can be unpredictable in practice. In this work, we propose a framework for few-shot domain adaptation to address the practical challenges of data-efficient adaptation. Specifically, we propose a constrained optimization of feature normalization statistics in pre-trained source models supervised by a small target domain support set. Our method is easy to implement and improves source model performance with as little as one sample per class for classification tasks. Extensive experiments on 5 cross-domain classification and 4 semantic segmentation datasets show that our proposed method achieves more accurate and reliable performance than test-time adaptation, while not being constrained by streaming conditions.

  1. [Cao et al., 2019] K. Cao, C. Wei, A. Gaidon, N. Arechiga, and T. Ma. Learning imbalanced datasets with label- distribution-aware margin loss. NeurIPS, 2019.
  2. [Chang et al., 2019] W.-G. Chang, T. You, S. Seo, S. Kwak, and B. Han. Domain-specific batch normalization for un- supervised domain adaptation. CVPR, 2019.
  3. [Choi et al., 2021] S. Choi, S. Jung, H. Yun, J. Kim, S. Kim, and J. Choo. Robustnet: Improving domain generalization in urban-scene segmentation via instance selective whiten- ing. CVPR, 2021.
  4. [Gulrajani and Lopez-Paz, 2021] I. Gulrajani and D. Lopez- Paz. In search of lost domain generalization. ICLR, 2021.
  5. [Hoffman et al., 2013] J. Hoffman, E. Tzeng, J. Donahue, Y. Jia, K. Saenko, and Trevor D. One-shot adaptation of supervised deep convolutional models. ArXiv, 2013.
  6. [Huang and Belongie, 2017] X. Huang and S. Belongie. Ar- bitrary style transfer in real-time with adaptive instance normalization. ICCV, 2017.
  7. [Huang et al., 2019] L. Huang, Y. Zhou, F. Zhu, L. Liu, and L. Shao. Iterative normalization: Beyond standardization towards efficient whitening. CVPR, 2019.
  8. [Kim et al., 2020] Y. Kim, S. Hong, D. Cho, H. Park, and P. Panda. Domain adaptation without source data. ArXiv, 2020.
  9. [Koh et al., 2020] P. Koh, S. Sagawa, H. Marklund, S. Xie, M. Zhang, A. Balsubramani, W. Hu, M. Yasunaga, R. Phillips, S. Beery, J. Leskovec, A. Kundaje, E. Pierson, S. Levine, C. Finn, and P. Liang. Wilds: A benchmark of in-the-wild distribution shifts. ArXiv, 2020.
  10. [Kundu et al., 2020] J. N. Kundu, N. Venkat, R. Ambareesh, R. M. V., and R. V. Babu. Towards inheritable models for open-set domain adaptation. CVPR, 2020.
  11. [Kurmi et al., 2021] V. Kurmi, Venkatesh K. Subramanian, and Vinay P. Namboodiri. Domain impression: A source data free domain adaptation method. WACV, 2021.
  12. [Li et al., 2016] Y. Li, N. Wang, J. Shi, J. Liu, and X. Hou. Revisiting batch normalization for practical domain adap- tation. Pattern Recognition, 80, 03 2016.
  13. [Li et al., 2018] X. Li, Y. Grandvalet, and F. Davoine. Ex- plicit inductive bias for transfer learning with convolu- tional networks. ICML, 2018.
  14. [Li et al., 2019] X. Li, H. Xiong, H. Wang, Y. Rao, L. Liu, and J. Huan. DELTA: Deep learning transfer using fea- ture map with attention for convolutional networks. ICLR, 2019.
  15. [Li et al., 2020] R. Li, Q. Jiao, W. Cao, H.-S. Wong, and S. Wu. Model adaptation: Unsupervised domain adap- tation without source data. CVPR, 2020.
  16. [Liang et al., 2020] J. Liang, D. Hu, and J. Feng. Do we really need to access the source data? source hypothesis transfer for unsupervised domain adaptation. ICML, 2020.
  17. [Nado et al., 2020] Z. Nado, S. Padhy, D. Sculley, A. D'Amour, B. Lakshminarayanan, and J. Snoek. Evaluating prediction-time batch normalization for robustness under covariate shift. ArXiv, 2020.
  18. [Nam and Kim, 2018] H. Nam and H.-E. Kim. Batch- instance normalization for adaptively style-invariant neu- ral networks. NeurIPS, 2018.
  19. [Pan and Yang, 2010] S. J. Pan and Q. Yang. A survey on transfer learning. IEEE Transactions on Knowledge and Data Engineering, 22(10):1345-1359, 2010.
  20. [Pan et al., 2018] X. Pan, P. Luo, J. Shi, and X. Tang. Two at once: Enhancing learning and generalization capacities via ibn-net. ECCV, 2018.
  21. [Pan et al., 2019] X. Pan, X. Zhan, J. Shi, X. Tang, and P. Luo. Switchable whitening for deep representation learning. ICCV, 2019.
  22. [Qiu et al., 2021] Z. Qiu, Y. Zhang, H. Lin, S. Niu, Y. Liu, Q. Du, and M. Tan. Source-free domain adaptation via avatar prototype generation and adaptation. IJCAI, 2021. IJCAI
  23. [Schneider et al., 2020] S. Schneider, E. Rusak, L. Eck, O. Bringmann, W. Brendel, and M. Bethge. Improving robustness against common corruptions by covariate shift adaptation. NeurIPS, 2020.
  24. [Scott et al., 2018] T. R. Scott, K. Ridgeway, and M. Mozer. Adapted deep embeddings: A synthesis of methods for k- shot inductive transfer learning. NeurIPS, 2018.
  25. [Sun et al., 2020] Y. Sun, X. Wang, Z. Liu, J. Miller, A. A. Efros, and M. Hardt. Test-time training for out-of- distribution generalization. ICML, 2020.
  26. [Triantafillou et al., 2021] E. Triantafillou, H. Larochelle, R. S. Zemel, and V. Dumoulin. Learning a universal tem- plate for few-shot dataset generalization. ICML, 2021.
  27. [Wang et al., 2021] D. Wang, E. Shelhamer, S. Liu, B. Ol- shausen, and T. Darrell. Tent: Fully test-time adaptation by entropy minimization. ICLR, 2021.
  28. [Wilson and Cook, 2020] G. Wilson and D. J. Cook. A sur- vey of unsupervised deep domain adaptation. ACM Trans. Intell. Syst. Technol., 11(5), July 2020.
  29. [Yang et al., 2021] S. Yang, Y. Wang, J. Weijer, L. Herranz, and S. Jui. Generalized source-free domain adaptation. ICCV, 2021.
  30. [Yoo et al., 2018] D. Yoo, H. Fan, V. N. Boddeti, and K. M. Kitani. Efficient k-shot learning with regularized deep net- works. AAAI, 2018.
  31. [Yosinski et al., 2014] J. Yosinski, J. Clune, Y. Bengio, and H. Lipson. How transferable are features in deep neural networks? NIPS, 2014.
  32. [Zhou et al., 2021] K. Zhou, Y. Yang, Y. Qiao, and T. Xiang. Domain generalization with mixstyle. ICLR, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards