csc2541 differentiable inference and generative models
play

CSC2541: Differentiable Inference and Generative Models Density - PowerPoint PPT Presentation

CSC2541: Differentiable Inference and Generative Models Density estimation using Real NVP. Ding et al, 2016 Nguyen A, Dosovitskiy A, Yosinski J, Brox T, Clune J (2016). Synthesizing the preferred inputs for neurons in neural networks via deep


  1. CSC2541: Differentiable Inference and Generative Models

  2. Density estimation using Real NVP. Ding et al, 2016

  3. Nguyen A, Dosovitskiy A, Yosinski J, Brox T, Clune J (2016). Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. Advances in Neural Information Processing Systems 29

  4. Density estimation using Real NVP. Ding et al, 2016

  5. A group of people are watching a dog ride (Jamie Kyros)

  6. Pixel Recurrent Neural Networks Aaron van den Oord, Nal Kalchbrenner, Koray Kavukcuoglu

  7. Types of Generative Models • Conditional probabilistic models • Latent-variable probabilistic models • GANs • Invertible models

  8. Advantages of latent variable models • Model checking by sampling • Natural way to specify models • Compact representations • Semi-Supervised learning • Understanding factors of variation in data

  9. Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks Alec Radford, Luke Metz, Soumith Chintala

  10. Advantages of probabilistic latent-variable models • Data-efficient learning - automatic regularization, can take advantage of more information • Compose models - e.g. incorporate data corruption model. Different from composing feedforward computations • Handle missing data (without the standard hack of just guessing the missing values using averages). • Predictive uncertainty - necessary for decision-making • conditional predictions (e.g. if brexit happens, the value of the pound will fall) • Active learning - what data would be expected to increase our confidence about a prediction • Cons: • intractable integral over latent variables • Examples: medical diagnosis, image modeling

  11. [1] [2] [3] [4] Gaussian mixture model Linear dynamical system Hidden Markov model Switching LDS [5] [2] [6] [7] Mixture of Experts Driven LDS IO-HMM Factorial HMM [8,9] [10] Canonical correlations analysis admixture / LDA / NMF [1] Palmer, Wipf, Kreutz-Delgado, and Rao. Variational EM algorithms for non-Gaussian latent variable models. NIPS 2005. [2] Ghahramani and Beal. Propagation algorithms for variational Bayesian learning. NIPS 2001. [3] Beal. Variational algorithms for approximate Bayesian inference, Ch. 3. U of London Ph.D. Thesis 2003. [4] Ghahramani and Hinton. Variational learning for switching state-space models. Neural Computation 2000. [5] Jordan and Jacobs. Hierarchical Mixtures of Experts and the EM algorithm. Neural Computation 1994. [6] Bengio and Frasconi. An Input Output HMM Architecture. NIPS 1995. [7] Ghahramani and Jordan. Factorial Hidden Markov Models. Machine Learning 1997. [8] Bach and Jordan. A probabilistic interpretation of Canonical Correlation Analysis. Tech. Report 2005. [9] Archambeau and Bach. Sparse probabilistic projections. NIPS 2008. [10] Hoffman, Bach, Blei. Online learning for Latent Dirichlet Allocation. NIPS 2010. Courtesy of Matthew Johnson

  12. Differentiable models • Model distributions implicitly by a variable pushed through a deep net: y = f θ ( x ) • Approximate intractable distribution by a tractable distribution parameterized by a deep net: p ( y | x ) = N ( y | µ = f θ ( x ) , Σ = g θ ( x )) • Optimize all parameters using stochastic gradient descent

  13. Probabilistic graphical models Deep learning + structured representations – neural net “goo” + priors and uncertainty – difficult parameterization + data and computational efficiency – can require lots of data – rigid assumptions may not fit + flexible – feature engineering + feature learning – top-down inference + recognition networks

  14. Machine-learning-centric History of Generative Models 1940s - 1960s Motivating probability and Bayesian inference • 1980s - 2000s Bayesian machine learning with MCMC • 1990s - 2000s Graphical models with exact inference • 1990s - present Bayesian Nonparametrics with MCMC (Indian Buffet • process, Chinese restaurant process) 1990s - 2000s Bayesian ML with mean-field variational inference • 1995 Helmholtz machine ( almost invented variational autoencoders) • 2000s - present Probabilistic Programming • 2000s - 2013 Deep undirected graphical models (RBMs, pretraining) • 2010s - present Stan - Bayesian Data Analysis with HMC • 2000s - 2013 Autoencoders, denoising autoencoders • 2000s - present Invertible density estimation • 2013 - present Variational autoencoders • 2014 - present Generative adversarial nets •

  15. Frontiers • Generate images given captions • Generating large structures • images with consistent internal structure and not blurry • videos • long texts • Discrete latent random variables • Generate complex discrete structures • Time-series models for reinforcement learning

  16. Nguyen A, Dosovitskiy A, Yosinski J, Brox T, Clune J (2016). Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. Advances in Neural Information Processing Systems 29

  17. Density estimation using Real NVP. Ding et al, 2016

  18. Modeling idea: graphical models on latent variables, neural network models for observations Composing graphical models with neural networks for structured representations and fast inference. Johnson, Duvenaud, Wiltschko, Datta, Adams, NIPS 2016

  19. unsupervised learning supervised learning Courtesy of Matthew Johnson

  20. data space latent space

  21. Application: learn syllable representation of behavior from video 60 60 60 50 50 50 40 40 40 mm mm mm 30 30 30 20 20 20 10 10 10 0 0 10 0 mm mm 10 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 mm 10 2 mm 0 10 20 30 40 50 60 70 2 10 20 30 40 50 60 70 0 2 0 30 30 30 40 40 40 m m m m 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 10 20 30 40 50 60 70 10 20 30 40 50 60 70

  22. θ z 1 z 2 z 3 z 4 z 5 z 6 z 7 x 1 x 3 x 2 x 4 x 5 x 6 x 7 y 1 y 2 y 3 y 4 y 5 y 6 y 7 60 60 60 50 50 50 40 40 40 mm mm mm 30 30 30 20 20 20 10 10 10 0 10 0 0 mm mm 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 10 mm 10 mm 20 10 20 30 40 50 60 70 10 20 30 40 50 60 70 20 20 30 30 30 4 0 4 0 4 0 mm mm 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 10 20 30 40 50 60 70 10 20 30 40 50 60 70 Courtesy of Matthew Johnson

  23. start rear

  24. fall from rear

  25. grooming

  26. From Carl Rasmussen

  27. Seminars • 7 weeks of seminars, about 8 people each • Each day will have one or two major themes, 3-6 papers covered • Divided into 2-3 presentations of about 30 mins each • Explain main idea, relate to previous work and future directions

  28. Class Projects • Develop a generative model for a new medium . • Generate sound given video (hard to generate raw sound) • Automatic onomatopoeia: Generate text ‘ka- bloom-kshhhh’ given a sound of an explosion. • Generating text of a specific style. For instance, generating SMILES strings representing organic molecules

  29. Class Projects • Extend existing models, inference, or training . For instance: • Extending variational autoencoders to have infinite capacity in some sense (combining Nonparametric Bayesian methods with variational autoencoders) • Train a VAE or GAN for matrix decomposition • Explore the use of mixture distributions for approximating distributions

  30. Class Projects • Apply an existing approach in a new way . • Missing data (not at random) • Automatic data cleaning (flagging suspect entries) • Simultaneous localization and mapping (SLAM) from scratch

  31. Class Projects • Review / comparison / tutorials: • Approaches to generating images • Approaches to generating video • Approaches to handling discrete latent variables • Approaches to building invertible yet general transformations • Variants of the GAN training objective • Different types of recognition networks • clearly articulate the differences between different approaches, and their strengths and weaknesses. • Ideally, include experiments highlighting the different properties of each method on realistic problems.

  32. Class Project Dates • Project proposal due Oct 14th • about 2 pages, include prelim. lit search • Presentations: Nov 18th and 25th • Projects due: Dec 10th

  33. Grades • Class presentations - 20% • Project proposal - 20% • Project presentation - 20% • Project report and code - 40%

  34. Quiz

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend