Iteratively reweighted kernel machines efficiently learn sparse functions

Libin Zhu, Damek Davis, Dmitriy Drusvyatskiy, Maryam FazelarXiv 2025 · DOI

Abstract

Classical kernel methods, such as Kernel Ridge Regression (KRR), have long been viewed as "shallow" models that lack the dynamic feature learning capabilities of deep neural networks. This paper challenges that view by introducing Iteratively Reweighted Kernel Machines (IRKM). By iteratively reweighting input coordinates based on the derivatives of the model's own predictions, IRKM can efficiently learn sparse and hierarchical functions. Empirical results show that IRKM can match or even outperform neural networks on complex tasks ranging from genetic interaction detection to tabular data classification.

Introduction: The "Shallow" Kernel Problem

In modern machine learning, neural networks are the dominant paradigm due to their ability to perform feature learning and hierarchical learning. In contrast, classical kernel methods are often restricted by a fixed feature map. For a function of degree $\ell$ in $d$ dimensions, standard kernel methods typically require a sample size scaling as $d^\ell$, which becomes prohibitive in high-dimensional settings. This paper investigates whether kernel methods can be adapted to "learn" features and hierarchies as dynamically as neural networks, bridging the gap between mathematical elegance and representational power.

Methodology: The Derivative as a Compass

The proposed solution is Algorithm 1: IRKM($\alpha$). The algorithm operates in an iterative loop:

  1. Train: A standard kernel model is fitted to the current data.
  2. Detect: The "importance" of each input coordinate is calculated using the derivatives of the prediction function. A large derivative with respect to coordinate $x_j$ indicates that $x_j$ is a salient feature.
  3. Reweight: The input data is rescaled to emphasize these important coordinates. The authors utilize a "DN-estimator" (Derivative Norm) to enhance sensitivity.
  4. Repeat: The model is retrained on the newly reweighted data.
Evolution of coordinate weights in multi-step IRKM for different alpha values.

The core insight is that even when a kernel model generalizes poorly in early stages, its derivatives often point toward the correct features. Through iteration, the model "zooms in" on the sparse set of relevant variables, effectively performing feature selection within a kernel framework.

Key Insights: Hierarchical Learning and Leap Complexity

A central theoretical contribution is the concept of leap complexity. This metric measures the difficulty of learning a function hierarchically. The authors prove that IRKM only requires enough samples to overcome the "leap" between successive levels of a hierarchy, rather than the total complexity of the target function. In some cases, this makes IRKM more sample-efficient than neural networks by a factor of the dimension ($d$). This suggests that feature learning is not an exclusive property of neural networks but a broader property of gradient-based adaptation that can be elicited from simpler models.

Experimental Results

The researchers evaluated IRKM across synthetic, image, tabular, and genetic datasets.

Hierarchical and Synthetic Tasks

On "staircase" polynomials—functions where features are hidden in a hierarchy—multi-step IRKM achieved near-zero test loss with significantly fewer samples than standard KRR or neural networks trained with Adam.

Generalization error comparison between standard kernels, neural networks, and IRKM.

Tabular and Genetic Data

On a benchmark of 121 real-world tabular classification tasks, IRKM(0) achieved an average accuracy of 84.69%, outperforming both Random Forests (80.01%) and Neural Networks (78.46%). In the field of genetics, IRKM demonstrated superior performance in detecting epistatic interactions (complex gene-gene interactions) compared to neural networks, particularly as the signal-to-noise ratio increased.

Limitations and Future Work

While IRKM shows great promise, several areas for future research remain. The current theoretical guarantees rely on specific data distributions (e.g., Gaussian or boolean hypercube) and assume "fresh" samples for each iteration, though empirical results suggest the model is robust to data reuse. Furthermore, while the current iteration of IRKM focuses on individual coordinate weighting, future extensions could explore "multi-index models" to learn important linear combinations of variables (subspaces) rather than just single features.

Summary updated

BibTeX
@misc{zhu2025iteratively,
  author = {Libin Zhu and Damek Davis and Dmitriy Drusvyatskiy and Maryam Fazel},
  title = {{Iteratively reweighted kernel machines efficiently learn sparse functions}},
  year = {2025},
  eprint = {2505.08277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.08277},
}
Figure