Instance-Sensitive Fully Convolutional Networks
Paper · 2016 · Jifeng Dai, Kaiming He, Yi Li et al.
Summary
A picture can contain several objects of the same kind, and a map of object categories can give the same label to all of them. If two people stand close together, for example, correctly labeling their visible pixels as person still leaves a question unanswered. Which pixels belong to which person? Instance-Sensitive Fully Convolutional Networks addresses this problem at the proposal stage. Its system, InstanceFCN, produces candidate masks that can be ranked and passed to a separate classifier. Each mask describes the shape of a possible individual object.
The authors start from a property of fully convolutional networks. They can apply the same learned operation across an image to predict something at each location. InstanceFCN uses this operation to predict whether a location belongs to an object in a particular relative position, such as the left side or the right side. A square grid defines the positions, and the network produces a score map for each grid cell. To assemble a mask, the system places a window over the maps and copies each part of the window from the corresponding map. A separate branch scores how likely the window is to contain an object worth proposing.
This design lets neighboring windows share predictions. When a window moves slightly, a pixel that stays in the same relative grid cell takes its value from the same map. Pixels that cross a grid boundary can take a different value. DeepMask, the closest comparison in the paper, assigns a separate output channel to every pixel position in a candidate mask. InstanceFCN makes the number of learned output channels depend on the relative grid. Its parameter-free assembly operation handles the dimensions of the finished mask.
On the PASCAL VOC 2012 validation set, InstanceFCN reaches 38.9% average recall with 10 proposals and 49.7% with 100 proposals. It leads the methods in the paper’s VOC comparison at both budgets, while the Multi-task Network Cascade leads at 1000 proposals. On the first 5k validation images of MS COCO, the authors report higher average recall than DeepMask and DeepMaskZoom. With a downstream category classifier on VOC, InstanceFCN’s proposals yield 43.0% mean average precision at a mask overlap threshold of 0.7, the highest result in that comparison at the stricter threshold. The experiments show how a compact set of spatial predictions can support competitive object masks, including when a system can keep only a short list of candidates.
Deep dive: Instance-Sensitive Fully Convolutional Networks
InstanceFCN separates object instances by assembling masks from shared score maps that predict where pixels lie within an object. · about 33 minutes to read
The problem and its context
A category map leaves object identity unresolved
Semantic segmentation assigns an image category to each pixel. This gives a much finer description than naming the contents of the whole picture. A person category map might trace heads, shoulders, and arms and distinguish them from the background. Suppose the map marks pixels on two people whose silhouettes meet. Both sets of pixels deserve the same category label, so the category prediction can be correct through the region where the people touch. The segmentation has accomplished its task even though it has left the boundary between the two people unresolved.
Instance segmentation asks for that boundary because its unit of output is an individual object. The prediction can take the form of a mask, an array that separates the pixels assigned to an individual from those outside that individual. Two masks can represent objects that share a category. A person can also have a mask whose extent is much more specific than the rectangle that encloses it. That difference matters whenever the result is evaluated by the shape it recovers. A rectangle can locate the object well while covering considerable background or capturing part of a nearby object.
The paper studies a stage of this larger task. A proposal mechanism offers a ranked list of likely object masks. At this stage the system can present a shape for further examination without assigning a category to it. A useful list must include masks that overlap the true objects well, and it must give those masks scores high enough to survive a limit on how many proposals the next stage sees. If the best candidate for an object is buried far down the ranking, the next stage may never get the chance to use it. If even the best candidate has a poor boundary, a correct category prediction alone cannot turn that candidate into a precise segmentation.
The authors motivate their approach by considering what an ordinary semantic segmentation network already gets right. In an image with a single instance of a category, a good category mask can happen to be a good instance mask. Even when two objects come together, much of the category mask may already identify the right foreground pixels. The difficulty becomes visible where the contours meet. A pixel near the right side of the left object and a pixel near the left side of the right object can receive the same category prediction in spite of playing different spatial roles. A prediction that represents those roles can give an assembly operation a way to separate them.
Dense prediction before InstanceFCN
The earlier fully convolutional approach to semantic segmentation already provided a way to make predictions over an image in a single network pass. Instead of producing one output for the whole picture, the network returns a grid of predictions. Each location uses a receptive field, the region of the image that can influence its prediction. The network applies the same learned filters across the grid, so applying them to a larger image produces a larger spatial array. Training can then connect predictions at those locations to the corresponding segmentation labels.
As the authors describe it, dense prediction had also served image restoration. In applications such as denoising and super-resolution, the output at a pixel can be a predicted intensity. In semantic segmentation, the output instead expresses evidence for a category. The type of prediction changes while the basic arrangement persists. Each location has a prediction tied to its image neighborhood, and convolution shares the parameters that make it across locations. InstanceFCN asks how much of that arrangement can carry over when the desired output includes a different mask for each object.
Previous instance semantic segmentation systems frequently started with proposals from an existing method. This gives the downstream network a set of regions to score or classify, with the quality and coverage of the proposed regions inherited from the earlier stage. A fully convolutional method could already generate rectangle proposals. The Region Proposal Network in Faster R-CNN estimates a bounding box and an objectness score at each output location. Objectness is the score for whether a candidate contains an object, independent of its eventual category. The rectangle tells a downstream stage where to look, while a mask must also specify which pixels in the region belong to the object.
The paper describes a further approach that uses proposed rectangles to obtain masks. A region-of-interest pooling operation takes features within a candidate rectangle and summarizes them for the next stage. A fully connected layer then predicts a mask from that representation. This separates region selection from shape prediction. It also brings back a layer whose outputs correspond to positions in a mask, the design choice that InstanceFCN seeks to replace.
What changes when a window predicts a mask
DeepMask is the closest predecessor in the authors’ account because it learns to propose masks directly. It takes the features associated with a window and predicts all the positions in that window’s mask as a vector. Each element in the vector corresponds to a particular mask coordinate. The system can slide that operation across the image by expressing it as convolution. The resulting output at a window location still has a separate channel for every mask coordinate. The distinction between that design and InstanceFCN therefore concerns what the output channels mean, even when both systems apply their learned operations densely.
Consider a pixel covered by two slightly displaced windows. The absolute image position of that pixel stays fixed. Its coordinates measured from a window corner change. DeepMask’s output at the first set of window coordinates and its output at the second set come from different channels. Both outputs may give a similar answer, and they use features derived from overlapping image regions. The architecture leaves their agreement to what the network learns.
InstanceFCN groups window coordinates into broader relative regions. If the same pixel falls in the left-side region of both windows, the system uses the same left-side score at that pixel in both masks. If the shift instead places the pixel in an adjacent region, the system can obtain a different score. The authors call the premise behind this design local coherence. For nearby windows, the evidence at a given image location will frequently support the same decision. The architecture makes that reuse exact whenever the windows select the same map. A compact prediction layer becomes possible because a single output channel can serve many positions within a candidate mask.
The method, step by step
From relative positions to a complete mask
Start with a square window somewhere on an image and divide it into a regular grid. A cell identifies a part of that window by its position, such as middle left or bottom right. When the paper illustrates the method with a 3×3 grid, it gives each of the 9 positions its own score map. The map for the middle left records, across the image, the evidence that each location is on the middle-left part of an object. The map for the middle right records a different kind of evidence at the same set of image locations. These are geometric labels. A left-side region can include whatever portion of the object falls there, whether that portion is recognizable as a semantic part or has no familiar part name at all.
The whole set of maps is computed before an individual window chooses among them. To make a mask for a window, the system reads the upper-left patch from the upper-left map, the middle patch from the middle map, and so on through the grid. It copies each patch at the window’s current position and places it in the corresponding region of the mask. Within a patch, all the pixel values retain their own scores. The partition determines where the system reads the values, while the scores determine the shape of the resulting candidate. A diagonal contour through one cell can still be represented by different values on its two sides.
The operation is easiest to see by returning to two nearby objects. A window centered over the left object consults its right-side map over the window’s right-side region. A window centered over the right object consults its left-side map over the window’s left-side region. Where the windows overlap, a pixel can contribute differently to the two hypotheses because the windows can route it through different maps. In a region where both windows choose the same map, they agree on the score at every shared pixel in that region. The same mechanism supports reuse in one part of the window and instance separation in another.
The assembled mask gives a candidate shape, and a separate output answers whether the window is a promising place to propose an object. This second output matters because the assembly can run at locations over background, on fragments, or between objects. The system computes a score for every window center, then uses those scores to rank proposals and remove redundant candidates. The mask and the score serve different purposes. A mask can be plausible as a shape and still be poorly centered on an object, and the scoring branch can learn to distinguish windows that deserve to be kept from others.
How InstanceFCN generates and ranks object masks
The steps in order.
What is shared between windows
The paper uses a comparison of slightly shifted windows to explain local coherence. Imagine marking a point on the image and moving a window across it by one stride, the distance between successive sampling locations. The point can stay inside the same relative cell of both windows. The two masks then use the same score map at the same image location. The pixel does not need a new prediction to fill its new position in the mask. With another point closer to a cell boundary, the movement may put the point in a different cell. The next mask then reads its score from a different map.
This is a specific restriction on the values the system can produce. Neighboring assembled masks are free to differ where they sample different maps or cover different locations. Where they sample the same map at the same location, the scores agree by construction. The fully connected mask output used by DeepMask is more flexible at that level. Its channels can treat two positions separately even when they are close together and refer to the same image pixel under a shift. InstanceFCN trades some of that freedom for direct sharing.
It helps to distinguish the score map coordinates from the mask coordinates. The map coordinates locate a value in the network’s representation of the image. The mask coordinates locate it within a particular window. Across windows, the same image coordinate may appear at several different mask coordinates. InstanceFCN selects a channel using the mask coordinate and selects a value within that channel using the image coordinate. This is how it produces a separate mask at each window position from a fixed set of maps.
The paper’s illustration of the shift uses m = 14 for the mask side. In the implemented network the authors set m = 21 on the feature map. The illustration explains a relationship between nearby windows that also holds at the implemented size. A larger mask has more values to assemble, yet increasing its dimensions does not itself call for more learned score maps. The number of maps changes when the relative grid changes. Those are two separate choices about representation and output.
The spatial layout and the feature extractor
The notation starts with the grid and the mask.
Number of score maps = k²
Here k is the number of cells along either side of the relative grid, and the superscript ² indicates that the number of cells is the side count squared. Each cell has one corresponding score map. The paper illustrates k = 3 and uses k = 5 for its main comparisons after testing alternative grid sizes.
Window resolution = m × m
Here m is the number of feature-map pixels along one side of the square window. The multiplication sign separates the two spatial dimensions. This is the resolution of the assembled score array before it becomes a binary mask. It is measured on the feature map, whose spatial stride differs from that of the input image.
Subwindow resolution = (m ÷ k) × (m ÷ k)
Here m is the window side, k is the number of grid cells along a side, and ÷ denotes division. The two parenthesized expressions give the nominal dimensions of a cell in the regular partition. This expression describes the geometric division. The paper does not spell out which discrete pixels go to each cell when the division leaves a remainder. The defining operation is to copy from the selected map at the spatial locations assigned to the cell.
The image features come from the convolutional portion of VGG-16, initialized with weights learned on ImageNet. The authors use its 13 convolutional layers over the spatial extent of the input image. Feature extraction can therefore operate on an image of arbitrary size, with a corresponding change in the dimensions of the output grid. The ImageNet starting point supplies the previously learned weights for those layers. ImageNet Large Scale Visual Recognition Challenge
The authors modify the last part of the feature extractor to keep more spatial detail. At the pooling operation called pool 4, they use a stride of 1 in place of 2. Pooling summarizes a neighborhood of feature values, and its stride determines how far the operation moves for the next summary. Reducing the stride puts those summaries closer together. The authors then adjust the filters from conv 5_1 through conv 5_3 with the hole algorithm. In that operation, a filter samples spatially spaced input locations, allowing the following convolutions to work on the denser grid with adjusted sampling positions.
s = 8
Here s is the effective stride of conv 5_3, measured in input-image pixels. A step between adjacent feature locations corresponds to a step of 8 pixels at the input scale. The score maps inherit this spatial spacing. With m = 21 on those maps, the assembled mask starts as a grid of predictions at feature-map resolution. The value 21 describes the window on that grid, while the value 8 describes the relationship between the grid and the image.
The mask branch and the objectness branch
Both branches start from the same feature map. The mask branch first applies a 1×1 convolution with 512 channels, followed by a rectified linear activation, or ReLU. The 1×1 filter mixes feature channels at a given location. The activation suppresses negative responses and retains positive ones. A following 3×3 convolution uses a spatial neighborhood to create the scores. Its output channels correspond to the cells of the relative grid. A channel at this point holds a complete score map over the feature grid, with its fixed meaning carried from location to location.
Assembly comes after this learned part of the mask branch. For any candidate window, each cell reads the corresponding patch of one map. No weights are fitted for joining the patches. During training, the copied predictions are compared with the mask annotation for that window. The resulting loss can propagate through the copies to the learned score maps and back through the convolutional layers. The assembly rule therefore determines which relative-position output receives training evidence for each pixel, even though the rule itself has no parameters.
The objectness branch first uses a 3×3 convolution with 512 channels and a ReLU. A 1×1 convolution then gives a score at each location. The paper describes this last operation as logistic regression applied at each location. The prediction concerns the entire window centered there, so its supervision is whether that window is positive or negative. By contrast, the supervision for the mask tells the network which pixels of a matched window constitute the object. The two outputs meet when the objectness score is attached to the corresponding assembled mask.
The parameter counts in the paper refer to the layers needed to produce the mask scores in the compared designs. For the controlled DeepMask implementation, a fully connected stage processes the window features and a following stage produces the mask vector.
512 × 14 × 14 × 512 + 512 × 56² = 53M
The first 512 is the channel count of the feature map, and the two occurrences of 14 are its spatial dimensions for the window. The next 512 is the width of the intermediate fully connected layer. In the second term, 512 is the number of inputs to the mask output layer, and 56 is the side of the predicted mask. The superscript ² gives the number of mask values. Multiplication counts connections between layer inputs and outputs, and the plus sign adds the two counts. The authors report the total as 53M parameters, with M denoting millions.
512 × 3 × 3 × 25 = 0.1M
Here 512 is the channel count entering InstanceFCN’s final mask convolution, and the two occurrences of 3 give its filter dimensions. The 25 output channels are the relative-position maps for the grid used in the main comparison. The multiplication gives the layer’s weight count, reported as 0.1M parameters. The paper describes this layer as having 1/500 of the parameter count of the compared fully connected mask layers. These formulas describe the parts of the networks that differ in generating masks. The image feature extractor and the separate objectness calculation fall outside this count.
How the system learns
Training uses instance segmentation annotations, which supply masks for individual objects. In the image-centric procedure, the input to the network is a training image at its chosen scale. The forward pass produces both kinds of score map over that image. From the possible sliding windows, the system randomly samples 256 to use for the loss. It assembles the masks only at those selected locations. This arrangement shares the image computation even though the training signal comes from a set of windows within the image.
The authors follow DeepMask’s definition of positive and negative windows and use a positive-to-negative sampling ratio of 1:1. Positives provide examples of promising locations and a target object shape. Negative windows teach the objectness branch to assign lower scores to windows that should be passed over. The paper describes the window-labeling convention by referring to DeepMask. Its account of InstanceFCN focuses on how the sampled windows contribute supervision to the two branches.
Σᵢ [L(pᵢ, pᵢ*) + Σⱼ L(Sᵢ,ⱼ, Sᵢ,ⱼ*)]
Here i indexes the sampled windows and j indexes pixels in a window. The outer Σᵢ sums the window contributions, and the inner Σⱼ sums the pixel contributions to the mask loss. The brackets group the objectness and mask terms for a window, and the plus sign joins those terms. L denotes logistic regression loss, which measures how well a prediction agrees with its binary target. The quantity pᵢ is the window’s predicted objectness score, and the asterisk marks its supervision target pᵢ*. That target is 1 for a positive window and 0 for a negative window. Sᵢ,ⱼ is the assembled mask prediction at pixel j in window i. Its target Sᵢ,ⱼ* is the corresponding value from the ground-truth instance mask. Objectness is thus learned at the window level and shape at the pixel level.
The authors vary the scale of training images. The procedure, called scale jittering, presents the network with images resized to different shorter-side lengths across training.
Shorter-side length = 600 × 1.5ᵉ pixels, with e ∈ {−4, −3, −2, −1, 0, 1}
Here e is the exponent selected from the listed set, ∈ means “belongs to,” and the braces enclose the possible choices. The reference length is 600 pixels, and 1.5 is the multiplier raised to the selected power. The multiplication sign applies that scale to the reference length. During training the procedure samples a choice for the image. Resizing changes the length of the shorter side and lets objects of different image sizes occupy more suitable portions of the fixed window grid.
The authors optimize the network with stochastic gradient descent, which updates the weights using gradients from successive batches of training examples. They run 40k iterations, using a learning rate of 0.001 for the first 32k and 0.0001 for the last 8k. Their implementation uses 8 GPUs, with 1 image and its 256 sampled windows assigned to each GPU. The effective batch contains 8 images. The weight decay is 0.0005, and the momentum is 0.9. The added convolutional layers start with Gaussian weights of zero mean and a standard deviation of 0.01. The pretrained VGG-16 layers supply the initial image features, and the training loss updates the network end to end.
How the proposals are produced at test time
At test time the score map computations are the same, but the assembly operation runs densely. A window centered at each position yields a mask. The objectness map supplies a score for each of those windows. The authors repeat this process across the shorter-side scales defined by the resizing expression. The window keeps the same dimensions on its feature grid while resizing changes the size of the image region that it can cover. On a smaller resized image it corresponds to a larger region of the original scene. On a larger resized image it corresponds to a smaller region there.
The assembled values are converted into binary masks. Each binary mask supplies a tight bounding rectangle, which encloses the set of pixels assigned to the mask. The system uses these rectangles for non-maximum suppression, a procedure that keeps a higher-scored candidate and suppresses lower-scored candidates with substantial overlap. The overlap calculation uses intersection over union, or IoU. It divides the area shared by two regions by the area covered by either of them. Here the regions being compared are the rectangles, and the suppression threshold is 0.8.
After suppression, candidates are kept in descending objectness order and the list is cut to its requested size, denoted N in the paper. N is the proposal budget used for evaluation or for a downstream stage. The system can therefore offer lists of different lengths from the same underlying ranking. The paper reports 1.5 seconds per image for the evaluation across scales on a K40 GPU. This timing describes the reported inference setup, including the use of multiple image sizes to create the pool of candidates.
Experiments and results
Measuring the quality of a proposal list
The authors first evaluate InstanceFCN on PASCAL VOC 2012. Using the same segmentation annotations as prior studies on instance segmentation, they fit their models on the training set and assess performance on the validation set. The benchmark asks how well the list of proposed masks covers the annotated instances. Category prediction is evaluated separately, so a proposal can be assessed as a shape before asking whether a classifier can name the object that it covers.
For this evaluation, IoU is measured between masks. The intersection counts the pixels assigned to both the predicted and the ground-truth mask. The union counts the pixels assigned to either mask. A proposal can have a rectangle that closely matches the object’s rectangle and still have poor mask IoU if much of its foreground lies outside the object. This distinction also explains how the system can use box IoU to remove duplicates and mask IoU to measure accuracy. The former is a decision about candidate redundancy. The latter is a test of the actual predicted shape.
At a given overlap threshold, recall asks what share of ground-truth objects have a sufficiently overlapping proposal among the retained candidates. Raising the threshold makes coverage harder to achieve because it requires a closer match. The paper reports average recall, abbreviated AR, over mask IoU thresholds from 0.5 to 1.0. Its recall-versus-IoU plots depict AR as the area under the curve across that range. The authors adopt this metric from earlier proposal evaluations that found it more closely related to downstream detection accuracy than traditional proposal measures.
The notation AR@N specifies how many of the highest-ranked proposals are considered for each image. A method can have good AR with a large budget and weaker AR with a small one if useful masks are scattered through the ranking. A small budget makes a good rank especially important. A larger budget gives the method more opportunities to cover the objects and can expose candidates that were held back by their objectness scores. The VOC comparison reports AR@10, AR@100, and AR@1000 to capture performance under these different conditions.
Proposal results on PASCAL VOC
The baselines include Selective Search and Multiscale Combinatorial Grouping, abbreviated SS and MCG. The paper groups them as bottom-up segmentation approaches and takes their results from publicly available implementations. It also includes a controlled reimplementation of DeepMask, denoted ∼DeepMask, and the Multi-task Network Cascade, or MNC. For MNC, the authors use the mask regression outputs of the trained cascade as proposals. The reported MNC numbers come from that method’s authors. These baselines give the comparison both a closely related dense mask predictor and a system that proposes boxes before regressing masks.
Mask proposal AR@10 on PASCAL VOC 2012 validation
InstanceFCN leads the comparison when the proposal budget is tight.
The numbers
| System or setting | AR@10 (%) |
|---|---|
| Selective Search | 7.0 |
| Multiscale Combinatorial Grouping | 18.9 |
| Controlled DeepMask | 31.2 |
| Multi-task Network Cascade | 33.4 |
| InstanceFCN (this paper) | 38.9 |
At the budget of 10 proposals, InstanceFCN’s 38.9% AR is the strongest result in the comparison. The MNC result of 33.4% is the closest competitor. At this budget a system has few opportunities to represent each image, so the result reflects the shapes that it generates and the ordering that brings useful shapes into the retained list. The comparison does not isolate those contributions. It measures the effect of using the complete proposal pipeline, including the score and suppression procedure.
With 100 proposals on the same validation split, InstanceFCN reaches 49.7% AR. MNC reaches 48.5%, controlled DeepMask 42.9%, MCG 36.8%, and Selective Search 23.5%. The ranking of the systems is the same as for the smaller list, with MNC close to InstanceFCN. Read alongside the short-list result, this shows that InstanceFCN’s competitive recall persists when the downstream stage can afford to consider more proposals.
At 1000 proposals the ordering changes at the top. MNC is highest with 53.8% AR, followed by InstanceFCN at 52.6%. MCG reaches 49.5%, controlled DeepMask 47.0%, and Selective Search 43.3%. In this setting MCG also overtakes the controlled DeepMask baseline. The three budgets therefore give a more specific conclusion than a single ranking of the systems would. InstanceFCN has the strongest short lists in these experiments, while MNC gives the greatest average coverage at the largest budget.
The paper also plots recalls across mask overlap thresholds. A curve shows how a system’s coverage changes as the criterion for a good proposal becomes stricter. AR summarizes that behavior into a single number for each budget. A reader interested in shape quality can examine the parts of the curve where close agreement with the annotation is required, while a reader preparing candidates for another stage can use the fixed-budget results to judge how much coverage remains when only the highest scores are considered.
Adding category labels on PASCAL VOC
The next experiment asks how the proposals work when the output must include labeled instances. The authors train the proposal network first and then train a classifier using its proposals. Their classifier takes its structure from stage 3 of MNC. It resembles Fast R-CNN, but uses region-of-interest masking in place of region-of-interest pooling. A region-of-interest operation gathers features for a candidate. The masking version makes the segment proposal itself part of that feature selection, so the shape can affect the evidence available to the classifier.
The InstanceFCN comparison uses N = 300 proposals. The evaluation reports mean average precision, or mAP, on the PASCAL VOC 2012 validation set. Average precision captures how precision changes as the ranked predictions include more true detections. Mean average precision aggregates this measure across categories. To qualify as a correct match, a prediction must identify the category and meet the specified mask IoU threshold. The paper gives results at 0.5 and 0.7. The higher threshold demands more precise shape agreement.
Instance segmentation mAP@0.7 on PASCAL VOC 2012 validation
The classifier paired with InstanceFCN proposals scores highest at the stricter mask overlap threshold.
The numbers
| System or setting | mAP@0.7 (%) |
|---|---|
| SDS with MCG proposals | 25.3 |
| Hypercolumn with MCG proposals | 40.4 |
| CFM with MCG proposals | 39.6 |
| MNC with MNC proposals | 41.5 |
| MNC classifier with InstanceFCN proposals (this paper) | 43.0 |
At the 0.5 overlap threshold, the InstanceFCN proposal and classifier combination reaches 61.5% mAP. Jointly trained MNC achieves 63.5%, the highest result at that threshold. The corresponding values for CFM, Hypercolumn, and SDS are 60.7%, 60.0%, and 49.7%. All entries in this comparison use VGG-16 except SDS, which uses AlexNet. Differences among the entries therefore include how the proposals are produced and classified, and in the case of SDS, the image features as well.
At the 0.7 threshold, the InstanceFCN combination attains the highest reported mAP, at 43.0%. The pairing is especially relevant to a paper about masks because the stricter threshold is harder to meet with approximate shapes. The result concerns the full proposal-and-classifier pipeline. It indicates that a system with InstanceFCN proposals can succeed under a tighter mask criterion, with precision and category decisions still affected by the downstream classifier.
The authors also compare their 61.5% mAP at the 0.5 threshold with the 60.2% reported for a step-by-step version of MNC. This adds context to the comparison with jointly trained MNC. The InstanceFCN results come from training proposals and classification in separate steps, while joint MNC learns those components together. The staged MNC result gives a comparison with a more similar division of training, although the two systems still generate masks in different ways.
Testing proposals on MS COCO
The authors also train on the 80k MS COCO training images and evaluate proposals on the first 5k images of its validation set. They follow the DeepMask evaluation setup for that subset and use the same image scales as DeepMask for COCO training and testing. DeepMask’s comparison scores come from its own paper. The result is a benchmark comparison across the methods’ reported runs, with the scale choices and validation subset aligned.
On this subset, the authors report higher average recall for InstanceFCN than for both DeepMask and its DeepMaskZoom variant. The paper includes recall-versus-IoU curves for the comparison. It also shows individual images in which the proposal with the highest overlap to each ground-truth object is displayed. An object with no proposal whose IoU is greater than 0.5 is marked as a miss. This view makes it possible to inspect the shapes a system can recover somewhere in its proposals and to see some of the objects that remain uncovered.
The visual examples answer a different question from the short-list results. They display the best matching proposal using the annotation to determine which one to show. A deployed ranking cannot use that information. The examples can thus show that the method produced a plausible shape, whereas average recall at a given budget assesses more generally whether the retained list contains useful shapes. The COCO experiments concern mask proposals. The reported downstream category-aware comparison is on VOC.
What the ablations show
A finer grid helps up to the settings tested around k = 5
The authors vary the number of relative positions on the PASCAL VOC 2012 validation set. This changes both the granularity of the partition and how many score maps the network learns. With k = 3, each map covers a broader region of a window. With k = 5 or k = 7, a cell describes a narrower spatial role. The narrower role gives more opportunities for a pixel to be routed to a different map when the window changes its position. It also reduces the area over which a single map is used in each mask.
Relative grid settings by AR@100 on PASCAL VOC 2012 validation
The grid used in the main experiments ties the finest tested grid.
The numbers
| System or setting | AR@100 (%) |
|---|---|
| k = 3 | 49.2 |
| k = 5 (this paper) | 49.7 |
| k = 7 | 49.7 |
At AR@10, the scores are 38.3% for k = 3, 38.9% for k = 5, and 38.8% for k = 7. At AR@1000, they are 52.1%, 52.6%, and 52.7%, in the same order of grid settings. Together with the AR@100 chart, these results support the authors’ choice of k = 5 for subsequent experiments. The coarsest grid already performs close to the other settings. The finer partition offers a small gain, and moving beyond k = 5 gives closely comparable performance with the direction of the change depending on the proposal budget.
The comparison addresses the value of spatial granularity within this specific design. If broad positional categories had been inadequate, the coarse grid would have left a substantial amount of recall to recover through finer subdivision. The measured scores give little evidence of such a gap on this validation set. This matters for the architectural argument. If competitive masks had required a separate map for almost every output position, the benefit of sharing scores across a broad region would have been much harder to realize.
The examples shown for k = 3 complement the scores. They visualize the relative-position maps and some assembled objects. An individual map concentrates on a spatial role, while assembly brings together evidence from the different roles for a particular window. Visualizing the maps can make this routing easier to understand. The recall experiment supplies the quantitative evidence about the effect of changing the grid, averaged over validation images and evaluated at the indicated proposal budgets.
Crop training and full-image training answer different questions
The authors implement their own DeepMask comparison on VOC to control the experimental conditions. In that comparison, a 224×224 crop enters a VGG-16 feature extractor with an added 1×1 convolution with 512 channels. It yields a 14×14 feature map. A fully connected layer with width 512 processes those features, and another fully connected layer outputs the values of a 56×56 mask. The objectness branch follows DeepMask’s design, and the authors align the other settings for the comparison. The reported numbers belong to this controlled implementation.
One InstanceFCN variant is then trained on 224×224 crops, the same crop dimensions used for the DeepMask baseline. Its evaluation still uses the fully convolutional prediction and assembly procedure. On the PASCAL VOC 2012 validation set, this variant obtains 37.4% AR@10, 48.4% AR@100, and 51.4% AR@1000. Controlled DeepMask obtains 31.2%, 42.9%, and 47.0% at those respective budgets. This is evidence that InstanceFCN’s improvement over the baseline can appear even when the training input is restricted to crops of the same dimensions.
The full-image training variant reaches 38.9% AR@10, 49.7% AR@100, and 52.6% AR@1000. It uses the same broad InstanceFCN architecture as the crop-trained variant, while training directly over images and sampling the windows used in the loss. The improvement at each budget supports the authors’ claim that the fully convolutional training scheme contributes to the final result. The crop comparison addresses whether full-image training is required for the gain over DeepMask. The full-image comparison addresses whether using the architecture over whole images during training adds to the performance already achieved on crops.
These experiments compare complete choices about producing masks. The shared maps, assembly rule, spatial feature arrangement, and output dimensions form interacting parts of the InstanceFCN design. The crop-trained comparison controls the input crop dimensions and reduces the number of differences between the systems. It does not toggle the reuse constraint in isolation. The scores support the design as implemented, while the shift analysis explains the particular form of sharing it introduces.
The parameter comparison explains the change in output design
DeepMask commits a separate output dimension to each mask pixel and uses a fully connected transform from the window representation. InstanceFCN learns a relatively small set of map channels and reuses the scores spatially. In the authors’ controlled comparison, the DeepMask fully connected mask layers contain 53M parameters and InstanceFCN’s final mask convolution contains 0.1M. The reported 1/500 comparison applies to those layers. Its role is to show where the saving comes from and how strongly the choice of mask representation changes the learned output stage.
There is a useful link between this count and the grid experiment. The parameter saving comes from reusing a channel across positions within a cell, and the coarse grid experiment shows that such reuse remains compatible with good recall on VOC. The score comparisons show that the small learned output layer can produce useful masks, even with crop training. Together they support the design choice. A measurement of the complete system’s parameter reduction would require accounting for the shared feature extractor and objectness branch as well.
The authors associate the smaller learned layer with reduced risk of overfitting on a small training set. The VOC experiment establishes that the compact design works well on the validation set under the reported training conditions. It does not track overfitting directly. A comparison of training and validation behavior over different training-set sizes could address that mechanism more directly. Here the supporting evidence consists of the architectural parameter count and the held-out proposal performance.
Limitations
Limits identified by the authors’ design and setup
The central local-coherence premise is qualified in the paper. A small shift preserves a pixel’s prediction when the two windows draw from the same relative-position map. Near a cell boundary the shift can change the map, so the two predictions can differ. This is how the representation acquires some sensitivity to different object hypotheses. It is also a limit on the generality of the reuse argument. Windows that cover visibly different regions or whose cells route a location differently should be expected to produce different masks.
The authors use several image scales to cover objects of different sizes. The design can apply a fixed feature-grid window to an arbitrary-size image, but the range of object extents it considers depends on resizing and the placement of that window. The reported 1.5 seconds per image belongs to the multiscale setup on a K40 GPU. The timing establishes what the authors measured for that hardware and procedure. It gives no matched timing comparison that would isolate the cost of the assembly operation relative to DeepMask over the same test images.
The network proposes instances. For category-aware segmentation, the authors attach a downstream classifier and train it after training the proposal network. They identify this difference when discussing MNC, whose joint system learns proposal generation and categorization together. The comparison shows how well the authors’ proposal mechanism works with a particular classifier structure. It leaves open how the same masks would perform under joint training or with another downstream decision procedure.
The authors describe fewer mask-layer parameters as a way to lower the risk of overfitting. This is a motivation for the design and a plausible explanation for why it is suitable for the VOC training setup. Their strongest direct measurements concern held-out proposal recall, the number of parameters in the compared layers, and the downstream segmentation scores. How much of the performance difference is attributable specifically to reduced overfitting remains unresolved by those measurements.
Limits visible in the evaluation
The results describe particular benchmark conditions. On PASCAL VOC 2012, the reported comparisons use the validation set. On MS COCO, they use the first 5k validation images. The COCO comparison establishes how the proposal systems ranked on that subset under the reported scale protocol. The article’s VOC category-aware results cannot establish what the same classifier and proposals would achieve on COCO. The experiments provide a useful cross-dataset check on proposal quality while leaving the broader downstream comparison to other evaluations.
Average recall merges several kinds of behavior. The score can rise because the method covers more objects at moderate overlap, because some proposals fit more tightly, or because useful candidates move up the ranking. A shift in any of those can improve the aggregate while leaving an important subset of scenes difficult. The paper’s curves and examples help describe the pattern of overlap and misses. It gives no separate measurement for crowded scenes with touching objects, the case that motivates the relative-position design most directly. The overall recall scores therefore show the behavior of the complete system across the tested images.
The scoring and suppression choices constrain the final list as well. Objectness is learned for windows, and suppression compares tight bounding boxes of masks. Two masks can occupy different pixels and have strongly overlapping rectangles. The suppression rule can treat such candidates as redundant because it sees their boxes. The final recall reflects any effects of that choice alongside the mask prediction and the ranking. The reported experiments do not vary the suppression threshold or compare box-based suppression with suppression based on mask overlap.
A fixed grid is a simple way to give the score channels geometric meaning. It places axis-aligned partitions inside a square window and handles diversity of object size by resizing the image. A candidate’s shape can still be irregular because the pixel values vary inside every cell. The architecture leaves open how a different partition, an adapted window, or finer feature sampling would change the balance between reuse and shape detail. Testing k changes the granularity of this family of partitions. It gives no comparison with a different spatial arrangement.
Finally, the qualitative selection uses ground-truth overlap to identify the best proposal to display. That can reveal a good shape somewhere among the candidates and can show conspicuous misses. Such figures give little information about how easy the best shape was to select by objectness or how often similar competing shapes appeared. The fixed-budget recall makes the ranking part of the measurement, and the mAP experiment adds the classifier’s decisions. Keeping those measures in view makes it possible to credit the visual examples for what they establish about candidate shapes.
What came after
The later papers that cite InstanceFCN place it in several related contexts. Its own experiments concentrate on the construction and ranking of object masks. They expose distinct choices about image scale, the cost of producing a mask, and the relationship between category and instance predictions. The titles of the citing papers identify different settings in which those choices matter. They establish the citation and the subject of each later study, while the details of architectural inheritance remain unspecified.
Feature Pyramid Networks for Object Detection concerns feature pyramids for object detection. The point of comparison with InstanceFCN is scale. InstanceFCN evaluates a set of resized images and runs the same window-based proposal procedure at each size. A feature-pyramid study shifts attention to the representation on which detection operates. This connection puts language around two places where a system can address object size, in the images it evaluates and in the features it uses for prediction. The citation connects the work to that discussion. Feature Pyramid Networks for Object Detection
YOLACT: Real-time Instance Segmentation makes real-time performance part of its stated task. The connection to InstanceFCN is the cost of creating separate masks for many object candidates. InstanceFCN addresses one source of that cost by sharing spatial predictions and using a small learned output layer. Its multiscale evaluation still entails processing several image sizes. A later emphasis on real-time segmentation brings the cost of the complete prediction pipeline into focus alongside the representation of individual masks. YOLACT: Real-time Instance Segmentation
YOLACT++: Better Real-time Instance Segmentation continues the stated real-time segmentation objective under the YOLACT name. Its title also makes improvement within that setting part of the aim. InstanceFCN offers a useful point of reference because its comparison separates a concrete saving in the learned mask layers from the measured behavior of the full system. That distinction helps frame the question raised by a real-time setting. Producing economical mask predictions is one part of achieving useful segmentation at the desired speed. YOLACT++: Better Real-time Instance Segmentation
UPSNet: A Unified Panoptic Segmentation Network places the citation in the context of unified panoptic segmentation. The connection begins with the distinction that motivated InstanceFCN. A category map describes what is at each image location, while separate masks retain the identity of individual objects. InstanceFCN focuses on producing those separate masks and evaluates categorization in a downstream stage. A unified segmentation setting brings the relationship between category-level and instance-level outputs to the foreground. UPSNet: A Unified Panoptic Segmentation Network
Cite
Cite as Jifeng Dai, Kaiming He, Yi Li, Shaoqing Ren and Jian Sun. 2016. Instance-Sensitive Fully Convolutional Networks. Lecture notes in computer science.
@inproceedings{dai2016instance,
title = {{Instance-Sensitive Fully Convolutional Networks}},
author = {Jifeng Dai, Kaiming He, Yi Li, Shaoqing Ren and Jian Sun},
booktitle = {Lecture notes in computer science},
year = {2016},
doi = {10.1007/978-3-319-46466-4\_32},
eprint = {1603.08678},
archivePrefix = {arXiv},
url = {https://doi.org/10.1007/978-3-319-46466-4_32}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/dai-2016-instance-sensitive-fully-convolutional-networks/