NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PackDet: Packed Long-Head Object Detector

Kun Ding, Guojin He, Huxiang Gu, Zisha Zhong, Shiming Xiang, Chunhong Pan

Abstract

Modern object detectors often suffer from computational inefficiencies due to the fragmented nature of multi-scale feature processing. PackDet introduces a novel Packing Operator (PackOp) that consolidates multi-scale feature maps into a single unified tensor. This architectural shift enables a deeper, more efficient "long-head" structure and introduces Cross-Head Group Normalization (CH-GN), which significantly improves both inference speed and detection accuracy on the MS COCO benchmark.

Introduction

State-of-the-art object detectors typically rely on multi-branch structures like Feature Pyramid Networks (FPN) to detect objects at various scales. While effective for accuracy, this creates a "fragmented" architecture where the GPU must process several different feature maps (e.g., P3 through P7) sequentially or in parallel branches. In frameworks like PyTorch, this fragmentation often necessitates costly for-loops over different heads, leading to sub-optimal computational efficiency and increased kernel launch overhead.

Furthermore, standard Group Normalization (GN) is usually applied to each head independently. This limits the statistical pool used to calculate mean and variance, potentially hindering the model's ability to converge to a more accurate solution.

Methods

PackDet addresses these challenges through three primary innovations:

  1. PackOp (Packing Operator): Instead of processing feature maps of different resolutions separately, PackOp "tiles" them into one large, cubic container—a patchwork feature map. This allows the entire detection head to be executed as a single, continuous operation, significantly reducing hardware overhead.
  2. Packed Long-Head Architecture: With the features packed, the authors replace traditional multiple shallow/wide heads with a single "Long Head". This is a deeper but narrower shared structure consisting of repeated convolution blocks (Conv + GN + ReLU) with skip connections.
  3. Cross-Head Group Normalization (CH-GN): Because all scales are now contained within one tensor, Group Normalization can be performed across all heads simultaneously. This provides more robust normalization statistics compared to Head-Separate GN (HS-GN), leading to better convergence.
Overall architecture of PackDet, illustrating the transition from FPN to the Packing Operator and the subsequent Shared Long-Head.

To handle potential "noise" at the boundaries where different scales meet, the authors utilize specific stair-like packing patterns that minimize the mixing of unrelated spatial features, preserving local context for the detection heads.

Key Results

PackDet was evaluated on the MS COCO detection benchmark, using the trainval35k set for training and test-dev for final comparisons. The results demonstrate a superior speed-accuracy trade-off compared to popular detectors like FCOS.

  • Accuracy: On COCO test-dev, PackDet reached 47.4% AP using a ResNeXt-101-DCN backbone.
  • Speed & Efficiency: When using a MobileNet-v2 backbone, PackDet improved the baseline FCOS by 4.7% absolute AP while increasing speed by 2.8 FPS. PackOp reduced relative inference time by up to 12.9% compared to standard multi-branch approaches.
  • Parameter Efficiency: PackDet uses approximately 0.7M fewer parameters than FCOS with the same backbone, proving that deeper, narrower heads can be more effective than shallow, wide ones.
Comparison of COCO AP (%) vs. GPU time (ms/img), showing PackDet's superior performance curve relative to other state-of-the-art models.

Discussion and Future Work

The "aha moment" of PackDet is the realization that GPU latency is driven not just by FLOPs, but by execution overhead. By consolidating branches, PackDet maximizes the power of modern deep learning frameworks. While the current manual "stair-like" packing patterns effectively mitigate boundary noise, future work could involve Automated Neural Architecture Search (NAS) to discover even more optimal packing configurations. Additionally, the authors suggest that the PackOp concept could be extended to other multi-scale tasks such as instance segmentation and keypoint detection.

Summary updated

BibTeX
@inproceedings{ding2020packdet,
  author = {Kun Ding and Guojin He and Huxiang Gu and Zisha Zhong and Shiming Xiang and Chunhong Pan},
  title = {{PackDet: Packed Long-Head Object Detector}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58601-0\_11},
}
Figure