Feature Pyramid Grids

Kai Chen, Yuhang Cao, Chen Change Loy, Dahua Lin, Christoph FeichtenhoferarXiv 2020

Abstract

Feature Pyramid Grids (FPG) introduce a deep, multi-pathway feature pyramid that represents scale-space as a regular grid. By utilizing multiple parallel pathways and dense lateral connections, FPG significantly outperforms standard Feature Pyramid Networks (FPN) and surpasses complex, search-based architectures (NAS-FPN). FPG provides a generalizable and easy-to-implement alternative to Neural Architecture Search (NAS) for multi-scale feature representation in computer vision.

Introduction

In computer vision, recognizing objects at varying scales—from distant, small objects to large, foreground instances—remains a fundamental challenge. The standard solution is the Feature Pyramid Network (FPN), which fuses high-resolution features from early layers with semantic information from deeper layers. However, FPN is relatively "shallow" in its fusion logic, limiting its representational power.

Recent attempts to improve multi-scale representation have turned to Neural Architecture Search (NAS). While NAS-generated architectures like NAS-FPN achieve high performance, they often result in "messy," incomprehensible wiring that is computationally expensive to discover and lacks generalizability across different detector frameworks. The authors of FPG propose a deep, uniform, and manually engineered alternative that matches or beats NAS-based models without the associated overhead.

The FPG Architecture

The core innovation of FPG is the transformation of the feature pyramid from a single top-down pathway into a regular grid.

The detailed architecture of FPG, showing the integration with a backbone network (C2-C5) and the multi-pathway grid structure (P1-Pp).

Multi-pathway Structure and Connections

Instead of a single pass, FPG employs $p$ parallel pathways (typically 9). Information flows across this grid through four specific connection types:

  • AcrossSame: Horizontal connections between identical scales in adjacent pathways.
  • AcrossUp: Bottom-up connections that shorten the path from low-level to high-level features.
  • AcrossDown: Top-down connections used to propagate semantic information.
  • AcrossSkip: Direct links from the initial pathway to all subsequent ones to facilitate gradient flow and ease training.

To maintain efficiency, FPG utilizes "thinner" pathways (e.g., 128 channels instead of the standard 256). This allows the model to be significantly deeper than a standard FPN without a massive increase in computational cost (FLOPs).

Design Principles and Grid Contraction

The FPG design is governed by the principle that depth and uniformity are more critical than width for feature pyramids.

Conceptual diagram of the FPG grid, illustrating the axes of stages (scales) and pathways.

Depth over Width

Ablation studies reveal that having many "thin" pathways is more effective than a single "thick" pathway. An FPG with 9 pathways at 128 channels performs significantly better than an FPN with 1 pathway at 256 channels, despite having similar computational requirements.

Grid Contraction

The authors discovered that the grid could be "contracted" for further efficiency. By removing AcrossUp connections and truncating the "lower triangle" of the grid (high-resolution features in early pathways), the Contracted FPG maintains the accuracy of the full grid while significantly reducing parameters and computation.

Experimental Evaluation

FPG was evaluated on the MSCOCO 2017 dataset across several popular detector frameworks, including RetinaNet, Mask R-CNN, and Cascade R-CNN.

Key Results

  • Performance vs. FPN: On RetinaNet, FPG (9@128) improved the box Average Precision (AP) by +2.0 over the baseline FPN at nearly identical FLOPs.
  • Performance vs. NAS-FPN: FPG (9@256) outperformed NAS-FPN (7@256) by 0.2% to 2.3% mAP across different models. Crucially, while NAS-FPN is often specific to the detector it was searched for, FPG’s uniform structure provided consistent gains across all tested frameworks.
  • Instance Segmentation: When integrated with Mask R-CNN, FPG achieved a +2.7 higher mask AP than the standard FPN.
  • Qualitative Gains: Visualizations show that FPG is notably better at detecting small-scale objects and handling partially occluded instances compared to its predecessors.

Conclusion

Feature Pyramid Grids demonstrate that a well-designed, uniform manual architecture can outperform complex, searched-based models. By prioritizing depth and multi-pathway fusion, FPG offers a robust and generalizable solution for multi-scale feature representation. Future work may involve integrating advanced components like attention mechanisms or applying the FPG concept to video recognition and human pose estimation.

Summary updated

BibTeX
@misc{chen2020feature,
  author = {Kai Chen and Yuhang Cao and Chen Change Loy and Dahua Lin and Christoph Feichtenhofer},
  title = {{Feature Pyramid Grids}},
  year = {2020},
  eprint = {2004.03580},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.03580},
}
Figure