Proceedings

Boosting Few-Shot Open-Set Recognition with Multi-Relation Margin Loss

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 3505-3513.

https://doi.org/10.24963/ijcai.2023/390

Abstract

Few-shot open-set recognition (FSOSR) has become a great challenge, which requires classifying known classes and rejecting the unknown ones with only limited samples. Existing FSOSR methods mainly construct an ambiguous distribution of known classes from scarce known samples without considering the latent distribution information of unknowns, which degrades the performance of open-set recognition. To address this issue, we propose a novel loss function called multi-relation margin (MRM) loss that can plug in few-shot methods to boost the performance of FSOSR. MRM enlarges the margin between different classes by extracting the multi-relationship of paired samples to dynamically refine the decision boundary for known classes and implicitly delineate the distribution of unknowns. Specifically, MRM separates the classes by enforcing a margin while concentrating samples of the same class on a hypersphere with a learnable radius. In order to better capture the distribution information of each class, MRM extracts the similarity and correlations among paired samples, ameliorating the optimization of the margin and radius. Experiments on public benchmarks reveal that methods with MRM loss can improve the unknown detection of AUROC by a significant margin while correctly classifying the known classes.

  1. [An et al., 2021] Yuexuan An, Hui Xue, Xingyu Zhao, and Lu Zhang. Conditional Self-Supervised Learning for Few- Shot Classification. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), 2021. IJCAI
  2. [An et al., 2023] Yuexuan An, Hui Xue, Xingyu Zhao, and Jing Wang. From Instance to Metric Calibration: A Unified Framework for Open-World Few-Shot Learning. IEEE Transactions on Pattern Analysis and Machine In- telligence, 2023.
  3. [Bendale and Boult, 2016] Abhijit Bendale and Terrance E. Boult. Towards Open Set Deep Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition (CVPR), 2016.
  4. [Chen et al., 2019] Wei-Yu Chen, Yen-Cheng Liu, Zsolt Kira, Yu-Chiang Frank Wang, and Jia-Bin Huang. A Closer Look at Few-shot Classification. In Proceedings of the International Conference on Learning Representations (ICLR), 2019.
  5. [Finn et al., 2017] Chelsea Finn, P. Abbeel, and S. Levine. Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks. In Proceedings of International Confer- ence on Machine Learning (ICML), 2017.
  6. [Geng et al., 2020] Chuanxing Geng, Sheng-jun Huang, and Songcan Chen. Recent Advances in Open Set Recogni- tion: A Survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2020.
  7. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
  8. [Hsu et al., 2020] Yen-Chang Hsu, Yilin Shen, Hongxia Jin, and Zsolt Kira. Generalized ODIN: Detecting Out- of-Distribution Image Without Learning From Out-of- Distribution Data. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
  9. [Huang et al., 2022] Shiyuan Huang, Jiawei Ma, Guangxing Han, and Shih-Fu Chang. Task-Adaptive Negative Envi- sion for Few-Shot Open-Set Recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition (CVPR), 2022.
  10. [Jeong et al., 2021] Minki Jeong, Seokeon Choi, and Chang- ick Kim. Few-shot Open-set Recognition by Transfor- mation Consistency. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021.
  11. [Li et al., 2020] Aoxue Li, Weiran Huang, Xu Lan, Jiashi Feng, Zhenguo Li, and Liwei Wang. Boosting Few-Shot Learning With Adaptive Margin Loss. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition (CVPR), 2020.
  12. [Liu et al., 2020a] Bin Liu, Yue Cao, Yutong Lin, Qi Li, Zheng Zhang, Mingsheng Long, and Han Hu. Negative Margin Matters: Understanding Margin in Few-Shot Clas- sification. In Proceedings of the IEEE/CVF European Conference on Computer Vision (ECCV), 2020.
  13. [Liu et al., 2020b] Bo Liu, Hao Kang, Haoxiang Li, Gang Hua, and Nuno Vasconcelos. Few-Shot Open-Set Recog- nition Using Meta-Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
  14. [Ma et al., 2022a] Rongkai Ma, Pengfei Fang, Gil Avraham, Yan Zuo, Tianyu Zhu, Tom Drummond, and Mehrtash Ha- randi. Learning instance and task-aware dynamic kernels for few-shot learning. In Proceedings of the European Conference on Computer Vision (ECCV), 2022.
  15. [Ma et al., 2022b] Rongkai Ma, Pengfei Fang, Tom Drum- mond, and Mehrtash Harandi. Adaptive poincaré point to set distance for few-shot classification. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), 2022.
  16. [Mendes Júnior et al., 2017] Pedro R. Mendes Júnior, Roberto M. de Souza, Rafael de O. Werneck, Bernardo V. Stein, Daniel V. Pazinato, Waldir R. de Almeida, Otávio A. B. Penatti, Ricardo da S. Torres, and Anderson Rocha. Nearest neighbors distance ratio open-set classifier. Machine Learning, 2017.
  17. [Neal et al., 2018] Lawrence Neal, Matthew Olson, Xiaoli Fern, Weng-Keen Wong, and Fuxin Li. Open Set Learning with Counterfactual Images. In Proceedings of the Euro- pean Conference on Computer Vision (ECCV), 2018.
  18. [Oza and Patel, 2019] Poojan Oza and Vishal M. Patel. C2AE: Class Conditioned Auto-Encoder for Open-Set Recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
  19. [Pal et al., 2022] Debabrata Pal, Valay Bundele, Renuka Sharma, Biplab Banerjee, and Yogananda Jeppu. Few- Shot Open-Set Recognition of Hyperspectral Images With Outlier Calibration Network. In Proceedings of the IEEE/CVF Winter Conference on Applications of Com- puter Vision (WACV), 2022.
  20. [Pal et al., 2023] Debabrata Pal, Shirsha Bose, Biplab Banerjee, and Yogananda Jeppu. MORGAN: Meta- Learning-Based Few-Shot Open-Set Recognition via Gen- erative Adversarial Network. In Proceedings of the IEEE/CVF Winter Conference on Applications of Com- puter Vision (WACV), 2023.
  21. [Perera et al., 2020] Pramuditha Perera, Vlad I. Morariu, Ra- jiv Jain, Varun Manjunatha, Curtis Wigington, Vicente Or- donez, and Vishal M. Patel. Generative-Discriminative Feature Representations for Open-Set Recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
  22. [Ren et al., 2018] Mengye Ren, Eleni Triantafillou, Sachin Ravi, Jake Snell, Kevin Swersky, Joshua B. Tenenbaum, Hugo Larochelle, and Richard S. Zemel. Meta-Learning for Semi-Supervised Few-Shot Classification. In Proceed- ings of the International Conference on Learning Repre- sentations (ICLR), 2018.
  23. [Ruff et al., 2018] Lukas Ruff, Robert Vandermeulen, Nico Goernitz, Lucas Deecke, Shoaib Ahmed Siddiqui, Alexan- der Binder, Emmanuel Müller, and Marius Kloft. Deep One-Class Classification. In Proceedings of the Inter- national Conference on Machine Learning (ICML), July 2018.
  24. [Schroff et al., 2015] Florian Schroff, Dmitry Kalenichenko, and James Philbin. FaceNet: A Unified Embedding for Face Recognition and Clustering. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2015.
  25. [Snell et al., 2017] Jake Snell, Kevin Swersky, and Richard S. Zemel. Prototypical Networks for Few- shot Learning. In Advancesof Neural Information Processing Systems (NeurIPS), 2017.
  26. [Sohn, 2016] Kihyuk Sohn. Improved Deep Metric Learning with Multi-class N-pair Loss Objective. In Advances in Neural Information Processing Systems (NeurIPS), 2016.
  27. [Song et al., 2016] Hyun Oh Song, Yu Xiang, Stefanie Jegelka, and Silvio Savarese. Deep Metric Learning via Lifted Structured Feature Embedding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition (CVPR), 2016.
  28. [Song et al., 2022] Nan Song, Chi Zhang, and Guosheng Lin. Few-shot Open-set Recognition Using Background as Unknowns. In Proceedings of the ACM International Conference on Multimedia (ACM MM), 2022.
  29. [Sun et al., 2020] Xin Sun, Zhenning Yang, Chi Zhang, Keck-Voon Ling, and Guohao Peng. Conditional Gaus- sian Distribution Learning for Open Set Recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
  30. [van der Maaten and Hinton, 2008] Laurens van der Maaten and Geoffrey Hinton. Visualizing Data using t-SNE. Jour- nal of Machine Learning Research, 2008.
  31. [Vinyals et al., 2016] Oriol Vinyals, C. Blundell, T. Lilli- crap, K. Kavukcuoglu, and Daan Wierstra. Matching Net- works for One Shot Learning. In Advances of Neural In- formation Processing Systems (NeurIPS), 2016.
  32. [Wah et al., 2011] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech- ucsd birds-200-2011 dataset. Technical Report CNS-TR- 2010-001, California Institute of Technology, 2011.
  33. [Wang et al., 2019a] Xinshao Wang, Yang Hua, Elyor Kodirov, Guosheng Hu, Romain Garnier, and Neil M. Robertson. Ranked List Loss for Deep Metric Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
  34. [Wang et al., 2019b] Xun Wang, Xintong Han, Weilin Huang, Dengke Dong, and Matthew R. Scott. Multi- Similarity Loss With General Pair Weighting for Deep Metric Learning. In Proceedings of the IEEE/CVF Con- ference on Computer Vision and Pattern Recognition (CVPR), 2019.
  35. [Wen et al., 2016] Yandong Wen, Kaipeng Zhang, Zhifeng Li, and Yu Qiao. A Discriminative Feature Learning Ap- proach for Deep Face Recognition. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling, editors, Proceedings of the European Conference on Computer Vision (ECCV), 2016.
  36. [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 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.

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

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