Experiments with Tensor Flow Roman Weber (Geschäftsführer) Richard Schmid (Senior Consultant)

Similar documents
Andrei Behel AC-43И 1

46.1 Introduction. Foundations of Artificial Intelligence Introduction MCTS in AlphaGo Neural Networks. 46.

How AI Won at Go and So What? Garry Kasparov vs. Deep Blue (1997)

AlphaGo and Artificial Intelligence GUEST LECTURE IN THE GAME OF GO AND SOCIETY

Google DeepMind s AlphaGo vs. world Go champion Lee Sedol

Computer Go: from the Beginnings to AlphaGo. Martin Müller, University of Alberta

CSC321 Lecture 23: Go

Monte Carlo Tree Search

Game-playing: DeepBlue and AlphaGo

Poker AI: Equilibrium, Online Resolving, Deep Learning and Reinforcement Learning

CS 380: ARTIFICIAL INTELLIGENCE MONTE CARLO SEARCH. Santiago Ontañón

Mastering the game of Go without human knowledge

Data-Starved Artificial Intelligence

Game AI Challenges: Past, Present, and Future

The Principles Of A.I Alphago

Mastering Chess and Shogi by Self- Play with a General Reinforcement Learning Algorithm

Department of Computer Science and Engineering. The Chinese University of Hong Kong. Final Year Project Report LYU1601

KÜNSTLICHE INTELLIGENZ JOBKILLER VON MORGEN?

SDS PODCAST EPISODE 110 ALPHAGO ZERO

Demystifying Machine Learning

TTIC 31230, Fundamentals of Deep Learning David McAllester, April AlphaZero

Adversarial Search. CS 486/686: Introduction to Artificial Intelligence

CS6700: The Emergence of Intelligent Machines. Prof. Carla Gomes Prof. Bart Selman Cornell University

Artificial intelligence: past, present and future

Applying Modern Reinforcement Learning to Play Video Games. Computer Science & Engineering Leung Man Ho Supervisor: Prof. LYU Rung Tsong Michael

Adversarial Search. CS 486/686: Introduction to Artificial Intelligence

Intelligent Non-Player Character with Deep Learning. Intelligent Non-Player Character with Deep Learning 1

Artificial Intelligence Machine learning and Deep Learning: Trends and Tools. Dr. Shaona

AI in Tabletop Games. Team 13 Josh Charnetsky Zachary Koch CSE Professor Anita Wasilewska

Viking Chess Using MCTS. Design Document

All about Go, the ancient game in which AI bested a master 10 March 2016, by Youkyung Lee

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

Aja Huang Cho Chikun David Silver Demis Hassabis. Fan Hui Geoff Hinton Lee Sedol Michael Redmond

Success Stories of Deep RL. David Silver

THE AI REVOLUTION. How Artificial Intelligence is Redefining Marketing Automation

신경망기반자동번역기술. Konkuk University Computational Intelligence Lab. 김강일

AI for Autonomous Ships Challenges in Design and Validation

AI, AlphaGo and computer Hex

Using Neural Network and Monte-Carlo Tree Search to Play the Game TEN

Playing Atari Games with Deep Reinforcement Learning

CS221 Project Final Report Deep Q-Learning on Arcade Game Assault

Prof. Sameer Singh CS 175: PROJECTS IN AI (IN MINECRAFT) WINTER April 6, 2017

CS 188: Artificial Intelligence

Learning to Play Love Letter with Deep Reinforcement Learning

Artificial Intelligence and Deep Learning

Beyond Buzzwords: Emerging Technologies That Matter

CSE 473: Artificial Intelligence. Outline

Foundations of Artificial Intelligence

PURELY NEURAL MACHINE TRANSLATION

Executive summary. AI is the new electricity. I can hardly imagine an industry which is not going to be transformed by AI.

CS 343: Artificial Intelligence

The Roller-Coaster History of Artificial Intelligence and its Impact on the Practice of Law

DeepMind s Demis Hassabis inspires London schoolchildren

What is Artificial Intelligence? Alternate Definitions (Russell + Norvig) Human intelligence

AI in Games: Achievements and Challenges. Yuandong Tian Facebook AI Research

School of EECS Washington State University. Artificial Intelligence

Improving MCTS and Neural Network Communication in Computer Go

April 25, Competing and cooperating with AI. Pantelis P. Analytis. Human behavior in Chess. Competing with AI. Cooperative machines?

Monte Carlo Tree Search and AlphaGo. Suraj Nair, Peter Kundzicz, Kevin An, Vansh Kumar

Artificial Intelligence Adversarial Search

Foundations of Artificial Intelligence

Foundations of AI. 6. Adversarial Search. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard & Bernhard Nebel

CS440/ECE448 Lecture 11: Stochastic Games, Stochastic Search, and Learned Evaluation Functions

INTRODUCTION TO DEEP LEARNING. Steve Tjoa June 2013

How Innovation & Automation Will Change The Real Estate Industry

3 rd December AI at arago. The Impact of Intelligent Automation on the Blue Chip Economy

VISUAL ANALOGIES BETWEEN ATARI GAMES FOR STUDYING TRANSFER LEARNING IN RL

Computing Science (CMPUT) 496

Artificial intelligence, made simple. Written by: Dale Benton Produced by: Danielle Harris

Deep Learning. Dr. Johan Hagelbäck.

The Future of Artificial Intelligence

Application Areas of AI Artificial intelligence is divided into different branches which are mentioned below:

LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE

Deep Learning is Evolving into the Key Technology of Artificial Intelligence. Sepp Hochreiter

Decision Making in Multiplayer Environments Application in Backgammon Variants

Game Playing State-of-the-Art CSE 473: Artificial Intelligence Fall Deterministic Games. Zero-Sum Games 10/13/17. Adversarial Search

UNIT 13A AI: Games & Search Strategies

Creating a Poker Playing Program Using Evolutionary Computation

Artificial Intelligence. Cameron Jett, William Kentris, Arthur Mo, Juan Roman

Hacking Reinforcement Learning

DeepMind Self-Learning Atari Agent

COS 402 Machine Learning and Artificial Intelligence Fall Lecture 1: Intro

Artificial Intelligence in Law: Facts, Futures & Risks

Quick work: Memory allocation

Table of Contents HOL EMT

UNIT 13A AI: Games & Search Strategies. Announcements

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence

URI Imagine the Future

Swing Copters AI. Monisha White and Nolan Walsh Fall 2015, CS229, Stanford University

LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE

Powerful But Limited: A DARPA Perspective on AI. Arati Prabhakar Director, DARPA

Embedding Artificial Intelligence into Our Lives

Introduction to Talking Robots

6. Games. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Mechanical Turk. Origins. origins. motivation. minimax search

GPU ACCELERATED DEEP LEARNING WITH CUDNN

*Please see course page for full description and additional details.

Playing CHIP-8 Games with Reinforcement Learning

Game Playing: Adversarial Search. Chapter 5

PSCSF 25th May Potential of AI and future Local Government applications. Netcall 2017

Transcription:

Experiments with Tensor Flow 23.05.2017 Roman Weber (Geschäftsführer) Richard Schmid (Senior Consultant)

WEBGATE CONSULTING Gegründet Mitarbeiter CH Inhaber geführt IT Anbieter Partner 2001 Ex 29 Beratung Umsetzung Betrieb Support

WebGate North America Boston, MA, USA inxire GmbH Frankfurt, Deutschland Batix Software GmbH Saalfeld, Deutschland WebGate HQ Dietikon, Schweiz WebGate Support Center Brno, Czech Republic

A Smart Home? 4

WEBGATE WELTWEIT WebGate USA Boston WebGate Support Center Brno, Tschechische Republik WebGate HQ Dietikon

6 Playing GO? Go is an ancient board game for two players that originated in China more than 2,000 years ago, played on a grid of 19 19 lines. The object of the game is to use one's stones to control a larger amount of territory of the board than the opponent.

7 «Brute Force does not help!» Go has more possible positions than there are atoms in the universe. 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 times more complex than chess An intelligent machine is needed instead of brute force playing

8 AlphaGo wins 5-0 October 2015, AlphaGo wins 5-0 against the reigning 3- times European Champion, Fan Hui March 2016: AlphaGo beats Lee Sedol (top player in the world) 4 to 1

9 AlphaGo by Google DeepMind The Goal: Win Go against humans using a combination of tree search and deep neural networks Buzzword bingo list: Traditional MCTS (Monte Carlo Tree Search) Neural networks (one for policy, one for value) SL Supervised Learning RL Reinforcement Learning Full details search for: AlphaGoNaturePaper.pdf

10 What s behind Google s AlphaGo Torch7 TensorFlow Custom GPU s called TPU (Tensor Processing Units) ASIC chip for machine learning, specifically optimized for TensorFlow, more efficient than Nvidia GPUs. The final version of AlphaGo used 40 search threads, 48 CPUs, and 8 GPUs (~5 seconds per move) Google also implemented a distributed version of AlphaGo that exploited multiple machines, 40 search threads, 1,202 CPUs and 176 GPUs

11 What is TensorFlow? Can run on CPUs GPUs (NVIDIA) Or even distributed If you re not a 3D NVIDIA graphics gamer:..just launch the Machine Learning AMI in Amazon EC2 and assign tons of GPUs TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.

12 TensorFlow examples MNIST: the hello world of machine learning Teach tensorflow to read hand written digits Consists of hand written digits like these: Each image is 28 pixels by 28 pixels. We can interpret this as a big array of numbers:

13 To train TensorFlow, feed training data (arrays of images) Tensor: multi-dimensional array with the shape of e.g. [55 000, 784] Provide 55 000 data points of training data (used to learn) 10 000 points test data (used to test while learning) 5 000 points validation data (used to validate final model) Never use the remaining 5 000 validation points while in learning mode! Use Amazon Mechanical Turk to mass-classify data by humans TensorFlow can now start learning patterns and will be able to recognize hand written digits with ~99.2% accuracy!

AutoDraw 14

Object Detection 15

16 Cucumber Sorting Train with pictures to sort cucumbers according to certain criteria..

17 Playing Video Games gym.openai.com also uses TensorFlow OpenAI is a non-profit AI research company, discovering and enacting the path to safe artificial general intelligence. Sponsors ->

18 Atari Breakout Example Game runs in a docker VM container TensorFlow connects to that VM via VNC remote desktop TensorFlow can send keystrokes (left / right) TensorFlow can see the game just by looking at the framebuffer pixels (tensor arrays of bits) No initial rules (no if this then that ), just parsing for rewards! The machine does not know it has to move the bar or shoot at something. The machine has to learn on its own by watching, trying, verifying, repeating over and over again.

Atari Breakout after 100 training episodes LEVEL: your grandma 19

Atari Breakout after 200 training episodes LEVEL: Novice 20

Atari Breakout after 400 training episodes LEVEL: Expert 21

22 Atari Breakout after 600 training episodes LEVEL: Skynet will hunt you down and destroy you! The AI has found the best strategy of tunnelling and hitting the ball behind the wall for maximum reward.

23 Virtual Pinball Computer starts learning and plays just like a child!

Virtual Pinball 24

25 Neural Conversational Chatbot with TensorFlow IBM Watson Conversation Service AWS Lex etc just statically scripted intent response dialogues Alexa meets Watson Example: https://www.youtube.com/watc h?v=l1akurvl26w

26 Neural Conversational Chatbot with TensorFlow Feed tensors with text instead of binary images. No sentence hard-wiring. Sources: Cornell Movie Dialogs OpenSubtitles - Movie subtitles database Supreme court conversation data Or your own conversation data

Hours later 27

Neural Conversational Chatbot with TensorFlow Results after only 1 or 2 hours of training on a GeForce GT 740M, by drastically reducing the input sequence to 5 words and output to 3. Result: Failed results: After additional training: 28 Still far from being a Artifical General Intelligence, but impressive nonetheless after just a few hours of studying movie transcripts on your local GPU.

29 Failure prediction Hard to solve using rule-based approch Let s go back to our 1 st world problem..

Title 30

31 Failure Predition To predict failures, watch as much sensor data as possible to find patterns An electric powered motor can have high peaks of current while starting up, but if the current raises above normal level during operation, something smells fishy. Pattern recognition of deep learning should be able to detect anomalies beyond fixed rule-based min/max thresholds by including the big picture.

32 Failure Predition Collect KNX sensor readings for several weeks (the more, the better) Forwarded from KNX Bus to MQTT Broker KNX (formerly Siemens Instabus) is a 2-wire data bus similar to CAN-Bus

Gathering «tons» of data 33

34 Interacting with your Smart Home The house issues audio warning to the inhabitants using text to speech technology

QUESTIONS & ANSWERS 35

36 CONTACT US WebGate Consulting AG Address Riedstrasse 3 8953 Dietikon Switzerland Phone +41 44 727 9393 Email roman.weber@webgate.biz @ www.webgate.biz mywebgate @RomanWebGate