attributes for classifier feedback amar parkash and devi parikh

48
Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Upload: layne-oldham

Post on 29-Mar-2015

229 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Attributes for Classifier Feedback

Amar Parkash and Devi Parikh

Page 2: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

You can teach a child by examples...

Page 3: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 4: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 5: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 6: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 7: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 8: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 9: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 10: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

And on, and on, and on…

Page 11: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 12: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 13: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Is this a giraffe? No.

Is this a giraffe? Yes.

Is this a giraffe? No.

Page 14: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

And on, and on, and on…

Page 15: Attributes for Classifier Feedback Amar Parkash and Devi Parikh
Page 16: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Proposed Active Learning Scenario

Page 17: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

I think this is a giraffe. What do you think?

No, its neck is too short for it to be a giraffe.

Ah! These must not be giraffes

either then.

[Animals with even shorter necks]

……

Current belief Focused feedbackKnowledge of the world

Feedback on one, transferred to many

• Learner learns better from its mistakes• Accelerated discriminative learning with few examples

Page 18: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Communication

Need a language that is• Machine understandable• Human understandable

Attributes!• Mid-level shareable• Visual • Semantic

Page 19: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Proposed Active Learning

Concepts to teach:

C1 C2 CK…

Unlabeled pool of images

Classifiers:

h1 h2 hK…

[Label-feedback][Attributes-based feedback]

Attribute predictors:

a1 a2 aM…

[Predicted Label]

Any feature spaceAny discriminative learning algorithm

Page 20: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Relative Attributes[Parikh and Grauman, ICCV 2011]

Openness

Unlabeled pool of images

Attribute predictors:

a1 a2 aM…

Image featuresParameters

Page 21: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Attributes-based Feedback

Unlabeled pool of images

Unlabeled pool of images

No,It is too open to be a forest

Attribute predictors:

a1 a2 aM…

Forest

Openness

Not Forest

Page 22: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Attributes-based Feedback

Unlabeled pool of images

Unlabeled pool of images

No,It is too open to be a forest

Attribute predictors:

a1 a2 aM…

Forest

Classifiers:

h1 h2 hK…

Not Forest

Page 23: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Proposed Active Learning

Concepts to teach:

C1 C2 CK…

Unlabeled pool of images

Classifiers:

h1 h2 hK…

[Label-feedback][Attributes-based feedback]

Attribute predictors:

a1 a2 aM…

[Predicted Label]

Page 24: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Label-based Feedback

• Not our contribution

• Experiment with different scenarios

• Benefits of attributes-based feedback– Small when label-based is very informative– Large when label-based feedback is weak

Page 25: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Unlabeled pool of images

Forest

Label-based Feedback

• Accept: Yes, this is a forest.– Strong: It is not anything else

Example: Classification– Weak: It can be other things

Example: Annotation

Page 26: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Label-based Feedback

• Reject: – Strong: No, it is a coast.

Example: Classification with few classes– Weak: No, this is not a forest.

Example: Large-scale classificationExample: Biased binary classification

• 4 different scenarios in experiments

Unlabeled pool of images

Forest

Page 27: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Datasets

• Datasets and relative attribute predictors from [Parikh and Grauman, ICCV 2011]

Page 28: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Datasets

• Faces: – 8 celebrity categories– 11 attributes (chubby, white, etc.)

[Kumar et al., ICCV 2009]

Page 29: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Datasets

• Scenes:– 8 categories– 6 attributes (open, natural, etc.)

[Oliva and Torralba, IJCV 2001]

Page 30: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Settings

• Feedback from MTurk• Features:– Raw image features (gist, color)– Attribute scores

• Category classifiers: SVM with RBF kernel• Results on– 2 datasets x 2 features x 4 label-feedback scenarios– Show 2 here, rest in paper.

This image doesn’t have enough perspective to be a street scene.

Page 31: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

0 10 20 30 40 5025

35

45

55

65

75

Baseline

Proposed (Human)

Proposed (Oracle)

Results

Faces, Attribute features, Strong label-feedback

# iterations

Accu

racy

Page 32: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

0 10 20 30 400

10

20

30

40

Baseline

Proposed (Human)

Proposed (Or-acle)

Results

Scenes, Image features, Weak label-feedback

# iterations

Accu

racy

1/4th !

More results in the paper.

Page 33: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Conclusion

• Attributes for providing classifier feedback• Novel learning paradigm with enhanced

human-machine communication• Discriminative learning + domain knowledge• Learning with few examples

• Connections to semi-supervised learning– Shrivastava, Singh and Gupta: Up Next!

Page 34: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Thank you!

Page 35: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Backup Slides

Page 36: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Negative Feedback

• Many reasons come together to make a concept– Hard to describe why an image is a concept

• One reason can break a concept– Easier to describe why an image is not a concept

• (Arguably) waste to give feedback when right

Page 37: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Discriminative– No domain knowledge

is conveyed– Many training images– Discriminative model– Classification in any

feature space– State-of-art

performance

Related WorkZero-shot learning– Convey domain

knowledge – Zero training images– Generative model– Classification in

attribute space– Performance

compromised

Proposed paradigm– Convey domain

knowledge to transfer– Few training images– Discriminative model– Classification in any

feature space– Performance

maintained

bear

turtle rabbit

furry

big

[Lampert et al., CVPR 2009]

C

Smili

ng

Age

S

J H

C is younger than H C smiles more than H

MM is younger than J

M smiles more than J

[Parikh and Grauman, ICCV 2011]++

+–

– –

Page 38: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Related Work

Focused discrimination– Mining of hard negatives [Felzenszwalb 2010]– To understand classifier [Golland 2001]– Here, supervisor provides the discriminative

direction by verbalizing semantic knowledge

[Golland, NIPS 2001][Felzenszwalb et al., CVPR 2008]

Page 39: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Related Work

What we are not doing:• Collecting deeper annotations of images

• Segmentation masks [Russell 2008], Parts [Farhadi 2010], Pose [Bourdev 2009], Attributes [Kumar 2009]• We use attributes for broad propagation of category

labels to unlabeled images

Page 40: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Related Work

What we are not doing:• Actively interleaving attribute annotations

• Object & attributes [Kovashka 2011], Image, boxes & segments [Vijaynarsimhan 2008], Parts & attributes [Wah 2011], etc.• Human-in-the-loop at test time [Branson 2010]• Our supervisor provides additional information at

training time which is leveraged for better category models

Page 41: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Related Work

• Rationales– Human feature selection in NLP [Raghavan 2005]– Spatial and attribute rationales [Donahue 2011]– Restricted to classification in attribute space– We can operate in any feature space

[Donahue and Grauman, ICCV 2011]

Page 42: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Imperfect Attribute Predictors

• In the end, all images labeled with ground truth

• Discriminative training can deal with outliers• Attributes are pre-trained, and so unlikely to

be severely flawed • Experiments: used predictors directly from

Parikh and Grauman, 2011

Page 43: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Large-scale Classification

• Categories may require expert knowledge, attributes need not

• Can show a few exemplars to verify category

Page 44: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

0 10 20 30 40 5025

35

45

55

65

75

Baseline

Proposed (Human)

Proposed (Oracle)

Zero-shot

Results

Faces, Classification, Attribute features

(overestimate)

# iterations

Accu

racy

Page 45: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Label-based Feedback

Classification Large-scale Classification

Annotation

StreetOutdoor

CityGrayscale

….

Biased Binary Classification

• Simulate the different scenarios in responsesBenefits of attributes-based feedback• Small when label-based is very informative• Large when label-based feedback is weak

Page 46: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

0 10 20 30 4042444648505254

Baseline

Proposed (Human)

Proposed (Or-acle)

Results

Scenes, Annotation, Image features

# iterations

Accu

racy

Page 47: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

0 5 10 15 2025

35

45

55

65

75

Baseline

Proposed (Human)

Proposed (Or-acle)

Results

Faces, Biased binary classification, Attribute features

# iterations

Accu

racy

More results in the paper.

Page 48: Attributes for Classifier Feedback Amar Parkash and Devi Parikh

Traditional Active Learning

Concepts to teach:

C1 C2 CK…

Unlabeled pool of images

Classifiers:

h1 h2 hK…

[Label]Highest Entropy