In this setting a positive-semidefinite kernel is an inner-product similarity: there exist a real Hilbert space and a feature map such thatThe feature map may be infinite-dimensional. Equivalently, is symmetric and every finite kernel matrix is a positive semidefinite matrix. The equivalence follows by forming the canonical feature space of a positive-semidefinite kernel and taking its Hilbert space completion.
For every , every choice , and every coefficient vector , the required condition isThus for the kernel matrix . For a feature map, this follows fromIn kernel methods, the term positive-definite kernel commonly uses this non-strict inequality. Strict positive definiteness is the stronger requirement that the expression be positive for distinct inputs and every nonzero ; it is not required here.
The closure property of positive-semidefinite kernels gives three constructions, each seen directly from the feature maps .
- Nonnegative sums: , for . Its feature map is in the Hilbert space direct sum; expanding its inner product gives .
- Pointwise products: . In the Hilbert tensor product, use : the inner product of two such elementary tensors is the product of their two inner products.
- Input-dependent weighting: for any real-valued function . Its feature map is , so signs of are allowed. Nonnegative scalar multiplication is the special case of constant ; the weighting factor is itself a rank-one positive-semidefinite kernel.
Another useful consequence is pullback: if and is a positive-semidefinite kernel on , then has feature map .
Take the real L2 space and the feature mapEach indicator function belongs to because its squared L2 norm is . Their inner product is the length of the overlapping intervals:This realizes as a positive-semidefinite kernel; it is also the Brownian covariance kernel.
Choose two inputs . Their proposed kernel matrix isThe coefficient vector givesThus is not a positive semidefinite matrix, andEquivalently, its determinant is negative.
Reciprocation reverses the order of positive numbers, soThis is the pullback of the positive-semidefinite kernel from part (i) by . Explicitly, the feature map into the same L2 space isHence is a positive-semidefinite kernel, with for every allowed input.
Let be the Jacobian matrix with row . Differentiating the squared-error loss function givesThe parameter gradient flow is consequently . The chain rule then giveswhere, explicitly,It is a Gram matrix and therefore a positive semidefinite matrix: . These derivatives are understood wherever the network is differentiable; for piecewise differentiable activations the same calculation applies along differentiable portions of the trajectory.
Under the stated infinite-width scaling and freezing assumptions, the deterministic limiting kernel matrix has entriesFor a sequence of finite-width networks, this expectation is interpreted in the stated width limit. The resulting neural tangent kernel is a positive-semidefinite kernel, since every finite coefficient vector gives .
The prediction gradient flow is linear:The matrix exponential solves the constant-coefficient system because the residual satisfies . Each positive-eigenvalue component decays exponentially; a component in the null space of stays at its initial residual. Thus for every initial prediction if is a positive-definite matrix. The limiting kernel matrix being deterministic does not require to be deterministic.
For in the Reproducing kernel Hilbert space , take the directional derivative:The reproducing property says . HenceEach kernel section belongs to the Reproducing kernel Hilbert space, so this finite sum is an admissible element. Uniqueness of a vector with these inner products gives the functional gradient
Evaluating the negative functional gradient at yieldsThus the evaluation vector followsThis is exactly the limiting prediction dynamics in part (ii). If , subtracting the two systems gives with zero initial value, so for every .
An infinitely wide neural network in this regime follows the same training-prediction dynamics as kernel regression with its neural tangent kernel and matching initial predictions. For this squared-error loss function, the relevant algorithm is gradient flow in the Reproducing kernel Hilbert space. Matching predictions at arbitrary additional inputs also requires the corresponding cross-input neural tangent kernel to freeze and the initial predictions there to match. A finite-width neural network can change its feature map during training, so the equivalence depends on the assumptions rather than holding for every architecture and parameterization.
Articles by others on the same topic
There are currently no matching articles.