Introduction
Deep face recognition aims to map facial images into a high-dimensional feature space where intra-class distances are minimized and inter-class distances are maximized. State-of-the-art methods like ArcFace and CosFace have achieved significant success by introducing a fixed angular penalty margin to the ground-truth class during training. This forces the network to learn more discriminative features by pushing them further from the decision boundary.
However, a fundamental limitation of these approaches is the use of a "one-size-fits-all" fixed margin. In reality, the distribution of identities in the feature space is not uniform; some individuals naturally look more alike than others. Applying a rigid, uniform penalty regardless of the local density of the feature space can lead to sub-optimal discriminative power and "crowding" in certain regions.
The InterFace Approach
To address this, the authors propose InterFace, a novel loss function that replaces the static penalty with a dynamic, adjustable margin. The core innovation lies in the Sample-to-class Inter-class distance Ratio (SIR). For each sample during training, the model calculates a ratio ($\gamma$) between the angle of the sample to its own class center ($d_s$) and the angle between its class center and other neighboring class centers ($d_{inter}$).
As shown in the figure above, while ArcFace applies a constant margin $m$ across all class boundaries, InterFace adaptively adjusts the margin ($m_1, m_2$) based on the proximity of class centers. This allows the model to "push" harder against classes that are closer together in the embedding space while relaxing the penalty where classes are already well-separated, leading to a more efficient use of the hypersphere.
Geometric Optimization and Results
By making the margin inter-class aware, InterFace achieves a more uniform distribution of class centers. This is particularly beneficial for handling "feature drift," a common issue in age-variant datasets where an individual's appearance changes over time. The adjustable margin helps the model remain robust even when an individual's features drift over years.
The effectiveness of this approach was validated across 13 major benchmarks. InterFace achieved state-of-the-art results on several challenging datasets, notably:
- AgeDB-30: 98.38% accuracy, surpassing previous SOTA methods.
- CALFW: 96.27% accuracy, a significant improvement over ArcFace's 95.45%.
- IJB-C: 94.93% at a False Acceptance Rate (FAR) of 1e-5.
These results suggest that the adjustable margin philosophy significantly enhances the robustness of deep face recognition systems, especially in scenarios involving significant intra-class variation like aging.
Conclusion
InterFace represents a shift from static to adaptive metric learning in face recognition. By considering the local geometry of the feature space, it optimizes class separation more effectively than fixed-margin methods. While it introduces some computational complexity and requires careful hyperparameter tuning, its superior performance on age-variant and large-scale benchmarks demonstrates the value of inter-class awareness in deep feature learning.
Summary updated