SlideShare a Scribd company logo
인공지능 방법론
Deep Learning 쉽게 이해하기
OSIA 딥러닝 강좌
2017. 6. 29 (목)
서울대학교 바이오지능연구실
김 병 희 연구원
bhkim@bi.snu.ac.kr
목차
 Part 1: 인공지능과 딥러닝 개요
 Part 2: 딥러닝을 이용한 지능 구현 사례
▪ Deep Learning + Image 사례
▪ Deep Learning + Sequence 사례
▪ Deep Learning + Image & Sequence 사례
▪ Deep Learning 기타 사례
 인공지능 & 딥러닝 동향 및 전망
 부록
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 2
Intro
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 3
Slide by Jiqiong Qiu at DevFest 2016
http://www.slideshare.net/SfeirGroup/first-step-deep-learning-by-jiqiong-qiu-devfest-2016
인공지능
머신러닝
(기계학습)
딥러닝
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 4
Image source: https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-deep-learning-ai/
인공지능(AI)
 “사람처럼 생각하고 사람처럼 행동하는 기계”(컴퓨터, SW)를 개발
 사람이 기계보다 잘 하는 일을 기계가 할 수 있도록 하는 연구
 지능을 필요로 하는 일을 기계가 할 수 있도록 하는 연구
 1950: Turing’s Paper, 1956: “Artificial Intelligence (AI)”
5(KIPS 2016 Conference Keynote by Byoung-Tak Zhang)© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
인공지능 구현의 전략: 학습
 AI 연구의 목표는 ‘똑똑한‘ 컴퓨터/기계를 만드는 것
 컴퓨터의 동작이 지적이고(intelligent), 상황에 따라 적절히
변하며(adaptive), 안정적(robust)이길 원함
 사람이 일일이 프로그램을 작성하는 것은 불가능
 해법? 컴퓨터에게 우리가 원하는 동작의 예를 보여주고,
스스로 프로그램을 작성하도록 하자!
 이것이 AI 구현 전략 중 ‘학습(learning)‘ 기법
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 6
cat car
(Sam Roweis, MLSS’05 Lecture Note)
어떻게 똑똑한 컴퓨터 시스템을 만들 것인가?
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 7(CIKM 2013 Keynote by Jeff Dean)
세상(world)을 인식하고 이해할 필요가 있다
기본적인 음성 및 시각 능력
언어 이해
행동 예측
…
음성 언어를 인식하고 이해하고 대응하는 S/W
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 8
딥러닝이 있기에 가능하다 ‘Hound’ by Soundhound
(Figure from ICML 2014 tutorial by Li Deng)
딥러닝, 음성 인식의 수준을 한 단계 올리다
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 9
단어 수가 적은
제한적 상황
단어 수가 많은
일상적 상황
• 전화통화음성 자동 인식
문제(switchboard)에서 99년 이후
10여년 동안 성능 정체
• Microsoft Research: 2010년
딥러닝 기술로 단어 인식
오류율을 ~23% 에서 <15% 로
줄임(Rick Rashid’s의 시연에서는
7% 이하)!
• Google: 2012년부터 딥러닝 적용.
2015년 RNN 기반으로 성능 대폭
향상
• IBM Watson 팀은 switchboard 에
대해 2015년 오류율 8%, 2017년
5.5%를 달성 (사람: 5.1%)
Intelligent Personal Assistant Program
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 10
https://www.yahoo.com/tech/inside-look-
microsofts-cortana-163814879.html (2:20)
24me quip
voice-enabled AI
Personal Assistant/Robot at Home
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 11
Pepper
Amazon Echo “Alexa”
Google Home
Jibo
자율주행 자동차 (Autonomous Car)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 12
Grand Challenge
2005
Urban Challenge
2007
Self-driving Cars
2009 ~
자율주행 자동차 (Autonomous Car)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 13
Image from http://www.novatel.com/industries/autonomous-vehicles/#technology
시각 인지 능력 필수 (보행자, 도로/보도, 도로 표지판, …)
딥러닝, 시각 인지 수준을 한 단계 올리다
• ImageNet: 3만 가지 이상의 카테고리,
1천5백만여 장의 사진 DB
• 대회용으로 일부 데이터를 선별
 2012년도: Alex Krizhevsky 등은
computer vision (CV) 기법을 사
용하지 않고, 기존 CV 전문가들과
큰 격차로 1위 차지(AlexNet)
 2015년도: 인간보다 인식율 향상.
상위 결과는 모두 딥러닝 적용
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 14
어떻게 똑똑한 컴퓨터 시스템을 만들 것인가?
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 15
세상(world)을 인식하고 이해할 필요가 있다
기본적인 음성 및 시각 능력
언어 이해
행동 예측
컴퓨터 비전
Computer Vision
자연언어 처리/이해
Natural Language
Processing / Understanding
음성 인식
Speech Recognition
+ 지능적인 행동을 해야 한다 지능형 에이전트
Intelligent Agent
16
지능형 에이전트(Intelligent Agents)
Autonomous Agents
Biological Agents Robotic Agents Computational Agents
Software Agents Artificial Life
Agents
Entertainment
Agents
Task-specific
Agents
Viruses
(KIPS 2016 Conference Keynote by Byoung-Tak Zhang)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
지각, 행동, 인지 (Perception, Action and Cognition)
에이전트(Agent)
환경(Environment)
What is the world
like now
Action
to be done
Perception
Actuators
Action
Cognition
• An agent is anything that can
▪ Perceive its environment through sensors, and
▪ Act upon that environment through actuators
17(KIPS 2016 Conference Keynote by Byoung-Tak Zhang)© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
게임 인공지능
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 18
IBM Watson
IBM Deep Blue가 체스 세계챔피언
G. Kasparov를 이김 (1997)
IBM Watson이 퀴즈대회(Jeopardy)에서
두 명의 챔피언을 상대로 우승 (2011)
학습을 통해 최선의 전략과 행동 능력 습득 필요
컴퓨터 게임
오프라인 게임
• 게임에서 플레이어의 패턴을 학습하고
모방하여 인간 수준의 플레이 실현.
• 플레이어 수준에 따른 맞춤형 상대 제공
Half-Life 2
딥러닝, 게임의 최고수를 만들어내다
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 19
고전 Atari 게임 중
다수에서 사람 수준을
뛰어넘음(2015)
바둑에서 세계 최정상 기사급의
실력을 선보임(2016)
예) 벽돌깨기
자동차 주행 게임
AI는 새로운 전기(electricity, 원동력)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 20
인공지능은
새로운 전기(원동력)이며,
데이터는
새로운 석유(연료)입니다.
- Juliette Powell, 2016
(Founder at Turing AI and WeTheData.com)
머신러닝과 딥러닝 빠르게 이해하기
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 21
머신러닝 (Machine Learning, ML)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 22
Q. If the season is dry and the pavement is slippery, did it rain?
A. Unlikely, it is more likely that the sprinkler was ON
기계가 자동으로
대규모 데이터에서
중요한 패턴과 규칙을 학습하고
의사결정, 예측 등을 수행하는 기술
음성 인식
영상 인식
추론, 질의응답
사진 태그 생성
사진 설명 성생
얼굴 기반 감정 인식
머신러닝의 세 가지 기본 학습 모드
 Supervised Learning (감독학습, 지도학습, 교사학습)
▪ 레이블(미리 정해놓은 정답) 달린 예제로 학습하기
▪ 예제가 매우 많은 경우 효과적인 학습이 가능하다
▪ 예) 분류(classification): 레이블이 이산적인(discrete) 경우.
▪ 예) 회귀(regression): 레이블이 연속적 값을 가지는 경우
 Unsupervised Learning (무감독학습, 비지도학습, 비교사학습)
▪ 데이터에 내재된 패턴, 특성, 구조를 학습을 통해 발견. 레이블은 고려하지
않음
▪ 학습 데이터는 개체에 대한 입력 속성만으로 구성됨 D={(x)}
▪ 예: 차원 축소(dimension reduction), 군집화(clustering)
 Reinforcement Learning (강화학습)
▪ 시스템의 동작이 적절성(right/wrong)에 대한 피드백이 있는 학습
▪ 소프트웨어 에이전트가, 환경(environment) 내에서 보상(rewards)이 최대화
되는 일련의 행동(action)을 수행하도록 학습하는 기법
▪ 환경의 상태, 에이전트의 행동, 상태 전이 규칙 및 보상, 관측 범위를 고려한
학습
▪ Action selection, planning, policy learning
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 23
𝑥 → 𝑦
𝑓
𝑝(𝑥)
Supervised Learning
 Mapping from A to B
 Learning from data on (A, B) pairs
 사례
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 24
인간의 지능과 비교할 때 매우 제한적인 기술
이미 이 단계의 AI 기술만으로도 엄청난 경제적 효과 보고 있음
A B
Email 스팸 여부 (0 or 1)
Image (사진) object (1, 2, …, 1000)
Audio (음성) Text (글)
영어 문장 한국어 문장
Text (글) Audio (음성)
Ad/user click ? (0 or 1)
(contents from Andrew Ng’s Lecture at Stanford MSx Future Forum, 2017-01-25)
연결주의(connectionism)
 인공지능, 인지과학 등에서 사용하는 신경 정보 처리(neural
information processing)에 대한 대표적 모델 중 하나
▪ 단순한 요소로 구성된 망(network)에서 지적 능력의 발현과 설명을
시도
 인공신경망(artificial neural networks)
▪ 신경세포(뉴런)의 망으로 구성된 뇌를 모사하여 계산 모델을 구성
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 25
입력 출력
정보의 흐름(feedforward)
딥러닝(Deep Learning)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 26
(출처: Y. Bengio, Deep Learning Summer School 2015)
흰 부분: 사람이 개입, 회색 부분: 컴퓨터가 자동으로 수행
GoogLeNet
DeepFace
Convolutional NN
Stacked RBM
Neural
Machine Translator
딥 러닝 기술은 사진 속 물체 인식/판별, 음성 인식, 자연언어 처리와 이해,
자동 번역 등 인공지능의 난제에서 획기적인 성능 향상을 보이고 있다.
• (좁은 의미)인공신경망의 다층 구조가 심화된 알고리즘
• 여러 단계의 정보 표현과 추상화를 학습하는
최신 머신러닝 알고리즘의 총칭
Deep Q Network
딥러닝(Deep Learning)
 필기체 숫자 인식 사례
▪ Input: 숫자 사진
▪ Output: 해당 숫자
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 27
(출처: Y. Bengio, Deep Learning Summer School 2015)
흰 부분: 사람이 개입, 회색 부분: 컴퓨터가 자동으로 수행
https://computervisionblog.wordpress.com/category/computer-vision/
http://blog.csdn.net/u010025211/article/details/49995035
딥러닝 모델의 특징
 다층 구조(multi layer, deep)
▪ 두뇌 신경망의 구조 모사
▪ 상위 층으로 갈수록 보다 추상화된 ‘정보가‘ 학습
과정에서 자동으로 생성될 것으로 기대(bottom-up,
learning through layers)
 문제 해결 과정을 학습을 통해 최대한 자동화
(end-to-end)
▪ 인간 ‘전문가’의 개입을 최대한 배제하고 오직
raw input과 output 사이의 모든 과정을 데이터에
서 학습하는 방향 추구
 분산 표현/정보처리(distributed
representation)
▪ 두뇌의 또 다른 중요한 특징 모방
▪ 여러 뉴런이 협력하여 정보 저장/처리
 Compositionality
▪ 모듈을 조합하여 복잡한 모델 구성
▪ 모듈을 ‘발견’하고 재사용하여 보다 큰 모듈 구성
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 28
음성 인식 및 번역을 위한
딥러닝 모델 사례(Baidu)
신경망의 주요 구성 형태: 망의 구조
 완전연결망(fully-connected)
▪ 두 층 노드간 모든 연결선 존재
 컨벌루션망(convolutional)
▪ 여러 노드가 가중치 공유
▪ Max pooling으로 줌아웃
 순환망(recurrent)
▪ 연속적 데이터의 패턴 인식을 위한
신경망
▪ 한 노드의 출력값, 상태값을 되돌려
추가로 입력
▪ 간단한 저장장치(memory)를 장착한
효과
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 29
딥 구조를 가능하게 한 해법
 완전연결망(fully-connected)
▪ Deep Belief Net (DBN): RBM의
반복적 층 구성
▪ 학습기법으로 Contrastive
divergence (CD) 도입
▪ DBN (deep belief network)
(2006)
 컨벌루션망(convolutional)
▪ LeNet: 컨벌루션 + Max pooling
반복 (1989)
▪ CNN (convolutional neural
network)
 순환망(recurrent)
▪ RNN (recurrent neural network)
▪ Long Short-Term Memory
(LSTM) (1997)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 30
다시 보는 최신 딥러닝 모델:
Baidu DeepSpeech 2 (2015.12)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 31
https://www.youtube.com/watch?v=IFPwMKbdQnI
Baidu, DeepSpeech2 (2015)
하나의 딥러닝 모델로, 영어와 중국어를 모두 인식
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 32
(contents from Andrew Ng’s Lecture on Machine Learning)
DEEP DREAM & DEEP ART 체험
사례: Deep Learning + Image
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 33
Deep Dream & Deep Art 체험하기
 Deep Dream
▪ http://deepdreamgenerator.com/
▪ 1단계: 사진 업로드
▪ 2단계: 온라인에서 바로 결과 확인
▪ 3단계: 개인 계정 생성, dream
control하여 다양한 결과 확인하기
 Deep Art
▪ https://deepart.io/
▪ 1단계: 사진 업로드
▪ 2단계: 스타일을 뽑을 사진 업로드
▪ 3단계: e-mail로 결과 받기
▪ For Videos
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 34
DeepDream
 neural networks that were
trained to discriminate between
different kinds of images have
quite a bit of the information
needed to generate images too
 feed the network an arbitrary
image or photo and let the
network analyze the picture
 pick a layer and ask the network
to enhance whatever it detected
35
딥러닝은 아티스트를 위한 도구가 될 수 있다
– a new way to remix visual concepts
https://github.com/google/deepdream
http://deepdreamgenerator.com/
From lower layer
From higher layer
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
DeepDream
36
Dog
Cat
Bird
Images from slides by H. Nobuta from http://www.slideshare.net/HarumitsuNobuta/deep-dream
Original image Inception from 3a Inception from 3b Inception from 4a Inception from 5a
1
2
3
4
0
‘inception’ (pattern)
generation
Backpropagation
(image modified)
Deep neural net that classify images
(example: GoogLeNet trained with ImageNet)
Update pattern with
the modified image
backpropagation
(image modified)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
DeepArt: A Neural Algorithm of Artistic Style
37
Figure from (H. Katoaka, K. Iwata, Y. Satoh, 2015)
http://arxiv.org/pdf/1508.06576v2.pdf
• 딥신경망으로 고급스러운
예술적 이미지를 생성 가능
• 그림의 내용(contents)과
스타일(style)을 구분하여
신경망으로 표현을 학습하고
재조합
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
DeepArt: A Neural Algorithm of Artistic Style
38© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
Artistic Style Image Generation
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 39
음악 생성, 댄스 생성, 필기체 생성
번역
사례: Deep Learning + Sequence
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 40
연속 정보 처리 Deep Learning 적용
 음악생성
▪ RNN으로 재즈 코드 생성한 사례
▪ Google Magenta
▪ Deepmind WaveNet (음성합성 포함)
 댄스 생성
▪ http://peltarion.com/creative-ai
▪ RNN 기반의 DL로 댄스 생성
 필기체 생성
▪ http://www.cs.toronto.edu/~graves/
handwriting.html
▪ 댄스 생성과 유사한 기법이 핵심적
으로 사용됨
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 41
LSTM Realbook: Generation Jazz chord
progressions
42
https://keunwoochoi.wordpress.com/2016/02/19/lstm-realbook/
Char-RNN / Word-RNN
Character(word)-level language models
an LSTM cell
Preprocess into text-format scores
Keras and Theano codes
(https://github.com/keunwoochoi/lstm_real_book)
Dataset configuration
Results (click to hear)© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
RNN 적용 대표 사례: 뉴럴 기계번역
Neural Machine Translation (NMT)
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 43
입력에 대한 RNN과 출력에 대한 RNN을 연결하여 구성
https://translate.google.co.kr/
사진의 설명 문장 자동 생성
사례: Deep Learning + Image & Sequence
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 44
딥러닝 모델의 조합
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 45
(Y. Lecun, Y. Bengio, and G. Hinton, 2015) http://www.nature.com/nature/journal/v521/n7553/fig_tab/nature14539_F3.html
CNN과 RNN을 조합하여 이미지의 캡션을 자동으로 생성
이미지 캡션 생성 모델
46© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
이미지 캡션 생성 사례
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 47
놀라울 정도로 정확한 설명도 나오지만(윗줄), 엉뚱한 결과를 내기도 한다(하단)
투자, 분석, 거래, 탐지
사례: Deep Learning + 금융
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 48
핀테크 사례 : Paypal
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 49
시가 총액
• 트위터나 넷플릭스보다 높고
모회사였던 ebay를 추월
• 3000여 개의 특징을 가지는
복잡한 데이터
• 딥러닝 머신러닝 모델
• 고객 정보로 테스트해본 결과
85%의 성능으로 사기/일반 거래 예측
• 2015년 모회사인 ebay에서 분사
빅 데이터와 딥러닝-머신러닝의 결합
은행 기술 핀테크
Binatix: 딥러닝 기반 거래 기술로 수익 창출
 딥러닝을 이용한 자기자본투자 회사 (proprietary trading company) (2011~)
▪ Side 비즈니스로 헷지 펀드도 관리
 회사 정보와 투자 활동은 철저히 비밀리에 이루어지고 있음
 “지난 3년간 매우 성공적이었습니다. 우리가 단순한 행운 덕이 아닌 맥점을 짚고
있다고 확신합니다.” (Itamar Arel, CTO, 2014년 9월 인터뷰)
 딥러닝의 활용
▪ 다중 시간 단위 패턴 분석: 일, 주, 월, 계절, 년, …
▪ 시계열 예측 기반 주식 거래
▪ 알파고에도 적용된 ‘딥 강화 학습 기법’도 적용하고 있는 것으로 예상됨
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 50
Ben-Efraim (CEO)과 Itamar Arel (CTO) 홈페이지는 1장의 그림 뿐
Kensho WallStreet 전문가를 위협하는 AI
• Warren: S/W solution on Big Data, Natural Language, Actionable Insights
- 빅데이터 분석을 통해 전 세계 주요 사건이 경제 시장에 미치는 영향을 분석, 시각화
(visualization), 보고서 자동 생성
- Google 스타일 검색: 자연어를 입력하여 결과를 확인
- 9만여 가지 동향/지표 추적 (통화정책 변경, 신약 승인, 경제보고서, …)
- 1억 가지 타입의 경제 관련 질문에 대답 가능 (quant army로 비유)
- 예) 3등급 허리케인이 플로리다를 강타할 때 어떤 시멘트 주식이 가장 오를까?
- 골드만삭스 및 CNBC와 협약. CIA도 사용
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 51
(vs. Bloomberg, Thomson Reuters, Bridgewater Associates)
CNBC - ‘Kensho STATS Box’
2016-4-22, Apple 주식이 1달 사이 1% 하락
CNBC, ‘Ask Kensho’
Deep Learning 사례 – 음성, 사진
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 52
실시간 음성대화 번역 얼굴 인식 시스템 고도화
• Facebook DeepFace
• 2D+3D: 여러 각도에서 인식 가능
• Google FaceNet
• 다양한 포즈, 조명 하에서도 인식
사진 자동 추상화 / 합성
• Google DeepDream
• 딥러닝을 이용한 추상화, 꿈 속 영상
• Google DeepStereo
• 사진을 합성, 다른 각도의 사진 생성
음성인식 전 과정 자동화
Baidu DeepSpeech
시연
영상
예시
예시
시연
영상
예시
시연
영상
(시연 시작위치 3:02~)
Deep Learning 사례 – 추천, 금융
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 53
사기 탐지
• PayPal
• 0xdata 사의 H2O 머신러닝 플랫폼 기반
투자/거래
• Binatix
• 딥러닝으로 주식 시장의 동적 패턴 대응
• 자기자본거래, 헷지펀드
• Kensho
• 금융거래, 투자 관련 자동 자료 수집,
분석 및 보고, 의사결정 지원
동영상 서비스 관리
• YouTube
• 비정상정 동영상 조회 증가 탐지/관리
• 추천의 기본 틀은 Amazon과 유사
(item-to-item 협업필터링)
추천 시스템
• Netflix 영화 추천
• All-in cloud strategy: AWS + GPU
• 음악 추천
• Google, Spotify, Pandora: 딥러닝을
이용 플레이리스트 자동생성기술 모색
설명
자료
인공지능 & 딥러닝 동향 및 전망
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 54
 게임
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 55
인공지능 기술 회사의 폭발적 증가
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 56http://insights.venturescanner.com/tag/artificial-intelligence/
딥러닝을 필수 기술 요소로 포함하는 사례 증가
http://insights.venturescanner.com/2015/01/29/going-deep-on-deep-learning-technology/
http://www.siemens.com/innovation/en/home/pictures-of-the-future/digitalization-and-software/artificial-intelligence-facts-and-forecasts.htmlFacts and Forecasts: Boom for Learning Systems
The global market for smart
machines is growing by almost
20 percent annually.
‘스마트 머신’의 전세계 시장
규모는 매년 20%씩 증가하고
있다.
딥러닝은 산업계의 새로운 화두
57
출처: https://www.cbinsights.com/blog/deep-learning-ai-startups-market-map-company-list/
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
학계 동향
 Google, Microsoft, Facebook,
Amazon 등의 기업 중심으로 딥러닝
기반 인공지능 연구 주도
▪ 데이터와 컴퓨팅 파워의 규모 + 우수 인력
유치(유명 교수도 학교 그만두고 감)
▪ 회사 자체 AI 연구센터 설립
▪ 비영리 AI 연구기관 설립: PAI, AIAI, OpenAI
(by Elon Musk)
 관련 학회의 폭발적 성장
▪ NIPS: Neural Information Processing
Systems (1986~)
▪ ICML: International Conference on
Machine Learning
• ECML, ACML
▪ AAAI: AAAI Conference on Artificial
Intelligence
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 58
• 2016년에는 공간의 한계로 인해 등록자
수를 5,000 명으로 제한함
• 2016년은 스폰서의 지원도 폭주하여, 더
이상 받지 않는다는 공고까지 나옴
2002~2015년 사이 매년 등록자 수가 기하급수적 증가
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 59
딥러닝의 응용 분야와 사례가 기하급수적으로 증가하고 있다
(Google 내에서 보인 추세가, 전 산업으로 확산되고 있다)
Combining Awesome Models
 Kyunghyun Cho, Deep learning, where are you going?, 2017
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 60
Combining Awesome Models
 https://research.googleblog.com/2017/06/multimodel-multi-task-machine-learning.html
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 61
Smart Machine의 시대
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 62
Siri
Pepper Google CarMIT Jibo
Amazon PrimeAirIBM Watson
• 스마트어드바이저, 지능형로봇, 스마트카 등의 Smart Machine은 IT 역사상
가장 파괴적인 기술이 될 것으로 예측 (Gartner, 2014)
• 인공지능 시장 규모가 10년 뒤 70조 달러를 넘어설 것으로 예측 (YTN, 2015)
The Coming Age of Smart Machines
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 63
에필로그
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 64
DEEP LEARNING 체험하기
참고자료
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 65
체험해봅시다 1: 영어 필기체 합성
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 66
접속
• Alex Graves의 데모 페이지 접속
• http://www.cs.toronto.edu/~graves/handwriting.html
글자입력
• 영어로 100글자까지 ‘Text’란에 입력
• 되도록이면 소문자 위주로 입력하세요.
스타일
• 필기체 스타일 선택: Style
• 글자를 정자체로 쓸지 갈겨 쓸지 선택: bias (오른쪽으로 밀 수록 정자체에 가까움)
샘플
• 몇 개의 필기체를 생성할지 지정
• 각 샘플은 jpg 파일로 다운로드 가능
There’s no place like home.
Let’s count: 1, 2, 3
체험해봅시다 2: 내가 그린 기린 그림
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 67
1. Google AI Experiment 페이지에서 Quick, Draw! 페이지에 접속
https://aiexperiments.withgoogle.com/quick-draw
3. 컴퓨터가 그려달라는 사물을 확인하고
4. 빠르게(20초 이내에) 그리면서
컴퓨터가 얼마나 잘 맞추는지 살펴봅시다
2. 시작 버튼 누르기
체험해봅시다 3: 컴퓨터와 피아노 듀엣
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 68
1. Google AI Experiment 페이지 중 Google Magenta 프로젝트 팀의 데모 접속
https://aiexperiments.withgoogle.com/ai-duet
2. 시작 버튼 누르기 3. AI와 교대로 피아노를 연주하세요
(건반을 마우스로 오래 누르면
길게 소리납니다.)
체험해봅시다 4: 설명으로 사진 찾기
69
http://cs.stanford.edu/people/karpathy/deepimagesent/rankingdemo/
2. 검색 문장을 입력해보세요
예) A city street corner from a park view
[그림 테두리 색]
- 빨강: 부적절한 검색 결과
- 초록: 성공적 검색
- 노랑: top 5에 포함되지 않은 정답 사진
3. 검색된 그림을 클릭하여 분석 결
과를 확인해보세요
1. Andrej Karpathy의 데모 홈페이지에 접속
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
심심할 때 즐기는 딥러닝 데모
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 70
한글 Word2Vec: 한국-서울+도쿄=일본?
(http://w.elnn.kr/search/)
Eyescream Project: 컴퓨터가 자동으로 사진 생성
(http://soumith.ch/eyescream/)
필기체 문장 자동 생성
(http://www.cs.toronto.edu/~graves/handwriting.html )
Deep Dream: 사진을 추상화로 만들기
(http://deepdreamgenerator.com/)
부록 / 미사용 슬라이드
Hot Trends & Frontier
 Learning to Learn and Compositionality
 Generative Models
▪ VAE, GAN, …
 Reasoning with Deep Learning, Schema Networks
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 72
Neural Network 실습
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 73
http://playground.tensorflow.org/
설명, 문제별 풀이: https://cloud.google.com/blog/big-data/2016/07/understanding-neural-networks-with-tensorflow-playground
리뷰: 인공신경망에 쓰이는 활성화 함수
Neural Network Activation Functions
(A. Graves, 2012)
𝑅𝑒𝐿𝑈 𝑥 = max(𝑥, 0)
Rectified Linear Unit
[장점]
• Hidden unit에 sparsity가 나타난다
• Gradient vanishing 문제가 없다
• 계산이 단순해져 학습이 빠르면서
성능 향상에도 일조
- 입력값을 처리하여 ON 또는 OFF 출력. 보통 출력값에 상, 하한을 두려 함
- 신경망에서는 ‘미분 가능한’ smooth한 S자 모양 함수를 적용
- 최근 딥러닝 모델에서는 ReLU를 선호
- 순환신경망 내부에서는 sigmoid와 tanh 함수를 적용함
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 63
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 75
DEEP LEARNING 기반 인공지능의 원동력
왜 지금 딥러닝이 뜨게 되었는가?
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 76
네 가지 원동력
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 77
Computing Power
(특히 GPU 기반
병렬 계산)
Big Data
빅데이터
획기적인
알고리즘
개발 환경의
진화
원동력 1: Computing Power
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 78
Andrew Ng.
딥러닝 모델 학습에 대규모로 GPU를 적용하여
획기적 속도 향상됨을 보임
(DBN 알고리즘의 경우 70배)
컴퓨터의 계산 속도 향상으로 대규모 모델 학습 가능
특히, Graphics Processing Unit으로 CPU보다 빠르게 병렬 계산 가능
원동력 2: 빅데이터
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 79
지능형 시스템 구성에 필요한 기초적 데이터가 얼마든지 제공된다
글자(text) 시각 정보(visual) 소리 정보(audio)
사용자 행동
(activity)
지식 체계
(knowledge graph)
센서 정보
(sensor)
사진
동영상
검색, 클릭, …
원동력 2: 빅데이터
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 80
디지털 공간 전체가 AI를 보다 스마트하게 가르칠 수 있는 환경이 되고 있다.
위키피디아
인터넷 사용 기록
(web cookies, online footprints, …)
이십여 년 이상 누적된
전세계 검색 기록
대용량 DB
대용량 저장 장치
Wikipedia 등의 무료 정보원사물인터넷
클라우드 컴퓨팅
원동력 3: 획기적인 알고리즘
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 81
학계와 기업의 최고 인력이 새로운 ML/DL 기반 AI 해법을 쏟아내고 있다.
Convolutional NN
Stacked RBM
DeepFace
GoogLeNet
Neural
Machine Translator
Deep Q Network
원동력 3: 획기적인 알고리즘
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 82
학계와 기업의 최고 인력이 새로운 ML/DL 기반 AI 해법을 쏟아내고 있다.
원동력 4: 개발 환경의 진화
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 83
[클라우드 + ML/DL] [공개 소프트웨어: 개방, 공유, 협업]
https://github.com/Microsoft/CNTK
https://github.com/tensorflow/tensorflow
https://github.com/Theano/Theano
https://github.com/torch/torch7
https://github.com/BVLC/caffe
클라우드 기반 머신러닝 기술
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 84
클라우드(Cloud) 환경에서 빅데이터(Bid Data)를 활용하는 머신러닝(Machine
Learning) 기술이 지능형 서비스/솔루션의 핵심 포맷으로 부각되고 있다.
https://cloud.google.com/prediction/docs
http://azure.microsoft.com/ko-kr/services/machine-learning/
https://aws.amazon.com/ko/blogs/aws/amazon-machine-learning-make-data-
driven-decisions-at-scale/
http://www.ibm.com/cloud-computing/bluemix/
공개 Deep Learning 개발도구 확산
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 85
개발도구명
Core
language
Library type
Auto. gradient
computation
CPU GPU
Multi-G
PU 지원
라이선스
종류
상업화 가능성
Theano Python
Numerical comp
utation
Flexible ✓ ✓ x BSD ✓ 저작권 고지
Google
TensorFlow
Python
Numerical
computation,
deep learning
models
Flexible ✓ ✓ ✓ Apache 2.0
✓ 저작권 고지, 라이센스 사본
첨부
Microsoft
CNTK
C++
Numerical
Computation
Flexible ✓ ✓ ✓ MIT
✓ 저작권 고지, 라이센스 사본
첨부
Samsung
Veles
Python
Deep learning
models
Restricted ✓ ✓
Not spec
ified
Apache 2.0
✓ 저작권 고지, 라이센스 사본
첨부
Caffe C++
Deep learning
models
Restricted ✓ ✓ ✓ BSD ✓ 저작권 고지
Torch Lua
Numerical
computation,
deep learning
models
Flexible ✓ ✓ ✓ BSD ✓ 저작권 고지
Keras
Python (usin
g Theano or
Tensorflow)
Deep learning
models
Restricted ✓ ✓ ✓ MIT
✓ 저작권 고지, 라이센스 사본
첨부
Blocks
Python (usin
g Theano)
Deep learning
models
Restricted ✓ ✓ x MIT
✓ 저작권 고지, 라이센스 사본
첨부
Lasagne
Python (usin
g Theano)
Deep learning
models
Restricted ✓ ✓ x MIT
✓ 저작권 고지, 라이센스 사본
첨부
DEEP LEARNING 배우기
참고자료
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 86
실행 환경 설정하기 – 하드웨어(H/W)
 일반 PC로도 가능
 고성능(고가) GPU가 있으면 금상첨화
▪ GTX Titan X
▪ GTX 960~980
 클라우드 컴퓨팅 활용
▪ 본격적인 개발/서비스를 위한 유료 클라우드
솔루션 활용
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 87
실행 환경 설정하기 – 소프트웨어(S/W)
 언어 선택: C++, Python, Lua, …
 운영체제: Windows, Linux, OSX
 라이브러리 선택
▪ 주요 공개 도구 중 선택
▪ 튜토리얼 따라하기
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 88
영어 자료는 매우 많습니다.
 Summer School
▪ Deep Learning Summer School 2015 (video)
▪ Machine Learning Summer School
 Free online media
▪ Stanford의 “CS231n: Convolutional Neural Networks for Visual Recognition” 강좌
(http://cs231n.stanford.edu/) (강추!)
▪ 온라인 교재(http://neuralnetworksanddeeplearning.com/) (필독!)
▪ Videoletcures.net, techtalks.tv 등에서 summer school 강의 등 시청
▪ Slideshare.net에서 슬라이드 검색
▪ Deeplearning.net에서 딥러닝 관련 정보 확인
 MOOC (Massive open online course) 온라인 강의
▪ Deep Learning @ Udacity: https://www.udacity.com/course/deep-learning--ud730
• Google Brain 팀의 강사진의 강의. TensorFlow로 과제와 프로젝트 수행
▪ Deep Learning Courses @ NVIDIA Developer: https://developer.nvidia.com/deep-learning-
courses
• 딥러닝의 기본 개념과 주요 툴에 대해 빠르게 훑어볼 수 있는 미니 코스
• Caffe, Theano, Torch에 대한 기초를 다질 수 있다.
▪ NYU Course on Deep Learning by Yann Lecun:
http://techtalks.tv/deep_learning_nyu_spring_2014/
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 89
딥러닝, 머신러닝 교과서
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 90
For developers and engineersFor researchers (and students)
한국어로 정리된 딥러닝 정보
 훌륭한 번역 자료
▪ 딥 뉴럴 네트워크 소개(번역: 최근우 등) http://deeplearning4j.org/kr-neuralnet-
overview.html
▪ 컨볼루션 네트워크(번역: 최근우 등) http://deeplearning4j.org/kr-
convolutionnets
 SNS에서 확인
▪ Facebook AI Korea (Deep Learning)
https://www.facebook.com/groups/AIKoreaOpen/
 연구자의 블로그/홈페이지를 확인
▪ https://keunwoochoi.wordpress.com/ (최근우, Queen Mary University of London)
▪ http://t-robotics.blogspot.kr/ (엄태웅, 캐나다 Waterloo 대학교 박사과정)
▪ http://hunkim.github.io/ml/ 실습 포함 온라인 강의(Sung Kim(김성훈) 교수, 홍콩과기대)
▪ http://khanrc.tistory.com/category/DataScience/Deep%20Learning
 관련 Community 에서 확인
▪ Team AI Korea http://aikorea.org/ (김지원, SK T Brain)
• https://www.facebook.com/awesomeai/
© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 91

More Related Content

What's hot

[DL輪読会]A System for General In-Hand Object Re-Orientation
[DL輪読会]A System for General In-Hand Object Re-Orientation[DL輪読会]A System for General In-Hand Object Re-Orientation
[DL輪読会]A System for General In-Hand Object Re-Orientation
Deep Learning JP
 
딥러닝 기본 원리의 이해
딥러닝 기본 원리의 이해딥러닝 기본 원리의 이해
딥러닝 기본 원리의 이해
Hee Won Park
 
LLM 모델 기반 서비스 실전 가이드
LLM 모델 기반 서비스 실전 가이드LLM 모델 기반 서비스 실전 가이드
LLM 모델 기반 서비스 실전 가이드
Tae Young Lee
 
자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.
자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.
자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.
Yongho Ha
 
빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?
빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?
빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?
Yongho Ha
 
딥러닝의 기본
딥러닝의 기본딥러닝의 기본
딥러닝의 기본
deepseaswjh
 
SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~
SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~
SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~
SSII
 
[DL Hacks 実装]Attention is All You Need
[DL Hacks 実装]Attention is All You Need[DL Hacks 実装]Attention is All You Need
[DL Hacks 実装]Attention is All You Need
Deep Learning JP
 
[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...
[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...
[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...
Deep Learning JP
 
텐서플로우로 배우는 딥러닝
텐서플로우로 배우는 딥러닝텐서플로우로 배우는 딥러닝
텐서플로우로 배우는 딥러닝
찬웅 주
 
[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions
[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions
[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions
Deep Learning JP
 
The review of 'Explaining nonlinear classification decisions with deep Taylor...
The review of 'Explaining nonlinear classification decisions with deep Taylor...The review of 'Explaining nonlinear classification decisions with deep Taylor...
The review of 'Explaining nonlinear classification decisions with deep Taylor...
tetsuo ishigaki
 
[Dl輪読会]introduction of reinforcement learning
[Dl輪読会]introduction of reinforcement learning[Dl輪読会]introduction of reinforcement learning
[Dl輪読会]introduction of reinforcement learning
Deep Learning JP
 
[기초개념] Recurrent Neural Network (RNN) 소개
[기초개념] Recurrent Neural Network (RNN) 소개[기초개념] Recurrent Neural Network (RNN) 소개
[기초개념] Recurrent Neural Network (RNN) 소개
Donghyeon Kim
 
【チュートリアル】コンピュータビジョンによる動画認識 v2
【チュートリアル】コンピュータビジョンによる動画認識 v2【チュートリアル】コンピュータビジョンによる動画認識 v2
【チュートリアル】コンピュータビジョンによる動画認識 v2
Hirokatsu Kataoka
 
Tensorflow - Intro (2017)
Tensorflow - Intro (2017)Tensorflow - Intro (2017)
Tensorflow - Intro (2017)
Alessio Tonioni
 
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
AWSKRUG - AWS한국사용자모임
 
【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...
【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...
【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...
Deep Learning JP
 
화성에서 온 개발자, 금성에서 온 기획자
화성에서 온 개발자, 금성에서 온 기획자화성에서 온 개발자, 금성에서 온 기획자
화성에서 온 개발자, 금성에서 온 기획자
Yongho Ha
 
SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用
SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用
SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用
SSII
 

What's hot (20)

[DL輪読会]A System for General In-Hand Object Re-Orientation
[DL輪読会]A System for General In-Hand Object Re-Orientation[DL輪読会]A System for General In-Hand Object Re-Orientation
[DL輪読会]A System for General In-Hand Object Re-Orientation
 
딥러닝 기본 원리의 이해
딥러닝 기본 원리의 이해딥러닝 기본 원리의 이해
딥러닝 기본 원리의 이해
 
LLM 모델 기반 서비스 실전 가이드
LLM 모델 기반 서비스 실전 가이드LLM 모델 기반 서비스 실전 가이드
LLM 모델 기반 서비스 실전 가이드
 
자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.
자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.
자습해도 모르겠던 딥러닝, 머리속에 인스톨 시켜드립니다.
 
빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?
빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?
빅데이터, 클라우드, IoT, 머신러닝. 왜 이렇게 많은 것들이 나타날까?
 
딥러닝의 기본
딥러닝의 기본딥러닝의 기본
딥러닝의 기본
 
SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~
SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~
SSII2019TS: Shall We GANs?​ ~GANの基礎から最近の研究まで~
 
[DL Hacks 実装]Attention is All You Need
[DL Hacks 実装]Attention is All You Need[DL Hacks 実装]Attention is All You Need
[DL Hacks 実装]Attention is All You Need
 
[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...
[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...
[DL輪読会]Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-...
 
텐서플로우로 배우는 딥러닝
텐서플로우로 배우는 딥러닝텐서플로우로 배우는 딥러닝
텐서플로우로 배우는 딥러닝
 
[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions
[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions
[DL輪読会]Xception: Deep Learning with Depthwise Separable Convolutions
 
The review of 'Explaining nonlinear classification decisions with deep Taylor...
The review of 'Explaining nonlinear classification decisions with deep Taylor...The review of 'Explaining nonlinear classification decisions with deep Taylor...
The review of 'Explaining nonlinear classification decisions with deep Taylor...
 
[Dl輪読会]introduction of reinforcement learning
[Dl輪読会]introduction of reinforcement learning[Dl輪読会]introduction of reinforcement learning
[Dl輪読会]introduction of reinforcement learning
 
[기초개념] Recurrent Neural Network (RNN) 소개
[기초개념] Recurrent Neural Network (RNN) 소개[기초개념] Recurrent Neural Network (RNN) 소개
[기초개념] Recurrent Neural Network (RNN) 소개
 
【チュートリアル】コンピュータビジョンによる動画認識 v2
【チュートリアル】コンピュータビジョンによる動画認識 v2【チュートリアル】コンピュータビジョンによる動画認識 v2
【チュートリアル】コンピュータビジョンによる動画認識 v2
 
Tensorflow - Intro (2017)
Tensorflow - Intro (2017)Tensorflow - Intro (2017)
Tensorflow - Intro (2017)
 
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
 
【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...
【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...
【DL輪読会】Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space...
 
화성에서 온 개발자, 금성에서 온 기획자
화성에서 온 개발자, 금성에서 온 기획자화성에서 온 개발자, 금성에서 온 기획자
화성에서 온 개발자, 금성에서 온 기획자
 
SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用
SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用
SSII2021 [OS2-03] 自己教師あり学習における対照学習の基礎と応用
 

Viewers also liked

기계학습(Machine learning) 입문하기
기계학습(Machine learning) 입문하기기계학습(Machine learning) 입문하기
기계학습(Machine learning) 입문하기
Terry Taewoong Um
 
Deformable Convolutional Network (2017)
Deformable Convolutional Network (2017)Deformable Convolutional Network (2017)
Deformable Convolutional Network (2017)
Terry Taewoong Um
 
Understanding Black-box Predictions via Influence Functions (2017)
Understanding Black-box Predictions via Influence Functions (2017)Understanding Black-box Predictions via Influence Functions (2017)
Understanding Black-box Predictions via Influence Functions (2017)
Terry Taewoong Um
 
Learning with side information through modality hallucination (2016)
Learning with side information through modality hallucination (2016)Learning with side information through modality hallucination (2016)
Learning with side information through modality hallucination (2016)
Terry Taewoong Um
 
Human Motion Forecasting (Generation) with RNNs
Human Motion Forecasting (Generation) with RNNsHuman Motion Forecasting (Generation) with RNNs
Human Motion Forecasting (Generation) with RNNs
Terry Taewoong Um
 
Introduction to Machine Learning and Deep Learning
Introduction to Machine Learning and Deep LearningIntroduction to Machine Learning and Deep Learning
Introduction to Machine Learning and Deep Learning
Terry Taewoong Um
 

Viewers also liked (6)

기계학습(Machine learning) 입문하기
기계학습(Machine learning) 입문하기기계학습(Machine learning) 입문하기
기계학습(Machine learning) 입문하기
 
Deformable Convolutional Network (2017)
Deformable Convolutional Network (2017)Deformable Convolutional Network (2017)
Deformable Convolutional Network (2017)
 
Understanding Black-box Predictions via Influence Functions (2017)
Understanding Black-box Predictions via Influence Functions (2017)Understanding Black-box Predictions via Influence Functions (2017)
Understanding Black-box Predictions via Influence Functions (2017)
 
Learning with side information through modality hallucination (2016)
Learning with side information through modality hallucination (2016)Learning with side information through modality hallucination (2016)
Learning with side information through modality hallucination (2016)
 
Human Motion Forecasting (Generation) with RNNs
Human Motion Forecasting (Generation) with RNNsHuman Motion Forecasting (Generation) with RNNs
Human Motion Forecasting (Generation) with RNNs
 
Introduction to Machine Learning and Deep Learning
Introduction to Machine Learning and Deep LearningIntroduction to Machine Learning and Deep Learning
Introduction to Machine Learning and Deep Learning
 

Similar to 인공지능 방법론 - Deep Learning 쉽게 이해하기

머신러닝의 개념과 실습
머신러닝의 개념과 실습머신러닝의 개념과 실습
머신러닝의 개념과 실습
Byoung-Hee Kim
 
순환신경망(Recurrent neural networks) 개요
순환신경망(Recurrent neural networks) 개요순환신경망(Recurrent neural networks) 개요
순환신경망(Recurrent neural networks) 개요
Byoung-Hee Kim
 
The bleeding edge of machine learning stream in 2017 - APAC ML/DS Community ...
The bleeding edge of  machine learning stream in 2017 - APAC ML/DS Community ...The bleeding edge of  machine learning stream in 2017 - APAC ML/DS Community ...
The bleeding edge of machine learning stream in 2017 - APAC ML/DS Community ...
Jeongkyu Shin
 
기계 학습의 현재와 미래
기계 학습의 현재와 미래기계 학습의 현재와 미래
기계 학습의 현재와 미래
Joon Kim
 
Workshop 210417 dhlee
Workshop 210417 dhleeWorkshop 210417 dhlee
Workshop 210417 dhlee
Dongheon Lee
 
JIGSAW: Interactive Mobile Visual Search with Multimodal Queries

JIGSAW: Interactive Mobile Visual Search with Multimodal Queries
JIGSAW: Interactive Mobile Visual Search with Multimodal Queries

JIGSAW: Interactive Mobile Visual Search with Multimodal Queries
Sumi Kim
 
Machine learning and deep learning (AiBB Lab)
Machine learning and deep learning (AiBB Lab)Machine learning and deep learning (AiBB Lab)
Machine learning and deep learning (AiBB Lab)
Don Chang
 
파이썬으로 익히는 딥러닝 기본 (18년)
파이썬으로 익히는 딥러닝 기본 (18년)파이썬으로 익히는 딥러닝 기본 (18년)
파이썬으로 익히는 딥러닝 기본 (18년)
SK(주) C&C - 강병호
 
2017 ver. portfolio
2017 ver. portfolio2017 ver. portfolio
2017 ver. portfolio
Jooyeon Jo
 
AI_introduction and requirements(2024.05.12).pdf
AI_introduction and requirements(2024.05.12).pdfAI_introduction and requirements(2024.05.12).pdf
AI_introduction and requirements(2024.05.12).pdf
Lee Chanwoo
 
[컨퍼런스] 모두콘 2018 리뷰
[컨퍼런스] 모두콘 2018 리뷰[컨퍼런스] 모두콘 2018 리뷰
[컨퍼런스] 모두콘 2018 리뷰
Donghyeon Kim
 
Deep Check, 딥러닝 기반의 얼굴인식 출석체크
Deep Check, 딥러닝 기반의 얼굴인식 출석체크Deep Check, 딥러닝 기반의 얼굴인식 출석체크
Deep Check, 딥러닝 기반의 얼굴인식 출석체크
Jiun Bae
 
Deepcheck, 딥러닝 기반의 얼굴인식 출석체크
Deepcheck, 딥러닝 기반의 얼굴인식 출석체크Deepcheck, 딥러닝 기반의 얼굴인식 출석체크
Deepcheck, 딥러닝 기반의 얼굴인식 출석체크
지운 배
 
델켐매거진5호
델켐매거진5호델켐매거진5호
델켐매거진5호
kr_delcam
 
모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육
모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육
모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육
Jong-Hyun Kim
 
What Human Can Do in the Era of AI Robots
What Human Can Do in the Era of AI RobotsWhat Human Can Do in the Era of AI Robots
What Human Can Do in the Era of AI Robots
Min-young Yang
 
안.전.제.일. 강화학습!
안.전.제.일. 강화학습!안.전.제.일. 강화학습!
안.전.제.일. 강화학습!
Dongmin Lee
 
딥러닝 세계에 입문하기 위반 분투
딥러닝 세계에 입문하기 위반 분투딥러닝 세계에 입문하기 위반 분투
딥러닝 세계에 입문하기 위반 분투
Ubuntu Korea Community
 
창의·융합·문제해결을 배우는 메이커 활동 리스트
창의·융합·문제해결을 배우는 메이커 활동 리스트창의·융합·문제해결을 배우는 메이커 활동 리스트
창의·융합·문제해결을 배우는 메이커 활동 리스트
봉조 김
 
딥러닝을 11번가 영상 검색에 활용한 경험 공유
딥러닝을 11번가 영상 검색에 활용한 경험 공유딥러닝을 11번가 영상 검색에 활용한 경험 공유
딥러닝을 11번가 영상 검색에 활용한 경험 공유
혁준 전
 

Similar to 인공지능 방법론 - Deep Learning 쉽게 이해하기 (20)

머신러닝의 개념과 실습
머신러닝의 개념과 실습머신러닝의 개념과 실습
머신러닝의 개념과 실습
 
순환신경망(Recurrent neural networks) 개요
순환신경망(Recurrent neural networks) 개요순환신경망(Recurrent neural networks) 개요
순환신경망(Recurrent neural networks) 개요
 
The bleeding edge of machine learning stream in 2017 - APAC ML/DS Community ...
The bleeding edge of  machine learning stream in 2017 - APAC ML/DS Community ...The bleeding edge of  machine learning stream in 2017 - APAC ML/DS Community ...
The bleeding edge of machine learning stream in 2017 - APAC ML/DS Community ...
 
기계 학습의 현재와 미래
기계 학습의 현재와 미래기계 학습의 현재와 미래
기계 학습의 현재와 미래
 
Workshop 210417 dhlee
Workshop 210417 dhleeWorkshop 210417 dhlee
Workshop 210417 dhlee
 
JIGSAW: Interactive Mobile Visual Search with Multimodal Queries

JIGSAW: Interactive Mobile Visual Search with Multimodal Queries
JIGSAW: Interactive Mobile Visual Search with Multimodal Queries

JIGSAW: Interactive Mobile Visual Search with Multimodal Queries

 
Machine learning and deep learning (AiBB Lab)
Machine learning and deep learning (AiBB Lab)Machine learning and deep learning (AiBB Lab)
Machine learning and deep learning (AiBB Lab)
 
파이썬으로 익히는 딥러닝 기본 (18년)
파이썬으로 익히는 딥러닝 기본 (18년)파이썬으로 익히는 딥러닝 기본 (18년)
파이썬으로 익히는 딥러닝 기본 (18년)
 
2017 ver. portfolio
2017 ver. portfolio2017 ver. portfolio
2017 ver. portfolio
 
AI_introduction and requirements(2024.05.12).pdf
AI_introduction and requirements(2024.05.12).pdfAI_introduction and requirements(2024.05.12).pdf
AI_introduction and requirements(2024.05.12).pdf
 
[컨퍼런스] 모두콘 2018 리뷰
[컨퍼런스] 모두콘 2018 리뷰[컨퍼런스] 모두콘 2018 리뷰
[컨퍼런스] 모두콘 2018 리뷰
 
Deep Check, 딥러닝 기반의 얼굴인식 출석체크
Deep Check, 딥러닝 기반의 얼굴인식 출석체크Deep Check, 딥러닝 기반의 얼굴인식 출석체크
Deep Check, 딥러닝 기반의 얼굴인식 출석체크
 
Deepcheck, 딥러닝 기반의 얼굴인식 출석체크
Deepcheck, 딥러닝 기반의 얼굴인식 출석체크Deepcheck, 딥러닝 기반의 얼굴인식 출석체크
Deepcheck, 딥러닝 기반의 얼굴인식 출석체크
 
델켐매거진5호
델켐매거진5호델켐매거진5호
델켐매거진5호
 
모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육
모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육
모두의 AI 교육 : 산 ⦁ 학 ⦁ 관 협력으로 모색해 보는 부산 AI 교육
 
What Human Can Do in the Era of AI Robots
What Human Can Do in the Era of AI RobotsWhat Human Can Do in the Era of AI Robots
What Human Can Do in the Era of AI Robots
 
안.전.제.일. 강화학습!
안.전.제.일. 강화학습!안.전.제.일. 강화학습!
안.전.제.일. 강화학습!
 
딥러닝 세계에 입문하기 위반 분투
딥러닝 세계에 입문하기 위반 분투딥러닝 세계에 입문하기 위반 분투
딥러닝 세계에 입문하기 위반 분투
 
창의·융합·문제해결을 배우는 메이커 활동 리스트
창의·융합·문제해결을 배우는 메이커 활동 리스트창의·융합·문제해결을 배우는 메이커 활동 리스트
창의·융합·문제해결을 배우는 메이커 활동 리스트
 
딥러닝을 11번가 영상 검색에 활용한 경험 공유
딥러닝을 11번가 영상 검색에 활용한 경험 공유딥러닝을 11번가 영상 검색에 활용한 경험 공유
딥러닝을 11번가 영상 검색에 활용한 경험 공유
 

인공지능 방법론 - Deep Learning 쉽게 이해하기

  • 1. 인공지능 방법론 Deep Learning 쉽게 이해하기 OSIA 딥러닝 강좌 2017. 6. 29 (목) 서울대학교 바이오지능연구실 김 병 희 연구원 bhkim@bi.snu.ac.kr
  • 2. 목차  Part 1: 인공지능과 딥러닝 개요  Part 2: 딥러닝을 이용한 지능 구현 사례 ▪ Deep Learning + Image 사례 ▪ Deep Learning + Sequence 사례 ▪ Deep Learning + Image & Sequence 사례 ▪ Deep Learning 기타 사례  인공지능 & 딥러닝 동향 및 전망  부록 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 2
  • 3. Intro © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 3 Slide by Jiqiong Qiu at DevFest 2016 http://www.slideshare.net/SfeirGroup/first-step-deep-learning-by-jiqiong-qiu-devfest-2016 인공지능 머신러닝 (기계학습) 딥러닝
  • 4. © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 4 Image source: https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-deep-learning-ai/
  • 5. 인공지능(AI)  “사람처럼 생각하고 사람처럼 행동하는 기계”(컴퓨터, SW)를 개발  사람이 기계보다 잘 하는 일을 기계가 할 수 있도록 하는 연구  지능을 필요로 하는 일을 기계가 할 수 있도록 하는 연구  1950: Turing’s Paper, 1956: “Artificial Intelligence (AI)” 5(KIPS 2016 Conference Keynote by Byoung-Tak Zhang)© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 6. 인공지능 구현의 전략: 학습  AI 연구의 목표는 ‘똑똑한‘ 컴퓨터/기계를 만드는 것  컴퓨터의 동작이 지적이고(intelligent), 상황에 따라 적절히 변하며(adaptive), 안정적(robust)이길 원함  사람이 일일이 프로그램을 작성하는 것은 불가능  해법? 컴퓨터에게 우리가 원하는 동작의 예를 보여주고, 스스로 프로그램을 작성하도록 하자!  이것이 AI 구현 전략 중 ‘학습(learning)‘ 기법 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 6 cat car (Sam Roweis, MLSS’05 Lecture Note)
  • 7. 어떻게 똑똑한 컴퓨터 시스템을 만들 것인가? © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 7(CIKM 2013 Keynote by Jeff Dean) 세상(world)을 인식하고 이해할 필요가 있다 기본적인 음성 및 시각 능력 언어 이해 행동 예측 …
  • 8. 음성 언어를 인식하고 이해하고 대응하는 S/W © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 8 딥러닝이 있기에 가능하다 ‘Hound’ by Soundhound
  • 9. (Figure from ICML 2014 tutorial by Li Deng) 딥러닝, 음성 인식의 수준을 한 단계 올리다 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 9 단어 수가 적은 제한적 상황 단어 수가 많은 일상적 상황 • 전화통화음성 자동 인식 문제(switchboard)에서 99년 이후 10여년 동안 성능 정체 • Microsoft Research: 2010년 딥러닝 기술로 단어 인식 오류율을 ~23% 에서 <15% 로 줄임(Rick Rashid’s의 시연에서는 7% 이하)! • Google: 2012년부터 딥러닝 적용. 2015년 RNN 기반으로 성능 대폭 향상 • IBM Watson 팀은 switchboard 에 대해 2015년 오류율 8%, 2017년 5.5%를 달성 (사람: 5.1%)
  • 10. Intelligent Personal Assistant Program © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 10 https://www.yahoo.com/tech/inside-look- microsofts-cortana-163814879.html (2:20) 24me quip voice-enabled AI
  • 11. Personal Assistant/Robot at Home © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 11 Pepper Amazon Echo “Alexa” Google Home Jibo
  • 12. 자율주행 자동차 (Autonomous Car) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 12 Grand Challenge 2005 Urban Challenge 2007 Self-driving Cars 2009 ~
  • 13. 자율주행 자동차 (Autonomous Car) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 13 Image from http://www.novatel.com/industries/autonomous-vehicles/#technology 시각 인지 능력 필수 (보행자, 도로/보도, 도로 표지판, …)
  • 14. 딥러닝, 시각 인지 수준을 한 단계 올리다 • ImageNet: 3만 가지 이상의 카테고리, 1천5백만여 장의 사진 DB • 대회용으로 일부 데이터를 선별  2012년도: Alex Krizhevsky 등은 computer vision (CV) 기법을 사 용하지 않고, 기존 CV 전문가들과 큰 격차로 1위 차지(AlexNet)  2015년도: 인간보다 인식율 향상. 상위 결과는 모두 딥러닝 적용 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 14
  • 15. 어떻게 똑똑한 컴퓨터 시스템을 만들 것인가? © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 15 세상(world)을 인식하고 이해할 필요가 있다 기본적인 음성 및 시각 능력 언어 이해 행동 예측 컴퓨터 비전 Computer Vision 자연언어 처리/이해 Natural Language Processing / Understanding 음성 인식 Speech Recognition + 지능적인 행동을 해야 한다 지능형 에이전트 Intelligent Agent
  • 16. 16 지능형 에이전트(Intelligent Agents) Autonomous Agents Biological Agents Robotic Agents Computational Agents Software Agents Artificial Life Agents Entertainment Agents Task-specific Agents Viruses (KIPS 2016 Conference Keynote by Byoung-Tak Zhang) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 17. 지각, 행동, 인지 (Perception, Action and Cognition) 에이전트(Agent) 환경(Environment) What is the world like now Action to be done Perception Actuators Action Cognition • An agent is anything that can ▪ Perceive its environment through sensors, and ▪ Act upon that environment through actuators 17(KIPS 2016 Conference Keynote by Byoung-Tak Zhang)© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 18. 게임 인공지능 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 18 IBM Watson IBM Deep Blue가 체스 세계챔피언 G. Kasparov를 이김 (1997) IBM Watson이 퀴즈대회(Jeopardy)에서 두 명의 챔피언을 상대로 우승 (2011) 학습을 통해 최선의 전략과 행동 능력 습득 필요 컴퓨터 게임 오프라인 게임 • 게임에서 플레이어의 패턴을 학습하고 모방하여 인간 수준의 플레이 실현. • 플레이어 수준에 따른 맞춤형 상대 제공 Half-Life 2
  • 19. 딥러닝, 게임의 최고수를 만들어내다 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 19 고전 Atari 게임 중 다수에서 사람 수준을 뛰어넘음(2015) 바둑에서 세계 최정상 기사급의 실력을 선보임(2016) 예) 벽돌깨기 자동차 주행 게임
  • 20. AI는 새로운 전기(electricity, 원동력) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 20 인공지능은 새로운 전기(원동력)이며, 데이터는 새로운 석유(연료)입니다. - Juliette Powell, 2016 (Founder at Turing AI and WeTheData.com)
  • 21. 머신러닝과 딥러닝 빠르게 이해하기 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 21
  • 22. 머신러닝 (Machine Learning, ML) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 22 Q. If the season is dry and the pavement is slippery, did it rain? A. Unlikely, it is more likely that the sprinkler was ON 기계가 자동으로 대규모 데이터에서 중요한 패턴과 규칙을 학습하고 의사결정, 예측 등을 수행하는 기술 음성 인식 영상 인식 추론, 질의응답 사진 태그 생성 사진 설명 성생 얼굴 기반 감정 인식
  • 23. 머신러닝의 세 가지 기본 학습 모드  Supervised Learning (감독학습, 지도학습, 교사학습) ▪ 레이블(미리 정해놓은 정답) 달린 예제로 학습하기 ▪ 예제가 매우 많은 경우 효과적인 학습이 가능하다 ▪ 예) 분류(classification): 레이블이 이산적인(discrete) 경우. ▪ 예) 회귀(regression): 레이블이 연속적 값을 가지는 경우  Unsupervised Learning (무감독학습, 비지도학습, 비교사학습) ▪ 데이터에 내재된 패턴, 특성, 구조를 학습을 통해 발견. 레이블은 고려하지 않음 ▪ 학습 데이터는 개체에 대한 입력 속성만으로 구성됨 D={(x)} ▪ 예: 차원 축소(dimension reduction), 군집화(clustering)  Reinforcement Learning (강화학습) ▪ 시스템의 동작이 적절성(right/wrong)에 대한 피드백이 있는 학습 ▪ 소프트웨어 에이전트가, 환경(environment) 내에서 보상(rewards)이 최대화 되는 일련의 행동(action)을 수행하도록 학습하는 기법 ▪ 환경의 상태, 에이전트의 행동, 상태 전이 규칙 및 보상, 관측 범위를 고려한 학습 ▪ Action selection, planning, policy learning © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 23 𝑥 → 𝑦 𝑓 𝑝(𝑥)
  • 24. Supervised Learning  Mapping from A to B  Learning from data on (A, B) pairs  사례 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 24 인간의 지능과 비교할 때 매우 제한적인 기술 이미 이 단계의 AI 기술만으로도 엄청난 경제적 효과 보고 있음 A B Email 스팸 여부 (0 or 1) Image (사진) object (1, 2, …, 1000) Audio (음성) Text (글) 영어 문장 한국어 문장 Text (글) Audio (음성) Ad/user click ? (0 or 1) (contents from Andrew Ng’s Lecture at Stanford MSx Future Forum, 2017-01-25)
  • 25. 연결주의(connectionism)  인공지능, 인지과학 등에서 사용하는 신경 정보 처리(neural information processing)에 대한 대표적 모델 중 하나 ▪ 단순한 요소로 구성된 망(network)에서 지적 능력의 발현과 설명을 시도  인공신경망(artificial neural networks) ▪ 신경세포(뉴런)의 망으로 구성된 뇌를 모사하여 계산 모델을 구성 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 25 입력 출력 정보의 흐름(feedforward)
  • 26. 딥러닝(Deep Learning) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 26 (출처: Y. Bengio, Deep Learning Summer School 2015) 흰 부분: 사람이 개입, 회색 부분: 컴퓨터가 자동으로 수행 GoogLeNet DeepFace Convolutional NN Stacked RBM Neural Machine Translator 딥 러닝 기술은 사진 속 물체 인식/판별, 음성 인식, 자연언어 처리와 이해, 자동 번역 등 인공지능의 난제에서 획기적인 성능 향상을 보이고 있다. • (좁은 의미)인공신경망의 다층 구조가 심화된 알고리즘 • 여러 단계의 정보 표현과 추상화를 학습하는 최신 머신러닝 알고리즘의 총칭 Deep Q Network
  • 27. 딥러닝(Deep Learning)  필기체 숫자 인식 사례 ▪ Input: 숫자 사진 ▪ Output: 해당 숫자 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 27 (출처: Y. Bengio, Deep Learning Summer School 2015) 흰 부분: 사람이 개입, 회색 부분: 컴퓨터가 자동으로 수행 https://computervisionblog.wordpress.com/category/computer-vision/ http://blog.csdn.net/u010025211/article/details/49995035
  • 28. 딥러닝 모델의 특징  다층 구조(multi layer, deep) ▪ 두뇌 신경망의 구조 모사 ▪ 상위 층으로 갈수록 보다 추상화된 ‘정보가‘ 학습 과정에서 자동으로 생성될 것으로 기대(bottom-up, learning through layers)  문제 해결 과정을 학습을 통해 최대한 자동화 (end-to-end) ▪ 인간 ‘전문가’의 개입을 최대한 배제하고 오직 raw input과 output 사이의 모든 과정을 데이터에 서 학습하는 방향 추구  분산 표현/정보처리(distributed representation) ▪ 두뇌의 또 다른 중요한 특징 모방 ▪ 여러 뉴런이 협력하여 정보 저장/처리  Compositionality ▪ 모듈을 조합하여 복잡한 모델 구성 ▪ 모듈을 ‘발견’하고 재사용하여 보다 큰 모듈 구성 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 28 음성 인식 및 번역을 위한 딥러닝 모델 사례(Baidu)
  • 29. 신경망의 주요 구성 형태: 망의 구조  완전연결망(fully-connected) ▪ 두 층 노드간 모든 연결선 존재  컨벌루션망(convolutional) ▪ 여러 노드가 가중치 공유 ▪ Max pooling으로 줌아웃  순환망(recurrent) ▪ 연속적 데이터의 패턴 인식을 위한 신경망 ▪ 한 노드의 출력값, 상태값을 되돌려 추가로 입력 ▪ 간단한 저장장치(memory)를 장착한 효과 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 29
  • 30. 딥 구조를 가능하게 한 해법  완전연결망(fully-connected) ▪ Deep Belief Net (DBN): RBM의 반복적 층 구성 ▪ 학습기법으로 Contrastive divergence (CD) 도입 ▪ DBN (deep belief network) (2006)  컨벌루션망(convolutional) ▪ LeNet: 컨벌루션 + Max pooling 반복 (1989) ▪ CNN (convolutional neural network)  순환망(recurrent) ▪ RNN (recurrent neural network) ▪ Long Short-Term Memory (LSTM) (1997) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 30
  • 31. 다시 보는 최신 딥러닝 모델: Baidu DeepSpeech 2 (2015.12) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 31 https://www.youtube.com/watch?v=IFPwMKbdQnI Baidu, DeepSpeech2 (2015) 하나의 딥러닝 모델로, 영어와 중국어를 모두 인식
  • 32. © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 32 (contents from Andrew Ng’s Lecture on Machine Learning)
  • 33. DEEP DREAM & DEEP ART 체험 사례: Deep Learning + Image © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 33
  • 34. Deep Dream & Deep Art 체험하기  Deep Dream ▪ http://deepdreamgenerator.com/ ▪ 1단계: 사진 업로드 ▪ 2단계: 온라인에서 바로 결과 확인 ▪ 3단계: 개인 계정 생성, dream control하여 다양한 결과 확인하기  Deep Art ▪ https://deepart.io/ ▪ 1단계: 사진 업로드 ▪ 2단계: 스타일을 뽑을 사진 업로드 ▪ 3단계: e-mail로 결과 받기 ▪ For Videos © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 34
  • 35. DeepDream  neural networks that were trained to discriminate between different kinds of images have quite a bit of the information needed to generate images too  feed the network an arbitrary image or photo and let the network analyze the picture  pick a layer and ask the network to enhance whatever it detected 35 딥러닝은 아티스트를 위한 도구가 될 수 있다 – a new way to remix visual concepts https://github.com/google/deepdream http://deepdreamgenerator.com/ From lower layer From higher layer © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 36. DeepDream 36 Dog Cat Bird Images from slides by H. Nobuta from http://www.slideshare.net/HarumitsuNobuta/deep-dream Original image Inception from 3a Inception from 3b Inception from 4a Inception from 5a 1 2 3 4 0 ‘inception’ (pattern) generation Backpropagation (image modified) Deep neural net that classify images (example: GoogLeNet trained with ImageNet) Update pattern with the modified image backpropagation (image modified) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 37. DeepArt: A Neural Algorithm of Artistic Style 37 Figure from (H. Katoaka, K. Iwata, Y. Satoh, 2015) http://arxiv.org/pdf/1508.06576v2.pdf • 딥신경망으로 고급스러운 예술적 이미지를 생성 가능 • 그림의 내용(contents)과 스타일(style)을 구분하여 신경망으로 표현을 학습하고 재조합 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 38. DeepArt: A Neural Algorithm of Artistic Style 38© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 39. Artistic Style Image Generation © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 39
  • 40. 음악 생성, 댄스 생성, 필기체 생성 번역 사례: Deep Learning + Sequence © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 40
  • 41. 연속 정보 처리 Deep Learning 적용  음악생성 ▪ RNN으로 재즈 코드 생성한 사례 ▪ Google Magenta ▪ Deepmind WaveNet (음성합성 포함)  댄스 생성 ▪ http://peltarion.com/creative-ai ▪ RNN 기반의 DL로 댄스 생성  필기체 생성 ▪ http://www.cs.toronto.edu/~graves/ handwriting.html ▪ 댄스 생성과 유사한 기법이 핵심적 으로 사용됨 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 41
  • 42. LSTM Realbook: Generation Jazz chord progressions 42 https://keunwoochoi.wordpress.com/2016/02/19/lstm-realbook/ Char-RNN / Word-RNN Character(word)-level language models an LSTM cell Preprocess into text-format scores Keras and Theano codes (https://github.com/keunwoochoi/lstm_real_book) Dataset configuration Results (click to hear)© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 43. RNN 적용 대표 사례: 뉴럴 기계번역 Neural Machine Translation (NMT) © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 43 입력에 대한 RNN과 출력에 대한 RNN을 연결하여 구성 https://translate.google.co.kr/
  • 44. 사진의 설명 문장 자동 생성 사례: Deep Learning + Image & Sequence © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 44
  • 45. 딥러닝 모델의 조합 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 45 (Y. Lecun, Y. Bengio, and G. Hinton, 2015) http://www.nature.com/nature/journal/v521/n7553/fig_tab/nature14539_F3.html CNN과 RNN을 조합하여 이미지의 캡션을 자동으로 생성
  • 46. 이미지 캡션 생성 모델 46© 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 47. 이미지 캡션 생성 사례 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 47 놀라울 정도로 정확한 설명도 나오지만(윗줄), 엉뚱한 결과를 내기도 한다(하단)
  • 48. 투자, 분석, 거래, 탐지 사례: Deep Learning + 금융 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 48
  • 49. 핀테크 사례 : Paypal © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 49 시가 총액 • 트위터나 넷플릭스보다 높고 모회사였던 ebay를 추월 • 3000여 개의 특징을 가지는 복잡한 데이터 • 딥러닝 머신러닝 모델 • 고객 정보로 테스트해본 결과 85%의 성능으로 사기/일반 거래 예측 • 2015년 모회사인 ebay에서 분사 빅 데이터와 딥러닝-머신러닝의 결합 은행 기술 핀테크
  • 50. Binatix: 딥러닝 기반 거래 기술로 수익 창출  딥러닝을 이용한 자기자본투자 회사 (proprietary trading company) (2011~) ▪ Side 비즈니스로 헷지 펀드도 관리  회사 정보와 투자 활동은 철저히 비밀리에 이루어지고 있음  “지난 3년간 매우 성공적이었습니다. 우리가 단순한 행운 덕이 아닌 맥점을 짚고 있다고 확신합니다.” (Itamar Arel, CTO, 2014년 9월 인터뷰)  딥러닝의 활용 ▪ 다중 시간 단위 패턴 분석: 일, 주, 월, 계절, 년, … ▪ 시계열 예측 기반 주식 거래 ▪ 알파고에도 적용된 ‘딥 강화 학습 기법’도 적용하고 있는 것으로 예상됨 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 50 Ben-Efraim (CEO)과 Itamar Arel (CTO) 홈페이지는 1장의 그림 뿐
  • 51. Kensho WallStreet 전문가를 위협하는 AI • Warren: S/W solution on Big Data, Natural Language, Actionable Insights - 빅데이터 분석을 통해 전 세계 주요 사건이 경제 시장에 미치는 영향을 분석, 시각화 (visualization), 보고서 자동 생성 - Google 스타일 검색: 자연어를 입력하여 결과를 확인 - 9만여 가지 동향/지표 추적 (통화정책 변경, 신약 승인, 경제보고서, …) - 1억 가지 타입의 경제 관련 질문에 대답 가능 (quant army로 비유) - 예) 3등급 허리케인이 플로리다를 강타할 때 어떤 시멘트 주식이 가장 오를까? - 골드만삭스 및 CNBC와 협약. CIA도 사용 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 51 (vs. Bloomberg, Thomson Reuters, Bridgewater Associates) CNBC - ‘Kensho STATS Box’ 2016-4-22, Apple 주식이 1달 사이 1% 하락 CNBC, ‘Ask Kensho’
  • 52. Deep Learning 사례 – 음성, 사진 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 52 실시간 음성대화 번역 얼굴 인식 시스템 고도화 • Facebook DeepFace • 2D+3D: 여러 각도에서 인식 가능 • Google FaceNet • 다양한 포즈, 조명 하에서도 인식 사진 자동 추상화 / 합성 • Google DeepDream • 딥러닝을 이용한 추상화, 꿈 속 영상 • Google DeepStereo • 사진을 합성, 다른 각도의 사진 생성 음성인식 전 과정 자동화 Baidu DeepSpeech 시연 영상 예시 예시 시연 영상 예시 시연 영상 (시연 시작위치 3:02~)
  • 53. Deep Learning 사례 – 추천, 금융 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 53 사기 탐지 • PayPal • 0xdata 사의 H2O 머신러닝 플랫폼 기반 투자/거래 • Binatix • 딥러닝으로 주식 시장의 동적 패턴 대응 • 자기자본거래, 헷지펀드 • Kensho • 금융거래, 투자 관련 자동 자료 수집, 분석 및 보고, 의사결정 지원 동영상 서비스 관리 • YouTube • 비정상정 동영상 조회 증가 탐지/관리 • 추천의 기본 틀은 Amazon과 유사 (item-to-item 협업필터링) 추천 시스템 • Netflix 영화 추천 • All-in cloud strategy: AWS + GPU • 음악 추천 • Google, Spotify, Pandora: 딥러닝을 이용 플레이리스트 자동생성기술 모색 설명 자료
  • 54. 인공지능 & 딥러닝 동향 및 전망 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 54
  • 55.  게임 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 55
  • 56. 인공지능 기술 회사의 폭발적 증가 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 56http://insights.venturescanner.com/tag/artificial-intelligence/ 딥러닝을 필수 기술 요소로 포함하는 사례 증가 http://insights.venturescanner.com/2015/01/29/going-deep-on-deep-learning-technology/ http://www.siemens.com/innovation/en/home/pictures-of-the-future/digitalization-and-software/artificial-intelligence-facts-and-forecasts.htmlFacts and Forecasts: Boom for Learning Systems The global market for smart machines is growing by almost 20 percent annually. ‘스마트 머신’의 전세계 시장 규모는 매년 20%씩 증가하고 있다.
  • 57. 딥러닝은 산업계의 새로운 화두 57 출처: https://www.cbinsights.com/blog/deep-learning-ai-startups-market-map-company-list/ © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 58. 학계 동향  Google, Microsoft, Facebook, Amazon 등의 기업 중심으로 딥러닝 기반 인공지능 연구 주도 ▪ 데이터와 컴퓨팅 파워의 규모 + 우수 인력 유치(유명 교수도 학교 그만두고 감) ▪ 회사 자체 AI 연구센터 설립 ▪ 비영리 AI 연구기관 설립: PAI, AIAI, OpenAI (by Elon Musk)  관련 학회의 폭발적 성장 ▪ NIPS: Neural Information Processing Systems (1986~) ▪ ICML: International Conference on Machine Learning • ECML, ACML ▪ AAAI: AAAI Conference on Artificial Intelligence © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 58 • 2016년에는 공간의 한계로 인해 등록자 수를 5,000 명으로 제한함 • 2016년은 스폰서의 지원도 폭주하여, 더 이상 받지 않는다는 공고까지 나옴 2002~2015년 사이 매년 등록자 수가 기하급수적 증가
  • 59. © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 59 딥러닝의 응용 분야와 사례가 기하급수적으로 증가하고 있다 (Google 내에서 보인 추세가, 전 산업으로 확산되고 있다)
  • 60. Combining Awesome Models  Kyunghyun Cho, Deep learning, where are you going?, 2017 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 60
  • 61. Combining Awesome Models  https://research.googleblog.com/2017/06/multimodel-multi-task-machine-learning.html © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 61
  • 62. Smart Machine의 시대 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 62 Siri Pepper Google CarMIT Jibo Amazon PrimeAirIBM Watson • 스마트어드바이저, 지능형로봇, 스마트카 등의 Smart Machine은 IT 역사상 가장 파괴적인 기술이 될 것으로 예측 (Gartner, 2014) • 인공지능 시장 규모가 10년 뒤 70조 달러를 넘어설 것으로 예측 (YTN, 2015)
  • 63. The Coming Age of Smart Machines © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 63
  • 64. 에필로그 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 64
  • 65. DEEP LEARNING 체험하기 참고자료 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 65
  • 66. 체험해봅시다 1: 영어 필기체 합성 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 66 접속 • Alex Graves의 데모 페이지 접속 • http://www.cs.toronto.edu/~graves/handwriting.html 글자입력 • 영어로 100글자까지 ‘Text’란에 입력 • 되도록이면 소문자 위주로 입력하세요. 스타일 • 필기체 스타일 선택: Style • 글자를 정자체로 쓸지 갈겨 쓸지 선택: bias (오른쪽으로 밀 수록 정자체에 가까움) 샘플 • 몇 개의 필기체를 생성할지 지정 • 각 샘플은 jpg 파일로 다운로드 가능 There’s no place like home. Let’s count: 1, 2, 3
  • 67. 체험해봅시다 2: 내가 그린 기린 그림 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 67 1. Google AI Experiment 페이지에서 Quick, Draw! 페이지에 접속 https://aiexperiments.withgoogle.com/quick-draw 3. 컴퓨터가 그려달라는 사물을 확인하고 4. 빠르게(20초 이내에) 그리면서 컴퓨터가 얼마나 잘 맞추는지 살펴봅시다 2. 시작 버튼 누르기
  • 68. 체험해봅시다 3: 컴퓨터와 피아노 듀엣 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 68 1. Google AI Experiment 페이지 중 Google Magenta 프로젝트 팀의 데모 접속 https://aiexperiments.withgoogle.com/ai-duet 2. 시작 버튼 누르기 3. AI와 교대로 피아노를 연주하세요 (건반을 마우스로 오래 누르면 길게 소리납니다.)
  • 69. 체험해봅시다 4: 설명으로 사진 찾기 69 http://cs.stanford.edu/people/karpathy/deepimagesent/rankingdemo/ 2. 검색 문장을 입력해보세요 예) A city street corner from a park view [그림 테두리 색] - 빨강: 부적절한 검색 결과 - 초록: 성공적 검색 - 노랑: top 5에 포함되지 않은 정답 사진 3. 검색된 그림을 클릭하여 분석 결 과를 확인해보세요 1. Andrej Karpathy의 데모 홈페이지에 접속 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr
  • 70. 심심할 때 즐기는 딥러닝 데모 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 70 한글 Word2Vec: 한국-서울+도쿄=일본? (http://w.elnn.kr/search/) Eyescream Project: 컴퓨터가 자동으로 사진 생성 (http://soumith.ch/eyescream/) 필기체 문장 자동 생성 (http://www.cs.toronto.edu/~graves/handwriting.html ) Deep Dream: 사진을 추상화로 만들기 (http://deepdreamgenerator.com/)
  • 71. 부록 / 미사용 슬라이드
  • 72. Hot Trends & Frontier  Learning to Learn and Compositionality  Generative Models ▪ VAE, GAN, …  Reasoning with Deep Learning, Schema Networks © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 72
  • 73. Neural Network 실습 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 73 http://playground.tensorflow.org/ 설명, 문제별 풀이: https://cloud.google.com/blog/big-data/2016/07/understanding-neural-networks-with-tensorflow-playground
  • 74. 리뷰: 인공신경망에 쓰이는 활성화 함수 Neural Network Activation Functions (A. Graves, 2012) 𝑅𝑒𝐿𝑈 𝑥 = max(𝑥, 0) Rectified Linear Unit [장점] • Hidden unit에 sparsity가 나타난다 • Gradient vanishing 문제가 없다 • 계산이 단순해져 학습이 빠르면서 성능 향상에도 일조 - 입력값을 처리하여 ON 또는 OFF 출력. 보통 출력값에 상, 하한을 두려 함 - 신경망에서는 ‘미분 가능한’ smooth한 S자 모양 함수를 적용 - 최근 딥러닝 모델에서는 ReLU를 선호 - 순환신경망 내부에서는 sigmoid와 tanh 함수를 적용함 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 63
  • 75. © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 75
  • 76. DEEP LEARNING 기반 인공지능의 원동력 왜 지금 딥러닝이 뜨게 되었는가? © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 76
  • 77. 네 가지 원동력 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 77 Computing Power (특히 GPU 기반 병렬 계산) Big Data 빅데이터 획기적인 알고리즘 개발 환경의 진화
  • 78. 원동력 1: Computing Power © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 78 Andrew Ng. 딥러닝 모델 학습에 대규모로 GPU를 적용하여 획기적 속도 향상됨을 보임 (DBN 알고리즘의 경우 70배) 컴퓨터의 계산 속도 향상으로 대규모 모델 학습 가능 특히, Graphics Processing Unit으로 CPU보다 빠르게 병렬 계산 가능
  • 79. 원동력 2: 빅데이터 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 79 지능형 시스템 구성에 필요한 기초적 데이터가 얼마든지 제공된다 글자(text) 시각 정보(visual) 소리 정보(audio) 사용자 행동 (activity) 지식 체계 (knowledge graph) 센서 정보 (sensor) 사진 동영상 검색, 클릭, …
  • 80. 원동력 2: 빅데이터 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 80 디지털 공간 전체가 AI를 보다 스마트하게 가르칠 수 있는 환경이 되고 있다. 위키피디아 인터넷 사용 기록 (web cookies, online footprints, …) 이십여 년 이상 누적된 전세계 검색 기록 대용량 DB 대용량 저장 장치 Wikipedia 등의 무료 정보원사물인터넷 클라우드 컴퓨팅
  • 81. 원동력 3: 획기적인 알고리즘 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 81 학계와 기업의 최고 인력이 새로운 ML/DL 기반 AI 해법을 쏟아내고 있다. Convolutional NN Stacked RBM DeepFace GoogLeNet Neural Machine Translator Deep Q Network
  • 82. 원동력 3: 획기적인 알고리즘 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 82 학계와 기업의 최고 인력이 새로운 ML/DL 기반 AI 해법을 쏟아내고 있다.
  • 83. 원동력 4: 개발 환경의 진화 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 83 [클라우드 + ML/DL] [공개 소프트웨어: 개방, 공유, 협업] https://github.com/Microsoft/CNTK https://github.com/tensorflow/tensorflow https://github.com/Theano/Theano https://github.com/torch/torch7 https://github.com/BVLC/caffe
  • 84. 클라우드 기반 머신러닝 기술 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 84 클라우드(Cloud) 환경에서 빅데이터(Bid Data)를 활용하는 머신러닝(Machine Learning) 기술이 지능형 서비스/솔루션의 핵심 포맷으로 부각되고 있다. https://cloud.google.com/prediction/docs http://azure.microsoft.com/ko-kr/services/machine-learning/ https://aws.amazon.com/ko/blogs/aws/amazon-machine-learning-make-data- driven-decisions-at-scale/ http://www.ibm.com/cloud-computing/bluemix/
  • 85. 공개 Deep Learning 개발도구 확산 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 85 개발도구명 Core language Library type Auto. gradient computation CPU GPU Multi-G PU 지원 라이선스 종류 상업화 가능성 Theano Python Numerical comp utation Flexible ✓ ✓ x BSD ✓ 저작권 고지 Google TensorFlow Python Numerical computation, deep learning models Flexible ✓ ✓ ✓ Apache 2.0 ✓ 저작권 고지, 라이센스 사본 첨부 Microsoft CNTK C++ Numerical Computation Flexible ✓ ✓ ✓ MIT ✓ 저작권 고지, 라이센스 사본 첨부 Samsung Veles Python Deep learning models Restricted ✓ ✓ Not spec ified Apache 2.0 ✓ 저작권 고지, 라이센스 사본 첨부 Caffe C++ Deep learning models Restricted ✓ ✓ ✓ BSD ✓ 저작권 고지 Torch Lua Numerical computation, deep learning models Flexible ✓ ✓ ✓ BSD ✓ 저작권 고지 Keras Python (usin g Theano or Tensorflow) Deep learning models Restricted ✓ ✓ ✓ MIT ✓ 저작권 고지, 라이센스 사본 첨부 Blocks Python (usin g Theano) Deep learning models Restricted ✓ ✓ x MIT ✓ 저작권 고지, 라이센스 사본 첨부 Lasagne Python (usin g Theano) Deep learning models Restricted ✓ ✓ x MIT ✓ 저작권 고지, 라이센스 사본 첨부
  • 86. DEEP LEARNING 배우기 참고자료 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 86
  • 87. 실행 환경 설정하기 – 하드웨어(H/W)  일반 PC로도 가능  고성능(고가) GPU가 있으면 금상첨화 ▪ GTX Titan X ▪ GTX 960~980  클라우드 컴퓨팅 활용 ▪ 본격적인 개발/서비스를 위한 유료 클라우드 솔루션 활용 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 87
  • 88. 실행 환경 설정하기 – 소프트웨어(S/W)  언어 선택: C++, Python, Lua, …  운영체제: Windows, Linux, OSX  라이브러리 선택 ▪ 주요 공개 도구 중 선택 ▪ 튜토리얼 따라하기 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 88
  • 89. 영어 자료는 매우 많습니다.  Summer School ▪ Deep Learning Summer School 2015 (video) ▪ Machine Learning Summer School  Free online media ▪ Stanford의 “CS231n: Convolutional Neural Networks for Visual Recognition” 강좌 (http://cs231n.stanford.edu/) (강추!) ▪ 온라인 교재(http://neuralnetworksanddeeplearning.com/) (필독!) ▪ Videoletcures.net, techtalks.tv 등에서 summer school 강의 등 시청 ▪ Slideshare.net에서 슬라이드 검색 ▪ Deeplearning.net에서 딥러닝 관련 정보 확인  MOOC (Massive open online course) 온라인 강의 ▪ Deep Learning @ Udacity: https://www.udacity.com/course/deep-learning--ud730 • Google Brain 팀의 강사진의 강의. TensorFlow로 과제와 프로젝트 수행 ▪ Deep Learning Courses @ NVIDIA Developer: https://developer.nvidia.com/deep-learning- courses • 딥러닝의 기본 개념과 주요 툴에 대해 빠르게 훑어볼 수 있는 미니 코스 • Caffe, Theano, Torch에 대한 기초를 다질 수 있다. ▪ NYU Course on Deep Learning by Yann Lecun: http://techtalks.tv/deep_learning_nyu_spring_2014/ © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 89
  • 90. 딥러닝, 머신러닝 교과서 © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 90 For developers and engineersFor researchers (and students)
  • 91. 한국어로 정리된 딥러닝 정보  훌륭한 번역 자료 ▪ 딥 뉴럴 네트워크 소개(번역: 최근우 등) http://deeplearning4j.org/kr-neuralnet- overview.html ▪ 컨볼루션 네트워크(번역: 최근우 등) http://deeplearning4j.org/kr- convolutionnets  SNS에서 확인 ▪ Facebook AI Korea (Deep Learning) https://www.facebook.com/groups/AIKoreaOpen/  연구자의 블로그/홈페이지를 확인 ▪ https://keunwoochoi.wordpress.com/ (최근우, Queen Mary University of London) ▪ http://t-robotics.blogspot.kr/ (엄태웅, 캐나다 Waterloo 대학교 박사과정) ▪ http://hunkim.github.io/ml/ 실습 포함 온라인 강의(Sung Kim(김성훈) 교수, 홍콩과기대) ▪ http://khanrc.tistory.com/category/DataScience/Deep%20Learning  관련 Community 에서 확인 ▪ Team AI Korea http://aikorea.org/ (김지원, SK T Brain) • https://www.facebook.com/awesomeai/ © 2017, SNU CSE Biointelligence Lab., http://bi.snu.ac.kr 91