Abstract
In this paper we address the following question, given a face representation, how many identities can it resolve? In other words, what is the capacity of the face representation? A scientific basis for estimating the capacity of a given face representation will not only benefit the evaluation and comparison of different representation methods, but will also establish an upper bound on the scalability of an automatic face recognition system. We cast the face capacity problem in terms of packing bounds on a low-dimensional manifold embedded within a deep representation space. By explicitly accounting for the manifold structure of the representation as well two different sources of representational noise: epistemic (model) uncertainty and aleatoric (data) variability, our approach is able to estimate the capacity of a given face representation. To demonstrate the efficacy of our approach, we estimate the capacity of two deep neural network based face representations, namely 128-dimensional FaceNet and 512-dimensional SphereFace. Numerical experiments on unconstrained faces (IJB-C) provides a capacity upper bound of $2.7\times10^4$ for FaceNet and $8.4\times10^4$ for SphereFace representation at a false acceptance rate (FAR) of 1%. As expected, capacity reduces drastically at lower FARs. The capacity at FAR of 0.1% and 0.001% is $2.2\times10^3$ and $1.6\times10^{1}$, respectively for FaceNet and $3.6\times10^3$ and $6.0\times10^0$, respectively for SphereFace.
Introduction
In modern face recognition, systems often encounter a "performance wall": as the number of identities in a gallery increases, the system's accuracy inevitably declines. This phenomenon occurs because the mathematical space used to represent faces becomes crowded, leading to overlaps between distinct identities. Determining the theoretical limit—the capacity of a representation—has historically required exhaustive empirical testing on massive datasets.
This paper introduces a formal framework to estimate this capacity in a dataset-agnostic manner. The challenge lies in the high-dimensional nature of face representations (e.g., 128D or 512D vectors), where calculating volumes and overlaps is computationally prohibitive. By treating face recognition as a "packing problem" on a low-dimensional manifold, we provide a method to calculate the theoretical upper bound of unique identities a specific model can distinguish.
Methodology: The Estimation Framework
The proposed pipeline for estimating capacity consists of four primary steps:
- Manifold Unfolding: Face representations do not fill high-dimensional space uniformly; they reside on a lower-dimensional "manifold." We use a Deep Neural Network (DNN) to "unfold" this manifold into a lower-dimensional Euclidean space while preserving local distances, effectively performing a non-linear dimensionality reduction.
- Teacher-Student Modeling: To account for uncertainty, we employ a "Teacher" model (the original face matcher) and train a "Student" model to mimic its behavior. This allows for the explicit modeling of aleatoric noise (data variability like lighting or pose) and epistemic noise (uncertainty in the model's parameters).
- Manifold Approximation: We represent the entire population and individual identities as multivariate Gaussian distributions. Geometrically, this transforms the problem into fitting multiple small "hyper-ellipsoids" (individual identities) inside one large "hyper-ellipsoid" representing the total population.
- Capacity Calculation: Capacity is defined as the ratio of the volume of the population manifold to the volume of the class-specific manifolds at a specific False Acceptance Rate (FAR).
Experimental Results
The study evaluates two landmark representations, 128-dimensional FaceNet and 512-dimensional SphereFace, using the challenging IJB-C (unconstrained) dataset. The results demonstrate that capacity is not a static number but a function of the desired security level (FAR):
- At 1% FAR: FaceNet can resolve approximately 27,000 identities, while SphereFace can resolve approximately 84,000.
- At 0.1% FAR: Capacity drops significantly to ~2,200 for FaceNet and ~3,600 for SphereFace.
- At 0.001% FAR: The capacity for FaceNet falls to just 16 identities, highlighting the extreme difficulty of maintaining high security at a massive scale.
These findings confirm that higher dimensionality, as seen in SphereFace, provides more "room" to resolve identities, but also reveal a massive "capacity gap" between current state-of-the-art models and the billions of humans on Earth.
Discussion and Future Work
The "packing" intuition bridges the gap between abstract geometry and practical engineering. Our results suggest that capacity is primarily limited by representational noise rather than just vector dimensionality. Reducing the volume of individual "identity ellipsoids" through better sensors or more robust models is key to increasing system capacity.
Future work will address current limitations, such as the assumption that identities follow a Gaussian distribution, which may not capture "heavy-tailed" real-world distributions. Additionally, exploring how dynamic or adaptive representations might alter the capacity landscape remains a promising avenue for closing the gap between theoretical limits and empirical performance.
Summary updated