A width limit and a kernel space
Penguin learning project
The project uses 342 complete Palmer penguin records: 240 training-pool and 102 held-out rows. The selected training rows determine feature scaling and model parameters. Source CSV
This project trains weights with softmax, unlike the homepage lab, which uses nearest species averages. Same penguin measurements; different classification methods. Predictions can differ.
Kernels and linearization · Relate parameter gradients or features to kernel matrices.
The project supplies finite observations and fitted parameters. A held-out sample does not establish population bounds or prove a theorem.
Consider this concept alongside the project; its source assumptions may differ. These observations do not prove a theorem.
Input: 12 × 2; Held-out evaluation: 102 · #58 · 40.6 mm, 193 mm. Known answer: Adélie; Prediction: Adélie · [≈0.7383, ≈0.2444, ≈0.01737].
Used in these source sections: 2.1 A view through similarity · 3.1 A rule based on distance · 3.2 Simple pieces, many layers · More source sections
The source studies a kernel limit as hidden widths increase and the corresponding reproducing-kernel Hilbert space.
For the toy network Φₙ(x)=n⁻¹ᐟ²∑aⱼReLU(wⱼx), initialize every aⱼ=0 and wⱼ=1. Its full parameter-gradient kernel is ReLU(x)ReLU(y) for every n.
The kernel space gives a function norm associated with the limiting kernel.
Source formula example
illustration · This special deterministic initialization is not the source’s Gaussian initialization and does not prove a general infinite-width theorem. The source kernel space may be more complicated.
Symbols
- The source limiting kernel.
- The Hilbert space associated with that kernel.
- Finite hidden width in the toy.
Source formula example
This source example uses its own inputs and assumptions. Editing it does not change the project.
Edit a value or the code, then run the example. This is a finite demonstration, not a proof of the paper’s theorem.
This example’s data flow
Code changed. Reset to restore this example’s data flow.
You choose
input.n= 3input.x= 2input.y= 3input.a= 2
Calculated here
Result expression: {
width: n,
featureX,
featureY,
kernel,
functionValue: a * featureX,
functionNorm: Math.abs(a),
}
n=input.nUses:input.nx=input.xUses:input.xy=input.yUses:input.ya=input.aUses:input.afeatureX=Math.max(0, x)Uses:xfeatureY=Math.max(0, y)Uses:youtputGradX=Array(n).fill(featureX / Math.sqrt(n))Uses:n,featureXoutputGradY=Array(n).fill(featureY / Math.sqrt(n))Uses:n,featureY
More expressions in code
Returns
width- 3
featureX- 2
featureY- 3
kernel- 6
functionValue- 4
functionNorm- 2
Read numbers from input and return the result. JavaScript basics.
Result
Technical statement
At the toy initialization, gradients with respect to w vanish because all output weights aⱼ are zero. The remaining n gradient products sum to ReLU(x)ReLU(y), independent of n. For this rank-one kernel, functions are f(x)=a ReLU(x) and their kernel-space norm is |a|. This is a special example of the concepts, not the paper’s general limit.