> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Registration β Deformation models Marcel LΓΌthi Graphics and Vision Research Group Department of Mathematics and Computer Science University of Basel
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Registration as analysis by synthesis Comparison: π π½ π π, π½ π ) Prior π[π] βΌ π(π) π½ π π½ π β π[π] Parameters π Update using π(π|π½ π , π½ π ) Synthesis π[π]
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Priors Define the Gaussian process π£ βΌ π»π π, π with mean function Characteristics π: Ξ© β β 2 of deformation fields and covariance function π: Ξ© Γ Ξ© β β 2Γ2 .
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations Zero mean: π π¦ = 0 0 Squared exponential covariance function (Gaussian kernel) s 1 exp β π¦ β π¦ β² 2 0 2 π 1 π π¦, π¦ β² = s 2 exp β π¦ β π¦ β² 2 0 2 π 2
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations π‘ 1 = π‘ 2 small, π 1 = π 2 large
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations π‘ 1 = π‘ 2 small, π 1 = π 2 small
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations π‘ 1 = π‘ 2 large, π 1 = π 2 large
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Why are priors interesting? π β = arg max π π π π(π½ π |π½ π , π[π]) π π
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Why are priors interesting? π β = arg max π π π π(π½ π |π½ π , π[π]) π π
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Intermezzo β The space of samples 10
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Gaussian processes - Deeper Insights
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Scalar-valued Gaussian processes Sc Scalar-valu lued (m (more common) Vector-valu lued (th (this is cou ourse) β’ Samples f are real-valued functions β’ Samples u are deformation fields: π βΆ β π β β π£: β π β β π
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE The space of samples π£ βΌ π + Ο π π½ π π π π π = Ο π πΎ π π(π¦ π ,β ) for some πΎ Argument: β’ Covariance function π is symmetric and positive definite β’ For any finite sample it holds that: => the covariance matrix is symmetric => rowspace = columnspace = eigenspace Samples are linear combinations of the β row sβ of π 18
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Gaussian kernel β’ Click to edit Master text styles π π¦, π¦ β² = exp β π¦ β π¦ β² 2 π 2 β’ Second level β’ Third level β’ Fourth level β’ Fifth level 19
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Gaussian kernel π π¦, π¦ β² = exp β π¦ β π¦ β² 2 π 2 Ο = 3 20
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Multi-scale signals 2 2 π¦ β² π¦ β² β’ k x, x β² = exp β π¦ β + 0.1 exp β π¦ β 1 0.1 21
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Periodic kernels cos π¦ β’ Define π£ π¦ = sin(π¦) βπ¦ βπ¦ β² β β’ π π¦, π¦ β² = exp(ββ(π£ π¦ β π£ π¦ β² β 2 = exp(β4 sin 2 ) π 2 22
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Symmetric kernels β’ Enforce that f(x) = f(-x) β’ π π¦, π¦ β² = π βπ¦, π¦ β² + π(π¦, π¦ β² ) 23
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Changepoint kernels β’ π π¦, π¦ β² = π‘ π¦ π 1 π¦, π¦ β² π‘ π¦ β² + (1 β π‘ π¦ )π 2 (π¦, π¦ β² )(1 β π‘ π¦ β² ) 1 β’ s π¦ = 1+exp( βπ¦) 24
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Combining existing functions π π¦, π¦ β² = π π¦ π π¦ β² f x = x 25
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Combining existing functions π π¦, π¦ β² = π π¦ π π¦ β² f x = sin(x) 26
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Combining existing functions π π¦, π¦ β² = ΰ· π (π¦ β² ) π π π¦ π π {f 1 x = x, f 2 x = sin(x)} 27
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Statistical models β¦ π£ π βΆ Ξ© β β 2 π£ 1 βΆ Ξ© β β 2 π£ 2 βΆ Ξ© β β 2 π π π¦ = π£ π¦ = 1 π£ π (π¦) π ΰ· πβ1 π 1 π π ππ π¦, π¦ β² = (π£ π π¦ β π£(π¦)) π£ π π¦β² β π£(π¦β²) π β 1 ΰ· π Statistical shape models are linear combinations of example deformations π£ 1 , β¦ π£ π .
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Gaussian process regression β’ Given: observations {(π¦ 1 , π§ 1 ), β¦ , π¦ π , π§ π } β’ Model: π§ π = π π¦ π + π, π βΌ π»π(π, π) β’ Goal: compute p( π§ β |π¦ β , π¦ 1 , β¦ , π¦ π , π§ 1 , β¦ , π§ π ) π§ π π§ 1 π§ β π§ 2 π¦ π π¦ 1 π¦ 2 29 π¦ β
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Gaussian process regression β’ Solution given by posterior process π»π π π , π π with π π (π¦ β ) = πΏ π¦ β , π πΏ π, π + π 2 π½ β1 π§ β πΏ π¦ β , π πΏ π, π + π 2 π½ β1 πΏ π, π¦ β β² π π π¦ β , π¦ β β² = π π¦ β , π¦ β β² β’ The covariance is independent of the value at the training points β’ Structure of posterior GP determined solely by kernel. β’ The most likely solution is a linear combination of kernels evaluated at the training points β’ This is known as the Rep epresenter er Th Theorem in machine learning. β’ Structure of solution determined solely by kernel. 30
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Illustration: Representer theorem 31
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples 32
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β’ Gaussian kernel ( π = 1) 33
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β’ Gaussian kernel ( π = 5) 34
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β’ Periodic kernel 35
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β’ Changepoint kernel 36
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β’ Symmetric kernel 37
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β’ Linear kernel 38
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Deformation models for registration 39
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Basic assumption: Deformation fields are smooth β’ Typical assumption: β’ Deformation field is smooth β’ GP approach β’ Choose smooth kernel functions π π¦, π¦ β² = π‘ exp(β π¦ β π¦ β² 2 ) π 2 β’ Regularization operators β’ Penalize large derivatives π ππ£ 2 = ΰ· π½ π πΈ π π£ 2 β π£ = π=0
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Greenβs functions and covariance functions π ππ£ 2 = ΰ· π½ π πΈ π π£ 2 β π£ = π=0 Corresponding covariance function for GP is the Greens function G: π β ππ» π¦, π§ = π(π¦ β π§) β’ We can define Gaussian processes, which mimic typical regularization operators. T. Poggio and F. Girosi; Networks for Approximation and Learning, Proceedings of the IEEE, 1990
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Gaussian kernel π π¦, π¦ β² = exp(β π¦ β π¦ β² 2 ) π 2 β π 2π ππ£ 2 = ΰ· π! 2 π πΈ π π£ 2 β π£ = π=0 β’ Non-zero functions are penalized β’ pushes functions to zero away from data Yuille, A. and Grzywacz M. A mathematical analysis of the motion coherence theory. International Journal of Computer vision
University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Exponential kernel (1D case) π π¦, π¦ β² = 1 2π½ exp(βπ½ π¦ β π¦ β² ) ππ£ 2 = π½ 2 π£ + πΈ 1 π£ 2 β π£ = Rasmussen, Carl Edward, and Christopher KI Williams. Gaussian processes for machine learning . Vol. 1. Cambridge: MIT press, 2006.
Recommend
More recommend