Modeling with BoundedPartition FunctionsRyan Prescott AdamsCavendish LaboratoryUniversity of Cambridgehttp://www.inference.phy.cam.ac.uk/rpa23/16 July 2008Overall Talk MessageI Energy functions are nice models for data.I Inference in energy models is often hard.I If you can draw exact samples, you can doMCMC inference.I I have a trick for generating exact data frommany energy models.I This trick is probably a bad idea.OutlineMotivationExamples of Energy ModelsInferenceQuick Review of MCMCDoubly-Intractable Posterior DistributionsExchange SamplingConceptAuxiliary VariablesBaby and ToyExact Sampling from Energy ModelsOutlineMotivationExamples of Energy ModelsInferenceQuick Review of MCMCDoubly-Intractable Posterior DistributionsExchange SamplingConceptAuxiliary VariablesBaby and ToyExact Sampling from Energy ModelsEnergy-based Models of DataFor some spaceX , write an energy: E(x; )Turn this into a probability distribution via:1p(xj) = expf E(x; )gZ()Big energy implies small probability.ZNormalised byZ() = dx expf E(x; )g:XI Called the partition function.I Depends on the parameters.I Intractable in many interesting models.Examples of Energy-based ModelsExponential Family DistributionsTE(x; ) = T(x)+h(x)I Gaussian, Gamma, Poisson, etc.I Typically easy.Examples of Energy-based ModelsUndirected Graphical ModelsT TT T TE(x; ) = x Vx h Hh x Jh x h I Ising/Potts models, Boltzmann machinesI Perhaps hidden ...
Cavendish Laboratory University of Cambridge http://www.inference.phy.cam.ac.uk/rpa23/
16 July 2008
Overall Talk Message
I I I
I
I
Energy functions are nice models for data. Inference in energy models is often hard. If you can draw exact samples, you can do MCMC inference. I have a trick for generating exact data from many energy models. This trick is probably a bad idea.
Outline
Motivation Examples of Energy Models Inference Quick Review of MCMC Doubly-Intractable Posterior Distributions
Exchange Sampling Concept Auxiliary Variables Baby and Toy
Exact Sampling from Energy Models
Outline
Motivation Examples of Energy Models Inference Quick Review of MCMC Doubly-Intractable Posterior Distributions
Exchange Sampling Concept Auxiliary Variables Baby and Toy
Exact Sampling from Energy Models
Energy-based Models of Data
For some spaceX, write an energy:E(x;
Turn this into a probability distribution via:
p(x|θ) =Z(1θ)exp{−E(x;θ)}
θ)
θ)}:
Big energy implies small probability. Normalised byZ(θ) =ZXdxexp{−E(x; ICalled thepartition function. IDepends on the parametersθ. IIntractable in many interesting models.
Examples of Energy-based Models
Exponential Family Distributions
I
I
E(x;θ) =−θTT(x) +h(x)
Gaussian, Gamma, Poisson, etc.
Typically easy.
Examples of Energy-based Models
Undirected Graphical Models
E(x;θ) =−xTV x−hTH h−xTJ h−xTα−hTβ
IIsing/Potts models, Boltzmann machines IPerhaps hidden unitsh. IOften with finite states. IHard!