Computer vision: models, learning and inference Chapter 18 Models for style and identity.

Slides:



Advertisements
Similar presentations
Pattern Recognition and Machine Learning
Advertisements

Part 2: Unsupervised Learning
Example 1 Generating Random Photorealistic Objects Umar Mohammed and Simon Prince Department of Computer Science, University.
Unsupervised Learning Clustering K-Means. Recall: Key Components of Intelligent Agents Representation Language: Graph, Bayes Nets, Linear functions Inference.
Biointelligence Laboratory, Seoul National University
Computer vision: models, learning and inference Chapter 8 Regression.
K Means Clustering , Nearest Cluster and Gaussian Mixture
Supervised Learning Recap
3D Human Body Pose Estimation from Monocular Video Moin Nabi Computer Vision Group Institute for Research in Fundamental Sciences (IPM)
Joint and implicit registration for face recognition Dr. Peng Li and Dr. Simon J.D. Prince Department of Computer Science University College London
Chapter 4: Linear Models for Classification
Segmentation and Fitting Using Probabilistic Methods
Computer vision: models, learning and inference
Visual Recognition Tutorial
Shape and Dynamics in Human Movement Analysis Ashok Veeraraghavan.
Lecture 17: Supervised Learning Recap Machine Learning April 6, 2010.
EE 290A: Generalized Principal Component Analysis Lecture 6: Iterative Methods for Mixture-Model Segmentation Sastry & Yang © Spring, 2011EE 290A, University.
Pattern Recognition and Machine Learning
Shape and Dynamics in Human Movement Analysis Ashok Veeraraghavan.
Lecture 5: Learning models using EM
Announcements  Project proposal is due on 03/11  Three seminars this Friday (EB 3105) Dealing with Indefinite Representations in Pattern Recognition.
Machine Learning CMPT 726 Simon Fraser University
Gaussian Mixture Example: Start After First Iteration.
Expectation Maximization for GMM Comp344 Tutorial Kai Zhang.
Visual Recognition Tutorial
Arizona State University DMML Kernel Methods – Gaussian Processes Presented by Shankar Bhargav.
Computer vision: models, learning and inference Chapter 10 Graphical Models.
Computer vision: models, learning and inference
Computer vision: models, learning and inference Chapter 3 Common probability distributions.
Review Rong Jin. Comparison of Different Classification Models  The goal of all classifiers Predicating class label y for an input x Estimate p(y|x)
A Unifying Review of Linear Gaussian Models
Computer vision: models, learning and inference Chapter 5 The Normal Distribution.
Crash Course on Machine Learning
Computer vision: models, learning and inference Chapter 6 Learning and Inference in Vision.
24 November, 2011National Tsin Hua University, Taiwan1 Mathematical Structures of Belief Propagation Algorithms in Probabilistic Information Processing.
Exercise Session 10 – Image Categorization
Computer vision: models, learning and inference
Methods in Medical Image Analysis Statistics of Pattern Recognition: Classification and Clustering Some content provided by Milos Hauskrecht, University.
Computer vision: models, learning and inference Chapter 19 Temporal models.
EM and expected complete log-likelihood Mixture of Experts
Computer vision: models, learning and inference Chapter 19 Temporal models.
PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 3: LINEAR MODELS FOR REGRESSION.
MACHINE LEARNING 8. Clustering. Motivation Based on E ALPAYDIN 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2  Classification problem:
CS Statistical Machine learning Lecture 24
Computer Vision Lecture 6. Probabilistic Methods in Segmentation.
Paper Reading Dalong Du Nov.27, Papers Leon Gu and Takeo Kanade. A Generative Shape Regularization Model for Robust Face Alignment. ECCV08. Yan.
Christopher M. Bishop Object Recognition: A Statistical Learning Perspective Microsoft Research, Cambridge Sicily, 2003.
Chapter 13 (Prototype Methods and Nearest-Neighbors )
Probability and Statistics in Vision. Probability Objects not all the sameObjects not all the same – Many possible shapes for people, cars, … – Skin has.
Learning Sequence Motifs Using Expectation Maximization (EM) and Gibbs Sampling BMI/CS 776 Mark Craven
Computer vision: models, learning and inference Chapter 2 Introduction to probability.
1 Chapter 8: Model Inference and Averaging Presented by Hui Fang.
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Statistical Models for Automatic Speech Recognition Lukáš Burget.
Fitting normal distribution: ML 1Computer vision: models, learning and inference. ©2011 Simon J.D. Prince.
Computational Intelligence: Methods and Applications Lecture 26 Density estimation, Expectation Maximization. Włodzisław Duch Dept. of Informatics, UMK.
Computer vision: models, learning and inference
Ch3: Model Building through Regression
Computer vision: models, learning and inference
Computer vision: models, learning and inference
Non-Parametric Models
Computer vision: models, learning and inference
Machine Learning Basics
“Bayesian Identity Clustering”
Transformation-invariant clustering using the EM algorithm
Expectation-Maximization & Belief Propagation
Text Categorization Berlin Chen 2003 Reference:
Multivariate Methods Berlin Chen
Ch 3. Linear Models for Regression (2/2) Pattern Recognition and Machine Learning, C. M. Bishop, Previously summarized by Yung-Kyun Noh Updated.
Multivariate Methods Berlin Chen, 2005 References:
Presentation transcript:

Computer vision: models, learning and inference Chapter 18 Models for style and identity

Identity and Style 22Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Identity differs, but images similar Identity same, but images quite different

Structure 33Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysis review Subspace identity model Linear discriminant analysis Non-linear models Asymmetric bilinear model Symmetric bilinear model Applications

Factor analysis review 44Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Generative equation: Probabilistic form: Marginal density:

Factor analysis 55Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Factor analysis review 66Computer vision: models, learning and inference. ©2011 Simon J.D. Prince E-Step: M-Step:

Disadvantages This description of the data does not account for identity For images which have the same style (e.g., pose, lighting), we expect faces which have the same identity to lie in a similar part of the space 7

Factor analysis vs. Identity model 88Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Each color is a different identity multiple images lie in similar part of subspace

Subspace identity model 99 Generative equation: Probabilistic form: Marginal density: J-th training example of i-th individual same linear combination different noise term between-individual variation within-individual variation

Subspace identity model 10 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Factor analysis vs. subspace identity 11 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysisSubspace identity model

Learning subspace identity model 12 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince E-Step: M-Step:

Subspace identity model 13 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Different identities

Subspace identity model 14 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince The within-individual noise comprises whatever cannot be explained by the identity

Face verification! 15 Inference by comparing models, 0 : different identities 1: same identity, Posterior probability:

Inference by comparing models 16 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Model 1 – Faces match (identity shared): Model 2 – Faces don’t match (identities differ): Both models have standard form of factor analyzer face verication

Inference by comparing models 17 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Compute likelihood (e.g. for model zero) where Compute posterior probability using Bayes rule

Face Recognition Tasks PROBE … GALLERY ? 1. CLOSED SET FACE IDENTIFICATION … GALLERY PROBE ? NO MATCH 2. OPEN SET FACE IDENTIFICATION PROBE ? NO MATCH 3. FACE VERIFICATION 4. FACE CLUSTERING ? 18Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Inference by comparing models 19 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Limitations of identity subspace model 20 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Structure 21 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysis review Subspace identity model Linear discriminant analysis Non-linear models Asymmetric bilinear model Symmetric bilinear model Applications

Probabilistic linear discriminant analysis 22 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Generative equation: Probabilistic form: the style of this face, which differs for each instance

Probabilistic linear discriminant analysis 23 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Learning 24 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince E-Step – write out all images of same person as system of equations – Has standard form of factor analyzer joint posterior probability distribution over all of the hidden variables M-Step – write equation for each individual data point – Has standard form of factor analyzer – Use standard EM equation

Probabilistic linear discriminant analyis 25 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Inference 26 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Model 1 – Faces match (identity shared): Model 2 – Faces don’t match (identities differ): Both models have standard form of factor analyzer Compute likelihood in standard way

Example results (XM2VTS database) 27 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Building more complex models is worth the time and effort

Structure 28 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysis review Subspace identity model Linear discriminant analysis Non-linear models Asymmetric bilinear model Symmetric bilinear model Applications

Non-linear models (mixture) 29 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Mixture model can describe non- linear manifold. Introduce variable c i which represents which cluster belongs to To be the same identity, must also belong to the same cluster

Non-linear models (kernel) 30 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Pass hidden variable through non-linear function f[ ]. Leads to kernelized algorithm !!!!!! it is no longer possible to marginalize over the hidden variables !!!!!! it is no longer possible exactly to compare model likelihoods directly in the inference Approximate

Structure 31 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysis review Subspace identity model Linear discriminant analysis Non-linear models Asymmetric bilinear model Symmetric bilinear model Applications

How to solve the situation when the style of the data may change considerably 32 any given frontal face has more in common visually with other non- matching frontal faces than it does with a matching probe face. Model Styles differently

Asymmetric bilinear model 33 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Introduce style variable s ij indicates conditions in which data was observed Example: lighting, pose, expression face recognition Asymmetric bilinear model Introduce style variable s indicates conditions in which data was observed Example: lighting, pose, expression face recognition

Asymmetric bilinear model 34 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Asymmetric bilinear model 35 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Generative equation: Probabilistic form: Marginal density:

Learning 36 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince E-Step: M-Step:

Asymmetric bilinear model 37 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Inference – inferring style 38 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Likelihood of style Prior over style Compute posterior over style using Bayes’ rule

Inference – inferring identity 39 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Likelihood of identity Prior over identity Compute posterior over identity using Bayes’ rule

Inference – comparing identities 40 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Model 1 – Faces match (identity shared): Model 2 – Faces dont match (identities differ): Both models have standard form of factor analyzer Compute likelihood in standard way, combine with prior in Bayes rule

Inference – Style translation 41 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Compute distribution over identity Generate in new style

Structure 42 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysis review Subspace identity model Linear discriminant analysis Non-linear models Asymmetric bilinear model Symmetric bilinear model Applications

Symmetric bilinear model 43 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Generative equation: Probabilistic form: Mean can also depend on style...

Symmetric bilinear model 44 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Multilinear models 45 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Extension of symmetric bilinear model to more than two factors e.g.,

Structure 46 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Factor analysis review Subspace identity model Linear discriminant analysis Non-linear models Asymmetric bilinear model Symmetric bilinear model Applications

Face recognition 47 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Synthesizing animation 48 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince

Discussion 49 Computer vision: models, learning and inference. ©2011 Simon J.D. Prince Generative models Explain data as combination of identity and style factors In identity recognition, we build models where identity was same or different Other forms of inference such as style translation also possible