HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

Dynamic Class Queue for Large Scale Face Recognition In the Wild

Abstract

Learning discriminative representation using large-scale 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

Code Repositories

bilylee/DCQ
Official
paddle

Benchmarks

BenchmarkMethodologyMetrics
face-recognition-on-agedb-30DCQ
Accuracy: 0.9823
face-recognition-on-cfp-fpDCQ
Accuracy: 0.9287
face-recognition-on-lfwDCQ
Accuracy: 0.998

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Dynamic Class Queue for Large Scale Face Recognition In the Wild | Papers | HyperAI