Face Verification via learning the kernel matrix

Ning Yuan, Xiao-Jun Wu, He-Feng YinarXiv 2020

Abstract

Kernel selection is a critical yet often manual process in non-linear face verification systems. This paper proposes a novel approach to automatically learn the optimal kernel matrix from training data. By building upon Client Specific Kernel Discriminant Analysis (CSKDA) and employing a nonlinear fractional programming optimization, the method achieves superior verification accuracy on the XM2VTS benchmark compared to standard fixed-kernel approaches.

Introduction

Face verification—determining whether a face in an image matches a claimed identity—is a complex task due to the non-linear nature of facial features. Traditional linear methods like Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA) often struggle to capture the high-order statistical information necessary for high accuracy. Kernel methods address this by mapping data into a high-dimensional feature space where classes become linearly separable. However, the effectiveness of these methods depends heavily on the choice of kernel function and its parameters, which typically requires exhaustive manual tuning. This research proposes a method to learn the kernel matrix directly from data, automating the optimization process.

Methodology

The proposed approach extends Client Specific Kernel Discriminant Analysis (CSKDA), where individual classifiers are trained for each client against a set of imposters. The core innovation lies in the automated learning of the kernel matrix:

  1. Spectral Decomposition: A base kernel matrix is decomposed into its constituent eigenvalues and eigenvectors.
  2. Parameterized Family: A family of kernel matrices is defined as a weighted sum of these spectral components.
  3. Optimization: To avoid degenerate solutions where only a single component is selected, the authors utilize a nonlinear fractional programming approach. They optimize a criterion function $Q(\mu) = Tr(S_b) - \alpha Tr(S_w)$, where $S_b$ and $S_w$ represent the between-class and within-class scatter matrices, respectively.
  4. Analytical Solution: This framework allows for the analytical derivation of optimal weights, effectively "learning" the best kernel for the specific dataset while avoiding the computational issues associated with inverting singular matrices in high-dimensional spaces.

Experimental Setup

The method was evaluated using the XM2VTS database, a standard benchmark containing recordings of 295 individuals over four months. Following the Lausanne evaluation protocol, the data was divided into 200 clients and 95 imposters. Images were preprocessed using Histogram Equalization (HEQ) and normalized to $55 \times 51$ pixels.

Sample normalized face images from the XM2VTS database used in the study.

Results and Discussion

The learned kernel method was compared against standard CSKDA using both polynomial and RBF kernels. Quantitative results demonstrate that the automated learning process consistently yields lower error rates.

Performance comparison (FAR, FRR, and TER) between standard CSKDA and the proposed learned kernel method across different parameter configurations.

As shown in the experimental data, the "New Method" consistently outperforms the baseline in optimized configurations. For polynomial kernels, the imposter-based model (OnI) achieved a Total Error Rate (TER) as low as 4.03%, compared to the 4.1% baseline. The improvements were even more significant for RBF kernels, where the learned kernel reduced the TER from 3.66% (baseline) to 2.24%. A key insight from the results is that modeling imposters ("OnI") generally produces lower error rates than modeling clients ("OnC"), suggesting that negative samples provide a more robust boundary for verification.

Conclusion

By shifting from manual parameter tuning to automated kernel matrix learning, this method provides a more flexible and robust framework for face verification. The approach not only improves accuracy on standard benchmarks like XM2VTS but also significantly reduces the researcher effort required for model optimization. Future work will focus on scaling the spectral decomposition for larger datasets and testing the method's resilience against extreme variations in lighting and pose.

Summary updated

BibTeX
@misc{yuan2020face,
  author = {Ning Yuan and Xiao-Jun Wu and He-Feng Yin},
  title = {{Face Verification via learning the kernel matrix}},
  year = {2020},
  eprint = {2001.07323},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.07323},
}
Figure