Skip to main content
QUICK REVIEW

[Paper Review] MatrixNets: A New Scale and Aspect Ratio Aware Architecture for Object Detection

Abdullah Rashwan, Rishav Agarwal|arXiv (Cornell University)|Jan 9, 2020
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

MatrixNets introduce a novel scale and aspect ratio aware CNN architecture for object detection by organizing feature maps into a matrix structure, where each cell handles objects of specific size and aspect ratio. This design improves detection accuracy—achieving 47.8 mAP on MS COCO—by enabling more uniform feature representation across diverse object shapes and sizes, outperforming both FPN and CornerNet baselines while closing the gap with two-stage detectors.

ABSTRACT

We present MatrixNets (xNets), a new deep architecture for object detection. xNets map objects with similar sizes and aspect ratios into many specialized layers, allowing xNets to provide a scale and aspect ratio aware architecture. We leverage xNets to enhance single-stage object detection frameworks. First, we apply xNets on anchor-based object detection, for which we predict object centers and regress the top-left and bottom-right corners. Second, we use MatrixNets for corner-based object detection by predicting top-left and bottom-right corners. Each corner predicts the center location of the object. We also enhance corner-based detection by replacing the embedding layer with center regression. Our final architecture achieves mAP of 47.8 on MS COCO, which is higher than its CornerNet counterpart by +5.6 mAP while also closing the gap between single-stage and two-stage detectors. The code is available at https://github.com/arashwan/matrixnet.

Motivation & Objective

  • To address the limitation of existing feature pyramid networks (FPNs) in handling objects with varying aspect ratios, especially rectangular objects.
  • To improve single-stage object detection by designing a backbone that assigns objects to feature layers based on both size and aspect ratio.
  • To enhance both anchor-based and corner-based detection frameworks using the MatrixNet architecture.
  • To reduce performance gaps between single-stage and two-stage detectors through better feature representation for diverse object shapes.
  • To demonstrate that MatrixNets can serve as a drop-in replacement for FPNs in various computer vision tasks.

Proposed method

  • MatrixNets organize feature maps into a matrix structure, where diagonal layers correspond to FPN levels and off-diagonal layers are generated by downsampling to cover diverse size-aspect ratio combinations.
  • Each matrix cell is responsible for objects whose size and aspect ratio fall within a predefined range, ensuring uniform receptive field coverage.
  • The architecture uses a single output sub-network per matrix layer, allowing square convolution kernels to gather balanced information across aspect ratios.
  • For anchor-based detection, a single anchor per feature map is used, shifting toward anchor-free design while retaining regression of top-left and bottom-right corners.
  • For corner-based detection, MatrixNets predict top-left and bottom-right corner heatmaps and use center regression to improve matching, replacing the embedding layer.
  • The method supports flexible backbone integration (e.g., ResNet50-X, ResNet101-X) and allows hyperparameter tuning of base layer ranges and training crop sizes.

Experimental results

Research questions

  • RQ1Can a matrix-structured feature hierarchy improve detection performance for objects with diverse aspect ratios compared to standard FPNs?
  • RQ2How does the assignment of objects to matrix layers based on size and aspect ratio affect detection accuracy in single-stage detectors?
  • RQ3To what extent can MatrixNets improve corner-based object detection frameworks like CornerNet?
  • RQ4What is the optimal configuration of base layer ranges and training crop sizes for maximizing performance on MS COCO?
  • RQ5Can MatrixNets close the performance gap between single-stage and two-stage object detectors?

Key findings

  • MatrixNets achieved 47.8 mAP on MS COCO, a +5.6 mAP improvement over the CornerNet baseline.
  • Using 19 matrix layers (vs. 5 in FPN) increased mAP from 35.9 to 41.0, demonstrating the benefit of increased layer granularity.
  • The optimal base layer range of 24px–48px balanced object assignment and improved performance across all matrix layers.
  • Larger training crop sizes (640×640) improved performance over 512×512, especially for bottom-right matrix layers handling small objects.
  • ResNet152-X with MatrixNet achieved 44.7 mAP on Corners- $x$ Net, showing strong scalability with deeper backbones.
  • Visual results confirmed tighter bounding boxes for rectangular objects when using MatrixNet over FPN, indicating better aspect ratio handling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.