Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 7 results · all verified · 7 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 7 also cleared it.

RKHS regularization, kernels, and support-vector machines

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Positive semidefinite kernels and reproducing kernel Hilbert spaces

Definition

A real kernel on a set X is a function k:X×X→R. It is positive semidefinite if it is symmetric and, for every integer n≥1, every x1,…,xn∈X, and every c1,…,cn∈R,

∑i=1n∑j=1ncicjk(xi,xj)≥0.

A real reproducing kernel Hilbert space with kernel k is a real Hilbert space H of functions X→R such that, for each x∈X, the section kx:=k(⋅,x) lies in H and ⟨f,kx⟩H=f(x) for every f∈H. Consequently ⟨kz,kx⟩H=k(z,x)=k(x,z).

For the canonical construction, let E0 be the real vector space of finitely supported functions a:X→R, write δx for the function supported at x with value 1, and put

B(a,b):=∑x∈supp⁡(a)∑z∈supp⁡(b)a(x)b(z)k(x,z).

Let N:={a∈E0:B(a,a)=0}. Under the Axiom of Countable Choice, the canonical space is formed by giving E0/N its induced inner product and taking a norm completion; the image of δx is denoted kx. For an element h of that completion, its associated function is x↦⟨h,kx⟩. The quotient, completed inner product, and function identification are justified by the local construction theorem.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Projection onto a finite-dimensional subspace of an arbitrary real inner-product space

Statement

Let E be a real inner-product space, let M⊆E be a finite-dimensional subspace, and let f∈E. There is a unique p∈M such that f−p is orthogonal to every vector of M. This vector is the unique nearest point in M to f, and it satisfies ∥p∥≤∥f∥. The conclusion does not require E to be complete.

Facts & Assumptions

Given: A real inner-product space E, a finite-dimensional subspace M⊆E, and f∈E.

[F1]

In a finite-dimensional inner-product space V, the orthogonal projection of a vector onto a subspace is its unique nearest point (The orthogonal projection is the unique nearest point in the subspace).

[F2]

In a finite-dimensional inner-product space V, the orthogonal projection PWf belongs to W and f−PWf∈W⊥ (The orthogonal projection PWv is the W-component in V=W⊕W⊥).

[F3]

If u⊥v, then ∥u+v∥2=∥u∥2+∥v∥2 (Pythagoras, the parallelogram identity, and the real and complex polarisation identities).

Proof

1.1givenF1construct

Set V:=span⁡(M∪{f}). Since M is finite-dimensional and adjoining one vector increases dimension by at most one, V is a finite-dimensional real inner-product space with the inherited inner product; M is a subspace of V and f∈V. Apply [F1] inside V and set p:=PMf.

2.1step 1.1F2

By [F2], p∈M and f−p∈M⊥.

3.1step 2.1F1F3algebra∎

Since p∈M and f−p∈M⊥, Pythagoras [F3] gives ∥f∥2=∥p∥2+∥f−p∥2≥∥p∥2, so ∥p∥≤∥f∥. If q∈M also has f−q∈M⊥, then for every r∈M, [F3] gives ∥f−r∥2=∥f−q∥2+∥q−r∥2≥∥f−q∥2. Thus q is a nearest point to f, and [F1] forces q=p.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

A positive semidefinite kernel has a canonical reproducing kernel Hilbert space under countable choice

Statement

Assume the Axiom of Countable Choice. For every set X and every real positive semidefinite kernel k on X, the canonical construction from finitely supported coefficients, quotient by zero seminorm, and norm completion defines a real reproducing kernel Hilbert space Hk. For every x∈X, its kernel section kx=k(⋅,x) belongs to Hk and satisfies ⟨h,kx⟩Hk=h(x) for all h∈Hk. The choice assumption here is countable choice; this statement does not assert the same construction in ZF without that assumption.

Facts & Assumptions

Given: The Axiom of Countable Choice, a set X, and a real positive semidefinite kernel k on X.

[A1]

The Axiom of Countable Choice says every countable sequence of nonempty sets has a choice function (The Axiom of Countable Choice (ACω)).

[F1]

A real positive semidefinite kernel is symmetric and every finite Gram quadratic form is nonnegative (Positive semidefinite kernels and reproducing kernel Hilbert spaces).

[F2]

The completion used here is obtained by taking the metric completion (A completion of a metric space: a complete metric space together with an isometric embedding onto a dense subspace, Every metric space has a completion, constructed as the equivalence classes of its Cauchy sequences), equipping it with its unique compatible Banach structure under countable choice (The metric completion of a normed space carries a unique compatible Banach-space structure), viewing it as a norm completion (Completion of a normed space), and extending the real inner product uniquely under countable choice (The norm completion of an inner-product space is a Hilbert space).

[F3]

In a real inner-product space, ∣⟨u,v⟩∣≤∥u∥∥v∥ (Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors).

Proof

1.1givenF1constructalgebra

Let E0 be the finitely supported functions on X and define B(a,b)=∑x,za(x)b(z)k(x,z), where each sum is over the finite supports. Symmetry and bilinearity follow from symmetry of k and finite-sum algebra. For any a, listing its finite support gives B(a,a)≥0 by [F1].

2.1step 1.1algebra

For a,b∈E0 and t∈R, 0≤B(a+tb,a+tb)=B(a,a)+2tB(a,b)+t2B(b,b). If B(b,b)>0, nonnegativity of this quadratic for all t gives B(a,b)2≤B(a,a)B(b,b); if B(b,b)=0, its linear coefficient must vanish, so B(a,b)=0.

3.1step 2.1algebra

It follows that every a∈N:={a:B(a,a)=0} satisfies B(a,b)=0 for every b∈E0. Hence N is a subspace and the form descends to a well-defined positive definite inner product on Q:=E0/N: changing a representative by an element of N does not change any pairing, and a quotient class has zero squared norm exactly when it is the zero class.

4.1step 3.1A1F2

The induced inner product makes Q a real inner-product space. By [F2] and [A1], its norm metric has a metric completion with compatible Banach structure, hence a norm completion; the inner product extends uniquely and makes the completion Q^ a real Hilbert space.

5.1step 1.1step 3.1step 4.1F1

For each x∈X, the image kx of [δx]∈Q satisfies ∥kx∥2=B(δx,δx)=k(x,x)≥0. Thus the finite kernel sections are elements of Q^, and their span is dense because the image of Q is dense in its completion.

6.1A1step 3.1step 4.1step 5.1F3

For a∈E0, the quotient pairing gives ⟨[a],kx⟩=∑z∈supp⁡(a)a(z)k(z,x), independently of the representative by [step 3.1]. Given h∈Q^, density in [step 4.1] provides an approximating sequence [am]→h. By [F3], the real sequence ⟨[am],kx⟩ is Cauchy, and if [bm]→h is another such sequence then ∣⟨[am−bm],kx⟩∣≤∥[am−bm]∥∥kx∥→0, so its limit is independent of the approximants. The extended inner product also satisfies [F3], hence this limit equals ⟨h,kx⟩.

7.1step 5.1step 6.1F1

Define the associated function of h∈Q^ by h(x):=⟨h,kx⟩. Applying the extended pairing to kz gives kz(x)=⟨kz,kx⟩=B(δz,δx)=k(z,x)=k(x,z), so kx is exactly the section k(⋅,x) and ⟨h,kx⟩=h(x) for every h.

8.1step 5.1step 7.1F3∎

If h(x)=0 for every x∈X, then h is orthogonal to every section kx and therefore to their dense span from [step 5.1]. Continuity of the inner product gives ⟨h,h⟩=0, so positive definiteness gives h=0. Thus the associated-function map is injective and identifies Q^ with a Hilbert space of functions having reproducing kernel k.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

A finite positive semidefinite kernel Gram matrix has a Euclidean feature factorization

Statement

Let k be a real positive semidefinite kernel on a set X, let n≥1, and let x1,…,xn∈X. There are vectors z1,…,zn∈Rn such that k(xi,xj)=ziTzj for every 1≤i,j≤n. The vectors may be zero and need not be linearly independent.

Facts & Assumptions

Given: A real positive semidefinite kernel k, an integer n≥1, and points x1,…,xn∈X.

[A1]

The Gram matrix K=(k(xi,xj))i,j=1n is real symmetric and satisfies cTKc≥0 for every c∈Rn (Positive semidefinite kernels and reproducing kernel Hilbert spaces).

[F1]

Every self-adjoint endomorphism of a finite-dimensional real inner-product space has an orthonormal eigenbasis (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis).

Proof

1.1givenA1F1construct

Regard K as an endomorphism of Rn with its usual dot product. By [A1], K is symmetric, hence self-adjoint. By [F1], there are an orthonormal eigenbasis q1,…,qn and real eigenvalues λ1,…,λn with Kqℓ=λℓqℓ.

2.1step 1.1A1

Since ∥qℓ∥2=1, [A1] gives λℓ=qℓTKqℓ≥0 for each ℓ. Thus each λℓ is a real number, including when λℓ=0.

3.1step 1.1step 2.1constructalgebra∎

For 1≤i≤n, define zi=(λ1(q1)i,…,λn(qn)i)∈Rn. The spectral decomposition K=∑ℓ=1nλℓqℓqℓT then gives ziTzj=∑ℓ=1nλℓ(qℓ)i(qℓ)j=Kij=k(xi,xj) for all i,j.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Finite-sample representer theorem when a minimizer exists

Statement

Let H be a real reproducing kernel Hilbert space with kernel k, let n≥0, let x1,…,xn be sample points, let L:Rn→R be finite-valued, and let Ω:[0,∞)→R be nondecreasing. Define J(f):=L(f(x1),…,f(xn))+Ω(∥f∥H). If J has a minimizer, then it has a minimizer in span⁡{k(⋅,xi):1≤i≤n}; equivalently, at least one minimizer has the finite expansion f(⋅)=∑i=1nαik(⋅,xi). This is an existence-conditional statement and asserts no minimizer exists when none is separately guaranteed.

Facts & Assumptions

Given: A real RKHS H with kernel k, finitely many sample points, a finite-valued loss L, a nondecreasing penalty Ω, and a minimizer f of J.

[F1]

For each x, the section kx=k(⋅,x) lies in the RKHS and ⟨h,kx⟩=h(x) (Positive semidefinite kernels and reproducing kernel Hilbert spaces).

[F2]

Every finite-dimensional subspace of a real inner-product space admits a unique orthogonal projection, the residual is orthogonal to the subspace, and the projection does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).

Proof

1.1givenF2construct

Let M:=span⁡{kxi:1≤i≤n}. It is finite-dimensional. Apply [F2] to f and M, and write f=p+h with p∈M and h⊥M.

2.1step 1.1F1algebra

For every i, [F1] gives h(xi)=⟨h,kxi⟩=0, so p(xi)=f(xi). Hence the loss terms in J(p) and J(f) agree.

3.1step 1.1step 2.1F2

The norm-contraction clause of [F2] gives ∥p∥H≤∥f∥H. Monotonicity of Ω therefore gives J(p)≤J(f).

4.1givenstep 3.1∎

Since f is a minimizer, J(f)≤J(p). Thus J(p)=J(f) and p is also a minimizer; by its definition p is a finite linear combination of the sample kernel sections.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Hard- and soft-margin support-vector machines with an unpenalized bias

Definition

Let X be a set, let H be a real Hilbert space, and let ϕ:X→H be a feature map. Define its kernel by k(x,z):=⟨ϕ(x),ϕ(z)⟩H. For a finite labeled sample (xi,yi)i=1n with n≥1, xi∈X, and yi∈{−1,+1}, the soft-margin support-vector machine with cost C>0 is

min⁡w∈H, b∈R, ξ∈Rn 12∥w∥H2+C∑i=1nξi

subject to

yi(⟨w,ϕ(xi)⟩H+b)≥1−ξi,ξi≥0(1≤i≤n).

The bias b is unpenalized. The associated real score is sw,b(x):=⟨w,ϕ(x)⟩H+b. If a binary label is required, use the deterministic rule +1 when sw,b(x)≥0 and −1 otherwise. The score is not defined as a probability, and this optimization includes no probability-calibration map.

The hard-margin problem removes the slack variables and minimizes 12∥w∥H2 subject to yi(⟨w,ϕ(xi)⟩H+b)≥1 for every i. In this library, “margin-separable sample” means exactly that this hard-margin feasible set is nonempty; no hard-margin conclusion is asserted for a sample that fails this condition.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The soft-margin SVM primal attains its minimum, including the unpenalized-bias boundary

Statement

Let n≥1, let C>0, and let (xi,yi)i=1n be a finite labeled sample with yi∈{−1,+1} in a real Hilbert feature space H, with feature map ϕ. The soft-margin SVM primal has a finite attained minimum. At least one minimizing tuple has its weight vector in M:=span⁡{ϕ(xi):1≤i≤n}. This conclusion includes samples with only one label and does not assert uniqueness of the bias or slack variables.

Facts & Assumptions

Given: The sample, a real Hilbert feature space, its feature map, and C>0.

[A1]

The soft-margin primal minimizes 12∥w∥2+C∑iξi over w,b,ξ subject to yi(⟨w,ϕ(xi)⟩+b)≥1−ξi and ξi≥0 (Hard- and soft-margin support-vector machines with an unpenalized bias).

[F1]

Projection onto a finite-dimensional subspace preserves inner products with that subspace and does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).

[F2]

∣⟨u,v⟩∣≤∥u∥∥v∥ in a real inner-product space (Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors).

[F3]

Every finite-dimensional real inner-product space has an orthonormal basis (Every finite-dimensional real or complex inner product space has an orthonormal basis).

[F4]

A nonempty closed bounded subset of Rd, d≥1, is compact, and every continuous real-valued function on it attains a minimum (For a nonempty subset of Rn with n≥1, compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent).

Proof

1.1givenA1constructalgebra

The tuple w=0, b=0, and ξi=1 is feasible and has objective Cn. Every feasible objective is nonnegative, so the primal infimum lies in [0,Cn].

1.2givenF1A1

Let M=span⁡{ϕ(xi):1≤i≤n}. For any feasible tuple, project w onto M using [F1]. The residual is orthogonal to every ϕ(xi), so all sample scores and constraints are unchanged, while the norm does not increase. Thus minimizing over M×R×Rn has the same infimum as minimizing over the full feature space.

2.1step 1.1A1construct

If all labels are +1, then w=0, b=1, and ξ=0 is feasible with objective 0, which is globally minimal by step 1.1. If all labels are −1, then w=0, b=−1, and ξ=0 gives the same conclusion.

3.1step 1.1step 1.2A1F2F3F4chooseconstructalgebra∎

Suppose both labels occur. Set R=max⁡i∥ϕ(xi)∥ and let S be the subset of M×R×Rn consisting of feasible tuples with objective at most Cn. By step 1.1, S is nonempty. It is closed because the constraints are continuous affine inequalities and the objective is continuous; continuity of each score follows from [F2]. Every tuple in S satisfies ∥w∥≤2Cn and 0≤ξi≤n. Choose indices i+ and i− with labels +1 and −1. Their constraints and [F2] give b≥1−n−2CnR and b≤n−1+2CnR, so b is bounded. Equip the product space with the inner product ⟨(w,b,ξ),(w′,b′,ξ′)⟩=⟨w,w′⟩+bb′+ξTξ′. It has finite dimension d=dim⁡M+1+n≥1, so [F3] gives an orthonormal basis identifying it with Rd. Hence S is a nonempty closed bounded subset of that Euclidean space. By [F4], the continuous objective attains a minimum on S. Any feasible tuple outside S has objective greater than Cn, whereas S contains a feasible tuple of objective Cn; therefore this minimum is also the global primal minimum. By step 1.2 it is a full-space minimizer with w∈M.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Soft-margin SVM duality and KKT conditions

Statement

Let n≥1, C>0, let H be a real Hilbert space, and let ϕ:X→H be a feature map with kernel k(x,z)=⟨ϕ(x),ϕ(z)⟩H. For any finite sample (xi,yi)i=1n with yi∈{−1,+1}, the soft-margin SVM primal attains its minimum. Its Lagrangian dual is

max⁡α∈Rn ∑i=1nαi−12∑i=1n∑j=1nαiαjyiyjk(xi,xj)

subject to 0≤αi≤C for every i and ∑iαiyi=0. The dual maximum is attained and equals the primal minimum. For every primal minimizer there are dual multipliers αi and μi such that

w=∑i=1nαiyiϕ(xi),∑i=1nαiyi=0,C−αi−μi=0,

αi(1−ξi−yi(⟨w,ϕ(xi)⟩+b))=0,μiξi=0,

with αi≥0 and μi≥0. Conversely, any primal-feasible tuple and nonnegative multipliers satisfying these stationarity and complementarity equations are globally optimal. An index with αi>0 is a support vector; if 0<αi<C, then ξi=0 and its signed margin equals 1. The single dual equality row is independent because (y1,…,yn)≠0.

Facts & Assumptions

Given: A finite labeled sample in a real Hilbert feature space, the induced kernel, and C>0.

[F2]

Projection onto a finite-dimensional subspace preserves the residual orthogonality and does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).

[F3]
[F4]

For a finite sample, the kernel Gram matrix has vectors zi∈Rn with Kij=ziTzj (A finite positive semidefinite kernel Gram matrix has a Euclidean feature factorization).

[F5]

A finite-dimensional convex program uses proper closed convex objective and constraint functions, a full-row-rank equality matrix, and the inequality convention gi≤0 with nonnegative Lagrange multipliers (Finite-dimensional convex program, Lagrangian dual, and Slater condition).

[F6]

For a finite-dimensional convex program with independent equality rows, relative-interior Slater, and a finite attained primal value, the dual optimum is attained, the values agree, and inequality complementarity holds (Slater gives zero duality gap and an attained dual certificate).

[F7]

The inequality-program convention uses gi≤0 and Lagrangian f+λTg with λ≥0 (Inequality constrained programs, tangent cones, constraint qualifications, and KKT).

[F8]

In a differentiable convex program on an open convex domain, every feasible tuple satisfying KKT conditions is a global minimizer (Convex KKT conditions certify a global minimum and an outward normal).

Proof

1.1givenF1F2F3construct

Let (w∗,b∗,ξ∗) be any primal minimizer, which exists by [F1], and let M=span⁡{ϕ(xi):1≤i≤n}. Project w∗ onto M using [F2]; its residual is orthogonal to every ϕ(xi), so the projection preserves all margins and slacks. If the residual were nonzero, [F3] would give a strictly smaller squared norm and hence a strictly smaller objective, contradicting minimality because the regularization coefficient is 1/2>0. Thus every primal minimizer has w∗∈M.

2.1step 1.1F5F7algebra

Identify M with a Euclidean space using an orthonormal basis. In the finite-dimensional variable space M×R×Rn, the objective is a proper continuous convex function and the 2n inequality constraints are continuous affine functions with the sign convention [F7]. No inequality is removed by the domain-preserving convention in [F5]: all functions have full domain, and sending the corresponding ξi→−∞ makes either constraint function positive. There are no primal equality rows, so the full-row-rank condition in [F5] holds vacuously.

3.1step 1.1step 2.1F1F6construct

The point w=0, b=0, ξi=2 has strict slack in every constraint: 1−ξi−yi(⟨w,ϕ(xi)⟩+b)=−1<0 and −ξi=−2<0. The objective and all constraint domains are the whole finite-dimensional variable space, so this point lies in their relative interiors. Together with the finite attained primal value from [F1], this verifies every hypothesis of [F6].

3.2step 2.1F5F7construct

Write the margin constraints as gi(m):=1−ξi−yi(⟨w,ϕ(xi)⟩+b)≤0 and the nonnegative-slack constraints as gi(s):=−ξi≤0. Give them multipliers αi≥0 and μi≥0, respectively. The Lagrangian is L=12∥w∥2+C∑iξi+∑iαigi(m)+∑iμigi(s).

4.1step 3.2algebra

Put v:=∑iαiyiϕ(xi). The terms of L depending on w are 12∥w∥2−⟨w,v⟩=12∥w−v∥2−12∥v∥2, so their infimum is −12∥v∥2. The infimum over the unrestricted bias b is finite exactly when ∑iαiyi=0, and the infimum over each unrestricted ξi is finite exactly when C−αi−μi=0. Thus the dual-feasible conditions are ∑iαiyi=0 and 0≤αi≤C.

4.2step 3.1step 3.2F6algebra

Apply [F6] using the verified hypotheses in [step 3.1]. It gives an attained dual optimum (α,μ) with the same value as the primal optimum and complementarity for both families gi(m) and gi(s). At any fixed primal minimizer, these equal values and complementarity make L attain its unconstrained infimum; its derivatives in w, b, and each ξi therefore vanish.

5.1step 4.1F4algebra

For any finite list u1,…,um∈X and c1,…,cm∈R, symmetry and bilinearity of the real inner product give ∑r,scrcsk(ur,us)=⟨∑rcrϕ(ur),∑scsϕ(us)⟩=∥∑rcrϕ(ur)∥2≥0. Thus the feature-induced kernel k is real positive semidefinite, so its sample Gram matrix satisfies the hypothesis of [F4]. Since k(xi,xj)=⟨ϕ(xi),ϕ(xj)⟩, ∥v∥2=∑i,jαiαjyiyjk(xi,xj). By [F4], the matrix (yiyjk(xi,xj))i,j is the Gram matrix of yizi, so its quadratic form is nonnegative. Hence the displayed dual objective is concave. Its equality row has coefficient vector y≠0, because n≥1 and each yi∈{−1,+1}, so that row is independent.

5.2step 4.2step 3.2F6algebra

Differentiating the Lagrangian of [step 3.2] gives w=∑iαiyiϕ(xi), ∑iαiyi=0, and C−αi−μi=0. The last equation and μi≥0 give αi≤C; together with αi≥0 these are the dual box constraints. The complementarity equations supplied by [F6] are αigi(m)=0 and μigi(s)=0, which are exactly the two equations in the Statement.

6.1step 5.2step 2.1F8algebra∎

The finite-dimensional primal has differentiable convex objective and affine convex constraints on the open convex variable space identified in [step 2.1]. Thus [F8] certifies that any feasible tuple satisfying the stationarity and complementarity equations is a global primal minimizer. If 0<αi<C, then μi=C−αi>0, so μiξi=0 forces ξi=0; then αigi(m)=0 forces the signed margin to equal 1. Finally, for any input x, stationarity gives the score s(x)=∑iαiyik(xi,x)+b.

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The Gaussian radial kernel is positive semidefinite

Example

For p≥1 and σ>0, the Gaussian radial kernel on Rp is kσ(x,z)=exp⁡(−∥x−z∥22/(2σ2)). It is a real positive semidefinite kernel, including on finite samples with repeated points or a singular Gram matrix.

Facts & Assumptions

Given: p≥1, σ>0, a finite sample x1,…,xm∈Rp with m≥1, and real coefficients c1,…,cm.

[F1]

Positive semidefiniteness means symmetry and nonnegative finite Gram quadratic forms (Positive semidefinite kernels and reproducing kernel Hilbert spaces).

Verification

1.1givenalgebra

For each sample point put ai=ciexp⁡(−∥xi∥22/(2σ2)). The identity ∥xi−xj∥22=∥xi∥22+∥xj∥22−2xiTxj gives ∑i,jcicjkσ(xi,xj)=∑i,jaiajexp⁡(xiTxj/σ2).

1.2givenalgebra

For each fixed pair i,j, the exponential series has the absolutely convergent multi-index expansion exp⁡(xiTxj/σ2)=∑α∈N0p(xiαxjα)/(σ2∣α∣α!), since the corresponding series of absolute values is ∏r=1pexp⁡(∣xirxjr∣/σ2)<∞. The sample sums are finite, so they can be interchanged with this absolutely convergent series.

2.1step 1.1step 1.2F1algebra∎

Substitution into [step 1.1] yields ∑i,jcicjkσ(xi,xj)=∑α∈N0p1σ2∣α∣α!(∑iaixiα)2≥0. Symmetry of kσ is immediate from ∥x−z∥2=∥z−x∥2, so [F1] proves positive semidefiniteness; zero eigenvalues or repeated points do not affect the sum-of-squares argument.

4 · Examples, counterexamples and false statements

None yet.

Sources