machine learning from optimization …...• a few useful things to know about machine learning....

19
MACHINE LEARNING FROM OPTIMIZATION PERSPECTIVE Zheng Han June 15 th , 2017 6/14/17 1 谢绝转载,转载请联系 WSFC Wall Street Fintech Club (WSFC), © All Rights Reserved ,www.wallstreetfintechclub.com, 公共号:华尔街 Fintech 俱乐部,禁止未授权转载

Upload: others

Post on 07-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

MACHINE LEARNING FROM OPTIMIZATION PERSPECTIVEZheng Han

June 15th, 2017

6/14/17

1

谢绝转载,转载请联系WSFC

Wall Street Fintech Club (WSFC), © All Rights Reserved ,www.wallstreetfintechclub.com, 公共号:华尔街 Fintech俱乐部,禁止未授权转载

Page 2: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

• Machine Learning (ML)• Case Study• Optimization in ML• - Learning Theory• - Regularization• - Learning Algorithm

2

CONTENT

Wall Street Fintech Club (WSFC), © All Rights Reserved ,www.wallstreetfintechclub.com, 公共号:华尔街 Fintech俱乐部,禁止未授权转载

Page 3: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

ML – A FAVORABLE PERSPECTIVE

Page 4: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

ML – ANALOGY

Page 5: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

ML – THREE COMPONENTS

Machine Learning = Representation + Evaluation + Optimization

Page 6: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

CASE STUDY – DECISION TREE

Page 7: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

CASE STUDY – DECISION TREE

● Representation: x = (Sunny Hot, High, Strong), tree structure to represent boolean function

● Evaluation: false positive rate, false negative rate, etc..

● Optimization: efficiently construct a tree that gives relatively low predictive error

Page 8: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

Optimization:Stochastic Gradient Descent(SGD)s:Momentum / Nesterov accelerated gradientAdagrad / Adadelta / RMSprop / Adam

Backpropagation

CASE STUDY – NEURAL NETWORK

Representation: images -> pixels -> matrices

Page 9: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

ML – AUTOMATE AUTOMATION

Page 10: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

OPTIMIZATION

Page 11: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

OPTIMIZATION IN ML

Representation

Evaluation

Optimization

Parameterized Optimization

Page 12: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

OPTIMIZATION IN ML

Expected Risk

Empirical Risk

Learning Theory

Page 13: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

OPTIMIZATION IN ML

Expected Risk

Empirical Risk

Structural Risk Minimization

Model Complexity

Page 14: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

STRUCTURAL RISK MINIMIZATION BY REGULARIZATION

Page 15: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

OPTIMIZATION ALGORITHM IN ML

Gradient Descent Method:

Second-order Method:

Page 16: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

OPTIMIZATION ALG FOR DEEP LEARNING

Page 17: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

• Reinforcement Learning: dynamic programming• Online Learning: online convex optimization• Evolutionary Algorithms: generic algorithms • Big Data: distributed optimization, sparse optimization

17

OTHER RELEVANT TOPICS

Wall Street Fintech Club (WSFC), © All Rights Reserved ,www.wallstreetfintechclub.com, 公共号:华尔街 Fintech俱乐部,禁止未授权转载

Page 18: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

ML IN REAL-WORLD

Page 19: MACHINE LEARNING FROM OPTIMIZATION …...• A Few Useful Things to Know about Machine Learning. Pedro Domingos Pedro Domingos • The Master Algorithm: How the Quest for the Ultimate

• A Few Useful Things to Know about Machine Learning. Pedro Domingos• The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake

Our World. Pedro Domingos• Scikit-Learn: http://scikit-learn.org• An Extended Version Of The Scikit-Learn Cheat Sheet. Christophe Bourguignat• Deep Learning. Yann LeCun, Yoshua Bengio, and Geoffrey Hinton• Optimization Methods for Large-Scale Machine Learning. Leon Bottou, Frank E. Curtis,

and Jorge Nocedal• The LION Way: Machine Learning plus Intelligent Optimization. Roberto Battiti, Mauro

Brunato

19

REFERENCES

Wall Street Fintech Club (WSFC), © All Rights Reserved ,www.wallstreetfintechclub.com, 公共号:华尔街 Fintech俱乐部,禁止未授权转载