Graduate School of Information Sciences, Tohoku University

Slides:



Advertisements
Similar presentations
Bayesian Belief Propagation
Advertisements

3 March, 2003University of Glasgow1 Statistical-Mechanical Approach to Probabilistic Inference --- Cluster Variation Method and Generalized Loopy Belief.
Graduate School of Information Sciences, Tohoku University
1 Bayesian Image Modeling by Generalized Sparse Markov Random Fields and Loopy Belief Propagation Kazuyuki Tanaka GSIS, Tohoku University, Sendai, Japan.
Visual Recognition Tutorial
Visual Recognition Tutorial
Computer vision: models, learning and inference Chapter 10 Graphical Models.
Super-Resolution of Remotely-Sensed Images Using a Learning-Based Approach Isabelle Bégin and Frank P. Ferrie Abstract Super-resolution addresses the problem.
24 November, 2011National Tsin Hua University, Taiwan1 Mathematical Structures of Belief Propagation Algorithms in Probabilistic Information Processing.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 2nd Mathematical Preparations (1): Probability and statistics Kazuyuki Tanaka Graduate.
1 物理フラクチュオマティクス論 Physical Fluctuomatics 応用確率過程論 Applied Stochastic Process 第 5 回グラフィカルモデルによる確率的情報処理 5th Probabilistic information processing by means of.
Physics Fluctuomatics / Applied Stochastic Process (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 7th “More is different” and.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 7th~10th Belief propagation Appendix Kazuyuki Tanaka Graduate School of Information.
1 October, 2007 ALT&DS2007 (Sendai, Japan ) 1 Introduction to Probabilistic Image Processing and Bayesian Networks Kazuyuki Tanaka Graduate School of Information.
1 Physical Fluctuomatics 5th and 6th Probabilistic information processing by Gaussian graphical model Kazuyuki Tanaka Graduate School of Information Sciences,
3 September, 2009 SSP2009, Cardiff, UK 1 Probabilistic Image Processing by Extended Gauss-Markov Random Fields Kazuyuki Tanaka Kazuyuki Tanaka, Muneki.
Physics Fluctuomatics / Applied Stochastic Process (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 2nd Probability and its fundamental.
Finding Scientific topics August , Topic Modeling 1.A document as a probabilistic mixture of topics. 2.A topic as a probability distribution.
Physics Fluctuomatics / Applied Stochastic Process (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 9th Belief propagation Kazuyuki.
28 February, 2003University of Glasgow1 Cluster Variation Method and Probabilistic Image Processing -- Loopy Belief Propagation -- Kazuyuki Tanaka Graduate.
Physical Fuctuomatics (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 1st Review of probabilistic information processing Kazuyuki.
10 December, 2008 CIMCA2008 (Vienna) 1 Statistical Inferences by Gaussian Markov Random Fields on Complex Networks Kazuyuki Tanaka, Takafumi Usui, Muneki.
September 2007 IW-SMI2007, Kyoto 1 A Quantum-Statistical-Mechanical Extension of Gaussian Mixture Model Kazuyuki Tanaka Graduate School of Information.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 12th Bayesian network and belief propagation in statistical inference Kazuyuki Tanaka.
14 October, 2010LRI Seminar 2010 (Univ. Paris-Sud)1 Statistical performance analysis by loopy belief propagation in probabilistic image processing Kazuyuki.
29 December, 2008 National Tsing Hua University, Taiwan 1 Introduction to Probabilistic Image Processing and Bayesian Networks Kazuyuki Tanaka Graduate.
Physics Fluctuomatics/Applied Stochastic Process (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 3rd Random variable, probability.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 7th~10th Belief propagation Kazuyuki Tanaka Graduate School of Information Sciences,
Phisical Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 4th Maximum likelihood estimation and EM algorithm Kazuyuki Tanaka Graduate School.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 3rd Random variable, probability distribution and probability density function Kazuyuki.
Physical Fuctuomatics (Tohoku University) 1 Physical Fluctuomatics 1st Review of probabilistic information processing Kazuyuki Tanaka Graduate School of.
Graduate School of Information Sciences, Tohoku University
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.
Physical Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 13th Quantum-mechanical extensions of probabilistic information processing Kazuyuki.
30 November, 2005 CIMCA2005, Vienna 1 Statistical Learning Procedure in Loopy Belief Propagation for Probabilistic Image Processing Kazuyuki Tanaka Graduate.
29 June, 2006 Kyoto University 1 画像処理における確率伝搬法と EM アルゴリズムの統計的性能評価 東北大学大学院情報科学研究科田中和之 Reference 田中和之 : ガウシアングラフィカルモデルにもとづく確率的情報処理におけ.
ICPR2004 (24 July, 2004, Cambridge) 1 Probabilistic image processing based on the Q-Ising model by means of the mean- field method and loopy belief propagation.
10 October, 2007 University of Glasgow 1 EM Algorithm with Markov Chain Monte Carlo Method for Bayesian Image Analysis Kazuyuki Tanaka Graduate School.
Graduate School of Information Sciences, Tohoku University
マルコフ確率場の統計的機械学習の数理と データサイエンスへの展開 Statistical Machine Learning in Markov Random Field and Expansion to Data Sciences 田中和之 東北大学大学院情報科学研究科 Kazuyuki Tanaka.
Physical Fluctuomatics 13th Quantum-mechanical extensions of probabilistic information processing Kazuyuki Tanaka Graduate School of Information Sciences,
Statistical-Mechanical Approach to Probabilistic Image Processing -- Loopy Belief Propagation and Advanced Mean-Field Method -- Kazuyuki Tanaka and Noriko.
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences, Tohoku University
Sublinear Computational Time Modeling in Statistical Machine Learning Theory for Markov Random Fields Kazuyuki Tanaka GSIS, Tohoku University, Sendai,
Ch3: Model Building through Regression
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences, Tohoku University, Japan
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences Tohoku University, Japan
Cluster Variation Method for Correlation Function of Probabilistic Model with Loopy Graphical Structure Kazuyuki Tanaka Graduate School of Information.
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences
Physical Fluctuomatics 7th~10th Belief propagation
Expectation-Maximization & Belief Propagation
Graduate School of Information Sciences, Tohoku University
Probabilistic image processing and Bayesian network
Probabilistic image processing and Bayesian network
Graduate School of Information Sciences, Tohoku University
Probabilistic image processing and Bayesian network
Cluster Variation Method for Correlation Function of Probabilistic Model with Loopy Graphical Structure Kazuyuki Tanaka Graduate School of Information.
Graduate School of Information Sciences, Tohoku University
Markov Networks.
Graduate School of Information Sciences, Tohoku University
Graduate School of Information Sciences, Tohoku University
Kazuyuki Tanaka Graduate School of Information Sciences
Presentation transcript:

Graduate School of Information Sciences, Tohoku University Physical Fluctuomatics 11th Probabilistic image processing by means of physical models Kazuyuki Tanaka Graduate School of Information Sciences, Tohoku University kazu@smapip.is.tohoku.ac.jp http://www.smapip.is.tohoku.ac.jp/~kazu/ Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Textbooks Kazuyuki Tanaka: Introduction of Image Processing by Probabilistic Models, Morikita Publishing Co., Ltd., 2006 (in Japanese) , Chapter 7. Kazuyuki Tanaka: Statistical-mechanical approach to image processing (Topical Review), Journal of Physics A: Mathematical and General, vol.35, no.37, pp.R81-R150, 2002. Muneki Yasuda, Shun Kataoka and Kazuyuki Tanaka: Computer Vision and Image Processing 3 (Edited by Y. Yagi and H. Saito): Chapter 6. Stochastic Image Processing, pp.137-179, Advanced Communication Media CO., Ltd., December 2010 (in Japanese). Physical Fluctuomatics (Tohoku University)

Contents Probabilistic Image Processing Loopy Belief Propagation Statistical Learning Algorithm Summary Physical Fluctuomatics (Tohoku University)

Image Restoration by Probabilistic Model Assumption 1: The degraded image is randomly generated from the original image by according to the degradation process. Assumption 2: The original image is randomly generated by according to the prior probability. Noise Transmission Original Image Degraded Image Bayes Formula Physical Fluctuomatics (Tohoku University)

Image Restoration by Probabilistic Model The original images and degraded images are represented by f = (f1,f2,…,f|V|) and g = (g1,g2,…,g|V|), respectively. Original Image Degraded Image Position Vector of Pixel i i i fi: Light Intensity of Pixel i in Original Image gi: Light Intensity of Pixel i in Degraded Image Physical Fluctuomatics (Tohoku University)

Probabilistic Modeling of Image Restoration Assumption 2: The original image is generated according to a prior probability. Prior Probability consists of a product of functions defined on the neighbouring pixels. i j Random Fields Product over All the Nearest Neighbour Pairs of Pixels Physical Fluctuomatics (Tohoku University)

Probabilistic Modeling of Image Restoration Assumption 1: A given degraded image is obtained from the original image by changing the state of each pixel to another state by the same probability, independently of the other pixels. fi gi fi gi or Random Fields Physical Fluctuomatics (Tohoku University)

Bayesian Image Analysis Degraded Image Prior Probability Original Image Degradation Process Posterior Probability V:Set of All the pixels E:Set of all the nearest neighbour pairs of pixels Image processing is reduced to calculations of averages, variances and co-variances in the posterior probability. Physical Fluctuomatics (Tohoku University)

Estimation of Original Image We have some choices to estimate the restored image from posterior probability. In each choice, the computational time is generally exponential order of the number of pixels. (1) Maximum A Posteriori (MAP) estimation In the image restoration, we usually have to estimate the hyperparameters alpha and p. In statistics, the maximum likelihood estimation is often employed. In the standpoint of maximum likelihood estimation, the hyperparameters are determined so as to maximize the marginal likelihood defined by marginalize the joint probability for the original image and degraded image with respect to the original image. The marginal likelihood is expressed in terms of the partition functions of the a priori probabilistic model and the a posteriori probabilistic model. We can calculate these partition functions approximately by using the Bethe approximation. (2) Maximum posterior marginal (MPM) estimation (3) Thresholded Posterior Mean (TPM) estimation Physical Fluctuomatics (Tohoku University)

Prior Probability of Image Processing Digital Images (fi=0,1,…,q-1) Sampling of Markov Chain Monte Carlo Method E: Set of all the nearest-neighbour pairs of pixels Paramagnetic Ferromagnetic Fluctuations increase near α=1.76…. V: Set of all the pixels Physical Fluctuomatics (Tohoku University)

Bayesian Image Analysis by Gaussian Graphical Model Prior Probability V:Set of all the pixels Patterns are generated by MCMC. E:Set of all the nearest-neighbour pairs of pixels Markov Chain Monte Carlo Method Physical Fluctuomatics (Tohoku University)

Degradation Process for Gaussian Graphical Model Degradation Process is assumed to be the additive white Gaussian noise. Histogram of Gaussian Random Numbers Original Image f Gaussian Noise n Degraded Image g V: Set of all the pixels Degraded image is obtained by adding a white Gaussian noise to the original image. Physical Fluctuomatics (Tohoku University)

Bayesian Image Analysis Degraded Image Prior Probability Original Image Degradation Process Posterior Probability V:Set of All the pixels E:Set of all the nearest neighbour pairs of pixels Image processing is reduced to calculations of averages, variances and co-variances in the posterior probability. Physical Fluctuomatics (Tohoku University)

Bayesian Image Analysis Prior Probability Original Image Degradation Process Degraded Image 画素 Posterior Probability Computational Complexity Marginal Posterior Probability of Each Pixel Physical Fluctuomatics (Tohoku University)

Posterior Probability for Image Processing by Bayesian Analysis Additive White Gaussian Noise Physical Fluctuomatics (Tohoku University)

Bayesian Network and Posterior Probability of Image Processing Probabilistic Model expressed in terms of Graphical Representations with Cycles V: Set of all the pixels E: Set of all the nearest neighbour pairs of pixels Physical Fluctuomatics (Tohoku University)

∂i: Set of all the nearest neighbour pixels of the pixel i Markov Random Fields Markov Random Fields ∂i: Set of all the nearest neighbour pixels of the pixel i Physical Fluctuomatics (Tohoku University)

Contents Probabilistic Image Processing Loopy Belief Propagation Statistical Learning Algorithm Summary Physical Fluctuomatics (Tohoku University)

Loopy Belief Propagation Probabilistic Model expressed in terms of Graphical Representations with Cycles V: Set of all the pixels E: Set of all the nearest neighbour pairs of pixels 2 1 3 4 5 Physical Fluctuomatics (Tohoku University)

Loopy Belief Propagation 2 1 3 4 5 Simultaneous fixed point equations to determine the messages Physical Fluctuomatics (Tohoku University)

Belief Propagation Algorithm for Image Processing Step 1: Solve the simultaneous fixed point equations for messages by using iterative method j i i Step 2: Substitute the messages to approximate expressions of marginal probabilities for each pixel and compute estimated image so as to maximize the approximate marginal probability at each pixel. Physical Fluctuomatics (Tohoku University)

Belief Propagation in Probabilistic Image Processing Physical Fluctuomatics (Tohoku University)

Contents Probabilistic Image Processing Loopy Belief Propagation Statistical Learning Algorithm Summary Physical Fluctuomatics (Tohoku University)

Statistical Estimation of Hyperparameters Hyperparameters a, b are determined so as to maximize the marginal likelihood Pr{G=g|a,b} with respect to a, b. In the image restoration, we usually have to estimate the hyperparameters alpha and p. In statistics, the maximum likelihood estimation is often employed. In the standpoint of maximum likelihood estimation, the hyperparameters are determined so as to maximize the marginal likelihood defined by marginalize the joint probability for the original image and degraded image with respect to the original image. The marginal likelihood is expressed in terms of the partition functions of the a priori probabilistic model and the a posteriori probabilistic model. We can calculate these partition functions approximately by using the Bethe approximation. Original Image Degraded Image Marginalized with respect to F Marginal Likelihood Physical Fluctuomatics (Tohoku University)

Maximum Likelihood in Signal Processing Incomplete Data Original Image =Parameter Degraded Image =Data Marginal Likelihood Hyperparameter Extremum Condition Physical Fluctuomatics (Tohoku University)

Maximum Likelihood and EM algorithm Degraded Image =Data Incomplete Data Original Image =Parameter Marginal Likelihood Q -function Hyperparameter Expectation Maximization (EM) algorithm provide us one of Extremum Points of Marginal Likelihood. Extemum Condition Physical Fluctuomatics (Tohoku University)

Maximum Likelihood and EM algorithm Physical Fluctuomatics (Tohoku University)

Bayesian Image Analysis by Exact Solution of Gaussian Graphical Model Posterior Probability V:Set of all the pixels Average of the posterior probability can be calculated by using the multi-dimensional Gauss integral Formula E:Set of all the nearest-neghbour pairs of pixels |V|x|V| matrix Multi-Dimensional Gaussian Integral Formula Physical Fluctuomatics (Tohoku University)

Bayesian Image Analysis by Exact Solution of Gaussian Graphical Model Iteration Procedure in Gaussian Graphical Model In the image restoration, we usually have to estimate the hyperparameters alpha and p. In statistics, the maximum likelihood estimation is often employed. In the standpoint of maximum likelihood estimation, the hyperparameters are determined so as to maximize the marginal likelihood defined by marginalize the joint probability for the original image and degraded image with respect to the original image. The marginal likelihood is expressed in terms of the partition functions of the a priori probabilistic model and the a posteriori probabilistic model. We can calculate these partition functions approximately by using the Bethe approximation. Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Image Restorations by Exact Solution and Loopy Belief Propagation of Gaussian Graphical Model Exact Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. Loopy Belief Propagation Physical Fluctuomatics (Tohoku University)

Image Restorations by Gaussian Graphical Model Original Image Degraded Image Belief Propagation Exact MSE: 1512 MSE:325 MSE:315 Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. Lowpass Filter Wiener Filter Median Filter MSE: 411 MSE: 545 MSE: 447 Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Image Restoration by Gaussian Graphical Model Original Image Degraded Image Belief Propagation Exact MSE: 1529 MSE: 260 MSE236 Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. Lowpass Filter Wiener Filter Median Filter MSE: 224 MSE: 372 MSE: 244 Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Image Restoration by Discrete Gaussian Graphical Model Original Image Q=4 a(t) Degraded Image s=1 Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. MSE:0.98893 SNR:1.03496 (dB) Belief Propagation MSE: 0.36011 s(t) SNR: 5.42228 (dB) Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Image Restoration by Discrete Gaussian Graphical Model Original Image Q=4 a(t) Degraded Image s=1 Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. MSE: 0.98893 SNR: 1.07221 (dB) Belief Propagation MSE: 0.28796 s(t) SNR: 6.43047 (dB) Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Image Restoration by Discrete Gaussian Graphical Model Original Image Q=8 a(t) Degraded Image s=1 Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. MSE:0.98893 SNR:1.89127 (dB) Belief Propagation MSE: 0.37697 s(t) SNR: 6.07987 (dB) Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Image Restoration by Discrete Gaussian Graphical Model Original Image Q=8 a(t) Degraded Image s=1 Finally, we show only the results for the gray-level image restoration. For each numerical experiments, the loopy belief propagation ca give us better results than the ones by conventional filters. MSE:0.98893 SNR:0.93517 (dB) Belief Propagation MSE: 0.32060 s(t) SNR: 5.82715 (dB) Physical Fluctuomatics (Tohoku University)

Contents Probabilistic Image Processing Loopy Belief Propagation Statistical Learning Algorithm Summary Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Summary Image Processing Bayesian Network for Image Processing Design of Belief Propagation Algorithm for Image Processing Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Practice 10-1 For random fields F=(F1,F2,…,F|V|)T and G=(G1,G2,…,G|V|)T and state vectors f=(f1,f2,…,f|V|)T and g=(g1,g2,…,g|V|)T, we consider the following posterior probability distribution: Here ZPosterior is a normalization constant and E is the set of all the nearest-neighbour pairs of nodes. Prove that and where ∂i denotes the set of all the nearest neighbour pixels of the pixel i. Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Practice 10-2 Make a program that generate a degraded image g=(g1,g2,…,g|V|) from a given image f =(f1,f2,…,f|V|) in which each state variable fi takes integers between 0 and q-1 by according to the following conditional probability distribution of the additive white Gaussian noise: Give some numerical experiments for s=20 and 40. Histogram of Gaussian Random Numbers Original Image f Gaussian Noise n Degraded Image g Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Practice 10-3 Make a program for estimating q-valued original images f =(f1,f2,…,f|V|) from a given degraded image g =(g1,g2,…,g|V|) by using a belief propagation algorithm for the following posterior probability distribution for q valued images: Give some numerical experiments. K. Tanaka: Introduction of Image Processing by Probabilistic Models, Morikita Publishing Co., Ltd., 2006 (in Japanese) , Chapter 8 . M. Yasuda, S. Kataoka and K. Tanaka: Computer Vision and Image Processing 3 (Edited by Y. Yagi and H. Saito): Chapter 6. Stochastic Image Processing, pp.137-179, Advanced Communication Media CO., Ltd., December 2010 (in Japanese). Physical Fluctuomatics (Tohoku University)

Physical Fluctuomatics (Tohoku University) Practice 10-4 Make a program for estimating original images f =(f1,f2,…,f|V|) from a given degraded image g =(g1,g2,…,g|V|) by using a belief propagation algorithm for the following posterior probability distribution based on the Gaussian graphical model: Give some numerical experiments. Kazuyuki Tanaka: Introduction of Image Processing by Probabilistic Models, Morikita Publishing Co., Ltd., 2006 (in Japanese) , Chapter 8 and Appendix G. Physical Fluctuomatics (Tohoku University)