Skip to main content
QUICK REVIEW

[Paper Review] Harnessing the Power of Infinitely Wide Deep Nets on Small-data Tasks

Sanjeev Arora, Simon S. Du|arXiv (Cornell University)|Oct 3, 2019
Domain Adaptation and Few-Shot LearningComputer Science33 references13 citations
TL;DR

This paper demonstrates that Neural Tangent Kernel (NTK) classifiers, derived from infinitely wide deep networks, achieve state-of-the-art performance on small-data machine learning tasks. By leveraging kernel methods with NTKs—particularly Convolutional NTKs (CNTK)—the approach outperforms both finite-width networks and traditional methods like Random Forests and linear SVMs, especially in low-data regimes with minimal hyperparameter tuning.

ABSTRACT

Recent research shows that the following two models are equivalent: (a) infinitely wide neural networks (NNs) trained under l2 loss by gradient descent with infinitesimally small learning rate (b) kernel regression with respect to so-called Neural Tangent Kernels (NTKs) (Jacot et al., 2018). An efficient algorithm to compute the NTK, as well as its convolutional counterparts, appears in Arora et al. (2019a), which allowed studying performance of infinitely wide nets on datasets like CIFAR-10. However, super-quadratic running time of kernel methods makes them best suited for small-data tasks. We report results suggesting neural tangent kernels perform strongly on low-data tasks. 1. On a standard testbed of classification/regression tasks from the UCI database, NTK SVM beats the previous gold standard, Random Forests (RF), and also the corresponding finite nets. 2. On CIFAR-10 with 10 - 640 training samples, Convolutional NTK consistently beats ResNet-34 by 1% - 3%. 3. On VOC07 testbed for few-shot image classification tasks on ImageNet with transfer learning (Goyal et al., 2019), replacing the linear SVM currently used with a Convolutional NTK SVM consistently improves performance. 4. Comparing the performance of NTK with the finite-width net it was derived from, NTK behavior starts at lower net widths than suggested by theoretical analysis(Arora et al., 2019a). NTK's efficacy may trace to lower variance of output.

Motivation & Objective

  • To evaluate the performance of Neural Tangent Kernel (NTK) classifiers on small-data machine learning tasks where traditional kernel methods are computationally prohibitive.
  • To investigate whether the infinite-width limit of deep networks, formalized via NTK, provides practical advantages in low-data settings despite theoretical predictions of inferiority to finite networks.
  • To compare NTK-based models with established baselines such as Random Forests and linear SVMs in terms of accuracy, stability, and generalization on small datasets.
  • To explore the effectiveness of Convolutional NTK (CNTK) in few-shot image classification, particularly as a drop-in replacement for linear classifiers in transfer learning pipelines.
  • To assess whether NTKs capture the inductive bias of finite-width networks in low-data regimes, and if their lower variance contributes to improved performance.

Proposed method

  • Computes the exact Neural Tangent Kernel (NTK) for fully-connected and convolutional neural network architectures using the efficient algorithm from Arora et al. (2019a), enabling exact kernel computation without approximation.
  • Applies kernel regression and kernel SVMs using the NTK and CNTK as the kernel function, leveraging stable solvers with minimal hyperparameter tuning.
  • Uses standard UCI benchmark datasets and CIFAR-10 with limited training samples (10–640) to evaluate NTK performance across diverse classification tasks.
  • For few-shot learning on VOC07, extracts features from pre-trained ResNet-50 and replaces the linear classifier with a CNTK-based SVM to evaluate performance on 1–8 few-shot examples per class.
  • Employs cross-validation to tune the SVM regularization parameter C and reports mean and standard deviation of mAP across multiple random splits.
  • Compares NTK and CNTK performance against finite-width networks, Random Forests, and linear SVMs using standard metrics including average accuracy, Friedman rank, and PMA (percentage of maximum accuracy).

Experimental results

Research questions

  • RQ1Can NTK-based classifiers outperform finite-width deep networks and established methods like Random Forests on small-data classification tasks?
  • RQ2Does the infinite-width limit of deep networks, as formalized by the NTK, yield better generalization than finite networks in low-data regimes despite theoretical predictions of inferiority?
  • RQ3How does the performance of CNTK compare to linear SVMs in few-shot image classification, particularly when used as a drop-in replacement in transfer learning pipelines?
  • RQ4What role does the variance of the output distribution play in the improved performance of NTKs on small datasets?
  • RQ5At what network width does the NTK approximation begin to accurately describe the behavior of finite networks, and does this occur earlier than predicted by theory?

Key findings

  • On the UCI benchmark of 90 classification tasks, NTK classifiers achieve superior performance, outperforming Random Forests and finite deep networks, with statistical significance confirmed via Friedman rank and PMA metrics.
  • On CIFAR-10 with 10–640 training samples, Convolutional NTK (CNTK) consistently outperforms ResNet-34 by 1%–3%, demonstrating strong generalization in small-data computer vision.
  • In few-shot image classification on VOC07, replacing the linear SVM with CNTK improves mAP across all shot settings (k=1 to 8), with gains of up to 4% on middle-level features (Conv3 and Conv4).
  • NTK classifiers exhibit lower variance than finite networks, which contributes to their improved performance on small datasets, particularly in high-noise or low-sample regimes.
  • The performance gap between finite networks and their NTK counterparts is smaller than predicted by theory—NTK behavior emerges at lower widths than previously suggested.
  • CNTK with 1–3 convolutional layers consistently outperforms linear SVMs, with the largest gains observed on mid-level features, indicating that non-linearities in the kernel are beneficial in low-data settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.