Presentation is loading. Please wait.

Presentation is loading. Please wait.

Are Categories Necessary in a Data-Rich World? Alexei (Alyosha) Efros CMU Joint work with Tomasz Malisiewicz.

Similar presentations

Presentation on theme: "Are Categories Necessary in a Data-Rich World? Alexei (Alyosha) Efros CMU Joint work with Tomasz Malisiewicz."— Presentation transcript:

1 Are Categories Necessary in a Data-Rich World? Alexei (Alyosha) Efros CMU Joint work with Tomasz Malisiewicz

2 Acknowledgements Talks by Moshe Bar; writings of Shimon Edelman Murphy Big Book of Concepts Weinberger Everything is Miscellaneous Many great discussions with many colleagues, especially Tomasz Malisiewicz, James Hays, and Derek Hoiem

3 Unreasonable Effectiveness of Data Parts of our world can be explained by elegant mathematics: –physics, chemistry, astronomy, etc. But much cannot: –psychology, genetics, economics, etc. Enter: The Magic of Big Data –Great advances in several fields: e.g. speech recognition, machine translation, search engines [Halevy, Norvig, Pereira 2009]

4 Categorization vs. The Data 4 Philosophy and Psychology Language Arts and recreation Literature Technology Religion Weinberger, Everything is Miscellaneous

5 categorization is losing… vs.

6 Whats in a name?

7 …That which we call a rose By any other name would smell as sweet. chair category (PASCAL VOC) train category (PASCAL VOC)

8 Why Categorize? 1.Knowledge Transfer 2.Communication Tiger cat dog Leopard

9 Classical View of Categories Dates back to Plato & Aristotle 1. Categories are defined by a list of properties shared by all elements in a category 2. Category membership is binary 3. Every member in the category is equal

10 Problems with Classical View Humans dont do this! – People dont rely on abstract definitions / lists of shared properties (Wittgenstein 1953, Rosch 1973) e.g. define the properties shared by all games e.g. are curtains furniture? Are olives fruit? – Typicality e.g. Chicken -> bird, but bird -> eagle, pigeon, etc. – Language-dependent e.g. Women, Fire, and Dangerous Things category is Australian aboriginal language (Lakoff 1987) – Doesnt work even in human-defined domains e.g. Is Pluto a planet?

11 Visual Problems with Categories A lot of categories are functional Categories are 3D, but images are 2D World is too varied Chair car train

12 Typical HOG car detector Felzenszwalb et al, PASCAL 2007

13 Why not? + submitted to CVPR 2011

14 Semantic -> Visual Categories Aspect ratio splits partsPoselets All use a priori domain information

15 Fundamental Problem with Categorization Making decisions too early! Like, can we just categorize at run-time, once we know the task!

16 On-the-fly Categorization? 1.Knowledge Transfer 2.Communication

17 Association instead of categorization Ask not what is this?, ask what is this like – Moshe Bar Exemplar Theory (Medin & Schaffer 1978, Nosofsky 1986, Krushke 1992) –categories represented in terms of remembered objects (exemplars) –Similarity is measured between input and all exemplars –think non-parametric density estimation

18 What is this? Car Road Building Input Image He 2004, Tu 2004, Shotton 2006, Galleguillos 2008, Fei-Fei 2009, Gould 2009, etc.

19 What is this like? Malisiewicz & Efros, CVPR08

20 20 What is the ultimate goal? Understanding / Parsing Images A what is it like? machine

21 21 Our Contributions Posing Recognition as Association –Use large number of object exemplars 21 Learning Object Similarity –Different distance function per exemplar Recognition-Based Object Segmentation –Use multiple segmentation approach

22 Visual Associations How are objects similar? Shape Color

23 Distance Similarity Functions Positive Linear Combinations of Elementary Distances Computed Over 14 Features Building e Distance Function Building e

24 Learning Object Similarity Learn a different distance function for each exemplar in training set Formulation is similar to Frome et al [1,2] [1] Andrea Frome, Yoram Singer, Jitendra Malik. "Image Retrieval and Recognition Using Local Distance Functions." In NIPS, 2006. [2] Andrea Frome, Yoram Singer, Fei Sha, Jitendra Malik. "Learning Globally-Consistent Local Distance Functions for Shape-Based Image Retrieval and Classification." In ICCV, 2007.

25 25 Non-parametric density estimation Color Dimension Shape Dimension Class 1 Class 2 Class 3

26 26 Non-parametric density estimation Color Dimension Shape Dimension Class 1 Class 2 Class 3

27 27 Non-parametric density estimation Color Dimension Shape Dimension Class 1 Class 2 Class 3

28 Learning Distance Functions 28 Dshape Dcolor Focal Exemplar similar side DecisionBoundary dissimilar side Dont Care

29 Visualizing Distance Functions (Training Set) Query Top Neighbors with Tex-Hist Dist Top Neighbors with Learned Dist

30 Visualizing Distance Functions (Training Set)

31 Labels Crossing Boundary

32 Object Segmentation via Recognition Generate Multiple Segmentations (Hoiem 2005, Russell 2006, Malisiewicz 2007) – Mean-Shift and Normalized Cuts – Use pairs and triplets of adjacent segments – Generate about 10,000 segments per image Enhance training with bad segments Apply learned distance functions to bottom- up segments

33 33 Example Associations Bottom-Up Segments

34 34 Quantitative Evaluation 34 Object hypothesis is correct if labels match and OS >.5 *We do not penalize for multiple correct overlapping associations OS(A,B) = Overlap Score = intersection(A,B) / union(A,B)

35 35 Towards Image Parsing Need for Context 35

36 Image Parsing with Context

37 Bushs Memex (1945) Store publications, correspondence, personal work, on microfilm Items retrieved rapidly using index codes –Builds on rapid selector Can annotate text with margin notes, comments Can construct a trail through the material and save it –Roots of hypertext Acts as an external memory

38 Visual Memex, a proposal [Malisiewicz & Efros] Nodes = instances Edges = associations types of edges: visual similarity spatial, temporal co- occurrence geometric structure language geography.. New object

39 Torralbas Context Challenge

40 2 1 Slide by Antonio Torralba

41 Torralbas Context Challenge Chance ~ 1/30000 Slide by Antonio Torralba

42 Our Challenge Setup Malisiewicz & Efros, NIPS09

43 3 models Visual Memex: exemplars, non-parametric object-object relationships –Recurse through the graph Baseline: CoLA: categories, parametric object-object relationships Reduced Memex: categories, non- parametric relationships

44 Qual. results


46 Quant. results

47 Next Step: top-down segmentation Visual Memex A B C B C

48 Take Home Message Categorization is not a goal in itself –Rather, it is a means for transferring knowledge onto a new instance Skipping explicit categorization might make things easier, not harder –The harder intermediate problem syndrome Keeping around all your data isnt so bad… –you never know when you will need it

49 Questions? +

Download ppt "Are Categories Necessary in a Data-Rich World? Alexei (Alyosha) Efros CMU Joint work with Tomasz Malisiewicz."

Similar presentations

Ads by Google