embeddings and uncertainty · 2019-10-07 · embeddings and uncertainty oct. 4, 2019 andrew...

80
Embeddings and Unceainty Oct. 4, 2019 Andrew Gallagher [email protected] Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff, Kevin Murphy, Mike Mozer, Caroline Pantofaru, Michael Nechyba, Cusuh Ham, Zhou Zhou, Abinash Behera

Upload: others

Post on 15-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Embeddings and UncertaintyOct. 4, 2019

Andrew Gallagher [email protected]

Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff, Kevin Murphy, Mike Mozer, Caroline Pantofaru, Michael Nechyba, Cusuh Ham, Zhou Zhou, Abinash Behera

Page 2: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

longing for certainty ... is in every human mind. But certainty generally is illusion.

Oliver Wendell Holmes

Bertrand Russell

Page 3: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Would you recognize this person if you needed to?

Page 4: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

What about one of these?

Bulthoff and Edelman, Psychophysical support for a two-dimensional view interpolation theory of object recognition, 1992. (link)

Page 5: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

How about this?

Bulthoff, Object Recognition in Man and Machine (link)

Page 6: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

How about this?

Bulthoff, Object Recognition in Man and Machine (link)

Page 7: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Introduction

Embeddings

Uncertainty Representations (2)

Discussion

Andrew Gallagher WNYIPW2019 Google

Page 8: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Introduction

Embeddings

Uncertainty Representations (2)

Discussion

Andrew Gallagher WNYIPW2019 Google

Page 9: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Anchor

Positive

Negative

Anchor

Positive

NegativeLearn

Margin

FaceNet

slide content: F. Schroff and D. Kalenichenko

Encourages a margin between the ||anchor - positive|| and ||anchor - negative||.

F. Schroff, D. Kalenichenko, J. Philbin, FaceNet: A Unified Embedding for Face Recognition and Clustering https://arxiv.org/abs/1503.03832

Page 10: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Anchor

Positive

Negative

Anchor

Positive

NegativeLearn

Margin

FaceNet

slide content: F. Schroff and D. Kalenichenko

Page 11: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Training

Page 12: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Training

Page 13: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

?

Testing

Page 14: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Testing

Page 15: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Introduction

Embeddings

Uncertainty Representations (1)

Discussion

Andrew Gallagher WNYIPW2019 Google

Page 16: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Are two images the same class or not?

We typically employ:

Seong Joon Oh, Kevin Murphy, Jiyan Pan, Joseph Roth, Florian Schroff, Andrew Gallagher, Modeling Uncertainty with Hedged Instance Embedding, https://arxiv.org/abs/1810.00319

Page 17: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

Page 18: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: ?

Page 19: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: 47?

Page 20: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: ?

Page 21: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: 17?

Page 22: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: ?

?

Page 23: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: ?

?

Page 24: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Commonly done: Point embedding.

true class: 17

true class: 47

class: ?

?

Page 25: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Hedged Instance Embeddings

true class: 17

true class: 47

class: ?

Page 26: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

true class: 17

true class: 47

class: ?

Page 27: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Metric embedding as distributions.Formulate as discriminative task: given pair, predict match.

Introduce embedding as latent variable:

Embedding distributions must be:parameterizablesampleable

Page 28: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Match probability estimation.

Page 29: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Computing

Page 30: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Computing

Page 31: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Computing

Page 32: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Computing

Page 33: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

sigmoid matchlikelihood

Computing

Page 34: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Computing

sigmoid matchlikelihood

Scratch Demo

Page 35: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

End-to-end differentiable with reparametrization trick.

Shared params

Page 36: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

MoG embedding with multiple samples case.

Shared params

Page 37: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Training objective - Variational Information Bottleneck

Derived from the Variational Information Bottleneck [from Bayesflow team]:

Log likelihood term: Binary cross-entropy loss for match prediction.

KL term: Controls the compression level for z. Unit Gaussian.

Page 38: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

We desire a measure that, given input , one can guess its performance on downstream tasks (e.g., verification, recognition).

Uncertainty measure: Self-mismatch.

Page 39: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

uncertain certainsomewhat uncertain

MoG-1 MoG-1MoG-2

Uncertainty measure: Self-mismatch.We desire a measure that, given input , one can guess its performance on downstream tasks (e.g., verification, recognition).

Page 40: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Dataset and Experiments

Andrew Gallagher WNYIPW2019 Google

Page 41: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

N-digit MNIST Dataset [open source!]

Page 42: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Experimental setup.

Page 43: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Clean images Corrupt images

2 Digit MNIST → 2 dimension Hedged Instance Embeddings (MoG-1)

Page 44: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Clean images Corrupt images

3 Digit MNIST → 3 dimension Hedged Instance Embeddings (MoG-1)

Page 45: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

2 Digit → 2 Dim

Hedged Instance Embeddings (MoG-1)

Page 46: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Task Performance

Page 47: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Task Performance

Page 48: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Most certain Least certain

Page 49: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Uncertainty Measure

Page 50: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

PetNet with Uncertainty

20-dim embedding0.25 MobileNet

High Certainty Samples Low Certainty Samples

Page 52: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Introduction

Embeddings

Uncertainty Representations (2)

Discussion

Andrew Gallagher WNYIPW2019 Google

Page 53: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Deep Convolutional Neural Network Features and the Original Image

Page 54: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Why is L2-Norm Useful?

Page 55: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Probabilistic Face Embeddings, Shi & Jain, 2019, https://arxiv.org/abs/1904.09658.

Page 56: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Fashion MNIST

MNIST

Datasets

Page 57: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Architecture50

D

10normalization

Page 58: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,
Page 59: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

D=3, normalized, cross-entropy loss

Page 60: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

D=4, normalized, triplet loss

Page 61: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Staying close to home ...

Page 62: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew GallagherFa

ceN

et e

mbe

ddin

g

penu

ltim

ate

embe

ddin

g

feature extraction

norm

aliz

e

L2

sigmoid embedding confidence

Embedding

Page 63: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew GallagherFa

ceN

et e

mbe

ddin

g

penu

ltim

ate

embe

ddin

g

Embedding

feature extraction

norm

aliz

e

L2

sigmoid embedding confidence

Distilled Embedding Confidence

distilled embedding confidence

Page 64: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Recognizable Not Recognizable0.123 0.0860.1640.2700.3200.3980.6180.630 0.4570.8650.935

Page 65: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Introduction

Embeddings

Uncertainty Representations (2)

Discussion

Andrew Gallagher WNYIPW2019 Google

Page 66: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Real-world applications

Andrew Gallagher WNYIPW2019 Google

Page 67: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Page 68: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

A boring image.

Page 69: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

A corrupted image.

Page 70: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Page 71: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

ApplicationsGallery Selection: Given a potentially large collection of images or a video. Select a subset of images/frames that will most reliably identify the individual.

Computational Efficiency: Prevent running the expensive models on images with high uncertainty.

Tracking: Use as the confidence score.

Offline Face Clustering: Confidence weighted cluster similarity instead of top-N or other heuristic based approaches.

Page 72: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Open Questions

Andrew Gallagher WNYIPW2019 Google

Page 73: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Open Questions

How best to quantify and measure uncertainty?

Andrew Gallagher WNYIPW2019 Google

Page 74: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Open Questions

Tell us when you don’t know.

But only when absolutely necessary.

Andrew Gallagher WNYIPW2019 Google

Page 75: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Open Questions

How best to compute, index, and match uncertain embeddings (at scale)?

Andrew Gallagher WNYIPW2019 Google

Page 76: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Open Questions

What network architectures encourage learning uncertainty?

Andrew Gallagher WNYIPW2019 Google

Page 77: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Open Questions

Open world (epistemic) uncertainty.

Andrew Gallagher WNYIPW2019 Google

Page 80: Embeddings and Uncertainty · 2019-10-07 · Embeddings and Uncertainty Oct. 4, 2019 Andrew Gallagher agallagher@google.com Seong Joon Oh, Joseph Roth, Jiyan Pan, Florian Schroff,

Andrew Gallagher

Thank you

Andrew Gallagher WNYIPW2019 Google