CSCI 3280
Introduction to Multimedia Systems
(2026 Term 2)
Computer Science & Engineering
The Chinese University of Hong Kong
AI vs. Machine learning vs. Deep Learning
AI is the ultimate goal; machine learning and deep learning are ways to the goal.
What is Machine Learning?
Learning is not “memorization” – generalization.
What is Machine Learning?
Definition of Machine Learning
Machine learning = looking for a function f()
An example of bank credit card approval.
Components of Learning
An example of bank credit card approval.
Solution Components
The Perceptron
Simple Learning - PLA
Classification vs. Regression
What is Deep Learning?
Definition |
A family of methods that uses deep architectures to learn high-level feature representations. |
Example of Trainable Features
Why do we need “Deep”?
Why Deep Model? |
|
signals
sentence
pixels
object
Why do we need “Deep”?
Why Deep Model? |
|
Three Steps for Deep Learning
Step 1: Neural Network
Step 2: Cost Function
Step 3: Optimization
Step 1. A neural network is a function composed of simple functions (neurons)
Step 2. Cost function evaluates how good a set of parameters is
Step 3. Find the best function set (e.g. back propagation)
……
nodes
Layer
……
……
Layer
nodes
……
Output of a neuron:
Neuron i
Layer
Output of one layer:
: a vector
A Type of Neural Networks
……
nodes
Layer
……
……
Layer
nodes
……
Layer
to Layer
from neuron j
to neuron i
(Layer )
(Layer )
Fully Connected Layer (1)
……
nodes
Layer
……
……
Layer
nodes
……
: bias for neuron i at layer l
bias for all neurons in layer l
Fully Connected Layer (2)
……
nodes
Layer
……
……
Layer
nodes
……
…
…
Fully Connected Layer (3)
……
nodes
Layer
……
……
Layer
nodes
……
Fully Connected Layer (4)
Fully Connected Network
Step 1: Neural Network
Step 2: Cost Function
Step 3: Optimization
Step 1. A neural network is a function composed of simple functions (neurons)
Step 2. Cost function evaluates how good a set of parameters is
Step 3. Find the best function set (e.g. back propagation)
Three Steps for Deep Learning
Function set:
Including all different w and b
class 1
class 2
z
z
0
0
Cost Function
…
…
…
…
Sigmoid Function
Cost Function
Cross entropy:
Cost Function - Cross Entropy
Total
Loss
w1
w2
Cross Entropy
Square
Error
Cross Entropy vs. Square Error
Step 1: Neural Network
Step 2: Cost Function
Step 3: Optimization
Step 1. A neural network is a function composed of simple functions (neurons)
Step 2. Cost function evaluates how good a set of parameters is
Step 3. Find the best function set (e.g. back propagation)
Three Steps for Deep Learning
w0
Positive
Negative
Decrease w
Increase w
Gradient Descent
w0
η is called “learning rate”
Gradient Descent
w0
…… Many iteration
Local minima
global minima
w1
w2
wT
Gradient Descent
Backpropagation – Summary
…
…
Forward Pass
Backward Pass
…
…
X
for all w
Convolutional Neural Networks
Recurrent Neural Network
f
h0
h1
y1
x1
f
h2
y2
x2
f
h3
y3
x3
……
No matter how long the input/output sequence is, we only need one function f
h and h’ are vectors with the same dimension
Auto Encoder
Summary