c ontext as s upervisory s ignal : d iscovering o bjects with p redictable c ontext carl doersch,...

Download C ONTEXT AS S UPERVISORY S IGNAL : D ISCOVERING O BJECTS WITH P REDICTABLE C ONTEXT Carl Doersch, Abhinav Gupta, Alexei Efros

If you can't read please download the document

Upload: holly-lester

Post on 18-Jan-2018

226 views

Category:

Documents


0 download

DESCRIPTION

How hard is unsupervised object discovery? In state of the art literature it is still commonplace to select 20 categories from Caltech : Le et al. got in the New York Times for spending 1M+ CPU hours and reporting just 3 objects. 2 1 Faktor & Irani, “Clustering by Composition” – Unsupervised Discovery of Image Categories, ECCV Le et al, Building High-level Features Using Large Scale Unsupervised Learning, ICML 2012

TRANSCRIPT

C ONTEXT AS S UPERVISORY S IGNAL : D ISCOVERING O BJECTS WITH P REDICTABLE C ONTEXT Carl Doersch, Abhinav Gupta, Alexei Efros Unsupervised Object Discovery Children learn to see without millions of labels Is there a cue hidden in the data that we can use to learn better representations? How hard is unsupervised object discovery? In state of the art literature it is still commonplace to select 20 categories from Caltech : Le et al. got in the New York Times for spending 1M+ CPU hours and reporting just 3 objects. 2 1 Faktor & Irani, Clustering by Composition Unsupervised Discovery of Image Categories, ECCV Le et al, Building High-level Features Using Large Scale Unsupervised Learning, ICML 2012 Object Discovery = Patch Clustering Clustering algorithms Clustering algorithms? Clustering as Prediction Y value is here Prediction: Actual Clustering as Prediction Y value is here Prediction: Actual What cue is used for clustering here? The datapoints are redundant! Within a cluster, knowing one coordinate tells you the other Images are redundant too! Contribution #1 (of 3): use patch-context redundancy for clustering. More rigorously Unlike standard clustering, we measure the affinity of a whole cluster rather than pairs Datapoints x can be divided into x=[p,c] Affinity is defined by how learnable is the function c=F(p) Or P(c|p) Measure how well the function has been learned via leave-one-out cross validation Previous whispers of this idea Weakly supervised methods Probabilistic clustering choose clusters s.t. dataset can be compressed Autoencoders & RBMs (Olshausen & Field 1997) Clustering as Prediction Y value is here Prediction: Actual When is a prediction good enough? Image distance metrics are unreliable Min distance: 2.59e-4 Max distance: 1.22e-4 InputNearest neighbor Its even worse during prediction Horizontal gratings are very close together in HOG feature space, and are easy to predict Cats have more complex shape that is farther apart and harder to predict. ?? Our task is more like this: P 2 (X|Y) P 1 (X|Y) Y value is here Contribution #2 (of 3): Cluster Membership as Hypothesis Testing What are the hypotheses? thing hypothesis The patch is a member of the proposed cluster Context is best predicted by transferring appearance from other cluster members stuff hypothesis Patch is miscellaneous The best we can do is model the context as clutter or texture, via low-level image statistics. Our Hypotheses True Region: High Likelihood Low Likelihood Stuff Model Stuff-based Prediction Thing Model Thing-based Prediction Predicted Correspondence Condition Region (Patch) Prediction Region (Context) Real predictions arent so easy! What to do? Generate multiple predictions from different images, and take the best Take bits and pieces from many images Still not enough? Generate more with warping. With arbitrarily small pieces and lots of warping, you can match anything! Generative Image Models Long history in computer vision Come up with a distribution P(c|p), without looking at c Distribution is extremely complicated due to dependencies between features - Hinton et al Weber et al Fergus et al Fei-Fei et al Sudderth et al Wang et al. 2006 Generative Image Models Object Part Locations Features Inference in Generative Models Object Part Locations Features Contribution #3: Likelihood Factorization Let c be context and p be a patch Break c chunks c 1 c k (e.g. HOG cells) Now the problem boils down to estimating Our Hypotheses True Region: Stuff Model Thing Model Predicted Correspondence Condition Region (Patch) Prediction Region (Context) Surprisingly many good properties This is not an approximation Broke a hard generative problem into a series of easy discriminative ones Latent variable inference can use maximum likelihood: its okay to overfit to condition region c i s do not need to be integrated out Likelihoods can be compared across models Why did nobody think of this? We now have 1000 predictions per detection The original idea of generative models was to be based on real-world generative processes Its not obvious that these conditional predictions actually capture what we want, or that they make the job easier. Discriminative won over generative DPMs can be seen as doing maximum likelihood estimation over latent parts. Overfits, but discriminative training doesnt care (Felzenszwalb et al. 2008) Recap of Contributions Clustering as prediction Statistical hypothesis testing of stuff vs. thing to determine cluster membership Factorizing the computation of stuff and thing data likelihoods Stuff Model Condition Region Find NNs for this Region and transfer Prediction Region Faster Stuff Model x1,000,000x5,000 Conditional: Random Image PatchesDictionary (GMM of patches) Faster Stuff Model x5,000 Condl: (e) Estimate Cluster Membership Features from condition region Condition Region Prediction Region Prediction Region Specified In Dictionary x5,000 Condl: Marginalization Thing Model Image i Query image Condition Region Prediction Region Finite and Occluded Things If the thing model believes it cant predict well, mimic the background model When the thing model believes the prediction region corresponds to regions previously predicted poorly When the thing model has been predicting badly nearby (handles occlusion!) Image i Query image Clusters discovered on 6 Pascal Categories Cumulative Coverage Visual Words.63 (.37) Russel et al..66 (.38) HOG Kmeans.70 (.40) Our Approach.83 (.48) Singh et al..83 (.47) Purity Results: Pascal 2011, unsupervised RankInitialFinal Results: Pascal 2011, unsupervised RankInitialFinal Results: Pascal 2011, unsupervised RankInitialFinal Errors Unsupervised keypoint transfer L F Wheel Ctr R F Wheel Ctr L Headlight L Mirror R Headlight [sic] R Mirror R F Roof L B Roof L Taillight L B Wheel Ctr R B Wheel Ctr L F Roof R B Roof Keypoint Precision-Recall