IvaNet: Learning to jointly detect and segment objets with the help of Local Top-Down Modules

Shihua Huang, Lu WangarXiv 2019

IvaNet is a multi-task deep learning framework designed to perform object detection and semantic segmentation simultaneously. By replacing standard "full" top-down architectures with Local Top-Down (LTD) modules, the model selectively integrates high-level semantic information into lower layers. This prevents "noise" from distant layers and improves accuracy on both tasks—especially for small objects.

The Semantic-Spatial Trade-off

In Convolutional Neural Networks (CNNs), there is a fundamental trade-off between semantics and spatial detail. As depth increases, the receptive field grows (capturing "what" an object is), but spatial resolution shrinks (losing "where" it is).

Existing solutions often use a "top-down" approach, passing information from the very last layers back to the earliest ones. However, the authors argue that "full" top-down modules can be counterproductive. High-level feature maps are often dominated by large objects; when this information is forced back into lower layers, it can "drown out" the signals of smaller objects.

The "vanishing plant" problem: as layers get deeper (conv4 to conv9), small objects like the plant (red arrow) are obscured by larger features.

The authors illustrate this with the "vanishing plant" problem: in deep layers, a small plant behind two people is completely obscured by the people's larger feature signatures.

Architecture and Methods

The core of IvaNet is the Local Top-Down (LTD) module. Instead of a global highway from the end of the network to the beginning, IvaNet uses a more restrained approach.

IvaNet Architecture: A shared ResNet50 backbone feeds into LTD modules, which then branch into separate Detection and Segmentation heads.
  1. Shared Backbone: The model starts with an ImageNet-pretrained ResNet50 (up to block 4) as a shared feature extractor.
  2. Local Top-Down (LTD) Modules: Each lower layer is augmented only with upsampled features from its two immediate succeeding layers. This "local" integration ensures that the semantic information being passed back is still spatially relevant and hasn't been overly distorted by the massive receptive fields of the final layers.
  3. Dual Heads:
    • Detection Head: Based on the Single Shot Detector (SSD) architecture, it uses multiple branches to predict bounding boxes and classes at different scales.
  4. Segmentation Head: A simple Fully Convolutional Network (FCN) combined with a Pyramid Convolutional Module (PCM) to aggregate contextual information.
  5. Joint Optimization: The model is trained using a weighted sum of detection loss (classification + localization) and segmentation loss (cross-entropy).

Key Insights

  • Locality is Key: Restricting top-down flow to local neighbors preserves fine-grained details needed for small objects that would otherwise be "erased" by global top-down paths.
  • Multi-task Synergy: Training for detection and segmentation together forces the shared backbone to learn more precise boundaries, which in turn helps the detection head localize objects more accurately.
  • Efficiency: Despite adding a second task, IvaNet remains efficient. The segmentation head adds only a small amount of computational overhead compared to a detection-only model (e.g., 32.5 FPS vs 36.5 FPS for the 300x300 model).

Experimental Results

The authors evaluated IvaNet on two industry-standard benchmarks: PASCAL VOC (2007 & 2012) and MS COCO. IvaNet achieved superior or comparable results against state-of-the-art multi-task models like BlitzNet:

  • PASCAL VOC: IvaNet512 achieved 81.4 mAP (Mean Average Precision) for detection and 76.9 mIoU (Mean Intersection over Union) for segmentation. It outperformed BlitzNet in segmentation by roughly 1.1%.
  • MS COCO: On the COCO minival set, IvaNet300 reached 55.0 mIoU, a significant 2.2% improvement over BlitzNet300, while maintaining identical detection performance (29.7 AP).
  • Ablation Study: Removing the LTD modules caused a massive performance drop (e.g., detection mAP fell from 76.2 to 70.3), proving that the local top-down structure is the primary driver of the model's success.

Limitations and Future Work

While IvaNet excels at preserving detail, the "local" nature of LTD modules can sometimes limit global context in complex scenes. In some cases, the model can detect an object's bounding box but fails to generate a clean segmentation mask because it doesn't "see" enough of the surrounding environment.

To address this, the authors suggest exploring atrous (dilated) convolutions in future iterations. Atrous convolutions allow a network to increase its receptive field (gathering more context) without losing spatial resolution or increasing the number of parameters.

Summary updated

BibTeX
@misc{huang2019ivanet,
  author = {Shihua Huang and Lu Wang},
  title = {{IvaNet: Learning to jointly detect and segment objets with the help of Local Top-Down Modules}},
  year = {2019},
  eprint = {1903.07360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.07360},
}
Figure