Foundations of Reproducing Kernel Hilbert Spaces Advanced Topics in Machine Learning
Total Page:16
File Type:pdf, Size:1020Kb
Foundations of Reproducing Kernel Hilbert Spaces Advanced Topics in Machine Learning D. Sejdinovic, A. Gretton Gatsby Unit March 6, 2012 D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 1 / 60 Overview 1 Elementary Hilbert space theory Norm. Inner product. Orthogonality Convergence. Complete spaces Linear operators. Riesz representation 2 What is an RKHS? Evaluation functionals view of RKHS Reproducing kernel Inner product between features Positive denite function Moore-Aronszajn Theorem D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 2 / 60 RKHS: a function space with a very special structure linear / vector RKHS unitary Hilbert normed Banach complete metric D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 3 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Outline 1 Elementary Hilbert space theory Norm. Inner product. Orthogonality Convergence. Complete spaces Linear operators. Riesz representation 2 What is an RKHS? Evaluation functionals view of RKHS Reproducing kernel Inner product between features Positive denite function Moore-Aronszajn Theorem D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 4 / 60 In every normed vector space, one can dene a metric induced by the norm: d(f ; g) = f g : k − kF Elementary Hilbert space theory Norm. Inner product. Orthogonality Normed vector space Denition (Norm) Let be a vector space over the eld R of real numbers (or C).A F function : [0; ) is said to be a norm on if k·kF F! 1 F 1 f = 0 if and only if f = 0 (norm separates points), k kF 2 λf = λ f , λ R, f (positive homogeneity), k kF j j k kF 8 2 8 2 F 3 f + g f + g , f ; g (triangle inequality). k kF ≤ k kF k kF 8 2 F D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 5 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Normed vector space Denition (Norm) Let be a vector space over the eld R of real numbers (or C).A F function : [0; ) is said to be a norm on if k·kF F! 1 F 1 f = 0 if and only if f = 0 (norm separates points), k kF 2 λf = λ f , λ R, f (positive homogeneity), k kF j j k kF 8 2 8 2 F 3 f + g f + g , f ; g (triangle inequality). k kF ≤ k kF k kF 8 2 F In every normed vector space, one can dene a metric induced by the norm: d(f ; g) = f g : k − kF D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 5 / 60 p = 1: Manhattan p = 2: Euclidean p : maximum norm, x = maxi xi ! 1 k k1 j j 1 p d Pd p = = R : x p = i 1 xi ; p 1 F k k = j j ≥ 1 p b p = = C[a; b]: f p = a f (x) dx ; p 1 F k k ´ j j ≥ Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of normed linear spaces (R; ), (C; ) |·| |·| D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 6 / 60 p = 1: Manhattan p = 2: Euclidean p : maximum norm, x = maxi xi ! 1 k k1 j j 1 p b p = = C[a; b]: f p = a f (x) dx ; p 1 F k k ´ j j ≥ Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of normed linear spaces (R; ), (C; ) |·| |·| 1 p d Pd p = = R : x p = i 1 xi ; p 1 F k k = j j ≥ D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 6 / 60 1 p b p = = C[a; b]: f p = a f (x) dx ; p 1 F k k ´ j j ≥ Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of normed linear spaces (R; ), (C; ) |·| |·| 1 p d Pd p = = R : x p = i 1 xi ; p 1 F k k = j j ≥ p = 1: Manhattan p = 2: Euclidean p : maximum norm, x = maxi xi ! 1 k k1 j j D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 6 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of normed linear spaces (R; ), (C; ) |·| |·| 1 p d Pd p = = R : x p = i 1 xi ; p 1 F k k = j j ≥ p = 1: Manhattan p = 2: Euclidean p : maximum norm, x = maxi xi ! 1 k k1 j j 1 p b p = = C[a; b]: f p = a f (x) dx ; p 1 F k k ´ j j ≥ D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 6 / 60 In every inner product vector space, one can dene a norm induced by the inner product: 1=2 f = f ; f : k kF h iF Elementary Hilbert space theory Norm. Inner product. Orthogonality Inner product Denition (Inner product) Let be a vector space over . A function is said to R ; F : R be anF inner product on if h· ·i F × F ! F 1 α1f1 + α2f2; g = α1 f1; g + α2 f2; g h iF h iF h iF 2 f ; g = g; f (conjugate symmetry if over C) h iF h iF 3 f ; f 0 and f ; f = 0 if and only if f = 0. h iF ≥ h iF D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 7 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Inner product Denition (Inner product) Let be a vector space over . A function is said to R ; F : R be anF inner product on if h· ·i F × F ! F 1 α1f1 + α2f2; g = α1 f1; g + α2 f2; g h iF h iF h iF 2 f ; g = g; f (conjugate symmetry if over C) h iF h iF 3 f ; f 0 and f ; f = 0 if and only if f = 0. h iF ≥ h iF In every inner product vector space, one can dene a norm induced by the inner product: 1=2 f = f ; f : k kF h iF D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 7 / 60 b = C[a; b]: f ; g = f (x)g(x)dx F h i a d×d ´ > = R : A; B = Tr AB F h i Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of inner product d Pd = R : x; y = i 1 xi yi F h i = D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 8 / 60 d×d > = R : A; B = Tr AB F h i Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of inner product d : x y Pd x y = R ; = i=1 i i F h i b = C[a; b]: f ; g = a f (x)g(x)dx F h i ´ D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 8 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Examples of inner product d : x y Pd x y = R ; = i=1 i i F h i b = C[a; b]: f ; g = f (x)g(x)dx F h i a d×d ´ > = R : A; B = Tr AB F h i D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 8 / 60 M? is a linear subspace of ; M M? 0 F \ ⊆ f g Elementary Hilbert space theory Norm. Inner product. Orthogonality Angles. Orthogonality Angle θ between f ; g 0 is given by: 2 Fn f g f g cos ; F θ = fh ig k kF k kF Denition We say that f is orthogonal to g and write f g, if f g 0. For ; F = M , the orthogonal complement of M is:? h i ⊂ F M? := g : f g; f M : f 2 F ? 8 2 g D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 9 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Angles. Orthogonality Angle θ between f ; g 0 is given by: 2 Fn f g f g cos ; F θ = fh ig k kF k kF Denition We say that f is orthogonal to g and write f g, if f g 0. For ; F = M , the orthogonal complement of M is:? h i ⊂ F M? := g : f g; f M : f 2 F ? 8 2 g M? is a linear subspace of ; M M? 0 F \ ⊆ f g D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 9 / 60 2 2 2 f g = f + g = f + g (Pythagorean theorem) ? ) k k k k k k Elementary Hilbert space theory Norm. Inner product. Orthogonality Key relations in inner product space f ; g f g (Cauchy-Schwarz inequality) j h 2i j ≤ k k2 · k k 2 2 2 f + 2 g = f + g + f g (the parallelogram law) k k k k 2k k 2k − k 4 f ; g = f + g f g (the polarization identity) h i k k − k − k D. Sejdinovic, A. Gretton (Gatsby Unit) Foundations of RKHS March 6, 2012 10 / 60 Elementary Hilbert space theory Norm. Inner product. Orthogonality Key relations in inner product space f ; g f g (Cauchy-Schwarz inequality) j h 2i j ≤ k k2 · k k 2 2 2 f + 2 g = f + g + f g (the parallelogram law) k k k k 2k k 2k − k 4 f ; g = f + g f g (the polarization identity) h i k k − k − k 2 2 2 f g = f + g = f + g (Pythagorean theorem) ? ) k k k k k k D.