1 / 54

Learning and Inference in Vision: from Features to Scene Understanding

Learning and Inference in Vision: from Features to Scene Understanding. Jonathan Huang, Tomasz Malisiewicz MLD Student Research Symposium, 2009. Sky. Bridge. Sign. Trees. Car. Road. Huge datasets. PASCAL Visual Objects Challenge (VOC) dataset. ~15000 annotated images,

truly
Download Presentation

Learning and Inference in Vision: from Features to Scene Understanding

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Learning and Inference in Vision: from Features to Scene Understanding Jonathan Huang, Tomasz Malisiewicz MLD Student Research Symposium, 2009

  2. Sky Bridge Sign Trees Car Road

  3. Huge datasets PASCAL Visual Objects Challenge (VOC) dataset ~15000 annotated images, ~35,000 annotated object instances, 20 object classes with segmentations, bounding boxes

  4. Huge datasets LabelMe dataset ~11845 static images, >100,000 labeled polygons

  5. Outline I. Recognizing single object classes (Jon) II. Scene understanding with multiple classes (Tomasz)

  6. Recognition task #1: Find all markers

  7. Recognition task #2: Find all cats Object recognition is often hard due to: Geometric Variability

  8. Variation within an object class

  9. Viewpoint/Scales/Illumination Variability Images from Flickr

  10. From Pixels to Visual features Imaging Scene Pixels Features car Inference Higher level inference Low level features

  11. Local Visual Features Images are high dimensional! Compute image statistics in a region (e.g., estimate the distribution of image gradient orientations) (640 width) *(480 height) = (307200 pixels)

  12. Key ideas in feature design Be invariant to stuff you don’t care about… while not being too invariant

  13. Object classification Inference: What object class is this? Learning: What does each object class look like? Let’s look at a simpler example first… Cow or Horse??

  14. John Terry scored on a header to lift Chelsea to a 1-0 victory over Manchester United and extend the Blues’ Premier League lead to 5 points. Chelsea had been frustrated by Manchester United for 76 minutes, but took advantage of a free kick awarded when Darren Fletcher fouled Ashley Cole.Brian Ching scored six minutes into overtime and the Houston Dynamo advanced to Major League Soccer’s Western ... In the Senate, where proposals differ substantially from the House-passed measure on issues like a government-run plan and how to pay for coverage, the bill is stalled while budget analysts assess its overall costs. The slim margin in the House — the bill passed with just two votes to spare, and 39 Democrats opposed it — suggests even greater challenges in the Senate, where the majority leader, ... Document classification analogy ??? ??? Classify each document as sports or politics

  15. Bag-of-words models for text classification “Much of the meaning behind written language is preserved even when the ordering of the individual words is lost.” [El-Arini et al.,’09] bag words (Sue Ann)

  16. but to on Darren awarded Fletcher advanced Ashley lift over to 1-0 scored advantage Major for lead 76 Chelsea Premier to Terry League John Houston the kick Chelsea took United points. free minutes fouled United been frustrated overtime Manchester six a when League a extendvictory Ching 5 and to and Western Manchester Brian Cole. Dynamo Soccer’s by a minutes, Blues’ the had header into of scored ... the margin how In on majority 39 costs. with measure slim overall — to like opposed suggests challenges pay even substantially stalled government run where the issues votes it the where billfor spare, from bill and a Senate, analysts coverage, in — the Democrats greater differ two proposals budget its House assess while Senate, to in just the leader and the plan passed the is Housepassed The ... Document classification analogy ??? ???

  17. but to on Darren awarded Fletcher advanced Ashley lift over to 1-0 scored advantage Major for lead 76 Chelsea Premier to Terry League John Houston the kick Chelsea took United points. free minutes fouled United been frustrated overtime Manchester six a when League a extendvictory Ching 5 and to and Western Manchester Brian Cole. Dynamo Soccer’s by a minutes, Blues’ the had header into of scored... the margin how In on majority 39 costs. with measure slim overall — to like opposed suggests challenges pay even substantially stalled government-run where the issuesvotes it the where billfor spare, from bill and a Senate, analysts coverage, in — the Democrats greater differ two proposals budget its Houseassess while Senate, to in just the leader and the plan passed the is House-passed The ... Document classification analogy ??? ???

  18. Visual words (discretization) Words are discrete, visual features are typically continuous… Discretization via clustering/vector quantization

  19. Visual words [Sivic et al., ‘05]

  20. Object classification with bag of words [Sivic et al., ‘05]

  21. Object classification with bag of words Faces Performance on Caltech 101 dataset with linear SVM on bag-of-word vectors: Airplanes Cars [Csurka et al., ‘04]

  22. Object Detection problem Detection: Locate all the faces in this image. Classification:Is this a face, or not a face?

  23. Face detection via a series of classifications (a.k.a. sliding window brain damage)

  24. False Detection Missed Faces Sliding window detection results

  25. The need for… capturing spatial relationships

  26. One Approach Create a more descriptive (complicated) feature gradient magnitudes gradient orientations Histogrammed gradients in each cell Original Image Estimated Image Gradients Subdivided Image cells Histograms of Oriented Gradients (HOG) features [Dalal & Triggs, ‘06]

  27. People Tracking with HOG features better

  28. Modeling Spatial Relationships with Deformable Part Based Models Spring-based models: Parts prefer low-energy configurations [Fischler & Elschlager ,’73], [Ramanan et al,’07], [Felszwenwalb et al,’05,’09], [Kumar et al, ‘09]

  29. Parts Based Model Goal: Assign model parts to image regions preserving both local appearance and spatial relationships Vertices – Local Appearance       Edges - Spatial Relationship

  30. Parts based models - Inference Problem Inference problem: What is the best scoring assignment f? For trees can use belief propagation for exact solution in polytime Local Appearance term Pairwise Spatial Relationship term Inference is NP-hard for general graphs

  31. Parts based models - Learning Problem Local Appearance term Pairwise Spatial Relationship term Linear models: Learning linear models: Find weight vectors that best separate positive and negative examples. E.g., Convex max-margin objective s.t. Positive examples on one side Negative examples on the other [Kumar et al,’09]

  32. Person deformable part model Quadratic spatial configuration model Root filter (8x8 resolution) Part filter (4x4 resolution) [Felszwenwalb et al,’09]

  33. [Felszwenwalb et al,’09]

  34. [Ramanan et al,’09]

  35. Outline I. Recognizing single object classes (Jon) II. Scene understanding with multiple classes (Tomasz)

  36. Car Tree Building Fire Hydrant Fence Sidewalk Part II: Scene Understanding with Multiple Classes Goal: Predict Many Different Objects in a Single Image

  37. Wait... • What’s wrong with just learning a different sliding window classifier for each object type in the world?

  38. The image as seen from a object detector’s point of view

  39. Relationships between objects make recognition possible Antonio Torralba. The Context Challenge. http://web.mit.edu/torralba/www/carsAndFacesInContext.html 41 41

  40. Objects as the “Parts” of a Scene Scene Model Deformable Part Model Key Challenge in Scene Understanding: Modeling relationships between objects from different categories 43

  41. Tree Building Car Fence Fire Hydrant Sidewalk Fixed Extent “Things” vs Free-form “Stuff” Things have a well-defined shape. A part of a car is not a car. Stuff is free-form and mostly defined by color/texture. A part of a building is still a building.

  42. 3 Types of Scene Models Pixel-based Window-based Segment-based

  43. Pixel-based Scene Understanding Unable to reason about instances Produces Segmentation Only limited notion of context Works well on “stuff” TextonBoost: Joint Appearance, Shape and Context Modeling for Multi-class Object Recognition and Segmentation. Shotton et al. ECCV 2006

  44. Pixel-wise Conditional Random Fields (TextonBoost) • Inference • y^* = argmax_y p(y|x) • Training: Use boosting to learn unary potential • Future Direction: Higher-Order Cliques 50 50 TextonBoost: Joint Appearance, Shape and Context Modeling for Multi-class Object Recognition and Segmentation. Shotton et al. ECCV 2006

  45. Window-based Scene Understanding Discriminative models for multi-class object layout. Desai et al. ICCV 2009 Object Recognition by Scene Alignment. Russell et al. NIPS 2007 Often not possible to model “stuff” using windows. Window assumption also questionable for some “things.” Possible to model interactions between object instances.

  46. Discriminative models for multi-class object layout • Inference via Greedy Forward Search • Training 52 52

  47. Window-based results 53 53

  48. Region-Based Scene Understanding Use Segmentation algorithm to extract stable regions Use CRF to label those segments Problem: Hard to get object-segments. Problem: Inference difficult for fully connected models.

  49. Region-Based CRF Spatial Relations • Training: Bag of Words with Nearest Neighbor classifier • Maximum Likelihood training of pairwise potentials Object Categorization using Co-Occurrence, Location and Appearance. Galleguillos et al. CVPR 2008. 56 56

More Related