Tutorials › Statistical Learning (Graduate) › Evaluation Norms and Continuity in an RKHS

RKHS and Representer Theory · Tutorial 695 of 989

Evaluation Norms and Continuity in an RKHS

Learn how the diagonal of a kernel determines evaluation size and how kernel continuity transfers to every function in its RKHS.

Intermediate 11 min read

What You'll Learn

  • Define point evaluation as a bounded linear functional on an RKHS
  • Derive its exact operator norm from the kernel diagonal
  • Prove that joint kernel continuity implies continuity of every RKHS function
  • Apply the formulas to linear, polynomial, and Gaussian kernels
  • Identify why a positive definite kernel alone does not guarantee continuous functions

Why Evaluation Norms Matter

An RKHS is a Hilbert space of functions in which evaluating a function at an input is a continuous linear operation. The size of that operation depends on the input: some evaluation functionals can have a larger operator norm than others. The reproducing property gives an exact answer in terms of the kernel’s diagonal. It also provides a direct route from continuity of the kernel to continuity of every function in the space.

Throughout, let \(X\) be a set, let \(K:X\times X\to\mathbb{R}\) be a positive definite kernel, and let \(\mathcal{H}_K\) be its real RKHS. Write \(K_x=K(\cdot,x)\) for the kernel section at \(x\). The reproducing property is \(f(x)=\langle f,K_x\rangle_{\mathcal{H}_K}\) for all \(f\in\mathcal{H}_K\) and \(x\in X\). In particular, \(\langle K_x,K_y\rangle_{\mathcal{H}_K}=K(x,y)\).

Definition: For a fixed \(x\in X\), the point-evaluation functional \(E_x:\mathcal{H}_K\to\mathbb{R}\) is defined by \(E_x(f)=f(x)\). Its operator norm is \( \|E_x\|_{\mathrm{op}}=\sup_{\|f\|_{\mathcal{H}_K}\leq 1}|f(x)| \).

The operator norm measures the largest absolute value that evaluation at \(x\) can produce among functions with RKHS norm at most one. The definition of an RKHS ensures that each \(E_x\) is bounded. The next result identifies its norm exactly, including the case where evaluation is identically zero.

The Exact Norm of Point Evaluation

Theorem: For every \(x\in X\), the point-evaluation functional is bounded and
$$ \|E_x\|_{\mathrm{op}}=\sqrt{K(x,x)}. $$

Proof. By the reproducing property and the Cauchy–Schwarz inequality, for every \(f\in\mathcal{H}_K\),

$$ |E_x(f)|=|\langle f,K_x\rangle_{\mathcal{H}_K}| \leq \|f\|_{\mathcal{H}_K}\,\|K_x\|_{\mathcal{H}_K}. $$

Also, \(\|K_x\|_{\mathcal{H}_K}^2=\langle K_x,K_x\rangle_{\mathcal{H}_K}=K(x,x)\). Thus \(\|E_x\|_{\mathrm{op}}\leq\sqrt{K(x,x)}\). If \(K(x,x)>0\), take \(f=K_x/\sqrt{K(x,x)}\), which has RKHS norm one. Then

$$ |E_x(f)|=\frac{K_x(x)}{\sqrt{K(x,x)}}=\sqrt{K(x,x)}. $$

So the upper bound is attained. If \(K(x,x)=0\), then \(\|K_x\|_{\mathcal{H}_K}=0\), hence \(K_x\) is the zero element of the Hilbert space. The reproducing property then gives \(f(x)=\langle f,K_x\rangle_{\mathcal{H}_K}=0\) for every \(f\). In this case \(\|E_x\|_{\mathrm{op}}=0\) as required. \(\square\)

The diagonal value is nonnegative because it equals \(\|K_x\|_{\mathcal{H}_K}^2\). The theorem also supplies a pointwise bound for every RKHS function:

$$ |f(x)|\leq \|f\|_{\mathcal{H}_K}\sqrt{K(x,x)}. $$

This inequality is sharp at each fixed \(x\) when \(K(x,x)>0\), as the normalized section used in the proof shows. It is a bound at one input; it does not by itself assert that the function is bounded over all of \(X\). A global bound follows if the diagonal is uniformly bounded: if \(\sup_{x\in X}K(x,x)\leq M<\infty\), then \(\sup_{x\in X}|f(x)|\leq\sqrt{M}\|f\|_{\mathcal{H}_K}\).

Worked Example: A Linear Kernel at a Specific Input

Let \(X=\mathbb{R}^2\) and \(K(x,z)=x^\mathsf{T}z\). At \(x=(3,4)\), the diagonal value and evaluation norm are

$$ K(x,x)=3^2+4^2=25, \qquad \|E_x\|_{\mathrm{op}}=\sqrt{25}=5. $$

In this RKHS, functions have the form \(f_w(z)=w^\mathsf{T}z\), with RKHS norm \(\|w\|_2\). For every \(w\) with \(\|w\|_2\leq 1\), Cauchy–Schwarz gives \(|f_w(x)|\leq\|w\|_2\|x\|_2\leq 5\). The bound is attained by \(w=x/\|x\|_2=(3/5,4/5)\): then \(\|w\|_2=1\) and \(f_w(x)=3(3/5)+4(4/5)=5\).

Worked Example: A Polynomial Kernel with a Varying Evaluation Norm

On \(X=[0,1]\), consider \(K(x,z)=1+xz\). Its feature representation is \(K(x,z)=(1,x)^\mathsf{T}(1,z)\), so its RKHS consists of functions \(f(t)=a+bt\) with norm \(\sqrt{a^2+b^2}\). At \(x=3/5\),

$$ K(x,x)=1+\frac{9}{25}=\frac{34}{25}, \qquad \|E_x\|_{\mathrm{op}}=\frac{\sqrt{34}}{5}. $$

The norm is attained by the function whose coefficient vector is \((1,x)/\sqrt{1+x^2}\). Its RKHS norm is one, and its value at \(x\) is \( (1+x^2)/\sqrt{1+x^2}=\sqrt{1+x^2}=\sqrt{34}/5 \). Unlike the linear-kernel example at a fixed feature norm, the diagonal here varies with the input, so the operator norm varies as well.

Kernel Continuity Gives Function Continuity

Now suppose that \(X\) is a topological space and that \(K\) is jointly continuous on \(X\times X\). The key quantity is the RKHS distance between two kernel sections. For \(x,y\in X\), the inner-product identities for sections give

$$ \|K_x-K_y\|_{\mathcal{H}_K}^2 =K(x,x)+K(y,y)-2K(x,y). $$

This identity connects a change in input to a change in the corresponding section as a vector in the Hilbert space. It leads to a bound on the change of any function in the space.

Theorem: If \(K\) is jointly continuous on \(X\times X\), then every \(f\in\mathcal{H}_K\) is continuous on \(X\). More precisely, for all \(x,y\in X\),
$$ |f(x)-f(y)| \leq \|f\|_{\mathcal{H}_K} \sqrt{K(x,x)+K(y,y)-2K(x,y)}. $$

Proof. Apply the reproducing property to the difference of the two function values, then apply Cauchy–Schwarz:

$$ \begin{aligned} |f(x)-f(y)| &=|\langle f,K_x-K_y\rangle_{\mathcal{H}_K}|\\ &\leq \|f\|_{\mathcal{H}_K}\|K_x-K_y\|_{\mathcal{H}_K}\\ &=\|f\|_{\mathcal{H}_K} \sqrt{K(x,x)+K(y,y)-2K(x,y)}. \end{aligned} $$

Fix \(x_0\in X\). The function \(G(x,y)=K(x,x)+K(y,y)-2K(x,y)\) is continuous on \(X\times X\), since \(K\) is jointly continuous and the diagonal maps \(x\mapsto(x,x)\) and \(y\mapsto(y,y)\) are continuous. Also \(G(x_0,x_0)=0\). Given \(\varepsilon>0\), if \(\|f\|_{\mathcal{H}_K}=0\), then \(f\) is identically zero by the reproducing property and is continuous. Otherwise, continuity of \(G\) at \((x_0,x_0)\) gives a neighborhood \(U\) of \(x_0\) such that \(G(x,x_0)<(\varepsilon/\|f\|_{\mathcal{H}_K})^2\) for \(x\in U\). The displayed bound with \(y=x_0\) then yields \(|f(x)-f(x_0)|<\varepsilon\). Thus \(f\) is continuous at \(x_0\). Since \(x_0\) was arbitrary, every \(f\in\mathcal{H}_K\) is continuous. \(\square\)

Worked Example: Continuity for a Gaussian Kernel

On \(\mathbb{R}^d\), let \(K(x,y)=\exp(-\|x-y\|_2^2/(2\sigma^2))\), where \(\sigma>0\). This kernel is continuous and has \(K(x,x)=1\), so every evaluation functional has norm one. The section-distance identity gives

$$ \|K_x-K_y\|_{\mathcal{H}_K} =\sqrt{2\left(1-\exp\left(-\frac{\|x-y\|_2^2}{2\sigma^2}\right)\right)}. $$

Consequently, every \(f\in\mathcal{H}_K\) satisfies

$$ |f(x)-f(y)| \leq \|f\|_{\mathcal{H}_K} \sqrt{2\left(1-\exp\left(-\frac{\|x-y\|_2^2}{2\sigma^2}\right)\right)}. $$

As \(\|x-y\|_2\) tends to zero, the expression under the square root tends to zero. This gives continuity directly. For example, if \(\|x-y\|_2=\sigma\), the section distance is \(\sqrt{2(1-e^{-1/2})}\), approximately \(0.887\), so the difference in function values is at most \(0.887\|f\|_{\mathcal{H}_K}\).

What the Continuity Condition Does—and Does Not—Say

Positive definiteness alone does not imply that RKHS functions are continuous. The kernel condition in the theorem is substantive, not a consequence of the reproducing property. To see this, take \(X=\mathbb{R}\) with its usual topology and define \(K(x,y)=1\) if \(x=y\), and \(K(x,y)=0\) otherwise. This kernel is positive definite: for any finite inputs \(x_1,\ldots,x_m\) and real coefficients \(c_1,\ldots,c_m\),

$$ \sum_{i=1}^m\sum_{j=1}^m c_i c_j K(x_i,x_j) =\sum_{u}\left(\sum_{i:x_i=u}c_i\right)^2\geq 0, $$

where the outer sum is over the distinct input values among \(x_1,\ldots,x_m\). But the kernel section \(K_0\) is the function equal to one at zero and zero elsewhere. It belongs to its RKHS by construction and is discontinuous at zero. Correspondingly, \(K\) is not jointly continuous at \((0,0)\).

Joint continuity is a sufficient condition for continuity of every RKHS function. The bound also describes how continuity is controlled: for a fixed \(f\), changes in its values are bounded by its RKHS norm multiplied by the distance between kernel sections. This does not claim that every continuous function on \(X\) belongs to the RKHS, nor that every such function has a finite RKHS norm.

Common Mistakes

  • Using the diagonal value instead of its square root. The section has squared norm \(K(x,x)\), but the operator norm of evaluation is \(\|K_x\|_{\mathcal{H}_K}=\sqrt{K(x,x)}\).
  • Assuming the upper bound is always attained by a normalized section. The expression \(K_x/\sqrt{K(x,x)}\) is defined only when \(K(x,x)>0\). If the diagonal is zero, the section and evaluation functional are both zero.
  • Inferring continuity from positive definiteness. Positive definiteness ensures an RKHS construction, not continuity of its functions. The discontinuous equality kernel above is a counterexample.
  • Claiming more than the bound establishes. The continuity result is pointwise. It does not assert a uniform continuity rate over a noncompact domain without additional conditions.
Key takeaway: The exact evaluation norm is \(\sqrt{K(x,x)}\). For two inputs, the change in any RKHS function is bounded by its RKHS norm times the RKHS distance between their kernel sections. Joint continuity of the kernel makes that section distance tend to zero as the inputs approach one another, and therefore makes every RKHS function continuous.

Check Your Understanding

Use the reproducing property and the section-distance identity to answer these questions.

  1. If \(K(x,x)=9\), what is the operator norm of evaluation at \(x\), and what bound does this give for \(|f(x)|\)?
  2. Why does \(K(x,x)=0\) imply that every function in the RKHS is zero at \(x\)?
  3. For a jointly continuous kernel, which quantity in the function-difference bound must tend to zero as \(y\) approaches \(x\)?
  4. Does positive definiteness alone guarantee that every RKHS function is continuous? Give a reason for your answer.
  5. For the Gaussian kernel with diagonal equal to one, what is the operator norm of evaluation at any input?
Clinical Biostats