Top Banner
COSTA: Co-occurrence statistics for zero-shot classification Thomas Mensink – University of Amsterdam Parts & Attributes Workshop – ECCV 2014 September 12th
29

COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Feb 05, 2018

Download

Documents

ngotram
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

COSTA: Co-occurrence statistics

for zero-shot classification

Thomas Mensink – University of Amsterdam

Parts & Attributes Workshop – ECCV 2014

September 12th

Page 2: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Parts & Attributes

PnA 2014 COSTA 2

Page 3: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Parts & Attributes

• Semantic representation of images

– Properties of class / context of class

– Each attribute relevant for a few classes

• Interesting for

– Zero-shot prediction

– Few-shot prediction

– Recounting of visual content

PnA 2014 COSTA 3

Page 4: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Parts & Attributes: Disadvantages

• Unnatural distinction between

– Attributes to be detected

– Classes of interest

• Binary map from classes to attributes

• Inherently multi-class zero-shot prediction

PnA 2014 COSTA 4

Page 5: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

CAN’T WE DO ZERO-SHOT PREDICTION

IN MULTI-LABELED DATASETS?

PnA 2014 COSTA 5

Page 6: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Multi-label zero-shot classification

• I’m looking for a label, which I have not seen

before. However, this picture contains also:

– Indoor

– Living room

– Table

– …

• We can classify based on context

PnA 2014 COSTA 6

Page 7: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

COSTA: Intuition

PnA 2014 COSTA 7

Page 8: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

COSTA: Intuition (2)

v

(2)where1)

PnA 2014 COSTA 8

Page 9: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

COSTA: Design

PnA 2014 COSTA 9

Page 10: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

COSTA: Classifier

• Goal: Estimate classifier for unseen label

• Assumption: k trained classifiers

• Zero-shot classifier:

• Where is based on co-occurrence stats

PnA 2014 COSTA 10

Page 11: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Co-Occurrence Statistics

How to set a weight s, based on counts c

• Normalized

• Binarized

• Burstiness corrected

• Dice coefficient

PnA 2014 COSTA 11

Page 12: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Co-Occurrence Statistics (2)

Co-occurrences can be obtained from:

• Ground-truth data (proof-of-concept)

• Web search engines

• Flickr Tags

• Microsoft COCO

PnA 2014 COSTA 12

Page 13: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Example: Beach Holiday

PnA 2014 COSTA 13

Concept Normalized Co-Oc Weight

Sea 0.1810

Water 0.0992

Summer 0.0548

LandscapeNature 0.0435

SunsetSunrise 0.0383

Sports 0.0367

Travel 0.0347

Ship 0.0346

Sunny 0.0319

Big Group 0.0282

Page 14: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Example: Beach Holidays

PnA 2014 COSTA 14

Page 15: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

TWO EXTENSIONS

PnA 2014 COSTA 15

Page 16: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Defining a concept by what it is not

• Knowing what is not related to a visual concept is

informative for its visual scope

• Related: used in image retrieval [Jegou&Chum ECCV 12]

• Example: a car is never* together with a table

• Solution: positive and negative co-occurrences:

* Ok. Never say never, but it is very unlikely

PnA 2014 COSTA 16

Page 17: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Regression to improve COSTA

• Our problem is estimating a classifier:

• Objective: the estimated classifier should be

as close as possible to the learned classifier if

we would have visual labels.

PnA 2014 COSTA 17

Page 18: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Regression to improve COSTA (2)

• Idea: learn a weight ak

per classifier

• Note: Weights are independent of novel class

• Solve: Regression objective

• Train: Using a leave-one-out setting over train classes

PnA 2014 COSTA 18

Page 19: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

EXPERIMENTS

PnA 2014 COSTA 19

Page 20: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Experimental setup

• Hierarchical SUN dataset [Choi et al. CVPR’10]

– 107 Labels

– 4367 train 4317 test images

– 5.34 labels per image

• Fisher Vectors (3096 dim)

• SVMs with 2 fold cross-validation

• In paper also experiments on:

– ImageCLEF’10 and CUB-Attributes

PnA 2014 COSTA 20

Page 21: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Multi-label Zero-Shot Classification

PnA 2014 COSTA 21

Page 22: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

AP per Concept

PnA 2014 COSTA 22

Page 23: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Co-occurrences from the Web

PnA 2014 COSTA 23

Page 24: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Ok. But?

PnA 2014 COSTA 24

Page 25: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

How about DeepNets?

• Related works: DeViSe and CONSe

– Very similar to COSTA, few differences

– Predict 1000 ImageNet Classes

– Measure relatedness by Word2Vec

• Preliminary result: co-occurrences capture

visual semantics better than Word2Vec

PnA 2014 COSTA 25

Page 26: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Failure mode(s)?

• Fine-grained classification:

– Co-occurrences are not sufficient to distinguish:

Italian Sparrow Great Sparrow

PnA 2014 COSTA 26

Page 27: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Failure mode(s)?

• Fine-grained classification:

Attributes make sense on segmented objectsZ. Li, E. Gavves, T. Mensink, and C.G.M. Snoek , ECCV 2014

PnA 2014 COSTA 27

Page 28: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

Conclusion: COSTA

PnA 2014 COSTA 28

• First method designed for multi-label zero-shot

• Many visual concepts can be described as an open set of concept-to-concept relations

• Describe latent image semantics with co-occurrences

• Exploit natural bias in natural images

Page 29: COSTA: Co-occurrence statistics for zero-shot classificationcc.gatech.edu/~parikh/PnA2014/slides/mensink.pdf · COSTA: Co-occurrence statistics for zero-shot classification Thomas

COSTA: Co-occurrence statistics

for zero-shot classification

T. Mensink, E. Gavves, and C.G.M. Snoek , CVPR 2014