Nonlinear classifiers for ranking problems based on kernelized SVM

Václav Mácha, Lukás Adam, Václav SmídlarXiv 2020

Introduction

In many high-stakes applications such as search engine optimization, fraud detection, and medical screening, the primary objective is not global accuracy but performance at the "top" of the ranked list. Standard binary classifiers, like the Support Vector Machine (SVM), treat all misclassifications equally. However, in ranking tasks, we prioritize correctly identifying the most relevant samples. This paper extends a unified framework for "classification at the top" from linear models to nonlinear classifiers by leveraging kernel methods and efficient optimization.

The Challenge of Nonlinear Ranking

While previous work established a linear framework to unify methods like TopPush and Accuracy at the Top, linear models are inherently limited when data is not linearly separable. The challenge addressed here is how to introduce nonlinearity into these ranking-specific objectives without making the computation prohibitively expensive or losing the theoretical guarantees of the original framework.

Methodology: From Dualization to the Kernel Trick

The transition to nonlinear classifiers involves three critical steps:

  1. Dualization: The authors derive the dual optimization formulations for two major families of ranking methods: TopPushK (which focuses on the mean of the $K$ highest negative scores) and Pat&Mat (which uses a surrogate approximation of the top $ au$-quantile).
  2. The Kernel Trick: Because the dual formulations depend only on dot products between samples, the authors apply the kernel trick. This allows the model to operate in a high-dimensional feature space, effectively creating nonlinear decision boundaries in the original input space.
  3. Coordinate Descent Algorithm: To solve these dual problems efficiently, the authors propose a specialized coordinate descent algorithm (a dual ascent method) featuring closed-form update rules.
Surrogate loss functions used to approximate the indicator function in ranking objectives.

As shown in Figure 1, the choice of surrogate losses like Hinge and Quadratic Hinge is vital. These provide continuous approximations to the discrete indicator function, ensuring that coordinate descent updates remain computationally feasible ($O(n)$ per iteration).

A Unified Framework for Ranking

A key insight of this work is that the decision threshold $t$ is not a free variable but a function of the scores of all samples. This shift is what allows the model to specifically target the "top" of the distribution. The paper demonstrates that seemingly different ranking problems share a common dual structure, allowing a single algorithmic approach to solve a wide variety of tasks.

Comparison of different ranking formulations within the unified framework, highlighting their thresholds and hyper-parameters.

Figure 2 illustrates how various formulations like TopPush, Grill, and Pat&Mat fit into this unified structure, differing primarily in their threshold definitions and hyper-parameters.

Experimental Evaluation and Results

The researchers evaluated their framework on several image recognition benchmarks, including MNIST, FashionMNIST, CIFAR, and SVHN2. The results confirmed several key hypotheses:

  • Superior Performance: On non-linearly separable datasets, the kernelized versions significantly outperformed linear baselines. For instance, on MNIST and FashionMNIST, most formulations achieved an Area Under the Curve (AUC) greater than 99%.
  • Metric Specialization: Different formulations excel at the specific metrics they were designed to optimize. For example, the $ au$-FPL formulation consistently provided the best results for the TPR@τ metric (True Positive Rate at a specific quantile).
  • Ranking vs. Global Accuracy: The kernelized ranking classifiers often outperformed standard C-SVC (SVM) on top-heavy metrics, proving that optimizing for the "top" specifically yields better results for ranking tasks than general-purpose classification.

Limitations and Future Work

While the algorithm is efficient, it still benefits greatly from a precomputed kernel matrix, which can be a bottleneck for extremely large datasets. The authors also noted a small convergence gap for the Pat&Mat-NP formulation. Future directions include exploring different kernel types and automated hyperparameter tuning to further stabilize the Pat&Mat family of solvers.

Summary updated

BibTeX
@misc{macha2020nonlinear,
  author = {Václav Mácha and Lukás Adam and Václav Smídl},
  title = {{Nonlinear classifiers for ranking problems based on kernelized SVM}},
  year = {2020},
  eprint = {2002.11436},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.11436},
}
Figure