Lecture 4-Deep Learning and Cognitive Computing
Lecture 4-Deep Learning and Cognitive Computing
i. Learn what deep learning is and how it is changing the world of computing
ii. Know the placement of deep learning within the broad family of AI learning
methods
iii. Understand how traditional “shallow” artificial neural networks (ANN) work
iv. Become familiar with the development and learning processes of ANN
v. Develop an understanding of the methods to shed light into the ANN black box
LEARNING OBJECTIVES
i. Know the underlying concept and methods for deep neural networks
ii. Become familiar with different types of deep learning methods
iii. Understand how convolutional neural networks (CNN), recurrent neural
networks (RNN), and long short-memory networks (LSTM) work
iv. Become familiar with the computer frameworks for implementing deep
learning
v. Know the foundational details about cognitive Computing and IBM
Watson
INTRODUCTION TO DEEP LEARNING
• Imaginative things in the SciFi movies are turning into realities-tanks to AI and
Machine Learning
• Siri, Google assistant, Alexa, Google home, …
• Deep learning is the newest member of the AI/Machine Learning family
• Learn better than ever before
• The reason for Deep Learning superiority
• Automatic feature extraction and representation
INTRODUCTION TO DEEP LEARNING
• The placement of Deep Learning within the overarching AI-based learning methods
INTRODUCTION TO DEEP LEARNING
• Differences between Classic Machine-Learning Methods and Representation
Learning/Deep Learning
BASICS OF “SHALLOW” LEARNING
• Artificial Neural Networks – abstractions of human brain and its complex biological
network of neurons
• Neurons = Processing Elements (PEs)
• Single-input and single-output neuron/PE
BASICS OF “SHALLOW” LEARNING
• Common transfer (activation) functions
BASICS OF “SHALLOW” LEARNING
• Typical multiple-input neuron with R individual inputs
• ImageNet (http://www.image-net.org)
• Architecture of AlexNet, a CNN for Image Classification
IMAGE PROCESSING USING CN N
• Conceptual Representation of the Inception Feature in GoogLeNet
IMAGE PROCESSING USING CN N
• Examples of Using the Google Lens
Figure 6.28 Two Examples of Using the Google Lens, a Service Based on
Convolutional Deep Networks for Image Recognition.
Source: ©2018 Google L LC, used with permission. Google and the Google logo are registered
trademarks of Google L LC.
TEXT PROCESSING USING CNN
• Google word2vec project
• Word embeddings
• Typical Vector Representation of Word Embeddings in a Two-Dimensional
Space
TEXT PROCESSING USING CNN
• CNN Architecture for Relation Extraction Task in Text Mining
RECURRENT NEURAL NETWORKS (RNN) &
LONG SHORT-TERM MEMORY (LSTM)
Typical Long
Short-Term
Memory (L ST M)
Network
Architecture
RECURRENT NEURAL NETWORKS (RNN)
& LONG SHORT-TERM MEMORY (LSTM)
• LSTM Network Applications
Example Indicating
the Close-to-
Human
Performance of the
Google Neural
Machine Translator
(G N MT)
COMPUTER FRAMEWORKS FOR
IMPLEMENTATION OF DEEP LEARNING
• Torch (http://www.torch.ch)
• ML with GPU
• Caffe (caffe.berkeleyvision.org)
• Facebook’s improved version (www.caffe2.ai)
• TensorFlow (www.tensorflow.org)
• Google - Tensor Processing Units (TPUs)
• Theano (deeplearning.net/software/theano)
• Deep Learning Group at the University of Montreal
• Keras (keras.io)
• Application Programming Interface
COGNITIVE COMPUTING
• Systems that use mathematical models to emulate (or partially simulate)
the human cognition process to find solutions to complex problems and
situations where the potential answers can be imprecise
• IBM Watson on Jeopardy!
• How does cognitive computing work?
Capabilities offered Simulate human thought processes to assist Find hidden patterns in a variety of data
humans in finding solutions to complex sources to identify problems and provide
problems potential Solutions