Boundary distribution estimation for precise object detection

Zhi Peng, Haoran Zhou, Hang Huang, Rui Zhao, Rui Zhou, Qingguo Zhou

TL;DR

This paper introduces a novel approach to object detection that refines bounding box localization by focusing on estimating the object's boundary distribution, rather than solely relying on center and size regression. This method significantly improves localization accuracy without requiring additional annotations or computational overhead, demonstrating its potential for more precise object detection.

What Problem Does This Paper Address?

Object detection, a fundamental task in computer vision, involves both classifying objects and accurately localizing them within an image. While deep learning has led to remarkable progress in classification, precise localization remains a challenge. Current state-of-the-art detectors typically use a bounding box regression subnet to predict an object's center coordinates and dimensions. However, this "center-size" approach has inherent limitations: adjusting the center or size affects all four edges of the bounding box simultaneously, making it difficult to precisely align each edge with the object's true boundary. This can lead to defects in localization and ultimately hinder overall detector performance. The paper aims to overcome these limitations by developing a method that directly refines the object's boundaries.

Methods

The proposed method introduces a two-step process for enhancing bounding box localization:

  1. Coarse Boundary Localization: This step takes the features from a region of interest (obtained via RoIAlign) and passes them through a series of convolutional and deconvolutional layers to generate a boundary probability map. This map indicates the likelihood of each pixel belonging to an object's boundary. The method then extracts compressed vectors by taking the maximum values along the rows and columns of this map. These vectors are then processed using a scoring matrix and its transpose, followed by binarization and matrix multiplication, to obtain a coarse estimation of the boundary.
  2. Fine Boundary Estimation: This step refines the coarse boundary by considering the contextual information around it. It assumes that pixel values near the object boundary can be modeled by an elementary function. By analyzing the distribution of pixel values and their corresponding coarse boundary estimates, the method derives a more precise boundary. Unlike conventional interpolation methods, this approach focuses on the boundary distribution itself. The paper explores different elementary functions for this estimation, ultimately favoring a linear function for its effectiveness. This fine boundary estimation is then used to adjust the edges of the bounding box predicted by the initial localization step.

A key aspect of this method is its universality; it can be integrated into existing detection pipelines without requiring specific architectural changes or additional annotation data beyond what is typically used for object detection.

Datasets

The proposed method was trained and evaluated on the COCO (Common Objects in Context) dataset. The paper also mentions experiments conducted on the PASCAL VOC (Visual Object Classes) dataset for validation.

Key Insights and Ideas

  • Boundary Distribution is Key: The core insight is that focusing on the distribution of object boundaries, rather than just the center and size, offers a more direct path to precise localization. This aligns with how humans manually annotate bounding boxes, by aligning each edge individually.
  • Coarse-to-Fine Refinement: The two-step approach of first estimating a coarse boundary and then refining it with fine-grained distribution analysis proves effective. This hierarchical approach allows for robust initial localization and subsequent precise adjustments.
  • Universality and Efficiency: The method's ability to integrate into existing frameworks without extra annotations or significant computational overhead makes it highly practical and broadly applicable. This is a significant advantage over methods that might require specialized datasets or complex architectures.
  • Edge-Centric vs. Center-Centric: The paper highlights the inherent limitations of center-size regression, showing how it can lead to misalignments. By shifting the focus to edge refinement, they demonstrate a more direct and effective way to achieve accurate bounding boxes.

Key Results

  • Improved Accuracy: The proposed method achieved a significant improvement in average precision (AP) on the COCO dataset. When used with a ResNet-50-FPN backbone, it improved AP by 2.0% compared to the Mask R-CNN baseline.
  • Competitive Performance: The method demonstrated competitive results against various state-of-the-art object detection methods on the COCO test-dev dataset, achieving an AP of 39.6 with a ResNet-50-FPN backbone.
  • Generalizability: The method showed enhanced accuracy on the PASCAL VOC dataset as well, with a notable mAP increase of 2.1.
  • Negligible Speed Impact: Despite the additional refinement step, the proposed method only resulted in a marginal decrease in Frames Per Second (FPS) (0.5%) compared to the baseline, indicating its efficiency.
  • Robustness to Initialization: Experiments showed that the method remains effective even when the boundary prediction network is initialized with random parameters, suggesting that while mask annotations can help, they are not essential.

Limitations and Future Work

  • Speed Trade-off: While the speed impact is considered negligible, the paper notes a slight reduction in FPS compared to the baseline Mask R-CNN.
  • Future Applications: The authors plan to extend their boundary detection procedure to diverse domains, particularly in medical imaging, such as optical coherence tomography for precise retina layer boundary detection.
  • Architectural Exploration: They also intend to explore the use of lighter backbones (e.g., ResNet18) or more complex ones (e.g., ResNet101) to cater to different speed and accuracy requirements.

Summary updated

BibTeX
@inproceedings{peng2023boundary,
  author = {Zhi Peng and Haoran Zhou and Hang Huang and Rui Zhao and Rui Zhou and Qingguo Zhou},
  title = {{Boundary distribution estimation for precise object detection}},
  booktitle = {Electronic},
  year = {2023},
  doi = {10.3934/era.2023257},
}
Figure