Skip to main content
QUICK REVIEW

[Paper Review] Virtual Class Enhanced Discriminative Embedding Learning

Binghui Chen, Weihong Deng|arXiv (Cornell University)|Nov 30, 2018
Face recognition and analysisComputer Science28 citations
TL;DR

This paper proposes Virtual Softmax, a simple yet effective method that enhances discriminative feature learning by injecting a dynamic virtual negative class into the softmax loss, thereby increasing inter-class angular margins and tightening intra-class compactness. The approach achieves state-of-the-art or competitive performance across multiple object classification and face verification benchmarks without requiring human-designed hyperparameters or complex architectures.

ABSTRACT

Recently, learning discriminative features to improve the recognition performances gradually becomes the primary goal of deep learning, and numerous remarkable works have emerged. In this paper, we propose a novel yet extremely simple method extbf{Virtual Softmax} to enhance the discriminative property of learned features by injecting a dynamic virtual negative class into the original softmax. Injecting virtual class aims to enlarge inter-class margin and compress intra-class distribution by strengthening the decision boundary constraint. Although it seems weird to optimize with this additional virtual class, we show that our method derives from an intuitive and clear motivation, and it indeed encourages the features to be more compact and separable. This paper empirically and experimentally demonstrates the superiority of Virtual Softmax, improving the performances on a variety of object classification and face verification tasks.

Motivation & Objective

  • To address the limitation of standard softmax in producing only separable, not discriminative, features in deep learning.
  • To develop an automatic, hyperparameter-free alternative to margin-based methods like L-Softmax and A-Softmax that require manual annealing.
  • To improve feature compactness and inter-class separability by enforcing a stronger decision boundary constraint via a virtual negative class.
  • To demonstrate the effectiveness of the method across diverse recognition tasks, including fine-grained classification and face verification.
  • To provide a simple, plug-in replacement for standard softmax that enhances representation power without increasing computational cost.

Proposed method

  • Virtual Softmax generalizes the standard softmax by introducing a dynamic virtual class that does not participate in final classification but influences feature learning during training.
  • The virtual class is used to enforce a zero-limit constraint on the angular margin between the true class and the virtual class, promoting larger inter-class angular margins.
  • The method modifies the cross-entropy loss to include the virtual class, effectively increasing the decision boundary constraint without altering the model architecture.
  • The virtual class is dynamically updated during training based on the current feature distribution, ensuring adaptability and avoiding manual tuning.
  • The approach is mathematically grounded in angular feature space, where the virtual class acts as a boundary regularizer to improve feature compactness and separability.
  • The method is compatible with any deep network and can be easily integrated into existing training pipelines as a loss function replacement.

Experimental results

Research questions

  • RQ1Can injecting a dynamic virtual negative class into the softmax loss significantly improve the discriminative power of learned features?
  • RQ2Does Virtual Softmax outperform standard softmax and margin-based methods like L-Softmax and A-Softmax in terms of feature compactness and separability?
  • RQ3Can the method achieve state-of-the-art performance across diverse recognition tasks without requiring task-specific hyperparameter tuning?
  • RQ4How does the virtual class injection affect the angular distribution of features in the embedding space?
  • RQ5Is Virtual Softmax effective in high-class-count scenarios, such as in large-scale face recognition with 67k identities?

Key findings

  • On CIFAR-10, Virtual Softmax achieves a test error rate of 6.68%, outperforming baseline softmax (7.15%) and prior methods like LS* (6.77%) and AS* (6.83%).
  • On CIFAR-100, Virtual Softmax reduces error to 24.01%, surpassing baseline softmax (25.52%) and all compared methods including LS* (24.32%) and AS* (24.11%).
  • On CUB200 fine-grained classification, Virtual Softmax achieves 81.1% accuracy with V2 model, outperforming baseline softmax (77.2%) and all prior methods including LS* (80.5%) and AS* (80.2%).
  • On LFW, Virtual Softmax improves verification accuracy to 99.46%, exceeding baseline softmax (99.10%) and surpassing NS* (99.16%) and LS* (99.37%).
  • On SLLFW, Virtual Softmax achieves 95.85% accuracy, a significant improvement over baseline softmax (94.59%) and all compared methods, including AS* (96.45%) when combined with NormFace.
  • On ImageNet32, Virtual Softmax achieves the highest Top-1 accuracy of 48.84% and Top-5 of 74.06%, outperforming all baselines and prior methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.