Arxiv:1712.08273V1 [Cs.CV] 22 Dec 2017

Arxiv:1712.08273V1 [Cs.CV] 22 Dec 2017

Recurrent Pixel Embedding for Instance Grouping Shu Kong, Charless Fowlkes Department of Computer Science University of California, Irvine Irvine, CA 92697, USA fskong2, [email protected] [Project Page], [Github], [Slides], [Poster] Abstract We introduce a differentiable, end-to-end trainable framework for solving pixel-level grouping problems such as instance segmentation consisting of two novel compo- nents. First, we regress pixels into a hyper-spherical em- bedding space so that pixels from the same group have high cosine similarity while those from different groups have sim- ilarity below a specified margin. We analyze the choice of embedding dimension and margin, relating them to theoret- Figure 1: Our framework embeds pixels into a hyper-sphere ical results on the problem of distributing points uniformly where recurrent mean-shift dynamics groups pixels into a variable on the sphere. Second, to group instances, we utilize a vari- number of object instances. Here we visualize random projections ant of mean-shift clustering, implemented as a recurrent of a 64-dim embeddings into 3-dimensions. neural network parameterized by kernel bandwidth. This recurrent grouping module is differentiable, enjoys conver- allow for upsampling coarse pooled feature maps to make gent dynamics and probabilistic interpretability. Backprop- detailed predictions at the spatial resolution of individual agating the group-weighted loss through this module allows pixels [90, 28], (2) skip connections and hyper-columns learning to focus on only correcting embedding errors that which concatenate representations across multi-resolution won’t be resolved during subsequent clustering. Our frame- feature maps [32, 10], (3) atrous convolution which allows work, while conceptually simple and theoretically abun- efficient computation with large receptive fields while main- dant, is also practically effective and computationally effi- taining spatial resolution [10, 46], and (4) fully convolu- cient. We demonstrate substantial improvements over state- tional operation which handles variable sized input images. of-the-art instance segmentation for object proposal gener- In contrast, there has been less innovation in the develop- ation, as well as demonstrating the benefits of grouping loss ment of specialized loss functions for training. Pixel-level arXiv:1712.08273v1 [cs.CV] 22 Dec 2017 for classification tasks such as boundary detection and se- labeling tasks fall into the category of structured output pre- mantic segmentation. diction [4], where the model outputs a structured object (e.g., a whole image parse) rather than a scalar or categor- ical variable. However, most CNN pixel-labeling architec- 1. Introduction tures are simply trained with loss functions that decompose into a simple (weighted) sum of classification or regression The successes of deep convolutional neural nets (CNNs) losses over individual pixel labels. at image classification has spawned a flurry of work in com- The need to address the output space structure is more puter vision on adapting these models to pixel-level image apparent when considering problems where the set of out- understanding tasks, such as boundary detection [1, 90, 64], put labels isn’t fixed. Our motivating example is object in- semantic segmentation [60, 10, 46], optical flow [87, 20], stance segmentation, where the model generates a collec- and pose estimation [85,7]. The key ideas that have enabled tion of segments corresponding to object instances. This this adaption thus far are: (1) deconvolution schemes that problem can’t be treated as k-way classification since the 1 number of objects isn’t known in advance. Further, the loss per image from 0.56 to 0.77). To summarize our contribu- should be invariant to permutations of the instance labels tions: (1) we introduce a simple, easily interpreted end-to- within the same semantic category. end model for pixel-level instance labeling which is widely As a result, most recent successful approaches to applicable and highly effective, (2) we provide theoretical instance segmentation have adopted more heuristic ap- analysis that offers guidelines on setting hyperparameters, proaches that first use an object detector to enumerate can- and (3) benchmark results show substantial improvements didate instances and then perform pixel-level segmentation over existing approaches. of each instance [57, 17, 55, 56,2]. Alternately one can generate generic proposal segments and then label each one 2. Related Work with a semantic detector [31, 12, 32, 16, 82, 34]. In ei- Common approaches to instance segmentation first gen- ther case the detection and segmentation steps can both be erate region proposals or class-agnostic bounding boxes, mapped to standard binary classification losses. While ef- segment the foreground objects within each proposal and fective, these approaches are somewhat unsatisfying since: classify the objects in the bounding box [92, 53, 31, 12, (1) they rely on the object detector and non-maximum sup- 17, 56, 34]. [55] introduce a fully convolutional approach pression heuristics to accurately “count” the number of in- that includes bounding box proposal generation in end-to- stances, (2) they are difficult to train in an end-to-end man- end training. Recently, “box-free” methods [69, 70, 57, 37] ner since the interface between instance segmentation and avoid some limitations of box proposals (e.g. for wiry or ar- detection is non-differentiable, and (3) they underperform ticulated objects). They commonly use Faster RCNN [74] in cluttered scenes as the assignment of pixels to detections to produce “centeredness” score on each pixel and then is carried out independently for each detection1. predict binary instance masks and class labels. Other ap- Here we propose to directly tackle the instance grouping proaches have been explored for modeling joint segmenta- problem in a unified architecture by training a model that la- tion and instance labeling jointly in a combinatorial frame- bels pixels with unit-length vectors that live in some fixed- work (e.g., [41]) but typically don’t address end-to-end dimension embedding space (Fig.1). Unlike k-way classi- learning. Alternately, recurrent models that sequentially fication where the target vectors for each pixel are specified produce a list of instances [76, 73] offer another approach to in advance (i.e., one-hot vectors at the vertices of a k-1 di- address variable sized output structures in a unified manner. mensional simplex) we allow each instance to be labeled The most closely related to ours is the associative em- with an arbitrary embedding vector on the sphere. Our loss bedding work of [67], which demonstrated strong results function simply enforces the constraint that the embedding for grouping multi-person keypoints, and unpublished work vectors used to label different instances are far apart. Since from [23] on metric learning for instance segmentation. Our neither the number of labels, nor the target label vectors are approach extends on these ideas substantially by integrating specified in advance, we can’t use standard soft-max thresh- recurrent mean-shift to directly generate the final instances olding to produce a discrete labeling. Instead, we utilize a (rather than heuristic decoding or thresholding distance to variant of mean-shift clustering which can be viewed as a seed proposals). There is also an important and interest- recurrent network whose fixed point identifies a small, dis- ing connection to work that has used embedding to separate crete set of instance label vectors and concurrently labels instances where the embedding is directly learned using a each pixel with one of the vectors from this set. supervised regression loss rather than a pairwise associative This framework is largely agnostic to the underlying loss. [80] train a regressor that predicts the distance to the CNN architecture and can be applied to a range of low, mid contour centerline for boundary detection, while [3] predict and high level visual tasks. Specifically, we carry out ex- the distance transform of the instance masks which is then periments showing how this method can be used for bound- post-processed with watershed transform to generate seg- ary detection, object proposal generation and semantic in- ments. [82] predict an embedding based on scene depth and stance segmentation. Even when a task can be modeled direction towards the instance center (like Hough voting). by a binary pixel classification loss (e.g., boundary detec- Finally, we note that these ideas are related to work on tion) we find that the grouping loss guides the model to- using embedding for solving pairwise clustering problems. wards higher-quality feature representations that yield su- For example, normalized cuts clusters embedding vectors perior performance to classification loss alone. The model given by the eigenvectors of the normalized graph Lapla- really shines for instance segmentation, where we demon- cian [78] and the spatial gradient of these embedding vec- strate a substantial boost in object proposal generation (im- tors was used in [1] as a feature for boundary detection. proving the state-of-the-art average recall for 10 proposals Rather than learning pairwise similarity from data and then embedding prior to clustering (e.g., [63]), we use a pairwise 1This is less a problem for object proposals that are jointly estimated by bottom-up segmentation (e.g., MCG [71] and COB [64]). However, such loss but learn the embedding directly. Our recurrent mean- generic proposal generation is not informed by the top-down semantics. shift grouping is reminiscent of other efforts that use un- rolled implementations of iterative algorithms such as CRF Figure 2: Loss as a function of calibrated similarity score Eq.1 inference [94] or bilateral filtering [40, 27]. Unlike general with α = 0:5. The gradient is RNNs [6, 68] which are often difficult to train, our recurrent constant, limiting the effect of model has fixed parameters that assure interpretable conver- noisy ground-truth labels (i.e., gent dynamics and meaningful gradients during learning. near an object boundary) 3.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us