Multi-scale Patch Aggregation (MPA) for Simultaneous Detection and Segmentation

Shu Liu, Xiaojuan Qi, Jianping Shi, Hong Zhang, Jiaya Jia

Abstract

Simultaneous Detection and Segmentation (SDS) requires identifying object instances and providing precise pixel-level masks. Traditional methods rely on slow, bottom-up object proposals that create computational bottlenecks and limit end-to-end learning. We present Multi-scale Patch Aggregation (MPA), a proposal-free framework that decomposes objects into dense, multi-scale patches. By training a unified network to classify and segment these mid-level components, MPA achieves state-of-the-art accuracy on PASCAL VOC and MS COCO benchmarks while significantly reducing inference time.

Introduction

The task of SDS is challenging because it combines object localization with fine-grained segmentation. Most existing approaches follow a "segment-based proposal" paradigm: they generate thousands of candidate regions using external algorithms (like MCG), classify them, and then refine the masks. However, this approach suffers from three critical issues: extreme computational inefficiency, performance caps dictated by the quality of the initial proposal generator, and a lack of end-to-end differentiability.

The MPA Framework

To overcome these limitations, the Multi-scale Patch Aggregation (MPA) framework shifts the focus from whole-object proposals to mid-level patches.

Overview of the MPA pipeline: from input image to multi-scale patch generation and final aggregation.

Unified Network Architecture

MPA utilizes a VGG-16 backbone where the first 13 convolutional layers are shared across tasks. Instead of searching for entire objects, the network processes feature grids cropped at four different scales (ranging from 48x48 to 384x384 pixels). This multi-scale approach ensures the system can capture both small details and large global structures.

Dual-Branch Processing

Each patch is processed through two parallel branches:

  1. Classification Branch: Predicts the object category for the patch, specifically targeting the object located at the patch's center.
  2. Segmentation Branch: Generates a local 48x48 binary mask for the portion of the object contained within the patch.

To maintain consistency across scales, deconvolution and pooling layers are used to normalize patches of varying sizes to a standard feature representation before they enter these branches.

Patch Aggregation

The final object masks are "assembled" from these overlapping patches. The aggregation algorithm merges masks that share the same class label and exhibit high spatial overlap (Intersection over Union). This redundant sampling strategy allows the system to smooth out noise in individual patch predictions, leading to more robust final segmentations.

Experimental Results

The MPA model was evaluated on the PASCAL VOC 2012 and Microsoft COCO datasets.

  • Accuracy: MPA achieved a state-of-the-art 62.1% $mAP^r$ on the VOC 2012 SDS subset, outperforming previous methods like PFN and the original SDS baseline.
  • Efficiency: By eliminating external proposal generation, MPA is significantly faster. While traditional SDS pipelines often require 60 seconds per image, the MPA 1-scale variant runs in 1.9 seconds, and the high-accuracy 3-scale variant takes 8.7 seconds.
  • Error Analysis: Analysis indicates that the system is highly effective at classification and background separation. The primary remaining challenge is localization precision—ensuring the final aggregated mask perfectly matches the object boundaries.

Conclusion

MPA demonstrates that modeling objects as a collection of mid-level patches is a viable and efficient alternative to traditional proposal-based SDS. By integrating the "proposal" logic directly into the network, MPA enables end-to-end training and achieves a superior balance of speed and accuracy. Future work will focus on improving boundary refinement through deeper architectures like ResNet and the incorporation of structured prediction models like CRFs.

Summary updated

BibTeX
@inproceedings{liu2016multi,
  author = {Shu Liu and Xiaojuan Qi and Jianping Shi and Hong Zhang and Jiaya Jia},
  title = {{Multi-scale Patch Aggregation (MPA) for Simultaneous Detection and Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.342},
}
Figure