SlideShare a Scribd company logo
1 of 15
Download to read offline
Basic of Deep Learning
Deep Learning Study
Hansol Kang
: 2주차
Contents
2019-07-01
2
Introduction
Basic of DL
Summary
Detection with DL
Introduction
한 장으로 보는 딥러닝
2019-07-01
3
1957, 1960 1969 1986 2006
퍼셉트론 개념
처음 등장
Widrow and Hoff:
Adaline/Madaline
(~1960)
Frank
Rosenblatt
(1957)
Backpropagation
Geoffrey Hinton
“이렇게 하면 됨”
MLP는 풀 수
없는 문제
“그거 인간이 못 품”
Marvin Minsky,
founder of the MIT
AI Lab (1969)
Geoffrey Hinton
Vanishing gradient 해결
“비선형성과 초기화에
대해 잘못 이해 있었음”
그래디언트가 없어져요 :(
SVM 떡상 :)
90년대
Basic of DL
뉴렬넷/MLP(다층 퍼셉트론)이란 무엇인가
2019-07-01
4
단일 퍼셉트론을 여러 층 쌓은 것.
i
x ij
w jk
w k
y
j
b k
b
j
i
ij b
x
w +

k
j
i
ij
jk b
b
x
w
f
w +
+ )
(

Basic of DL
학습이란 무엇인가
2019-07-01
5
모델과 비용함수를 정의함
“비용이 최소가 되는 모델의 파라미터를 찾는 것!”
Linear Regression Logistic Regression
b
x
w
x
y +
=
= T
H )
(
ˆ
2
)
(
2
1
)
(
cost )
(H y
x
b
w, −
=
)
(
)
(
1
1
1
1
))
(
(
ˆ
b
x
W
x
x
y +
−
−
+
=
+
=
= T
e
e
H
g H
)
ˆ
1
log(
)
1
(
)
ˆ
log(
)
(
cost y
y
y
y −
−
−
−
=
b
w,
Model :
Cost :
Basic of DL
Gradient Descent/Backpropagation
2019-07-01
6
Gradient Descent : 기울기가 작은 쪽으로 이동함.
2
)
(
2
1
)
(
cost )
(H y
x
b
w, −
=
2
)
(
2
1
1 )
(H
-
)
(t y
x
w
w
w −


=
+ 
Intuition : 기울기가 작은 곳(극 값)으로 오면 변화가 적음
Basic of DL
Gradient Descent/Backpropagation
2019-07-01
7
Backpropagation : 출력 쪽 노드부터 파라미터를 갱신함.
i
x ij
w jk
w k
y
j
b k
b
j
ij
k
jk
b
w
b
w
갱신 순서
Basic of DL
Gradient Descent/Backpropagation
2019-07-01
8
Backpropagation : 출력 쪽 노드부터 파라미터를 갱신함.
jk
k
k
k
k
k
k
jk w
s
s
y
y
e
e
E
w
E








=

 jk
w k
y
k
b
2
2
1
k
e
E =
k
dk
k y
y
e −
=
앞서 봤던 비용과 동일
)
( k
j
jk
k
k b
y
w
s
y +
= 비선형 함수
“나머지 파라미터에
대해서도 해볼 것”
j
k
k
jk
y
s
f
e
w
E
)
(
'

=


Basic of DL
Softmax 분류 (Multinomial classification)
2019-07-01
9

=
= N
k
x
x
i
k
i
e
e
)
(x
1
softmax
jk
w k
y
k
b
비선형성을 가지는 확률(or 합이 1이 되게 normalize)
“One hot encoding으로 해석함.”
해당 노드
전체 노드
Basic of DL
CNN의 구조
2019-07-01
10
1
2
+
−
+
=
S
FH
P
H
OH
1
2
+
−
+
=
S
FW
P
W
OW
1 2 3 0
0 1 2 3
3 0 1 2
2 3 0 1
2 0 1
0 1 2
1 0 2
7 12 10 2
4 15 16 10
10 6 15 6
8 10 4 3
* =
Basic of DL
CNN의 응용
2019-07-01
11
Strided Convolution Fractional Convolution(Transposed Convolution)
Detection with DL
Detection 종류
2019-07-01
12
Detection
with DL
1 Step
method
2 Step
method
• 진정한 의미의 end-to-end 구조
• 빠른 detection 속도
• eg. YOLO 계열
• Region proposal and detection 구조
• 속도는 느리나 정확도가 높음
• eg. R-CNN 계열
“Competition에서 중요한 것은 정확도로 2 step method를 지향”
Detection with DL
R-CNN
2019-07-01
13
• SS(Selective Search)를 통한 region proposal 사용
• 제안 받은 영역을 CNN을 통해 특징을 추출하고, 이를 SVM으로 구분함.
• SS : Exhaustive + Segmentation 기법 융합.
• Segmentation : 시드 영역을 기반으로 주변 그룹과 Similarity(색상, 크기 등등 4가지 지표)를 비교하여
그룹 확장
• Region proposal
• Classification
• BB regression
Summary
정리
2019-07-01
14
• 딥러닝의 간단한 개념들(model, cost, bp, and etc.)에 대해 복습함.
• CNN의 기본 구조는 conv net과 pool 이지만, 최신 트렌드에서는 pool을 사용하지 않음.
• Detection에 있어서 1 step과 2step 방법이 있는데 본 연구에서는 2 step method를 지향함.
• R-CNN은 기본적으로 별도의 region proposal 구조로 부터 영역을 제안 받아 이를 구분하는 작업을
수행함.
&
2019-07-01 15

More Related Content

Similar to basic of deep learning

Deep neural networks cnn rnn_ae_some practical techniques
Deep neural networks cnn rnn_ae_some practical techniquesDeep neural networks cnn rnn_ae_some practical techniques
Deep neural networks cnn rnn_ae_some practical techniquesKang Pilsung
 
Final project v0.84
Final project v0.84Final project v0.84
Final project v0.84Soukwon Jun
 
딥러닝 - 역사와 이론적 기초
딥러닝 - 역사와 이론적 기초딥러닝 - 역사와 이론적 기초
딥러닝 - 역사와 이론적 기초Hyungsoo Ryoo
 
Tensorflow for Deep Learning(SK Planet)
Tensorflow for Deep Learning(SK Planet)Tensorflow for Deep Learning(SK Planet)
Tensorflow for Deep Learning(SK Planet)Tae Young Lee
 
180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pubJaewook. Kang
 
[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pubJaewook. Kang
 
Convolutional neural networks
Convolutional neural networksConvolutional neural networks
Convolutional neural networksHyunjinBae3
 

Similar to basic of deep learning (7)

Deep neural networks cnn rnn_ae_some practical techniques
Deep neural networks cnn rnn_ae_some practical techniquesDeep neural networks cnn rnn_ae_some practical techniques
Deep neural networks cnn rnn_ae_some practical techniques
 
Final project v0.84
Final project v0.84Final project v0.84
Final project v0.84
 
딥러닝 - 역사와 이론적 기초
딥러닝 - 역사와 이론적 기초딥러닝 - 역사와 이론적 기초
딥러닝 - 역사와 이론적 기초
 
Tensorflow for Deep Learning(SK Planet)
Tensorflow for Deep Learning(SK Planet)Tensorflow for Deep Learning(SK Planet)
Tensorflow for Deep Learning(SK Planet)
 
180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub
 
[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub
 
Convolutional neural networks
Convolutional neural networksConvolutional neural networks
Convolutional neural networks
 

More from Hansol Kang

ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )
ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )
ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )Hansol Kang
 
관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)
관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)
관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)Hansol Kang
 
알아두면 쓸모있는 깃허브 2
알아두면 쓸모있는 깃허브 2알아두면 쓸모있는 깃허브 2
알아두면 쓸모있는 깃허브 2Hansol Kang
 
알아두면 쓸모있는 깃허브 1
알아두면 쓸모있는 깃허브 1알아두면 쓸모있는 깃허브 1
알아두면 쓸모있는 깃허브 1Hansol Kang
 
파이썬 제대로 활용하기
파이썬 제대로 활용하기파이썬 제대로 활용하기
파이썬 제대로 활용하기Hansol Kang
 
모던 C++ 정리
모던 C++ 정리모던 C++ 정리
모던 C++ 정리Hansol Kang
 
Photo-realistic Single Image Super-resolution using a Generative Adversarial ...
Photo-realistic Single Image Super-resolution using a Generative Adversarial ...Photo-realistic Single Image Super-resolution using a Generative Adversarial ...
Photo-realistic Single Image Super-resolution using a Generative Adversarial ...Hansol Kang
 
LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)
LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)
LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)Hansol Kang
 
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...Hansol Kang
 
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)Hansol Kang
 
PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)Hansol Kang
 
Deep Convolutional GANs - meaning of latent space
Deep Convolutional GANs - meaning of latent spaceDeep Convolutional GANs - meaning of latent space
Deep Convolutional GANs - meaning of latent spaceHansol Kang
 
쉽게 설명하는 GAN (What is this? Gum? It's GAN.)
쉽게 설명하는 GAN (What is this? Gum? It's GAN.)쉽게 설명하는 GAN (What is this? Gum? It's GAN.)
쉽게 설명하는 GAN (What is this? Gum? It's GAN.)Hansol Kang
 
문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)
문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)
문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)Hansol Kang
 
신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)
신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)
신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)Hansol Kang
 
HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법
HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법
HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법Hansol Kang
 
QT 프로그래밍 기초(basic of QT programming tutorial)
QT 프로그래밍 기초(basic of QT programming tutorial)QT 프로그래밍 기초(basic of QT programming tutorial)
QT 프로그래밍 기초(basic of QT programming tutorial)Hansol Kang
 
Continuously Adaptive Mean Shift(CAMSHIFT)
Continuously Adaptive Mean Shift(CAMSHIFT)Continuously Adaptive Mean Shift(CAMSHIFT)
Continuously Adaptive Mean Shift(CAMSHIFT)Hansol Kang
 
Mobile Robot PD and DOB control
Mobile Robot PD and DOB controlMobile Robot PD and DOB control
Mobile Robot PD and DOB controlHansol Kang
 
딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)
딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)
딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)Hansol Kang
 

More from Hansol Kang (20)

ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )
ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )
ROS 시작하기(Getting Started with ROS:: Your First Steps in Robot Programming )
 
관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)
관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)
관측 임무스케줄링 (Selecting and scheduling observations of agile satellites)
 
알아두면 쓸모있는 깃허브 2
알아두면 쓸모있는 깃허브 2알아두면 쓸모있는 깃허브 2
알아두면 쓸모있는 깃허브 2
 
알아두면 쓸모있는 깃허브 1
알아두면 쓸모있는 깃허브 1알아두면 쓸모있는 깃허브 1
알아두면 쓸모있는 깃허브 1
 
파이썬 제대로 활용하기
파이썬 제대로 활용하기파이썬 제대로 활용하기
파이썬 제대로 활용하기
 
모던 C++ 정리
모던 C++ 정리모던 C++ 정리
모던 C++ 정리
 
Photo-realistic Single Image Super-resolution using a Generative Adversarial ...
Photo-realistic Single Image Super-resolution using a Generative Adversarial ...Photo-realistic Single Image Super-resolution using a Generative Adversarial ...
Photo-realistic Single Image Super-resolution using a Generative Adversarial ...
 
LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)
LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)
LSGAN - SIMPle(Simple Idea Meaningful Performance Level up)
 
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
InfoGAN : Interpretable Representation Learning by Information Maximizing Gen...
 
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
 
PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)
 
Deep Convolutional GANs - meaning of latent space
Deep Convolutional GANs - meaning of latent spaceDeep Convolutional GANs - meaning of latent space
Deep Convolutional GANs - meaning of latent space
 
쉽게 설명하는 GAN (What is this? Gum? It's GAN.)
쉽게 설명하는 GAN (What is this? Gum? It's GAN.)쉽게 설명하는 GAN (What is this? Gum? It's GAN.)
쉽게 설명하는 GAN (What is this? Gum? It's GAN.)
 
문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)
문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)
문서와 개발에 필요한 간단한 팁들(Too easy, but important things - document, development)
 
신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)
신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)
신뢰 전파 기법을 이용한 스테레오 정합(Stereo matching using belief propagation algorithm)
 
HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법
HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법
HSV 컬러 공간에서의 레티넥스와 채도 보정을 이용한 화질 개선 기법
 
QT 프로그래밍 기초(basic of QT programming tutorial)
QT 프로그래밍 기초(basic of QT programming tutorial)QT 프로그래밍 기초(basic of QT programming tutorial)
QT 프로그래밍 기초(basic of QT programming tutorial)
 
Continuously Adaptive Mean Shift(CAMSHIFT)
Continuously Adaptive Mean Shift(CAMSHIFT)Continuously Adaptive Mean Shift(CAMSHIFT)
Continuously Adaptive Mean Shift(CAMSHIFT)
 
Mobile Robot PD and DOB control
Mobile Robot PD and DOB controlMobile Robot PD and DOB control
Mobile Robot PD and DOB control
 
딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)
딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)
딥러닝 기초 - XOR 문제와 딥뉴럴넷(Basic of DL - XOR problem and DNN)
 

Recently uploaded

JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례JMP Korea
 
JMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement MethodologyJMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement MethodologyJMP Korea
 
공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화JMP Korea
 
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개JMP Korea
 
데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법JMP Korea
 
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?Jay Park
 
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석JMP Korea
 
JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!JMP Korea
 

Recently uploaded (8)

JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례
 
JMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement MethodologyJMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
 
공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화
 
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
 
데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법
 
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
 
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
 
JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!
 

basic of deep learning

  • 1. Basic of Deep Learning Deep Learning Study Hansol Kang : 2주차
  • 3. Introduction 한 장으로 보는 딥러닝 2019-07-01 3 1957, 1960 1969 1986 2006 퍼셉트론 개념 처음 등장 Widrow and Hoff: Adaline/Madaline (~1960) Frank Rosenblatt (1957) Backpropagation Geoffrey Hinton “이렇게 하면 됨” MLP는 풀 수 없는 문제 “그거 인간이 못 품” Marvin Minsky, founder of the MIT AI Lab (1969) Geoffrey Hinton Vanishing gradient 해결 “비선형성과 초기화에 대해 잘못 이해 있었음” 그래디언트가 없어져요 :( SVM 떡상 :) 90년대
  • 4. Basic of DL 뉴렬넷/MLP(다층 퍼셉트론)이란 무엇인가 2019-07-01 4 단일 퍼셉트론을 여러 층 쌓은 것. i x ij w jk w k y j b k b j i ij b x w +  k j i ij jk b b x w f w + + ) ( 
  • 5. Basic of DL 학습이란 무엇인가 2019-07-01 5 모델과 비용함수를 정의함 “비용이 최소가 되는 모델의 파라미터를 찾는 것!” Linear Regression Logistic Regression b x w x y + = = T H ) ( ˆ 2 ) ( 2 1 ) ( cost ) (H y x b w, − = ) ( ) ( 1 1 1 1 )) ( ( ˆ b x W x x y + − − + = + = = T e e H g H ) ˆ 1 log( ) 1 ( ) ˆ log( ) ( cost y y y y − − − − = b w, Model : Cost :
  • 6. Basic of DL Gradient Descent/Backpropagation 2019-07-01 6 Gradient Descent : 기울기가 작은 쪽으로 이동함. 2 ) ( 2 1 ) ( cost ) (H y x b w, − = 2 ) ( 2 1 1 ) (H - ) (t y x w w w −   = +  Intuition : 기울기가 작은 곳(극 값)으로 오면 변화가 적음
  • 7. Basic of DL Gradient Descent/Backpropagation 2019-07-01 7 Backpropagation : 출력 쪽 노드부터 파라미터를 갱신함. i x ij w jk w k y j b k b j ij k jk b w b w 갱신 순서
  • 8. Basic of DL Gradient Descent/Backpropagation 2019-07-01 8 Backpropagation : 출력 쪽 노드부터 파라미터를 갱신함. jk k k k k k k jk w s s y y e e E w E         =   jk w k y k b 2 2 1 k e E = k dk k y y e − = 앞서 봤던 비용과 동일 ) ( k j jk k k b y w s y + = 비선형 함수 “나머지 파라미터에 대해서도 해볼 것” j k k jk y s f e w E ) ( '  =  
  • 9. Basic of DL Softmax 분류 (Multinomial classification) 2019-07-01 9  = = N k x x i k i e e ) (x 1 softmax jk w k y k b 비선형성을 가지는 확률(or 합이 1이 되게 normalize) “One hot encoding으로 해석함.” 해당 노드 전체 노드
  • 10. Basic of DL CNN의 구조 2019-07-01 10 1 2 + − + = S FH P H OH 1 2 + − + = S FW P W OW 1 2 3 0 0 1 2 3 3 0 1 2 2 3 0 1 2 0 1 0 1 2 1 0 2 7 12 10 2 4 15 16 10 10 6 15 6 8 10 4 3 * =
  • 11. Basic of DL CNN의 응용 2019-07-01 11 Strided Convolution Fractional Convolution(Transposed Convolution)
  • 12. Detection with DL Detection 종류 2019-07-01 12 Detection with DL 1 Step method 2 Step method • 진정한 의미의 end-to-end 구조 • 빠른 detection 속도 • eg. YOLO 계열 • Region proposal and detection 구조 • 속도는 느리나 정확도가 높음 • eg. R-CNN 계열 “Competition에서 중요한 것은 정확도로 2 step method를 지향”
  • 13. Detection with DL R-CNN 2019-07-01 13 • SS(Selective Search)를 통한 region proposal 사용 • 제안 받은 영역을 CNN을 통해 특징을 추출하고, 이를 SVM으로 구분함. • SS : Exhaustive + Segmentation 기법 융합. • Segmentation : 시드 영역을 기반으로 주변 그룹과 Similarity(색상, 크기 등등 4가지 지표)를 비교하여 그룹 확장 • Region proposal • Classification • BB regression
  • 14. Summary 정리 2019-07-01 14 • 딥러닝의 간단한 개념들(model, cost, bp, and etc.)에 대해 복습함. • CNN의 기본 구조는 conv net과 pool 이지만, 최신 트렌드에서는 pool을 사용하지 않음. • Detection에 있어서 1 step과 2step 방법이 있는데 본 연구에서는 2 step method를 지향함. • R-CNN은 기본적으로 별도의 region proposal 구조로 부터 영역을 제안 받아 이를 구분하는 작업을 수행함.