SlideShare uma empresa Scribd logo
1 de 60
Baixar para ler offline
신정규
Lablup Inc.
20170702 Google I/O Extended Seoul
구글의 머신러닝 비전:
TPU부터 모바일까지
세션 레퍼런스: Google I/O Keynote
구글의 머신러닝
세션 레퍼런스: Google I/O Keynote
음성 인식
단어 인식 오류율
2016년 7월 2016년 10월 2016년 12월 현재
세션 레퍼런스: Google I/O Keynote
세션 레퍼런스: Google I/O Keynote
세션 레퍼런스: Google I/O Keynote
세션 레퍼런스: Google I/O Keynote
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
머신러닝 관련 요약
기반 / 소프트웨어
하드웨어부터 소프트웨어까지
세션 레퍼런스: Effective TensorFlow for Non-Experts
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
TensorFlow 요약
▪통계
▪2015년 12월 이후 17500 이상의
커밋수
▪475명 이상의 구글 외부 기여자
(v1.0 기준)
▪상당한 양의 외부 커밋
▪6400개 이상의 TensorFlow 관련
저장소
▪현재
▪완전한 ML 모델 프로토타이핑
▪분산 훈련 지원
▪CPU/GPU/TPU/모바일 환경 지원
세션 레퍼런스: Effective TensorFlow for Non-Experts
TensorFlow 요약
▪Keras API support
▪추상화를 통한 고급 프로그래밍 API 도입
▪TensorFlow Serving
▪텐서플로 모델 추론 서비스를 쉽게 해 주는 도구
▪XLA compiler
▪다양한 환경 지원 및 속도 향상을 위한 개선
세션 레퍼런스: Effective TensorFlow for Non-Experts
세션 레퍼런스: Effective TensorFlow for Non-Experts
TensorFlow Serving
▪C++ 라이브러리
▪TensorFlow 모델 저장 / 내보내기 포맷: protocol buffer
▪일반 코어 플랫폼
▪바이너리
▪바로 쓸 수 있는 예제 포함
▪Docker 컨테이너, K8s 예제
▪호스팅 서비스
세션 레퍼런스: From Research to Production
세션 레퍼런스: From Research to Production
세션 레퍼런스: TensorFlow Frontiers
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
TPU: Tensor Processing Unit
▪2세대 TPU 공개
▪1세대 TPU
▪ 일반 CPU&GPU 보다 15~30배 빠름
▪ 30~80배의 전성비
▪ 추론 과정에 특화 (훈련에 쓰지 않음)
▪2세대 TPU
▪ 180테라플롭스의 FP 성능
▪ 64GB의 엄청 높은 대역폭의 메모리
▪ 훈련 및 추론 모두를 위해 디자인
▪ 상호 연결이 가능하도록 설계
세션 레퍼런스: TensorFlow Frontiers
세션 레퍼런스: TensorFlow Frontiers
세션 레퍼런스: TensorFlow Frontiers
세션 레퍼런스: TensorFlow Frontiers
TensorFlow 연구 클라우드
공개 머신러닝 연구의 가속을 위해 제공
세션 레퍼런스: TensorFlow Frontiers
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
Android O와 TensorFlow
▪TensorFlow 모바일 보급 활성화 방안
▪TensorFlow Lite 내장
▪ 별도의 환경 설치를 앱마다 할 필요가 없음
▪ 운영체제 차원의 하드웨어 가속 지원
▪XLA 기반의 최적화 제공
▪ 다양한 프로그래밍 언어에 바인딩 가능
세션 레퍼런스: Android meets TensorFlow
세션 레퍼런스: Android meets TensorFlow
최근 번역 향상
번역 모델
번역품질
ML+모바일
적용예
이미지 / 글씨 인식
음성 - 텍스트 변환
번역
자연어 처리
동작 인식
GPS
및 기타 등등
세션 레퍼런스: Android meets TensorFlow
세션 레퍼런스: Android meets TensorFlow
더 적은 트래픽 & 빠른 응답
머신러닝을 이용해 원시데이터에서 의미
를 추출할 수 있음
예. 이미지 인식
원시 이미지를 전송
발견한 레이블 전송
예. 동작 인식
원시 동작 벡터 전송
특징 벡터 전송
휴대성 및 확장성
▪훈련 환경
▪Mac/ Windows
▪GPU 서버
▪클라우드 상의 GPU / TPU
▪예측
▪안드로이드 / iOS
▪라즈베리파이와 TPU
세션 레퍼런스: Android meets TensorFlow
큰 뉴럴넷
세션 레퍼런스: Android meets TensorFlow
모델 압축
▪그래프 프리징
▪그래프 변환 도구
▪가중치 양자화
▪계산 양자화
▪메모리 매핑
세션 레퍼런스: Android meets TensorFlow
양자화
세션 레퍼런스: Android meets TensorFlow
TensorFlow에서의 양자화
세션 레퍼런스: Android meets TensorFlow
신경망 압축
세션 레퍼런스: Android meets TensorFlow
압축한 Inception v3 모델 = 23MB
TensorFlow 바이너리 = 1.5MB
안드로이드 Neural Network API
▪뉴럴넷을 위한 새 API 추가
▪Android Framework에 포함
▪하드웨어 가속기 추상화
▪GPU, DSP, ISP 및 기타
세션 레퍼런스: Android meets TensorFlow
TensorFlow Lite
▪새 TensorFlow 런타임
▪모바일 및 임베디드 환경에 최적화
▪기기에서 TensorFlow 모델 실행
▪안드로이드 NN API 레버리지
▪오픈소스화 (예정)
세션 레퍼런스: Android meets TensorFlow
XLA: TensorFlow의 선형대수 컴파일러
세션 레퍼런스: TensorFlow Frontiers
TF 그래프 입력
최적화 및 특성화된
어셈블리가 나옴
서비스 / 제품
: 올해 사용자는 실제로 무엇을 만나게 되나?
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
Google Lens
▪센서 기반의 위치 정보 서비스
▪이미지+지역 정보+추천 검색
▪실시간으로 현재 위치의 정보 파악
▪이미지 기반의 POV 정보 추적
▪추천기능
세션 레퍼런스: Google I/O Keynote
세션 레퍼런스: Google I/O Keynote
세션 레퍼런스: Google I/O Keynote
머신러닝 관련 요약
▪기반 (infrastructure) / 소프트웨어
▪TensorFlow
▪ TensorFlow 1.2 → 1.3
▪TPU
▪ 2nd Generation TPU
▪ CloudTPU
▪Android O
▪ TensorFlow Lite
▪서비스 / 제품
▪Image-based breakthrough
▪ Google Photo
▪ Google Lens
▪ Visual positioning service
▪Android Things
▪ Google Home
▪ Google IoT
▪TensorFlow + Everyone
▪ Google for Jobs
▪Firebase + TensorFlow
Google Home
▪다중 사용자 구분 (신경망 기반의 빔포밍 / 유저 인식 기술)
▪더 많은 도구 및 기기들과의 통합 지원
▪중요한 점
▪Google Home은 구글이 보여준 하나의 예에 해당된다
▪실질적으로 중요한 전략 목표는 Google Assistant API 를 통한 디지털 어시스
턴트의 대중화에 방점을 찍고 있음
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
사용자가 원하는
모든 컨텐트나 서비스들
구글 어시스턴트가
제공
사용자가 필요한
모든 장소
Android Things
▪임베디드 및 저스펙 환경을 위한
안드로이드 배포판
▪HW 프로토타이핑 업체 제휴
▪Adafruit
▪Pimoroni
▪Sparkfun Project Kit
▪개발킷, BSP 등 제공
▪Intel® Edison
▪Intel® Joule
▪NXP Pico i.MX7D
▪NXP Pico i.MX6UL
▪NXP Argon i.MX6UL
▪Raspberry Pi 3
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
Google Assistant API
▪Hotword 라이브러리
▪Hotword
▪타이머
▪알람
▪하드웨어
▪라즈베리파이 3B
▪하나 또는 두개의 마이크
▪스피커
▪인터넷 연결
▪gRPC API
▪클라이언트/서버 API RPC 콜
▪ TCP/IP가 되면 지원
▪최소화된 계산
▪최소화된 전력 소모
▪거의 모든 플랫폼에서 실행됨
▪ TCP/IP가 되면 지원
▪오픈소스 샘플 코드 제공
▪ 플랫폼: Linux, macOS, Windows, Android, iOS
▪ 언어: C/C++/C#, Go, Python, Node.js, PHP,
Ruby
기기에 어시스턴트 추가
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
AIY Voice Kit
▪자연어 인식기
▪Google Assistant SDK 사용
▪스피커, 버튼, 마이크, 카드보드 박스
▪라즈베리파이 3
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
Google Assistant SDK
▪런칭된 기능
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
Google Assistant SDK
▪공개 예정 기능
▪개선된 음성 기반 컨트롤
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
호출 실행 경로
요약
▪기반 및 소프트웨어
▪소프트웨어: TensorFlow를 중심으로 모바일부터 거대 연산 클러스터까지 다양한 스케일
의 머신러닝 보급 및 헤게모니 장악 준비
▪하드웨어 및 클라우드: TPU를 이용하여 가성비 및 스케일링에 집중
▪서비스 / 제품
▪구글 번역, 구글 포토: 머신러닝을 통한 기존 서비스 및 제품의 정확도 향상
▪Google Lens: 머신러닝이 가장 강력한 힘을 발휘하는 이미지 영역의 응용 서비스
▪DIY 키트 및 Android Things Assistant API를 내세운 디지털 어시스턴트 전략
▪ 제 2의 카드보드
잡담
▪2017년 기업들의 벡터
▪목표와 위치
끝! :)
@inureyes
fb/jeongkyu.shin
inureyes@gmail.com

Mais conteúdo relacionado

Mais procurados

알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터
알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터
알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터
YunWon Jeong
 
Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기
Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기
Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기
Joongi Kim
 

Mais procurados (20)

파이썬 생존 안내서 (자막)
파이썬 생존 안내서 (자막)파이썬 생존 안내서 (자막)
파이썬 생존 안내서 (자막)
 
알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터
알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터
알파희 - PyPy/RPython으로 20배 빨라지는 아희 JIT 인터프리터
 
NDC2018 안드로이드+유니티 네이티브 프로파일링 삽질기
NDC2018 안드로이드+유니티 네이티브 프로파일링 삽질기NDC2018 안드로이드+유니티 네이티브 프로파일링 삽질기
NDC2018 안드로이드+유니티 네이티브 프로파일링 삽질기
 
Go로 새 프로젝트 시작하기
Go로 새 프로젝트 시작하기Go로 새 프로젝트 시작하기
Go로 새 프로젝트 시작하기
 
Sublime Text 3 for python and django
Sublime Text 3 for python and djangoSublime Text 3 for python and django
Sublime Text 3 for python and django
 
케라스와 함께하는 재밌는 딥러닝 활용 사례들
케라스와 함께하는 재밌는 딥러닝 활용 사례들케라스와 함께하는 재밌는 딥러닝 활용 사례들
케라스와 함께하는 재밌는 딥러닝 활용 사례들
 
Machine translation survey vol2
Machine translation survey   vol2Machine translation survey   vol2
Machine translation survey vol2
 
개인 일정관리에 Agile을 끼얹으면?
개인 일정관리에 Agile을 끼얹으면?개인 일정관리에 Agile을 끼얹으면?
개인 일정관리에 Agile을 끼얹으면?
 
Java the good parts
Java the good partsJava the good parts
Java the good parts
 
OKKY_송년회_발표자료
OKKY_송년회_발표자료OKKY_송년회_발표자료
OKKY_송년회_발표자료
 
제11회공개sw개발자대회 금상 TensorMSA(소개)
제11회공개sw개발자대회 금상 TensorMSA(소개)제11회공개sw개발자대회 금상 TensorMSA(소개)
제11회공개sw개발자대회 금상 TensorMSA(소개)
 
Project anarchy로 3d 게임 만들기 part_5_waste of time shoveling
Project anarchy로 3d 게임 만들기 part_5_waste of time shovelingProject anarchy로 3d 게임 만들기 part_5_waste of time shoveling
Project anarchy로 3d 게임 만들기 part_5_waste of time shoveling
 
Work With Engineer
Work With EngineerWork With Engineer
Work With Engineer
 
딥러닝 세계에 입문하기 위반 분투
딥러닝 세계에 입문하기 위반 분투딥러닝 세계에 입문하기 위반 분투
딥러닝 세계에 입문하기 위반 분투
 
Malware Dataset & Ubuntu
Malware Dataset & UbuntuMalware Dataset & Ubuntu
Malware Dataset & Ubuntu
 
딥러닝 논문 리뷰 Learning phrase representations using rnn encoder decoder for stati...
딥러닝 논문 리뷰 Learning phrase representations using rnn encoder decoder for stati...딥러닝 논문 리뷰 Learning phrase representations using rnn encoder decoder for stati...
딥러닝 논문 리뷰 Learning phrase representations using rnn encoder decoder for stati...
 
Hot Trend Lambda Expressions, Compare C# With Java
Hot Trend Lambda Expressions, Compare C# With JavaHot Trend Lambda Expressions, Compare C# With Java
Hot Trend Lambda Expressions, Compare C# With Java
 
[NDC 2014] 던전앤파이터 클라이언트 로딩 최적화
[NDC 2014] 던전앤파이터 클라이언트 로딩 최적화[NDC 2014] 던전앤파이터 클라이언트 로딩 최적화
[NDC 2014] 던전앤파이터 클라이언트 로딩 최적화
 
Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기
Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기
Python Korea 2014년 6월 세미나 - Windows 환경에서 Python 개발환경 세팅하기
 
병렬 프로그래밍
병렬 프로그래밍병렬 프로그래밍
병렬 프로그래밍
 

Semelhante a 구글의 머신러닝 비전: TPU부터 모바일까지 (Google I/O Extended Seoul 2017)

Semelhante a 구글의 머신러닝 비전: TPU부터 모바일까지 (Google I/O Extended Seoul 2017) (20)

구글 텐서플로우 첫걸음
구글 텐서플로우 첫걸음구글 텐서플로우 첫걸음
구글 텐서플로우 첫걸음
 
What's new tensorflow ( Tensorflow.js , Tensorflow Hub, Tensorflow Serving )
What's new tensorflow ( Tensorflow.js , Tensorflow Hub, Tensorflow Serving )What's new tensorflow ( Tensorflow.js , Tensorflow Hub, Tensorflow Serving )
What's new tensorflow ( Tensorflow.js , Tensorflow Hub, Tensorflow Serving )
 
맨땅에서 AI학습플랫폼을 만들기까지
맨땅에서 AI학습플랫폼을 만들기까지맨땅에서 AI학습플랫폼을 만들기까지
맨땅에서 AI학습플랫폼을 만들기까지
 
구글I/O 2016 review
구글I/O 2016 review구글I/O 2016 review
구글I/O 2016 review
 
Auto Scalable 한 Deep Learning Production 을 위한 AI Serving Infra 구성 및 AI DevOps...
Auto Scalable 한 Deep Learning Production 을 위한 AI Serving Infra 구성 및 AI DevOps...Auto Scalable 한 Deep Learning Production 을 위한 AI Serving Infra 구성 및 AI DevOps...
Auto Scalable 한 Deep Learning Production 을 위한 AI Serving Infra 구성 및 AI DevOps...
 
100% Serverless big data scale production Deep Learning System
100% Serverless big data scale production Deep Learning System100% Serverless big data scale production Deep Learning System
100% Serverless big data scale production Deep Learning System
 
OSS SW Basics Lecture 14: Open source hardware
OSS SW Basics Lecture 14: Open source hardwareOSS SW Basics Lecture 14: Open source hardware
OSS SW Basics Lecture 14: Open source hardware
 
오픈소스 컨트리뷰톤 2020 backend.ai 발표자료
오픈소스 컨트리뷰톤 2020 backend.ai 발표자료오픈소스 컨트리뷰톤 2020 backend.ai 발표자료
오픈소스 컨트리뷰톤 2020 backend.ai 발표자료
 
제주 GDG 발표자료
제주 GDG 발표자료제주 GDG 발표자료
제주 GDG 발표자료
 
3. Install - Tensorflow
3. Install - Tensorflow3. Install - Tensorflow
3. Install - Tensorflow
 
[온라인교육시리즈] Jupyter를 이용한 분석 환경 구축하기 - 허창현 클라우드 솔루션 아키텍트
[온라인교육시리즈] Jupyter를 이용한 분석 환경 구축하기 - 허창현 클라우드 솔루션 아키텍트[온라인교육시리즈] Jupyter를 이용한 분석 환경 구축하기 - 허창현 클라우드 솔루션 아키텍트
[온라인교육시리즈] Jupyter를 이용한 분석 환경 구축하기 - 허창현 클라우드 솔루션 아키텍트
 
[아이펀팩토리]2017 NDC 강연 자료_아이펀 엔진 개발 노트
[아이펀팩토리]2017 NDC 강연 자료_아이펀 엔진 개발 노트[아이펀팩토리]2017 NDC 강연 자료_아이펀 엔진 개발 노트
[아이펀팩토리]2017 NDC 강연 자료_아이펀 엔진 개발 노트
 
Tensorflow for Deep Learning(SK Planet)
Tensorflow for Deep Learning(SK Planet)Tensorflow for Deep Learning(SK Planet)
Tensorflow for Deep Learning(SK Planet)
 
Machine Learning Model Serving with Backend.AI
Machine Learning Model Serving with Backend.AIMachine Learning Model Serving with Backend.AI
Machine Learning Model Serving with Backend.AI
 
“머신러닝 엔지니어가 다녀온 F8” 김준성 - F8 2019 Meetup:Seoul
“머신러닝 엔지니어가 다녀온 F8” 김준성 - F8 2019 Meetup:Seoul“머신러닝 엔지니어가 다녀온 F8” 김준성 - F8 2019 Meetup:Seoul
“머신러닝 엔지니어가 다녀온 F8” 김준성 - F8 2019 Meetup:Seoul
 
최민호 - 국내 포털에서의 우분투 (2012Y03M31D)
최민호 - 국내 포털에서의 우분투 (2012Y03M31D)최민호 - 국내 포털에서의 우분투 (2012Y03M31D)
최민호 - 국내 포털에서의 우분투 (2012Y03M31D)
 
재업로드주소: https://www.slideshare.net/hnki0104/gsshop-103837144
재업로드주소: https://www.slideshare.net/hnki0104/gsshop-103837144재업로드주소: https://www.slideshare.net/hnki0104/gsshop-103837144
재업로드주소: https://www.slideshare.net/hnki0104/gsshop-103837144
 
How to use Python in Video streaming service - PyCon Korea 2020
How to use Python in Video streaming service - PyCon Korea 2020How to use Python in Video streaming service - PyCon Korea 2020
How to use Python in Video streaming service - PyCon Korea 2020
 
[DS Meetup] iPad로 가벼운 분석환경 구축해보기
[DS Meetup] iPad로 가벼운 분석환경 구축해보기[DS Meetup] iPad로 가벼운 분석환경 구축해보기
[DS Meetup] iPad로 가벼운 분석환경 구축해보기
 
Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab)
Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab) Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab)
Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab)
 

Mais de Jeongkyu Shin

그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
Jeongkyu Shin
 
Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...
Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...
Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...
Jeongkyu Shin
 

Mais de Jeongkyu Shin (20)

Boosting machine learning workflow with TensorFlow 2.0
Boosting machine learning workflow with TensorFlow 2.0Boosting machine learning workflow with TensorFlow 2.0
Boosting machine learning workflow with TensorFlow 2.0
 
Machine Learning in Google I/O 19
Machine Learning in Google I/O 19Machine Learning in Google I/O 19
Machine Learning in Google I/O 19
 
TensorFlow 2: New Era of Developing Deep Learning Models
TensorFlow 2: New Era of Developing Deep Learning ModelsTensorFlow 2: New Era of Developing Deep Learning Models
TensorFlow 2: New Era of Developing Deep Learning Models
 
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
 
오픈소스 라이선스를 둘러싼 소송들
오픈소스 라이선스를 둘러싼 소송들오픈소스 라이선스를 둘러싼 소송들
오픈소스 라이선스를 둘러싼 소송들
 
모바일 개발자를 위한 ML Kit: Machine Learning SDK 소개
모바일 개발자를 위한 ML Kit: Machine Learning SDK 소개모바일 개발자를 위한 ML Kit: Machine Learning SDK 소개
모바일 개발자를 위한 ML Kit: Machine Learning SDK 소개
 
회색지대: 이상과 현실 - 오픈소스 저작권
회색지대: 이상과 현실 - 오픈소스 저작권회색지대: 이상과 현실 - 오픈소스 저작권
회색지대: 이상과 현실 - 오픈소스 저작권
 
TensorFlow.Data 및 TensorFlow Hub
TensorFlow.Data 및 TensorFlow HubTensorFlow.Data 및 TensorFlow Hub
TensorFlow.Data 및 TensorFlow Hub
 
Google Polymer in Action
Google Polymer in ActionGoogle Polymer in Action
Google Polymer in Action
 
The Flow of TensorFlow
The Flow of TensorFlowThe Flow of TensorFlow
The Flow of TensorFlow
 
Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...
Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...
Let Android dream electric sheep: Making emotion model for chat-bot with Pyth...
 
Deep-learning based Language Understanding and Emotion extractions
Deep-learning based Language Understanding and Emotion extractionsDeep-learning based Language Understanding and Emotion extractions
Deep-learning based Language Understanding and Emotion extractions
 
기술 관심 갖기: 스타트업 기술 101 (Interested in Tech?: Startup Technology 101)
기술 관심 갖기: 스타트업 기술 101 (Interested in Tech?: Startup Technology 101)기술 관심 갖기: 스타트업 기술 101 (Interested in Tech?: Startup Technology 101)
기술 관심 갖기: 스타트업 기술 101 (Interested in Tech?: Startup Technology 101)
 
OSS SW Basics Lecture 12: Open source in research fields
OSS SW Basics Lecture 12: Open source in research fieldsOSS SW Basics Lecture 12: Open source in research fields
OSS SW Basics Lecture 12: Open source in research fields
 
OSS SW Basics Lecture 10: Setting up term project
OSS SW Basics Lecture 10: Setting up term projectOSS SW Basics Lecture 10: Setting up term project
OSS SW Basics Lecture 10: Setting up term project
 
OSS SW Basics Lecture 09: Communications in open-source developments
OSS SW Basics Lecture 09: Communications in open-source developmentsOSS SW Basics Lecture 09: Communications in open-source developments
OSS SW Basics Lecture 09: Communications in open-source developments
 
OSS SW Basics Lecture 08: Software Configuration Management (2)
OSS SW Basics Lecture 08: Software Configuration Management (2)OSS SW Basics Lecture 08: Software Configuration Management (2)
OSS SW Basics Lecture 08: Software Configuration Management (2)
 
OSS SW Basics Lecture 06: Software Configuration Management
OSS SW Basics Lecture 06: Software Configuration ManagementOSS SW Basics Lecture 06: Software Configuration Management
OSS SW Basics Lecture 06: Software Configuration Management
 
OSS SW Basics Lecture 04: OSS Licenses and documentation
OSS SW Basics Lecture 04: OSS Licenses and documentationOSS SW Basics Lecture 04: OSS Licenses and documentation
OSS SW Basics Lecture 04: OSS Licenses and documentation
 
OSS SW Basics Lecture 03: Fundamental parts of open-source projects
OSS SW Basics Lecture 03: Fundamental parts of open-source projectsOSS SW Basics Lecture 03: Fundamental parts of open-source projects
OSS SW Basics Lecture 03: Fundamental parts of open-source projects
 

Último

Grid Layout (Kitworks Team Study 장현정 발표자료)
Grid Layout (Kitworks Team Study 장현정 발표자료)Grid Layout (Kitworks Team Study 장현정 발표자료)
Grid Layout (Kitworks Team Study 장현정 발표자료)
Wonjun Hwang
 

Último (7)

Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
 
Grid Layout (Kitworks Team Study 장현정 발표자료)
Grid Layout (Kitworks Team Study 장현정 발표자료)Grid Layout (Kitworks Team Study 장현정 발표자료)
Grid Layout (Kitworks Team Study 장현정 발표자료)
 
[Terra] Terra Money: Stability and Adoption
[Terra] Terra Money: Stability and Adoption[Terra] Terra Money: Stability and Adoption
[Terra] Terra Money: Stability and Adoption
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
 
도심 하늘에서 시속 200km로 비행할 수 있는 미래 항공 모빌리티 'S-A2'
도심 하늘에서 시속 200km로 비행할 수 있는 미래 항공 모빌리티 'S-A2'도심 하늘에서 시속 200km로 비행할 수 있는 미래 항공 모빌리티 'S-A2'
도심 하늘에서 시속 200km로 비행할 수 있는 미래 항공 모빌리티 'S-A2'
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차
 
A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)
 

구글의 머신러닝 비전: TPU부터 모바일까지 (Google I/O Extended Seoul 2017)

  • 1. 신정규 Lablup Inc. 20170702 Google I/O Extended Seoul 구글의 머신러닝 비전: TPU부터 모바일까지
  • 2.
  • 3. 세션 레퍼런스: Google I/O Keynote 구글의 머신러닝
  • 4. 세션 레퍼런스: Google I/O Keynote 음성 인식 단어 인식 오류율 2016년 7월 2016년 10월 2016년 12월 현재
  • 9. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 12. 세션 레퍼런스: Effective TensorFlow for Non-Experts
  • 13. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 14. TensorFlow 요약 ▪통계 ▪2015년 12월 이후 17500 이상의 커밋수 ▪475명 이상의 구글 외부 기여자 (v1.0 기준) ▪상당한 양의 외부 커밋 ▪6400개 이상의 TensorFlow 관련 저장소 ▪현재 ▪완전한 ML 모델 프로토타이핑 ▪분산 훈련 지원 ▪CPU/GPU/TPU/모바일 환경 지원 세션 레퍼런스: Effective TensorFlow for Non-Experts
  • 15. TensorFlow 요약 ▪Keras API support ▪추상화를 통한 고급 프로그래밍 API 도입 ▪TensorFlow Serving ▪텐서플로 모델 추론 서비스를 쉽게 해 주는 도구 ▪XLA compiler ▪다양한 환경 지원 및 속도 향상을 위한 개선
  • 16. 세션 레퍼런스: Effective TensorFlow for Non-Experts
  • 17. 세션 레퍼런스: Effective TensorFlow for Non-Experts
  • 18. TensorFlow Serving ▪C++ 라이브러리 ▪TensorFlow 모델 저장 / 내보내기 포맷: protocol buffer ▪일반 코어 플랫폼 ▪바이너리 ▪바로 쓸 수 있는 예제 포함 ▪Docker 컨테이너, K8s 예제 ▪호스팅 서비스 세션 레퍼런스: From Research to Production
  • 19. 세션 레퍼런스: From Research to Production
  • 21. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 22. TPU: Tensor Processing Unit ▪2세대 TPU 공개 ▪1세대 TPU ▪ 일반 CPU&GPU 보다 15~30배 빠름 ▪ 30~80배의 전성비 ▪ 추론 과정에 특화 (훈련에 쓰지 않음) ▪2세대 TPU ▪ 180테라플롭스의 FP 성능 ▪ 64GB의 엄청 높은 대역폭의 메모리 ▪ 훈련 및 추론 모두를 위해 디자인 ▪ 상호 연결이 가능하도록 설계 세션 레퍼런스: TensorFlow Frontiers
  • 26. TensorFlow 연구 클라우드 공개 머신러닝 연구의 가속을 위해 제공 세션 레퍼런스: TensorFlow Frontiers
  • 27. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 28. Android O와 TensorFlow ▪TensorFlow 모바일 보급 활성화 방안 ▪TensorFlow Lite 내장 ▪ 별도의 환경 설치를 앱마다 할 필요가 없음 ▪ 운영체제 차원의 하드웨어 가속 지원 ▪XLA 기반의 최적화 제공 ▪ 다양한 프로그래밍 언어에 바인딩 가능 세션 레퍼런스: Android meets TensorFlow
  • 29. 세션 레퍼런스: Android meets TensorFlow 최근 번역 향상 번역 모델 번역품질
  • 30. ML+모바일 적용예 이미지 / 글씨 인식 음성 - 텍스트 변환 번역 자연어 처리 동작 인식 GPS 및 기타 등등 세션 레퍼런스: Android meets TensorFlow
  • 31. 세션 레퍼런스: Android meets TensorFlow 더 적은 트래픽 & 빠른 응답 머신러닝을 이용해 원시데이터에서 의미 를 추출할 수 있음 예. 이미지 인식 원시 이미지를 전송 발견한 레이블 전송 예. 동작 인식 원시 동작 벡터 전송 특징 벡터 전송
  • 32. 휴대성 및 확장성 ▪훈련 환경 ▪Mac/ Windows ▪GPU 서버 ▪클라우드 상의 GPU / TPU ▪예측 ▪안드로이드 / iOS ▪라즈베리파이와 TPU 세션 레퍼런스: Android meets TensorFlow
  • 33. 큰 뉴럴넷 세션 레퍼런스: Android meets TensorFlow
  • 34. 모델 압축 ▪그래프 프리징 ▪그래프 변환 도구 ▪가중치 양자화 ▪계산 양자화 ▪메모리 매핑 세션 레퍼런스: Android meets TensorFlow
  • 37. 신경망 압축 세션 레퍼런스: Android meets TensorFlow 압축한 Inception v3 모델 = 23MB TensorFlow 바이너리 = 1.5MB
  • 38. 안드로이드 Neural Network API ▪뉴럴넷을 위한 새 API 추가 ▪Android Framework에 포함 ▪하드웨어 가속기 추상화 ▪GPU, DSP, ISP 및 기타 세션 레퍼런스: Android meets TensorFlow
  • 39. TensorFlow Lite ▪새 TensorFlow 런타임 ▪모바일 및 임베디드 환경에 최적화 ▪기기에서 TensorFlow 모델 실행 ▪안드로이드 NN API 레버리지 ▪오픈소스화 (예정) 세션 레퍼런스: Android meets TensorFlow
  • 40. XLA: TensorFlow의 선형대수 컴파일러 세션 레퍼런스: TensorFlow Frontiers TF 그래프 입력 최적화 및 특성화된 어셈블리가 나옴
  • 41. 서비스 / 제품 : 올해 사용자는 실제로 무엇을 만나게 되나?
  • 42. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 43. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 44. Google Lens ▪센서 기반의 위치 정보 서비스 ▪이미지+지역 정보+추천 검색 ▪실시간으로 현재 위치의 정보 파악 ▪이미지 기반의 POV 정보 추적 ▪추천기능 세션 레퍼런스: Google I/O Keynote
  • 47. 머신러닝 관련 요약 ▪기반 (infrastructure) / 소프트웨어 ▪TensorFlow ▪ TensorFlow 1.2 → 1.3 ▪TPU ▪ 2nd Generation TPU ▪ CloudTPU ▪Android O ▪ TensorFlow Lite ▪서비스 / 제품 ▪Image-based breakthrough ▪ Google Photo ▪ Google Lens ▪ Visual positioning service ▪Android Things ▪ Google Home ▪ Google IoT ▪TensorFlow + Everyone ▪ Google for Jobs ▪Firebase + TensorFlow
  • 48. Google Home ▪다중 사용자 구분 (신경망 기반의 빔포밍 / 유저 인식 기술) ▪더 많은 도구 및 기기들과의 통합 지원 ▪중요한 점 ▪Google Home은 구글이 보여준 하나의 예에 해당된다 ▪실질적으로 중요한 전략 목표는 Google Assistant API 를 통한 디지털 어시스 턴트의 대중화에 방점을 찍고 있음
  • 49. 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things 사용자가 원하는 모든 컨텐트나 서비스들 구글 어시스턴트가 제공 사용자가 필요한 모든 장소
  • 50. Android Things ▪임베디드 및 저스펙 환경을 위한 안드로이드 배포판 ▪HW 프로토타이핑 업체 제휴 ▪Adafruit ▪Pimoroni ▪Sparkfun Project Kit ▪개발킷, BSP 등 제공 ▪Intel® Edison ▪Intel® Joule ▪NXP Pico i.MX7D ▪NXP Pico i.MX6UL ▪NXP Argon i.MX6UL ▪Raspberry Pi 3
  • 51. 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
  • 52. Google Assistant API ▪Hotword 라이브러리 ▪Hotword ▪타이머 ▪알람 ▪하드웨어 ▪라즈베리파이 3B ▪하나 또는 두개의 마이크 ▪스피커 ▪인터넷 연결 ▪gRPC API ▪클라이언트/서버 API RPC 콜 ▪ TCP/IP가 되면 지원 ▪최소화된 계산 ▪최소화된 전력 소모 ▪거의 모든 플랫폼에서 실행됨 ▪ TCP/IP가 되면 지원 ▪오픈소스 샘플 코드 제공 ▪ 플랫폼: Linux, macOS, Windows, Android, iOS ▪ 언어: C/C++/C#, Go, Python, Node.js, PHP, Ruby
  • 53. 기기에 어시스턴트 추가 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
  • 54. AIY Voice Kit ▪자연어 인식기 ▪Google Assistant SDK 사용 ▪스피커, 버튼, 마이크, 카드보드 박스 ▪라즈베리파이 3 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
  • 55. Google Assistant SDK ▪런칭된 기능 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
  • 56. Google Assistant SDK ▪공개 예정 기능 ▪개선된 음성 기반 컨트롤 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things
  • 57. 세션 레퍼런스: Using Google Cloud and TensorFlow on Android Things 호출 실행 경로
  • 58. 요약 ▪기반 및 소프트웨어 ▪소프트웨어: TensorFlow를 중심으로 모바일부터 거대 연산 클러스터까지 다양한 스케일 의 머신러닝 보급 및 헤게모니 장악 준비 ▪하드웨어 및 클라우드: TPU를 이용하여 가성비 및 스케일링에 집중 ▪서비스 / 제품 ▪구글 번역, 구글 포토: 머신러닝을 통한 기존 서비스 및 제품의 정확도 향상 ▪Google Lens: 머신러닝이 가장 강력한 힘을 발휘하는 이미지 영역의 응용 서비스 ▪DIY 키트 및 Android Things Assistant API를 내세운 디지털 어시스턴트 전략 ▪ 제 2의 카드보드