what convnets look at when they look at nudity

65
What convnets look at when they look at nudity Ryan Compton [email protected]

Upload: ryan-compton

Post on 25-Jan-2017

287 views

Category:

Science


0 download

TRANSCRIPT

What convnets look at when they look at nudity

Ryan [email protected]

Disclaimer

Please be advised that this presentation may contain content which some viewers may find offensive.

Disclaimer

Please be advised that this presentation may contain content which some viewers may find offensive.

API Demo

1996

Eventually someone will get real good at feature engineering and the problem will be solved, right?

Fast-forward: CNNs

SFW training data

SFW training data

Learned low-dimensional representations are rich in semantic information

But How?

SFW training data

NSFW training data

convnet

Demo network for this talk (modified ZF net):

5 convolutional layers3 fully-connected layers2 softmax outputs (‘sfw’ and ‘nsfw’)

Train Test

Train Test

Publish

Train TestDeploy to prodand everything breaks

And how does it do that?

Occlusion Experiment

Occlusion Experiment

Deconvolutional Networks

• Provides way to map activations at high layers back to the input

• Same operations as Convnet, but in reverse:– Unpool feature maps– Convolve unpooled maps

• Filters copied from Convnet

– Used here purely as a probe– Originally proposed as unsupervised learning

method– No inference, no learning Input Image

Convolution (learned)

Unpooling

Feature maps

Non-linearity

[Zeiler et al. CVPR’10, ICCV’11]

Wavelets, curvelets, framelets, shapelets, shearlets...

Reversible Max Pooling

Pooled Feature Maps

MaxLocations“Switches”

Pooling Unpooling

Feature MapReconstructed Feature Map

Reuse Feedforward Switches

2014

First Layer

Image from Zeiler, Matthew D., and Rob Fergus. "Visualizing and understanding convolutional networks." European Conference on Computer Vision. Springer International Publishing, 2014.

Second Layer

Third Layer

Fourth Layer

Fifth Layer

conv1

conv2

conv3

conv4

conv5

fc8

https://en.wikipedia.org/wiki/Lenna

Lenna or Lena is the name given to a standard test image widely used in the field of image processing since 1973.[1] It is a picture of Lena Söderberg, shot by photographer Dwight Hooker, cropped from the centerfold of the November 1972 issue of Playboy magazine.

fc8

fc8

fc8

fc8

fc8

Oh and safe stuff too...

The Future...

Context matters

Context matters

Context matters

Context matters

Customization matters (demo)

Clarifai Research

Research

Data and Research

Data Science● Collect data● Improve

Models

Research● Solve problems

we don’t have solutions for today

What about data?

Datasets● 100+ datasets● Almost every

vertical where there are images and videos

Data● 1B+ labelled

images● 1M+ labelled

videos

The Data / Research Team

You

clarifai.com/jobs

Some common questions:

What about publishing?

Can I work remotely?

Research Collaborations: How to Apply?

Where: [email protected]: ● Name● School● Year in Program● Professor● Current Focus + Future Interests● ResumeWhen: Accepting Applications Now!