SLIDE 3 WhatisaValidKernel?
Definition:LetXbeanonemptyset.Afunction isavalidkernel inXifforallnandall itproducesaGrammatrix thatissymmetric andpositivesemi-definite
K xi xj , ( ) x1 … xn X ∈ , , Gij K xi xj , ( ) = G GT = α α
T
Gα αiαjK xi xj , ( )
j 1 = n
1 = n
≥
HowtoConstructValidKernels?
Theorem:Let and bevalidKernelsover , , , , areal-valuedfunctionon , with akernelover ,and asummetricpositivesemi-definitematrix.Thenthe followingfunctionsarevalidKernels =>ConstructcomplexKernelsfromsimpleKernels.
K1 K2 X X × X ℜ
N
⊆ a ≥ λ 1 ≤ ≤ f X φ X ℜ
m
→ ; K3 ℜ
m
ℜ
m
× K K x z , ( ) λK1 x z , ( ) 1 λ – ( )K2 x z , ( ) + = K x z , ( ) aK1 x z , ( ) = K x z , ( ) K1 x z , ( )K2 x z , ( ) = K x z , ( ) f x ( )f z ( ) = K x z , ( ) K3 φ x ( ) φ z ( ) , ( ) = K x z , ( ) x
T
Kz =
KernelsforDiscreteandStructuredRepresentations
KernelsforSequences:Twosequencesaresimilar,ifthehavemany commonandconsecutivesubsequences. Example[Lodhietal.,2000]:For considerthefollowing featuresspace => ,efficientcomputationviadynamicprogramming. =>FisherKernels[Jaakkola&Haussler,1998]
c-a c-t a-t b-a b-t c-r a-r b-r
λ 1 ≤ ≤ φ cat ( ) λ
2
λ
3
λ
2
φ car ( ) λ
2
λ
3
λ
2
φ bat ( ) λ
2
λ
2
λ
3
φ bar ( ) λ
2
λ
2
λ
3
K car cat , ( ) λ
4
=
ComputingStringKernel(I)
Definitions:
- :sequencesoflengthnoveralphabet
- :indexsequence(sorted)
- :substringoperator
- :rangeofindexsequence
Kernel:Averagerangeofcommonsubsequencesoflengthn AuxiliaryFunction:Averagerangetoendofsequenceofcommon subsequencesoflengthn
Σn Σ i i1 … in , , ( ) = s i ( ) r i ( ) in i1 – 1 + = Kn s t , ( ) λ
in jn i1 – j1 – 2 + + j u ; s j ( ) =
; s i ( ) =
Σn ∈
Kd′ s t , ( ) λ
s t i1 – j1 – 2 + + j u ; s j ( ) =
; s i ( ) =
Σn ∈