Top Banner
Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro
31

Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Dec 25, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Online Dictionary Learning for Sparse

CodingInternational Conference on Machine Learning, 2009

Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro

Page 2: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Problem Statement• Online Dictionary Learning• Experimental Validation• Conclusion

Page 3: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Introduction

• The linear decomposition of a signal using a few atoms of a learned dictionary has recently led to state-of-the-art results for image processing tasks.• While learning the dictionary has proven to be critical to achieve results,

effectively solving the corresponding optimization problem is a significant computational challenge. (There may include millions of training sets.)

Page 4: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Introduction

Page 5: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Problem Statement• Online Dictionary Learning• Experimental Validation• Conclusion

Page 6: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Problem Statement

• Classical dictionary learning techniques consider a finite training set of signals and optimize the empirical cost function.

• Note that should be small if D is “good” at represent the signal x.

Page 7: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Problem Statement

• To prevent D from being arbitrarily large (which would lead to arbitrarily small values of α), it is common to constrain columns to have an L-2 norm less than or equal to one.

• The problem of minimizing can be rewritten as a joint optimization problem with respect to dictionary D and coefficient α,

Page 8: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Problem Statement

• A nature approach to solving this problem is to alternate between the two variables, minimizing over one while keeping the other one fixed.• In the case of dictionary learning, classical projected first-order

stochastic gradient descent consists of a sequence of updates of D:

• The dictionary learning method authors present falls into the class of online algorithms based on stochastic approximations, processing one sample at a time, but exploits the specific structure of the problem to efficient solve it.

Page 9: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Problem Statement• Online Dictionary Learning• Experimental Validation• Conclusion

Page 10: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Online Dictionary Learning-Algorithm Outline

Page 11: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Online Dictionary Learning – Sparse Coding• The sparse coding problem of Eq. (2) with fixed dictionary is an L1-

regularized linear least-squares problem.• The columns of learned dictionaries are in general highly correlated,

so authors use LARS-Lasso algorithm (Osborne et al., 2000; Efron et al., 2004) to provide whole regularization path (i.e. for all possible values of λ).

Page 12: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.
Page 13: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.
Page 14: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Online Dictionary Learning – Dictionary Update• Proposed algorithm for updating the dictionary uses block-coordinate

descent with warm restarts, and one of its main advantages is that it is parameter-free and does not require any learning rate tuning.• Since the vectors are sparse, the coefficients of matrix A are in

general concentrated on the diagonal.• Since algorithm uses the value of as warm restart for computing , a

single iteration has empirically been found to be enough.

Page 15: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Problem Statement• Online Dictionary Learning• Experimental Validation• Conclusion

Page 16: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Experimental Validation

Page 17: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Problem Statement• Online Dictionary Learning• Experimental Validation• Conclusion

Page 18: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Conclusion

• Authors have introduced in this paper a new stochastic online algorithm for learning dictionaries adapted to sparse coding tasks.• Preliminary experiments demonstrate that it is significantly faster than

batch alternatives on large datasets that may contain millions of training example.

Page 19: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

An Efficient Frame-Content Based Intra Frame Rate Control

for HEVCIEEE SIGNAL PROCESSING LETTERS, VOL. 22, NO 7, JULY 2015

Miaohui Wang, King Ngi Ngan, and Hongliang Li

Page 20: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Proposed Rate Control Method• Simulation Results• Conclusion

Page 21: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Introduction

• In this letter, authors propose a new gradient based R-λ model for the HEVC intra frame rate control, where the gradient is used to measure the frame-content complexity.• In addition, a novel bit allocation method is developed for CTU rate

control.

Page 22: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Proposed Rate Control Method• Simulation Results• Conclusion

Page 23: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Modeling the Relationship Between Rate-Gradient and λ for the HEVC Frame Coding• Due to that different frames have different encoding complexities, the

frame-content complexity measure is incorporated into the proposed method for HEVC intra frame coding.

Page 24: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Bit Allocation – GOP Level Bit Allocation

Original – GOP Level Proposed – GOP Level

Original – Frame Level Proposed – Frame Level

Original – CU Level Proposed – CU Level

Page 25: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Model Parameter Update• Original • Proposed

Page 26: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Proposed Rate Control Method• Simulation Results• Conclusion

Page 27: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Simulation Configuration

1. HM 10.0 : the original HM 10.0 without rate control2. JCT-VC K0103: the original HM 10.0 with the default rate control3. JCT-VC M0257: the original HM 10.0 with the default intra frame rate

control4. Proposed method

Page 28: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Simulation Results

Page 29: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Simulation Results

Page 30: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Overview

• Introduction• Proposed Rate Control Method• Simulation Results• Conclusion

Page 31: Online Dictionary Learning for Sparse Coding International Conference on Machine Learning, 2009 Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro.

Conclusion

• In this letter, a frame-content based rate control method is proposed for the HEVC intra frame coding.• The frame-content complexity is measured by its gradient, which has

been incorporated into an improved R-λ model.• A new bit allocation scheme with content complexity is developed at

the CTU level.