480 likes | 618 Views
Learning sparse representations to restore, classify, and sense images and videos. Guillermo Sapiro University of Minnesota. Supported by NSF, NGA, NIH, ONR, DARPA, ARO, McKnight Foundation. Ramirez. Martin Duarte. Lecumberry. Rodriguez. Overview. Introduction
E N D
Learning sparse representationsto restore, classify, and sense images and videos Guillermo Sapiro University of Minnesota Supported by NSF, NGA, NIH, ONR, DARPA, ARO, McKnight Foundation
Ramirez Martin Duarte Lecumberry Rodriguez Learning Sparsity
Overview • Introduction • Denoising, Demosaicing, Inpainting • Mairal, Elad, Sapiro, IEEE-TIP, January 2008 • Learn multiscale dictionaries • Mairal, Elad, Sapiro, SIAM-MMS, April 2008 • Sparsity + Self-similarity • Mairal, Bach, Ponce, Sapiro, Zisserman, pre-print. • Incoherent dictionaries and universal coding • Ramirez, Lecumberry, Sapiro, June 2009, pre-print • Learning to classify • Mairal, Bach, Ponce, Sapiro, Zisserman, CVPR 2008, NIPS 2008 • Rodriguez and Sapiro, pre-print, 2008. • Learning to sense sparse signals • Duarte and Sapiro, pre-print, May 2008, IEEE-TIP to appear Learning Sparsity
Introduction I: Sparse and Redundant Representations Webster Dictionary: Of few and scattered elements Learning Sparsity
Relation to measurements Prior or regularization ThomasBayes 1702 - 1761 Restoration by Energy Minimization Restoration/representation algorithms are often related to the minimization of an energy function of the form y : Given measurements x : Unknown to be recovered • Bayesian type of approach • What is the prior? What is the image model? Learning Sparsity
Every column in D (dictionary) is a prototype signal (Atom). N • The vector contains very few (say L) non-zeros. N A sparse & random vector K A fixed Dictionary The Sparseland Model for Images M Learning Sparsity
D should be chosen such that it sparsifies the representations (for a given task!) Learn D : Multiscale Learning Color Image Examples Task / sensing adapted Internal structure One approach to choose D is from a known set of transforms (Steerable wavelet, Curvelet, Contourlets, Bandlets, …) What Should the Dictionary D Be? Learning Sparsity
Introduction II: Dictionary Learning Learning Sparsity
D X A Each example has a sparse representation with no more than L atoms Each example is a linear combination of atoms from D Measure of Quality for D Field & Olshausen (‘96) Engan et. al. (‘99) Lewicki & Sejnowski (‘00) Cotter et. al. (‘03) Gribonval et. al. (‘04) Aharon, Elad, & Bruckstein (‘04) Aharon, Elad, & Bruckstein (‘05) Ng et al. (‘07) Mairal, Sapiro, Elad (‘08) Learning Sparsity
D Initialize D Sparse Coding Orthogonal Matching Pursuit (or L1) XT Dictionary Update Column-by-Column by SVD computation over the relevant examples The K–SVD Algorithm – General Aharon, Elad, & Bruckstein (`04) Learning Sparsity
Show me the pictures Learning Sparsity
Change the Metric in the OMP Learning Sparsity
Non-uniform noise Learning Sparsity
Example: Non-uniform noise Learning Sparsity
Example: Inpainting Learning Sparsity
Example: Demoisaic Learning Sparsity
Example: Inpainting Learning Sparsity
Not enough fun yet?: Multiscale Dictionaries Learning Sparsity
Learned multiscale dictionary Learning Sparsity
Color multiscale dictionaries Learning Sparsity
Example Learning Sparsity
Video inpainting Learning Sparsity
Extending the Models Learning Sparsity
Universal Coding and Incoherent Dictionaries • Consistent • Improved generalization properties • Improved active set computation • Improved coding speed • Improved reconstruction • See poster by Ramirez and Lecumberry… Learning Sparsity
Sparsity + Self-similarity=Group Sparsity • Combine the two of the most successful models for images • Mairal, Bach. Ponce, Sapiro, Zisserman, pre-print, 2009 Learning Sparsity
Global Dictionary Learning Sparsity
Barbara Learning Sparsity
Boat Learning Sparsity
Digits Learning Sparsity
Which dictionary? How to learn them? • Multiple reconstructive dictionary? (Payre) • Single reconstructive dictionary? (Ng et al, LeCunn et al.) • Dictionaries for classification! • See also Winn et al., Holub et al., Lasserre et al., Hinton et al. for joint discriminative/generative probabilistic approaches Learning Sparsity
Learning multiple reconstructive and discriminative dictionaries With J. Mairal, F. Bach, J. Ponce, and A. Zisserman, CVPR ’08, NIPS ‘08 Learning Sparsity
Texture classification Learning Sparsity
Semi-supervised detection learning MIT -- Learning Sparsity
Learning a Single Discriminative and Reconstructive Dictionary • Exploit the representation coefficients for classification • Include this in the optimization • Class supervised simultaneous OMP With F. Rodriguez Learning Sparsity
Digits images: Robust to noise and occlusions Learning Sparsity
Supervised Dictionary Learning With J. Mairal, F. Bach, J. Ponce, and A. Zisserman, NIPS ‘08 Learning Sparsity
Motivation • Compressed sensing (Candes &Tao, Donoho, et al.) • Sparsity • Random sampling • Universality • Stability • Shall the sensing be adapted to the data type? • Yes! (Elad, Peyre, Weiss et al., Applebaum et al, this talk). • Shall the sensing and dictionary be learned simultaneously? Learning Sparsity
Some formulas…. + “RIP (Identity Gramm Matrix)” Learning Sparsity
Design the dictionary and sensing together Learning Sparsity
Just Believe the Pictures Learning Sparsity
Just Believe the Pictures Learning Sparsity
Just Believe the Pictures Learning Sparsity
Conclusions • State-of-the-art denoising results for still (shared with Dabov et al.) and video • General • Vectorial and multiscale learned dictionaries • Dictionaries with internal structure • Dictionary learning for classification • See also Szlam and Sapiro, ICML 2009 • See also Carin et al, ICML 2009 • Dictionary learning for sensing • A lot of work still to be done! Learning Sparsity
Please do not use the wrong dictionaries… • 12 M pixel image • 7 million patches • LARS+online learning: ~8 minutes • Mairal, Bach, Ponce, Sapiro, ICML 2009 Learning Sparsity