Why the Monomial Scaling Matters
A polynomial kernel can look simple as a function of two inputs, yet its associated RKHS norm is not generally the sum of the squares of the ordinary polynomial coefficients. The kernel expansion assigns a scale to each feature; that scale determines how expensive the corresponding coefficient is in the RKHS norm. Understanding that relationship makes it possible to calculate norms explicitly and to see which polynomial functions a kernel permits.
We work on an input domain \(D\subseteq\mathbb R^p\). For a finite feature map \(\phi:D\to\mathbb R^m\), the kernel is \(k(x,z)=\phi(x)^\top\phi(z)\). The feature coordinates may be scaled versions of monomials. If these coordinates are linearly independent as functions on \(D\), each function in the associated RKHS has a unique feature-coordinate representation. If they are dependent, a function can have multiple representations, and its RKHS norm is determined by the least costly one.
Finite Feature Maps and Their Norms
The basic calculation can be stated for any finite feature map. Its importance here is that a polynomial kernel supplies a particular choice of feature coordinates, including their scaling.
Proof. The map \(w\mapsto f_w\) is injective on \(S\). In fact, if \(w\in S\) and \(w^\top\phi(x)=0\) for all \(x\in D\), then \(w\) is orthogonal to every vector spanning \(S\), so \(w\in S^\perp\). Thus \(w=0\). We can therefore define an inner product on these functions by \(\langle f_w,f_v\rangle_{\mathcal H}=w^\top v\) for \(w,v\in S\). This space is finite-dimensional and hence complete. For each \(z\in D\), the function \(k(\,\cdot\,,z)\) is \(f_{\phi(z)}\), since \(k(x,z)=\phi(x)^\top\phi(z)\); and \[ \langle f_w,k(\,\cdot\,,z)\rangle_{\mathcal H} =w^\top\phi(z)=f_w(z). \] So this is a Hilbert space of functions with reproducing kernel \(k\). If \(a\) is any coefficient vector representing \(f\), its orthogonal projection onto \(S\) represents the same function: \(a-\operatorname{proj}_S(a)\) is orthogonal to every \(\phi(x)\). The projection has no larger Euclidean norm, with equality only when \(a\in S\). Hence the unique representing vector in \(S\) has the smallest norm among all representations, proving the minimum formula. \(\square\)
For a linear kernel \(k(x,z)=x^\top z\), take \(\phi(x)=x\). Its functions are linear predictors \(f(x)=w^\top x\). When \(D\) spans \(\mathbb R^p\), the representation is unique and \(\|f\|_{\mathcal H}^2=\sum_{j=1}^p w_j^2\). If \(D\) lies in a proper subspace, different vectors \(w\) can agree on \(D\); the theorem says to use the shortest such vector.
Worked Example: The Norm for a Linear Kernel
Let \(D=\mathbb R^2\), with \(k(x,z)=x^\top z\), and consider \(f(x)=3x_1-4x_2\). The feature map is \(\phi(x)=(x_1,x_2)^\top\), so the feature-coordinate vector is \(w=(3,-4)^\top\). The coordinates are independent as functions on \(\mathbb R^2\); therefore the representation is unique. The RKHS norm is
The norm is not the value of the predictor at any particular input. It is the Euclidean length of its feature-coordinate vector.
Polynomial Kernels as Scaled Monomial Features
For \(x,z\in\mathbb R^p\), let \(d\ge 1\) be an integer. The homogeneous polynomial kernel \((x^\top z)^d\) contains monomials of exactly degree \(d\). By contrast, the inhomogeneous kernel \((c+x^\top z)^d\), with \(c>0\), includes monomials of every degree from zero through \(d\). The multinomial theorem gives the scales of all these features.
Proof. Apply the multinomial expansion to the \(p+1\) terms \(c,x_1z_1,\ldots,x_pz_p\). Choose nonnegative integers \(\alpha_1,\ldots,\alpha_p\) for the powers of the \(p\) input-coordinate terms; the remaining power of \(c\) is \(d-|\alpha|\). The corresponding coefficient is \(d!/((d-|\alpha|)!\alpha!)\), giving the displayed expansion. Each \(q_\alpha\) is positive because \(c>0\), so the coordinates \(\sqrt{q_\alpha}x^\alpha\) give a feature map for the kernel. For a polynomial with coefficients \(\beta_\alpha\), its feature-coordinate coefficients must be \(a_\alpha=\beta_\alpha/\sqrt{q_\alpha}\), since \(\sum_\alpha a_\alpha\phi_\alpha(x)=\sum_\alpha\beta_\alpha x^\alpha\). When the monomials are independent, this representation is unique, and the finite-feature theorem gives squared norm \(\sum_\alpha a_\alpha^2=\sum_\alpha\beta_\alpha^2/q_\alpha\). When they are dependent, the same theorem takes the minimum over all feature-coordinate representations; expressing those coordinates as polynomial coefficients gives the stated minimum. \(\square\)
For \(c=0\), the expansion has only terms with \(|\alpha|=d\): \[ (x^\top z)^d=\sum_{|\alpha|=d}\frac{d!}{\alpha!}x^\alpha z^\alpha. \] Accordingly, on a domain where the degree-\(d\) monomials are independent, the RKHS contains homogeneous polynomials of degree \(d\), with squared norm \(\sum_{|\alpha|=d}(\alpha!/d!)\beta_\alpha^2\). It does not automatically contain lower-degree terms or a constant term. The offset \(c>0\) is what supplies the lower-degree features in the inhomogeneous kernel.
Worked Example: Norm Under an Inhomogeneous Quadratic Kernel
Take \(p=2\), \(d=2\), \(c=2\), and \(D=\mathbb R^2\). The kernel is \(k(x,z)=(2+x^\top z)^2\). The expansion is
One feature map, in the indicated order, is \(\phi(x)=(2,\,2x_1,\,2x_2,\,x_1^2,\,\sqrt{2}x_1x_2,\,x_2^2)^\top\). The six monomials are independent on \(\mathbb R^2\). Consider \(f(x)=1+2x_1-3x_2+4x_1^2+6x_1x_2+2x_2^2\). Its feature-coordinate vector is \((1/2,\,1,\,-3/2,\,4,\,6/\sqrt{2},\,2)^\top\), since multiplying each coordinate by its corresponding feature gives the required polynomial term. Therefore
The cross-term coefficient is \(6\), but its feature is \(\sqrt2x_1x_2\), so the associated feature-coordinate coefficient is \(6/\sqrt2\), not \(6\). That scaling contributes \(18\) to the squared norm.
Worked Example: Homogeneous Quadratic Kernel
For \(D=\mathbb R^2\), take \(k(x,z)=(x^\top z)^2\). Expanding gives \(k(x,z)=x_1^2z_1^2+2x_1x_2z_1z_2+x_2^2z_2^2\), so a feature map is \(\phi(x)=(x_1^2,\sqrt2x_1x_2,x_2^2)^\top\). The predictor \(f(x)=2x_1^2+4x_1x_2-x_2^2\) has feature-coordinate vector \((2,4/\sqrt2,-1)^\top\). The monomials are independent on this domain, and hence
This kernel permits the displayed homogeneous quadratic, but it does not supply a constant feature or linear features. A predictor with an additional constant term is not in this RKHS on \(\mathbb R^2\).
When Feature Coordinates Are Not Unique
A formula that treats polynomial coefficients as unique must be used with care if the input domain is restricted. For example, on a line in \(\mathbb R^2\), the coordinate functions \(x_1\) and \(x_2\) may coincide or be proportional. The kernel still defines a norm on functions on that domain, but it is the minimum feature norm among representations, not the norm of an arbitrary coefficient vector.
Worked Example: A Restricted Domain and the Minimum Norm
Let \(D=\{(t,t):t\in\mathbb R\}\) and use the linear kernel \(k(x,z)=x^\top z\). At \(x=(t,t)\) and \(z=(s,s)\), \(k(x,z)=2ts\), so a one-dimensional feature map is \(\phi(t,t)=\sqrt2t\). The function \(f(t,t)=6t\) therefore has feature-coordinate coefficient \(6/\sqrt2\), and its squared RKHS norm is \(36/2=18\).
The same function can be written as \(\beta_1x_1+\beta_2x_2\) on \(D\) whenever \(\beta_1+\beta_2=6\). The minimum coefficient cost is
To verify the minimum, write \(\beta_2=6-\beta_1\). Then \(\beta_1^2+(6-\beta_1)^2=2(\beta_1-3)^2+18\), which is at least \(18\), with equality at \((\beta_1,\beta_2)=(3,3)\). Thus the minimum-norm formula agrees with the one-dimensional feature calculation.
Common Mistakes and Practical Meaning
- Using ordinary polynomial coefficients as feature coordinates. A feature \(\sqrt{q_\alpha}x^\alpha\) requires coordinate coefficient \(\beta_\alpha/\sqrt{q_\alpha}\). The norm contribution is \(\beta_\alpha^2/q_\alpha\), not \(\beta_\alpha^2\).
- Forgetting the distinction between homogeneous and inhomogeneous kernels. The kernel \((x^\top z)^d\) contains only degree-\(d\) monomials. Lower degrees appear in \((c+x^\top z)^d\) only when \(c>0\).
- Assuming coefficients are unique on every domain. A polynomial identity on all of \(\mathbb R^p\) has unique monomial coefficients, but restricting inputs can make features dependent. Use the minimum-norm representation in that case.
- Reading kernel scale as predictor scale. The RKHS norm measures feature-coordinate length. A larger monomial scaling in the feature map means a given polynomial coefficient requires a smaller feature-coordinate coefficient and can have a smaller norm.
These calculations give a concrete interpretation to regularization in a polynomial RKHS: the kernel’s expansion weights impose a particular quadratic penalty on polynomial coefficients. Changing the kernel’s degree, offset, or feature scaling changes both the functions available and the relative cost assigned to their monomial terms. That is why two kernels that both produce polynomial predictors need not define the same RKHS norm.
Check Your Understanding
Use the feature expansions and minimum-norm principle to answer the following.
- For \(k(x,z)=(1+x^\top z)^2\), which polynomial degrees are represented by the feature map?
- For a feature \(\sqrt{5}\,x_1x_2\), what feature-coordinate coefficient represents a polynomial term \(7x_1x_2\), and what is its contribution to squared norm?
- Why does \((x^\top z)^3\) not provide a constant feature?
- If two feature-coordinate vectors represent the same function on a restricted domain, which one determines the RKHS norm?
- For \(k(x,z)=x^\top z\) on \(\mathbb R^p\), state the squared RKHS norm of \(f(x)=\sum_{j=1}^p\beta_jx_j\).