Universal Approximation Property of RKHS and Random Features (1)
On a subset of , a binary symmetric function is called positive definite if the matrix is positive semi-definite for any list of elements . It is clear that if , it is symmetric and positive definite. It is not surprise that function is used as some sort of inner product. Such a function is called a kernel function. And it determines a class of functions in the following way,
We can further define a binary functional on ,
for and . We can verify that such a binary functional is an inner product since is positive semi-definite. So is a linear space equipped with an inner product. Then we consider the completion of under the inner product and we get a Hilbert space . This is called the reproducing kernel Hilbert space (RKHS) of . The ‘reproducing’ indicates that , that is, the evaluation functional is bounded. If is bounded over and is continuous for all , then consists of continuous functions, because the convergence under implies the convergence under .
We can see that the definition of RKHS has nothing to do with the underlying measure on . But if is compact and there is a measure such that , then all the functions in are integrable, since for any ,
also defines a Hermitian integral operator from into itself,
It can be shown that when is well-defined, compact and positive semi-definite. The compactness is proved by showing that the image of unit ball of under is equi-continuous and Ascoli-Arzela’s theorem can be applied. The positivity can be shown via the Riemann sum approximation and the positivity of . See 3.1 in (Cucker & Smale, 2002).
Since is compact, we can apply spectral theorem and show that absolutely and uniformly, where and are orthonormal basis of (see (Lax, 2002)). This is called Mercer’s theorem. By Mercer’s theorem, we can further show that
Therefore we can define a Hilbert space by
with the inner product
Note that is still a linear subspace of , but not a subspace in consideration of the inner product. And s are still orthogonal but not orthonormal. We can further define an operator by
It is easy to see that this is an isomorphism between and the ‘smaller’ . And in the end of this note, we want to show that . First of all, and implies that . Second, it is easy to verify that their inner products coincide. And third, for any ,
so if for all , is constantly. This implies that is dense in .
Reference
- Cucker, F., & Smale, S. (2002). On the Mathematical Foundations of Learning. Bulletin of the American Mathematical Society, 39, 1–49.
- Lax, P. D. (2002). Functional Analysis. Wiley.