NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diversity Sampling is an Implicit Regularization for Kernel Methods

Michaël Fanuel, Joachim Schreurs, Johan A. K. Suykens

Kernel methods are the "Swiss Army knives" of machine learning—powerful, flexible, and mathematically elegant. However, they have a notorious Achilles' heel: they don't scale. As your dataset grows to $n$ points, you're stuck dealing with an $n \times n$ "Gram" matrix. If $n$ is a million, that matrix won't even fit in your RAM, let alone let you compute an inverse.

The standard fix is the Nyström approximation, which picks a small subset of "landmark" points to represent the whole dataset. But how should you pick them? In a new paper, "Diversity sampling is an implicit regularization for kernel methods," researchers Michaël Fanuel, Joachim Schreurs, and Johan A.K. Suykens argue that picking diverse landmarks isn't just a good heuristic—it’s a form of "implicit regularization" that makes your models more stable and more fair to rare data points.

TL;DR

Using Determinantal Point Processes (DPPs) to select "diverse" landmarks for Nyström approximations naturally stabilizes the resulting matrices (implicit regularization). This approach significantly improves model accuracy in the "tail" of the data distribution—the rare or outlying points that uniform sampling often ignores.

What Problem Does This Paper Address?

The Nyström method reduces the complexity of kernel methods by approximating the full kernel matrix using a subset of $k$ landmarks. Traditionally, these landmarks are chosen uniformly at random.

However, uniform sampling has two major flaws:

  1. Numerical Instability: The resulting sub-matrices can be "ill-conditioned," making them mathematically "jittery" and prone to massive errors during inversion.
  2. The "Bulk" Bias: Uniform sampling over-represents the dense parts of your data (the "bulk") and ignores the sparse regions (the "tail"). In fields like medicine, the "tail" might contain the most critical cases (e.g., a rare disease), and ignoring them can lead to dangerous model failures.

The authors set out to prove that sampling for diversity—ensuring landmarks are spread out and not redundant—mathematically solves both problems.

Methods

The researchers focus on Determinantal Point Processes (DPPs). A DPP is a probabilistic model where the likelihood of picking a specific subset of points is proportional to the determinant of their kernel sub-matrix. Because the determinant represents the "volume" spanned by these points in feature space, the DPP naturally favors sets of points that are diverse and spread out.

Key Innovations:

  • Theoretical Bounds: They provide new proofs showing that DPP sampling naturally bounds the eigenvalues of the kernel approximation. This means the sampling process itself acts like a regularization parameter (similar to $\lambda$ in Ridge Regression), providing stability without manual tuning.
  • Greedy Swapping Algorithm: Exact DPP sampling is computationally expensive. The authors propose a "Greedy Swapping" heuristic that starts with a random set and swaps points in and out to maximize the determinant, making diversity sampling feasible for larger datasets.
  • Stratified Evaluation: Instead of just looking at average error, they split datasets into "Bulk" (common points) and "Tail" (unique points) based on Ridge Leverage Scores (RLS) to see exactly where diversity helps.

Datasets

The authors evaluated their approach across a wide range of benchmarks:

  • Small/Medium Scale: Housing, Abalone, Breast Cancer, Australian Credit, Glass, and Wine Quality.
  • Large Scale: MiniBooNE (particle physics), codRNA (bioinformatics), Adult (census data), Covertype (forestry), and YearPredictionMSD.
  • Specialized: Parkinson and Pumadyn8FM for testing preconditioning and iterative solvers.

Key Insights and Ideas

  • Diversity = Computational Stability: A more diverse subset leads to a lower condition number. In plain English: the math becomes "sturdier." This allows iterative solvers (like Conjugate Gradient) to converge much faster and with higher precision.
  • The "Tail" Accuracy Boost: While uniform sampling performs fine on the "average" data point, it fails miserably on outliers. Diversity sampling forces the model to "see" the edges of the data distribution, leading to much more uniform error rates across the entire dataset.
  • Implicit vs. Explicit: Usually, we add a penalty term ($\gamma ||f||^2$) to prevent overfitting. This paper shows that how you sample can achieve a similar effect, effectively "regularizing" the model through the geometry of the landmarks.

Key Results

  • Conditioning: On the Housing dataset, diverse sampling produced sub-matrices with condition numbers orders of magnitude lower than uniform sampling.
  • Regression Accuracy: In Kernel Ridge Regression (KRR) on the Abalone and Wine Quality datasets, diversity sampling significantly reduced the Mean Absolute Percentage Error (MAPE) in the "tail" regions compared to uniform and even standard RLS sampling.
  • Clustering: For Kernel k-means, diversity sampling (via k-DPPs) ensured that landmarks were picked from every cluster, even tiny ones, leading to much higher Normalized Mutual Information (NMI) scores.

Limitations and Future Work

  • The Outlier Trap: The authors note a subtle danger: if your dataset has extreme outliers that are actually just "noise" or "garbage data," a diversity sampler will aggressively pick them, which could actually increase your approximation error.
  • Computational Overhead: Even with the greedy heuristic, diversity sampling is more "expensive" than picking points at random. The trade-off is between the time spent sampling vs. the time saved by having a more stable, faster-converging model.
  • Future Directions: The authors suggest exploring how these diversity-based "implicit" regularizers interact with traditional "explicit" ones to find the optimal balance for deep kernel machines.

Summary updated

BibTeX
@article{fanuel2021diversity,
  author = {Michaël Fanuel and Joachim Schreurs and Johan A. K. Suykens},
  title = {{Diversity Sampling is an Implicit Regularization for Kernel Methods}},
  journal = {SIAM J. Math. Data Sci.},
  year = {2021},
  doi = {10.1137/20m1320031},
}
Figure