Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Game 開発で活用するAWS の AI/ML サービスのご紹介 / Game Tech Ni...

Game 開発で活用するAWS の AI/ML サービスのご紹介 / Game Tech Night AWS AI-ML services

- Game Tech Night #15 ~ゲーム業界向け AWSで実現する機械学習~

[About the event]
近年、AIや機械学習という単語を聞かない日がないくらいAIや機械学習は脚光を浴びる技術領域となっています。これはゲーム業界においても例外ではありません。ゲームキャラクタやゲーム開発の過程においても機械学習を活用した事例を散見するようになっています。むしろゲームとAIの親和性は非常に高いのではないでしょうか?こうした状況の中で以下のようなお客様の声を聞く機会も増えてきました。

 ・実際にどういう風にAIや機械学習がゲームに組み込まれているのか事例を知りたい
 ・やりたいことはあるがどうしたらAIや機械学習を用いてそれらを実現できるか方法を知りたい

このセミナーでは、少しでもそうしたお客様の声の一助となるために、ゲーム業界における機械学習の活用事例とそれをAWSで実現するためのソリューションをAWSの機械学習サービスと併せて包括的にご紹介します。また、それらサービスの具体的な使い方をデモを交えて紹介します。

---

[Game 開発で活用するAWS の AI/ML サービスのご紹介]

AWS では、メディア・金融・ヘルスケア・製造・自動車など数万のお客様に機械学習環境を構築いただいています。お客様からいただいたフィードバックを元に、AI/MLに関しても多くの新サービス・新機能のアップデートがあり、様々な実ビジネスにおいてご活用いただいています。本セッションでは、Game AI の開発運用を支援する AWS の AI/MLサービスを、お客様の事例やデモも交えてご紹介します。

Shoko Utsunomiya

August 21, 2019
Tweet

More Decks by Shoko Utsunomiya

Other Decks in Technology

Transcript

  1. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. (BNFꟚ涪ד崞欽ׅ׷"84ך "*.-؟٦ؽأך׀稱➜ 4IPLP6UTVOPNJZB .BDIJOF-FBSOJOH4PMVUJPOT"SDIJUFDU "NB[PO8FC4FSWJDFT+BQBO,, (BNF5FDI/JHIU _؜٦ي噟歲ぢֽ "84ד㹋植ׅ׷堣唒㷕统_ "VHVTU   1. ˊ 1. !"84-PGU5PLZP
  2. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Agenda • AWS %#$" • AWS SageMaker  •    #! • 
  3. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS   Amazon     
  4. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 10,000    AWS  
  5. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS 1:09  AI ML ML & 1:09 8(  1:09 "'%* 34 1:09 #(-7 .,09 ")  -25 *!&&$+6 /    AI: Artificial Intelligence (), ML: Machine Learning ()
  6. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. I A F C / / / / / / / / / / / / AMAZON SAGEMAKER Forecasting Recommendation Vision Speech, Language, Chatbots & A M A Z O N E C 2 C 5 I n s t a n c e s A M A Z O N E C 2 P 3 I n s t a n c e s F P G A s Frameworks E l a s t i c I n f e r e n c e Infrastructure Interfaces
  7. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. I A F C / / / / / / / / / / / / AMAZON SAGEMAKER Forecasting Recommendation Vision Speech, Language, Chatbots & A M A Z O N E C 2 C 5 I n s t a n c e s A M A Z O N E C 2 P 3 I n s t a n c e s F P G A s Frameworks E l a s t i c I n f e r e n c e Infrastructure Interfaces
  8. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AI   •   
  9. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AI (% 10# AI  $ "     !'  &  
  10. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.  Amazon Rekognition & Amazon Rekognition Video Amazon Textract Name: Jeff Bezos
  11. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Rekognition & Amazon Rekognition Video Amazon Textract Name: Jeff Bezos 
  12. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Rekognition & Amazon Rekognition Video Amazon Textract Name: Jeff Bezos 
  13. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.  Amazon Transcribe Amazon Polly Welcome to GTN.
  14. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.  Amazon Translate Amazon Comprehend   Introduction to machine learning Amazon.com, Inc. is located in Seattle,WA and was founded July 5th, 1994. Amazon Comprehend Medical  
  15. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.  Amazon Lex
  16. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. %( ' Amazon Forecast " * )%(  # +&  !#$  ' & 
  17. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.   Amazon Personalize * /  0& 2'(- 1, SageMaker #% ,." !)$+
  18. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS 1:09  AI ML ML & 1:09 8(  1:09 "'%* 34 1:09 #(-7 .,09 ")  -25 *!&&$+6 /    AI: Artificial Intelligence (), ML: Machine Learning ()
  19. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AMAZON SAGEMAKER & A M A Z O N E C 2 C 5 I n s t a n c e s A M A Z O N E C 2 P 3 I n s t a n c e s F P G A s Frameworks E l a s t i c I n f e r e n c e Infrastructure Interfaces
  20. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.                 
  21. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. &!   "0 /# ,-+  '*/# $%  . )(       
  22. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.  “Undifferentiated Heavy Lifting” Ꟛ涪橆㞮圓眠 • Ꟛ涪ث٦يד㖱♧זꟚ涪橆㞮圓眠 • ؿٖ٦يٙ٦ؙך؎ٝأز٦ٕغ٦آّٝ盖椚 㷕统 • CPU/GPU זו欽鷿ח֮׏׋ع٦سؐؑ،橆㞮䲿⣘ • أ؛٦ٓـٕזⴓ侔㷕统圓眠ה䎢䌒㚖ז鸐⥋橆㞮 رفٗ؎٥麊欽 • 堣唒㷕统ה殯ז׷إٔؗإحزָ実׭׵׸׷ • 䱿锷橆㞮ך彊⪒הٌرٕךمأذ؍ؚٝ Photo by Victor Freitas on Unsplash
  23. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker !#  # !# 53 2/+' $453 " (8 ,.-/ ML   %:*7& 1 2 3 $453 +'#    06);(8 19(8"
  24. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker !#  # !# 53 2/+' $453 " $453 +'#  (8 ,.-/   06);(8 19(8" ML   %:*7& 1 2 3
  25. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker Notebook instance v  v JupyterLab • 醱侧ةـד歗꬗盖椚 • Git鸬䵿ך䭁䓸堣腉 • SageMaker ♳ךٙ٦ؙؿٗ٦橆㞮٥ر٦ةך؎ٝه٦زٌرٕ㹀纏㷕统آّـ رفٗ؎ؒٝسه؎ٝزㄎן⳿׃׾ SageMaker Python SDKד鎸鶢ׅ׷ https://github.com/aws/sagemaker-python-sdk
  26. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker L M  
  27. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.         Linear Learner XGBoost XGBoost, (eXtreme Gradient Boosting) PCA (Principal Component Analysis) k-means K k-NN K Factorization Machines Random Cut Forest robust random cut tree LDA (Latent Dirichlet Allocation) SageMaker ˟ -%"ךؔٔآشٕכ侄䌌ז׃ https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html
  28. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.        r Image classification ResNet Object Detection SSD (Single Shot multibox Detector) k M Semantic Segmentation FCN, PSP, DeepLabV3 (ResNet50, ResNet101) k r seq2seq Deep LSTM Neural Topic Model NTM, LDA Blazing text Word2Vec Text Classification Object2Vec Word2Vec ~ DeepAR Forecasting Autoregressive RNN g IP Insights NN (IP entity a ) e IP S https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html
  29. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Image Classification ILSVRC 2015ד⮚⹧׃׋ResNet ח״׷넝礵䏝ז歗⫷钠陎 AWS ָ㷕统幥׫ךٌرٕ׾䲿⣘׃גֶ׶ծِ٦ؠ㔿剣ך ر٦ةחさ׻ׇג鷄⸇㷕统 (鯄獳㷕统) ָ〳腉 https://docs.aws.amazon.com/ja_jp/sagemaker/latest/dg/image-classification.html dog cat
  30. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Marketplace in Machine Learning Natural Language Processing Grammar & Parsing Text OCR Computer Vision Named Entity Recognition Video Classification Speech Recognition Text-to-Speech Speaker Identification Text Classification 3D Images Anomaly Detection Text Generation Object Detection Regression Text Clustering Handwriting Recognition Ranking 2 0 2 2 0 2
  31. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker M M M L HPO
  32. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker  AWS Cloud Office Network ظ٦زـحؙ ؎ٝأةٝأ 㷕统欽 ؎ٝأةٝأ 䱿锷欽 ؎ٝأةٝأ ؙٓ؎،ٝز SageMaker Service
  33. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.     • ♧菙涸חⵃ欽ׁ׸׷堣唒㷕统ךؿٖ٦يٙ٦ؙכծ؝ٝذش؎ً٦ آה׃ג䲿⣘ׁ׸גֶ׶ծِ٦ؠכ䗳銲ז׮ך׾鼅׿דⵃ欽דֹ׷ • ؝ٝذش؎ً٦آ׾⡲䧭ׅ׷׋׭ך Docker ؿ؋؎ٕכⰋגgithub דⰕꟚ׃גֶ׶ծِ٦ؠָ荈歋ח㢌刿׃גⵃ欽דֹ׷ • 2018䎃ךre:Inventד䓼⻉㷕统ח㼎䘔׃׋؝ٝذش׮ٔٔ٦أ
  34. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.    SageMaker container  Deep learning TensorFlow Legacy mode: 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0 Script mode: 1.11.0, 1.12.0, 1.13.0 Chainer 4.0.0, 4.1.0, 5.0.0 PyTorch 0.4.0, 1.0.0, 1.1.0 MXNet 0.12.1, 1.0.0, 1.1.0, 1.2.1, 1.3.0, 1.4.0, 1.4.1. ML scikit-learn 0.20.0 https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker TensorFlow: https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/tensorflow Chainer: https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/chainer PyTorch: https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/pytorch MXNet: https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/mxnet Sklearn: https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/sklearn  2019 2 13 •
  35. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker M L HPO M M
  36. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker RL pmor E G c A Rk OW l & & n e i ( a DM g K E Y F E A T U R E S , 3 , ) 3 3 2 , , b S
  37. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon SageMaker Reinforcement Learning • C MOA S po n - Ae c • e c GMO IR O • AWS RoboMaker A S L L am c S Ar m Redis h k, g c   Container for Agent Container for Agent Container for environment Container for environment OpenAI gym, simulator…   AWS RoboMaker e c Coach, RLLib
  38. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.   AWS DeepRacer DeepRacer    
  39. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.    (value fn)  (reward fn)
  40. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS (% AI/ML "$  • Amazon SageMaker $. https://amzn.to/2MtH514 13:45~14:15 301AWS6P5M"O7 14:15~15:15 601Amazon SageMaker <N 15:45~16:15 301Amazon SageMaker Ground TruthO7%* (&* 16:15~17:15 601 JI/H -@C,0CAC)I 9-GKBL>4=:E3 .8AI/MLA4  ? -* '$!)@C,0I DF;?#)  SageMakerA4H +2 2019  8  29  13:15 *13:4517:30 <&!#> 8 27 ) 17:00     +'  ,1-
  41. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. https://mlloft5.splashthat.com/ ML@Loft
  42. © 2019, Amazon Web Services, Inc. or its affiliates. All

    rights reserved.   • 3 /#1". $2#1". ,&%+ • AI  AWS #1".0- ) *' • Amazon SageMaker(!