2
1
Leonardo Petrini,* Francesco Cagnetta,* Eric Vanden-Eijnden, Matthieu Wyart
1
1
2
1
initialization (dense)
trained (sparse)
Geiger et al. (2020a,b); Lee et al. (2020)
Figure. Kernel predictor is smoother along diffeomorphisms for image classification.
more smooth
Task: regression with \(n\) training points \(\{\bm x\}_{i=1}^n\) uniformly sampled from the hyper-sphere \(\mathbb{S}^{d-1}\) and target function of controlled smoothness \(\nu_t\):
$$\| f^*(\bm{x})-f^*(\bm{y})\| \sim \|\bm{x}-\bm{y}\|^{\nu_t} $$
High smoothness
(large \(\nu_t\))
Low smoothness
(small \(\nu_t\))
log test error
log train set size
log test error
log train set size
feature learning
kernel regime
Architecture: one-hidden-layer fully-connected with ReLU activations,$$f(\bm{x}) = \frac{1}{\mathcal{N}} \sum_{h=1}^H w_h \sigma( \bm{\theta}_h\cdot\bm{x}) $$
\(H\to\infty\): the choice of the normalization constant \(\mathcal{N}\) controls the training regime, $$\qquad\qquad\mathcal{N} = H \qquad \qquad \qquad\qquad\qquad\qquad\qquad \mathcal{N} = \sqrt{H}$$
feature learning
kernel regime
Jacot et al. (2018);
Bach (2018); Mei et al. (2018);
Rotskoff, Vanden-Eijnden (2018)...
Atomic solution: the feature regime predictor takes the following form,$$f^{\text{FEATURE}}(\bm{x}) = \sum_{i=1}^{n_A} w^*_i \sigma( \bm{\theta}^*_i\cdot\bm{x}) , \quad n_A = O(n),$$
Kernel trick: while the kernel predictor can be written as (with \(K\) the NTK), $$f^{\text{LAZY}}(\bm{x}) =\sum_{i=1}^n g_i K(\bm{x}_i\cdot \bm{x}).$$
Boyer et al. (2019);
Notice that \(K\) is smoother than the ReLU function \(\sigma\), leading to a smoother predictor.
The scaling of generalization error is controlled by the smoothness of \( \sigma, \, K\):
predictor
target
predictor
training point
Thank you.