Abstract
Deterministic face embeddings often struggle with "Feature Ambiguity," where low-quality or occluded images are forced into arbitrary points in the latent space. We introduce Sphere Confidence Face (SCF), a probabilistic framework that models face images as $r$-radius von Mises-Fisher (vMF) distributions on a hypersphere. By predicting both a mean direction and a concentration parameter $\kappa$, SCF provides a mathematically consistent measure of uncertainty. Our approach stabilizes training via a KL-divergence objective and achieves superior performance on large-scale benchmarks like IJB-B and IJB-C.
Introduction: The Feature Ambiguity Dilemma
Modern face recognition systems typically map images to single points on a high-dimensional hypersphere. While effective for high-quality data, this deterministic approach fails when images are blurry, occluded, or poorly lit. In such cases, the model is forced to assign a specific location to an ambiguous feature, leading to unreliable distance metrics.
Previous attempts to model uncertainty, like Probabilistic Face Embeddings (PFE), utilized Gaussian distributions in Euclidean space. However, this assumption is geometrically inconsistent with the spherical constraints of modern loss functions. Adapting these methods to spherical spaces often results in extreme training instability, frequently manifesting as "NaN" loss values.
Methodology: Bridging Spherical Geometry and Uncertainty
SCF addresses these limitations by aligning the probabilistic model with the underlying spherical geometry of the feature space.
1. The $r$-Radius von Mises-Fisher Distribution
Instead of Euclidean Gaussians, SCF employs the von Mises-Fisher (vMF) distribution, the spherical analogue of the Gaussian. To maintain compatibility with fixed-radius loss functions (like ArcFace), the authors extend the standard vMF to an $r$-radius version.
2. Stable Training via KL Divergence
To avoid the sampling complexities and instability of pairwise training, SCF minimizes the Kullback-Leibler (KL) divergence between the predicted image distribution and a class template (a spherical Dirac delta). This allows the model to learn directly from class labels, ensuring numerical stability.
3. Interpretable Confidence ($\kappa$)
For every input, the model predicts a mean direction $\mu$ and a concentration parameter $\kappa$. The parameter $\kappa$ serves as a built-in confidence score: high values indicate clear, certain features, while low values signify ambiguity.
Experimental Results and Insights
The framework was evaluated on large-scale datasets including MS1MV2 for training and the challenging IJB-B/C benchmarks for testing.
Performance Gains
SCF demonstrates significant improvements on "in-the-wild" datasets. For a ResNet34 backbone, SCF improved the True Acceptance Rate (TAR) by approximately 2% over deterministic baselines on IJB-C. Interestingly, the benefit is more pronounced for shallower models, suggesting that deeper architectures may already be "over-confident" in their feature representations.
Visualizing Confidence
The learned $\kappa$ values correlate strongly with image quality and label correctness. As shown in the visualization below, clear frontal faces are mapped with high concentration, while profile views or mislabeled samples are assigned low confidence, preventing them from distorting the class representation.
Conclusion
Sphere Confidence Face provides a robust, mathematically grounded solution for uncertainty modeling in face recognition. By leveraging the vMF distribution and a stable KL-divergence objective, SCF effectively handles feature ambiguity and improves recognition accuracy in challenging scenarios. Future work may extend this spherical confidence framework to other manifold-constrained domains such as text or graph modeling.
Summary updated