Dynamic Class Queue for Large Scale Face Recognition in the Wild
Bi Li, Teng Xi, Gang Zhang, Haocheng Feng, Junyu Han, Jingtuo Liu, Errui Ding, Wenyu Liu
Abstract
Learning discriminative representation using largescale face datasets in the wild is crucial for real-world applications, yet it remains challenging. The difficulties lie in many aspects and this work focus on computing resource constraint and long-tailed class distribution. Recently, classification-based representation learning with deep neural networks and well-designed losses have demonstrated good recognition performance. However, the computing and memory cost linearly scales up to the number of identities (classes) in the training set, and the learning process suffers from unbalanced classes. In this work, we propose a dynamic class queue (DCQ) to tackle these two problems. Specifically, for each iteration during training, a subset of classes for recognition are dynamically selected and their class weights are dynamically generated on-the-fly which are stored in a queue. Since only a subset of classes is selected for each iteration, the computing requirement is reduced. By using a single server without model parallel, we empirically verify in large-scale datasets that 10% of classes are sufficient to achieve similar performance as using all classes. Moreover, the class weights are dynamically generated in a few-shot manner and therefore suitable for tail classes with only a few instances. We show clear improvement over a strong baseline in the largest public dataset Megaface Challenge2 (MF2) which has 672K identities and over 88% of them have less than 10 instances. Code is available at https://github.com/ bilylee/DCQ
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2ebfcf7c-3b3a-492b-a5cc-a2dc7e744ebaCited by top-tier papers6
- Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FCXiang An, Jiankang Deng, Jia Guo, Ziyong Feng et al.CVPR 2022 · 77 citations
- An Efficient Training Approach for Very Large Scale Face RecognitionKai Wang, Shuo Wang, Panpan Zhang, Zhipeng Zhou et al.CVPR 2022 · 29 citations
- Scaling of Class-wise Training Losses for Post-hoc CalibrationSeungjin Jung, Seungmo Seo, Yonghyun Jeong, Jongwon ChoiICML 2023 · 8 citations
- UCoL: Unsupervised Learning of Discriminative Facial Representations via Uncertainty-Aware ContrastHao Wang, Min Li, Yangyang Song, Youjian Zhang et al.AAAI 2023 · 4 citations
- GIF: Generative Inspiration for Face Recognition at ScaleSaeed Ebrahimi, Sahar Rahimi Malakshan, Ali Dabouei, Srinjoy Das et al.CVPR 2025
Builds on3
- CurricularFace: Adaptive Curriculum Learning Loss for Deep Face RecognitionYuge Huang, Yuhan Wang, Ying Tai, Xiaoming Liu et al.CVPR 2020
- Momentum Contrast for Unsupervised Visual Representation LearningKaiming He, Haoqi Fan, Yuxin Wu, Saining Xie et al.CVPR 2020
- GroupFace: Learning Latent Groups and Constructing Group-Based Representations for Face RecognitionYonghyun Kim, Wonpyo Park, Myung-Cheol Roh, Jongju ShinCVPR 2020
Related papers
- Memory-Based Jitter: Improving Visual Recognition on Long-Tailed Data with Diversity in MemoryJialun Liu, Wenhui Li, Yifan SunAAAI 2022 · 47 citations
- Constrained Few-shot Class-incremental LearningMichael Hersche, Geethan Karunaratne, Giovanni Cherubini, Luca Benini et al.CVPR 2022 · 152 citations
- Fair Loss: Margin-Aware Reinforcement Learning for Deep Face RecognitionBingyu Liu, Weihong Deng, Yaoyao Zhong, Mei Wang et al.ICCV 2019 · 82 citations
- Difficulty-aware Balancing Margin Loss for Long-tailed RecognitionMinseok Son, Inyong Koo, Jinyoung Park, Changick KimAAAI 2025 · 9 citations
- IExpressNet: Facial Expression Recognition with Incremental ClassesJunjie Zhu, Bingjun Luo, Sicheng Zhao, Shihui Ying et al.ACM MM 2020 · 21 citations
