14
Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Embed Size (px)

Citation preview

Page 1: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Feature learning for image

classificationKai Yu and Andrew Ng

Page 2: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Computer vision is hard

Page 3: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Machine learning and feature representations

Input

Input spaceMotorbikes“Non”-Motorbikes

Learningalgorithm

pixel 1

pixel 1

pixel 2

Page 4: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Machine learning and feature representations

Input

Input space Feature spaceMotorbikes“Non”-Motorbikes

Feature representation

Learningalgorithm

pixel 1 “wheel”

handle

wheel

Page 5: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

How is computer perception done?

Image Low-levelvision features

Recognition

Low-level statefeatures Action

Helicopter

Audio Low-levelaudio features

Speakeridentification

Object detection

Audio classification

Helicopter control

Page 6: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Learning representations

Sensor Learningalgorithm

Feature Representation

Page 7: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Computer vision features

SIFT Spin image

HoG RIFT

Textons GLOH

Page 8: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Audio features

ZCR

Spectrogram MFCC

RolloffFlux

Problems of hand-tuned features1. Needs expert knowledge

2. Time-consuming and expensive3. Does not generalize to other domains

Page 9: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Computer vision is more than pictures

Camera array

3d range scans (flash lidar) Audio

Can we automatically learn good feature representations?

Images

Thermal Infrared

Video

Page 10: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Learning representations

Sensor Learningalgorithm

Feature Representation

Page 11: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Sensor representation in the brain

[BrainPort; Martinez et al; Roe et al.]

Seeing with your tongueHuman echolocation (sonar)

Auditory cortex learns to see.

Auditory Cortex

Page 12: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Unsupervised feature learning

Find a better way to represent images than pixels.

Page 13: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

The goal of Unsupervised Feature Learning

Unlabeled images

Learningalgorithm

Feature representation

Page 14: Andrew Ng Feature learning for image classification Kai Yu and Andrew Ng

Andrew Ng

Tutorial outline

1. Current methods.

2. Sparse coding for feature learning.

— Break —

3. Advanced classification.

4. Advanced concepts & deep learning.