A Sequence Kernel and its Application to Speaker Recognition

William M. CampbellNeurIPS 2001

Introduction

In speaker recognition, the goal is to verify a person's identity based on their voice. This is challenging because speech is a sequence of observations that vary in length. While Support Vector Machines (SVMs) are powerful classifiers, applying them to sequences usually involves two major headaches: computational complexity (storing many "support vectors" leads to large models) and probabilistic mismatch (SVMs output scores, not probabilities).

This paper introduces the Naive A Posteriori Sequence (NAPS) kernel, a novel method for comparing sequences of speech data using SVMs. By combining polynomial classifiers with a clever mathematical trick to collapse support vectors, the authors achieved a 100x reduction in model size and significantly higher accuracy compared to traditional mean-squared error (MSE) training.

Methods: The NAPS Kernel

The core innovation is the NAPS kernel, which bridges the gap between SVM discriminative power and linear classifier efficiency.

  • Polynomial Expansion: Instead of using a standard RBF kernel, the method uses an explicit polynomial expansion. It maps input speech features into a high-dimensional space of monomials.
  • The "Naive" Assumption: The kernel assumes that observations in a sequence are independent. While technically a simplification, it allows the use of a Taylor series approximation to simplify the scoring of entire sequences.
  • The Cholesky Trick: To make training efficient, the author uses a Cholesky decomposition on the correlation matrix of the "background" (impostor) data. This transforms the high-dimensional feature space such that the NAPS kernel becomes a simple inner product.
  • Model Collapsing: Because the kernel is linear in the expanded feature space, after training an SVM, all resulting support vectors can be mathematically collapsed into a single weight vector. At test time, the system only needs to perform one inner product, regardless of how many support vectors were found during training.

Datasets

The approach was evaluated using the YOHO database, a standard benchmark for speaker recognition featuring 138 speakers. The dataset consists of "combination lock" phrases (e.g., "23-45-56"). Enrollment and verification sessions were recorded at different times to ensure a realistic challenge. The features used were 12th-order linear prediction (LP) cepstral coefficients, mapped to a 455-dimensional vector via a 3rd-degree polynomial expansion.

Key Insights

  • Efficiency is a Feature: You don't have to choose between SVM accuracy and linear-model speed. By choosing the NAPS kernel, you can train with the "Structural Risk Minimization" of an SVM but deploy a model as lean as a simple linear classifier.
  • The Power of Explicit Expansion: Most SVM research focuses on the "kernel trick" to avoid expanding features. This paper argues the opposite: explicitly expanding features allows for massive optimizations (like model collapsing) that the kernel trick hides.
  • Data-Dependent Kernels: Unlike a generic Gaussian kernel, the NAPS kernel incorporates the statistics of the impostor population, making it specifically tuned for speaker discrimination.

Key Results

The NAPS SVM approach outperformed the state-of-the-art MSE-trained polynomial classifiers across every metric.

Performance comparison of MSE and NAPS SVM

As shown in the table above, the NAPS SVM achieved roughly a 38% reduction in Average Equal Error Rate (EER) and a 42% reduction in Identification Error Rate compared to MSE training.

FAR and FRR vs. Threshold for MSE and SVM

The error curves further illustrate this improvement. The intersection of the False Acceptance Rate (FAR) and False Rejection Rate (FRR) curves represents the EER. The SVM curves (solid lines) intersect at a noticeably lower error percentage than the MSE curves (dashed lines).

Beyond accuracy, the efficiency gains were massive:

  • Model Size: A standard SVM model for this task would have been ~253 KB. By collapsing the support vectors, the model size dropped to just 1.8 KB—a reduction of over 100 times.
  • Training Speed: The Cholesky trick reduced training time from 5 hours per speaker to just 40 seconds.

Limitations and Future Work

The "Naive" part of NAPS assumes speech frames are independent, ignoring strong temporal correlations in speech. Extending this to an SVM/HMM architecture could capture those dynamics better. Additionally, while this works beautifully for polynomial expansions, future work should explore if similar "collapsing" tricks can be applied to other basis functions, like Radial Basis Functions (RBFs).

Summary updated

BibTeX
@inproceedings{campbell2001sequence,
  author = {William M. Campbell},
  title = {{A Sequence Kernel and its Application to Speaker Recognition}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2001},
}
Figure