Proceedings

Conditional Self-Supervised Learning for Few-Shot Classification

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 2140-2146.

https://doi.org/10.24963/ijcai.2021/295

Abstract

How to learn a transferable feature representation from limited examples is a key challenge for few-shot classification. Self-supervision as an auxiliary task to the main supervised few-shot task is considered to be a conceivable way to solve the problem since self-supervision can provide additional structural information easily ignored by the main task. However, learning a good representation by traditional self-supervised methods is usually dependent on large training samples. In few-shot scenarios, due to the lack of sufficient samples, these self-supervised methods might learn a biased representation, which more likely leads to the wrong guidance for the main tasks and finally causes the performance degradation. In this paper, we propose conditional self-supervised learning (CSS) to use auxiliary information to guide the representation learning of self-supervised tasks. Specifically, CSS leverages supervised information as prior knowledge to shape and improve the learning feature manifold of self-supervision without auxiliary unlabeled data, so as to reduce representation bias and mine more effective semantic information. Moreover, CSS exploits more meaningful information through supervised and the improved self-supervised learning respectively and integrates the information into a unified distribution, which can further enrich and broaden the original representation. Extensive experiments demonstrate that our proposed method without any fine-tuning can achieve a significant accuracy improvement on the few-shot classification scenarios compared to the state-of-the-art few-shot learning methods.

  1. Mehods 5-shot 1-shot Baseline [Chen et al., 2019b] 68.43±0.73 47.01±0.78 Baseline++ [Chen et al., 2019b] 72.85±0.72 51.55±0.80 ProtoNet. [Snell et al., 2017] 68.78±0.77 43.65±0.86 MatchingNet. [Vinyals et al., 2016] 68.93±0.74 51.32±0.85 RelationNet. [Sung et al., 2018] 65.01±0.79 46.76±0.86 MAML [Finn et al., 2017] 70.30±0.77 52.42±0.91 FEAT [Ye et al., 2020] 69.39±0.77 50.69±0.86 DKT [Patacchiola et al., 2020] 67.81±0.73 50.94±0.85 ProtoTransfer [Medina et al., 2020] 67.95±0.76 42.46±0.77 CC+rot [Gidaris et al., 2019] 69.75±0.76 52.02±0.87 PN+rot [Gidaris et al., 2019] 70.52±0.72 48.53±0.88 SLA [Lee et al., 2020] 68.62±0.75 45.94±0.87 ProtoNet+rot [Su et al., 2020] 69.46±0.75 46.81±0.87 CSS(pre-training) 70.64±0.72 51.07±0.89 CSS(SSL-training) 69.96±0.76 51.48±0.89 CSS(meta-training) 74.59±0.72 56.49±0.93 Table 1: Comparison with prior work on CIFAR-FS. Average 5-way accuracies (%) with 95% confidence intervals (600 episodes). Mehods 5-shot 1-shot Baseline [Chen et al., 2019b] 68.30±0.68 46.09±0.70 Baseline++ [Chen et al., 2019b] 79.21±0.64 60.34±0.90 ProtoNet. [Snell et al., 2017] 74.68±0.70 51.47±0.88 MatchingNet. [Vinyals et al., 2016] 74.88±0.66 60.08±0.89 RelationNet. [Sung et al., 2018] 77.45±0.64 62.14±0.94 MAML [Finn et al., 2017] 76.71±0.69 61.73±0.95 FEAT [Ye et al., 2020] 80.73±0.60 64.82±0.90 DKT [Patacchiola et al., 2020] 74.57±0.68 53.56±0.91 ProtoTransfer [Medina et al., 2020] 75.14±0.66 33.28±0.58 CC+rot [Gidaris et al., 2019] 75.89±0.71 61.65±0.91 PN+rot [Gidaris et al., 2019] 76.43±0.71 49.06±0.86 SLA [Lee et al., 2020] 71.30±0.72 48.43±0.82 ProtoNet+rot [Su et al., 2020] 75.18±0.66 47.37±0.83 CSS(pre-training) 77.96±0.65 58.09±0.89 CSS(SSL-training) 77.07±0.70 57.21±0.85 CSS(meta-training) 81.84±0.59 66.01±0.90 Mehods 5-shot 1-shot Baseline [Chen et al., 2019b] 60.78±0.67 39.96±0.69 Baseline++ [Chen et al., 2019b] 67.07±0.66 47.89±0.73 ProtoNet. [Snell et al., 2017] 64.69±0.69 44.42±0.75 MatchingNet. [Vinyals et al., 2016] 62.75±0.75 47.06±0.73 RelationNet. [Sung et al., 2018] 63.96±0.69 48.11±0.82 MAML [Finn et al., 2017] 63.37±0.70 47.44±0.80 FEAT [Ye et al., 2020] 67.07±0.71 47.44±0.72 DKT [Patacchiola et al., 2020] 62.43±0.72 46.89±0.74 ProtoTransfer [Medina et al., 2020] 63.47±0.68 38.20±0.73 CC+rot [Gidaris et al., 2019] 64.71±0.68 48.19±0.77 PN+rot [Gidaris et al., 2019] 64.66±0.68 47.46±0.79 SLA [Lee et al., 2020] 63.32±0.68 44.95±0.79 ProtoNet+rot [Su et al., 2020] 64.77±0.69 45.78±0.77 CSS(pre-training) 65.01±0.73 48.31±0.78 CSS(SSL-training) 65.25±0.69 48.03±0.84 CSS(meta-training) 68.08±0.73 50.85±0.84 Table 3: Comparison with prior work on mini-ImageNet. Average 5-way accuracies (%) with 95% confidence intervals (600 episodes).
  2. [Andrychowicz et al., 2016] Marcin Andrychowicz, Misha Denil, Sergio Gomez Colmenarejo, Matthew W. Hoffman, David Pfau, Tom Schaul, and Nando de Freitas. Learning to learn by gradient descent by gradient descent. In NIPS, pages 3981-3989, 2016.
  3. [Bertinetto et al., 2019] Luca Bertinetto, João F. Henriques, Philip H. S. Torr, and Andrea Vedaldi. Meta-learning with differentiable closed-form solvers. In ICLR, 2019.
  4. [Chen and He, 2020] Xinlei Chen and Kaiming He. Ex- ploring simple siamese representation learning. CoRR, abs/2011.10566, 2020.
  5. [Chen et al., 2019a] Ting Chen, Xiaohua Zhai, Marvin Rit- ter, Mario Lucic, and Neil Houlsby. Self-supervised gans via auxiliary rotation loss. In CVPR, pages 12154-12163, 2019.
  6. [Chen et al., 2019b] Wei-Yu Chen, Yen-Cheng Liu, Zsolt Kira, Yu-Chiang Frank Wang, and Jia-Bin Huang. A closer look at few-shot classification. In ICLR, 2019.
  7. [Chen et al., 2020] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. In ICML, vol- ume 119, pages 1597-1607, 2020.
  8. [Doersch et al., 2015] Carl Doersch, Abhinav Gupta, and Alexei A. Efros. Unsupervised visual representation learn- ing by context prediction. In ICCV, pages 1422-1430, 2015.
  9. [Finn et al., 2017] Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In ICML, volume 70, pages 1126-1135, 2017.
  10. [Gidaris et al., 2019] Spyros Gidaris, Andrei Bursuc, Nikos Komodakis, Patrick Pérez, and Matthieu Cord. Boosting few-shot visual learning with self-supervision. In ICCV, pages 8058-8067, 2019.
  11. [Glorot et al., 2011] Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In AISTATS, volume 15, pages 315-323, 2011.
  12. [Grill et al., 2020] Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Ávila Pires, Zhao- han Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Koray Kavukcuoglu, Rémi Munos, and Michal Valko. Bootstrap your own latent -A new approach to self-supervised learn- ing. In NeurIPS, 2020.
  13. [He et al., 2020] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for un- supervised visual representation learning. In CVPR, pages 9726-9735, 2020.
  14. [Kipf and Welling, 2017] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In ICLR, 2017.
  15. [Koch et al., 2015] Gregory Koch, Richard Zemel, and Rus- lan Salakhutdinov. Siamese neural networks for one-shot image recognition. In ICML deep learning workshop, 2015.
  16. [Lee et al., 2020] Hankook Lee, Sung Ju Hwang, and Jinwoo Shin. Self-supervised label augmentation via input transfor- mations. In ICML, volume 119, pages 5714-5724, 2020.
  17. [Li and Liu, 2020] Jianyi Li and Guizhong Liu. Few-shot im- age classification via contrastive self-supervised learning. CoRR, abs/2008.09942, 2020.
  18. [Medina et al., 2020] Carlos Medina, Arnout Devos, and Matthias Grossglauser. Self-supervised prototypical transfer learning for few-shot classification. CoRR, abs/2006.11325, 2020.
  19. [Noroozi and Favaro, 2016a] Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In ECCV, volume 9910, pages 69-84, 2016.
  20. [Noroozi and Favaro, 2016b] Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In ECCV, volume 9910, pages 69-84, 2016.
  21. [Patacchiola et al., 2020] Massimiliano Patacchiola, Jack Turner, Elliot J. Crowley, Michael F. P. O'Boyle, and Amos J. Storkey. Bayesian meta-learning for the few-shot setting via deep kernels. In NeurIPS, 2020.
  22. [Rusu et al., 2019] Andrei A. Rusu, Dushyant Rao, Jakub Sygnowski, Oriol Vinyals, Razvan Pascanu, Simon Osin- dero, and Raia Hadsell. Meta-learning with latent embed- ding optimization. In ICLR, 2019.
  23. [Snell et al., 2017] Jake Snell, Kevin Swersky, and Richard S. Zemel. Prototypical networks for few-shot learning. In NIPS, pages 4077-4087, 2017.
  24. [Su et al., 2020] Jong-Chyi Su, Subhransu Maji, and Bharath Hariharan. When does self-supervision improve few-shot learning? In ECCV, volume 12352, pages 645-666, 2020.
  25. [Sung et al., 2018] Flood Sung, Yongxin Yang, Li Zhang, Tao Xiang, Philip H. S. Torr, and Timothy M. Hospedales. Learning to compare: Relation network for few-shot learn- ing. In CVPR, pages 1199-1208, 2018.
  26. [Vinyals et al., 2016] Oriol Vinyals, Charles Blundell, Tim Lillicrap, Koray Kavukcuoglu, and Daan Wierstra. Match- ing networks for one shot learning. In NIPS, pages 3630- 3638, 2016.
  27. [Wah et al., 2011] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech- ucsd birds-200-2011 dataset. 2011.
  28. [Wu et al., 2018] Zhirong Wu, Yuanjun Xiong, Stella X. Yu, and Dahua Lin. Unsupervised feature learning via non- parametric instance discrimination. In CVPR, pages 3733- 3742, 2018.
  29. [Ye et al., 2020] Han-Jia Ye, Hexiang Hu, De-Chuan Zhan, and Fei Sha. Few-shot learning via embedding adapta- tion with set-to-set functions. In CVPR, pages 8805-8814, 2020.
  30. [Zhang et al., 2016] Richard Zhang, Phillip Isola, and Alexei A. Efros. Colorful image colorization. In ECCV, volume 9907, pages 649-666, 2016.

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

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