Harnessing the Power of Infinitely Wide Deep Nets on Small-data Tasks

Sanjeev Arora, Simon S. Du, Zhiyuan Li, Ruslan Salakhutdinov, Ruosong Wang, Dingli Yu

Abstract

Recent theoretical advancements have established that infinitely wide neural networks behave like kernel regression using the Neural Tangent Kernel (NTK). This study investigates the practical utility of these kernels on small-data tasks, where traditional deep learning often fails due to high variance and overfitting. We demonstrate that NTK-based classifiers not only provide a stable alternative to finite-width networks but also outperform established benchmarks like Random Forests and Support Vector Machines on diverse datasets.

Introduction

Deep learning typically requires vast amounts of data to generalize effectively. In "small-data" regimes—where samples are limited to dozens or hundreds—standard neural networks (NNs) are prone to overfitting and sensitivity to initialization. Consequently, practitioners often rely on "classic" algorithms such as Random Forests (RF) or Support Vector Machines (SVMs).

However, the "infinite width" limit of neural networks offers a theoretical bridge to kernel methods. As width increases, training dynamics under gradient descent converge to kernel regression with the Neural Tangent Kernel (NTK). This paper explores whether this theoretical limit can be harnessed to build superior classifiers for small-scale tasks.

Methodology

The study evaluates the performance of NTKs and Convolutional NTKs (CNTKs) across multiple benchmarks. The approach involves:

  1. Kernel Computation: Utilizing exact algorithms to compute the NTK/CNTK corresponding to specific architectures (fully-connected and convolutional).
  2. Classification: Employing the computed kernel within a standard Kernel SVM or Kernel Regression framework, bypassing the need for backpropagation.
  3. Benchmarking: Comparing NTK performance against Random Forests, finite-width NNs (with He and NTK initializations), standard Gaussian/Polynomial kernels, and state-of-the-art vision models like ResNet-34.

Key Insights: Stability and Architecture

A primary advantage of NTKs in small-data settings is their lower variance. Unlike standard NNs, which are highly sensitive to random weight initialization, NTKs represent the deterministic "average" behavior of networks at infinite width. This stability is crucial when data is scarce.

Comparison of NTK performance against finite-width neural networks with different initializations.

Furthermore, the architecture from which the kernel is derived remains critical. For image-based tasks, kernels derived from convolutional architectures (CNTKs) significantly outperform those from fully-connected networks, indicating that structural priors are preserved even in the infinite limit. Interestingly, the "infinite" behavior of NTKs starts appearing at much smaller network widths than theoretical bounds would suggest, making the theory highly relevant to practical architectures.

Experimental Results

The authors tested the NTK approach on 90 UCI repository datasets and subsampled versions of CIFAR-10.

UCI Benchmarks

On the UCI datasets, the NTK predictor emerged as a new "gold standard," achieving the best average accuracy and Friedman rank, surpassing the long-standing champion, Random Forests. As shown in the scatter plots below, the NTK consistently matches or exceeds the performance of traditional baselines across a wide variety of tasks.

NTK performance compared to Random Forest and Gaussian Kernel SVMs on UCI datasets.

Small-data Vision and Transfer Learning

On CIFAR-10 with limited samples (10–640), CNTKs consistently outperformed ResNet-34 by 1% to 3%. In few-shot transfer learning on VOC07, replacing a standard linear head with a CNTK-based head consistently improved mean Average Precision (mAP), demonstrating the benefit of non-linear kernels in low-resource settings without the overfitting risks of full fine-tuning.

Conclusion and Future Work

While NTKs offer a powerful tool for small datasets, they face challenges in scaling. The $O(n^2)$ space and $O(n^3)$ time complexity for kernel operations make them prohibitive for large-scale datasets like ImageNet. Additionally, incorporating standard data augmentations into the kernel framework remains an open research problem. Future work may involve deriving NTKs for more complex structures, such as Recurrent Neural Networks (RNTKs), to further expand the reach of this theoretical framework.

Summary updated

BibTeX
@inproceedings{arora2020harnessing,
  author = {Sanjeev Arora and Simon S. Du and Zhiyuan Li and Ruslan Salakhutdinov and Ruosong Wang and Dingli Yu},
  title = {{Harnessing the Power of Infinitely Wide Deep Nets on Small-data Tasks}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=NRSeAzB1RJh},
}
Figure