Top Banner
Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang
40

Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Dec 11, 2015

Download

Documents

Ruby Carl
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: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Learning Shared Body Plans

Ian EndresUniversity of Illinois

work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang

Page 2: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

How should we represent multiple related object categories?

Page 3: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

How should we represent multiple related object categories?

Want to detect, localize, and estimate pose of broad range of objects, including new ones

Page 4: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

One option: independent detectors

CatDetector

DogDetector

4-Legged Animal

Detector

Basic-Level Categories

Broad Categories Parts

Head Detector

Page 5: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Our previous work: Train separate detectors, Joint spatial model

Vehicle

Wheel

Animal

Leg

Head

Four-leggedMammal

Can runCan JumpFacing rightMoves on road

Facing right

Farhadi Endres Hoiem (2010)

Page 6: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Jointly trained multi-category models• Train part/category detectors to jointly predict

object structure– Only need to perform well in context defined by

others

• Spatial model encodes likely part positions, number of parts, likely categories, etc.– Generalizes Felzenszwalb et al.: cross-category

sharing, multiple parts with one model, variable size

Page 7: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Deformable Part Models

From Felzenszwalb et al.

Page 8: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Detection with Deformable Part Models

From Felzenszwalb et al.

Page 9: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Shared mixture of deformable parts: Body Plans

Include a body plan for background patches:No appearance models, just a bias

Page 10: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Body Plan Overview

Object Center ++

+

Head Anchors

High Scoring Detections

Page 11: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Anchor Point Score

Sa = bias

+ appearance score

- deformation cost

HOG based Deformable part model (Felzenszwalb et al.)

Quadratic penalty in position and scale

Sa = bias

+ appearance score

- deformation cost

Overall score must be greater than 0 to be detected

Page 12: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Head

++

+✓

Page 13: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +

Page 14: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓

Search Constraints:CountPairwise Exclusion

Page 15: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓

Page 16: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓✓

Page 17: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓✓

Page 18: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓✓✓

Page 19: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓✓✓

Page 20: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference: Leg

++++ +✓✓✓✓

Page 21: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Inference

Score for each body plan:

Overall score for an object hypothesis:

Page 22: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Benefits of Joint Learning

Only consider structures with:

Page 23: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Benefits of Joint Learning

No structures have

Page 24: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

(Latent) Max Margin Structured Learning

Highest Scoring Valid Structure

Invalid Structure Loss

Soft margin slack

Page 25: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Valid Structures

LEGLEG

LEG LEG

HeadFour-leggedElk

Object Detectors: 50% Overlap with ground truthPart Detectors: 25% Overlap with ground truth

Positive Examples Negative Examples

Must select BG body plan

Page 26: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Loss

LEGLEG

LEGHead

Four-leggedElk

False Positives: +1Duplicate Detections: +1Missed Detections: + 1

Head

LEG

Positive Examples Negative Examples

Non-BG body plan: +1False Positives: +1

Page 27: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Optimization

• Latent Structured SVM– Non-convex - CCCP

• Stochastic gradient descent based cutting plane optimization

Page 28: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Optimization Challenges

1) Expensive search for violated constraints– Mine many violated constraints at once– Speeds convergence

2) Large feature vectors (100k+)– Can’t store every mined violated constraint– Requires careful caching

Page 29: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Experimental Setup

• CORE: Train + Test– Familiar Categories: Camel, Dog, Elephant, Elk– Parts: Head, Leg, Torso– Unfamiliar Categories: Cat, Cow

• Pascal 2008: Test– Unfamiliar Categories: Cat, Cow, Horse, Sheep

Page 30: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Familiar Objects

Unfamiliar Objects

Page 31: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Mistakes

Page 32: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Object Level ResultsAP

Page 33: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Familiar four-legged partsAP

Page 34: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Unfamiliar four-legged partsAP

Page 35: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Mixed Supervision

LEG

LEG

LEG

Head

Four-leggedDog L

EG

LEG

LEG

Four-leggedDog L

EG

LEG

Head

Learning

Page 36: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Mixed Supervision

LEG

LEG

LEG

Head

Four-leggedDog L

EG

Four-leggedDog+

LEG

LEG

Four-leggedDog L

EG

LEG

Head

Learning

Page 37: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Mixed Supervision - Learning

• Unlabeled boxes become latent variables– Compute most likely positition– No loss for missed detections

Highest Scoring Valid Structure

Loss

Page 38: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Mixed Supervision … Mixed ResultsAP

Page 39: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Conclusions

• Jointly representing related categories leads to better performance and generalization to unfamiliar categories

• Joint training important to get full benefit of spatial model

Page 40: Learning Shared Body Plans Ian Endres University of Illinois work with Derek Hoiem, Vivek Srikumar and Ming-Wei Chang.

Thanks