# Objects as Points

CenterNet detects objects as single center points without box post-processing

Xingyi Zhou, Dequan Wang, Philipp Krähenbühl · arXiv · 2019-4-16

- **Problem** Box detectors score a huge set of candidate boxes, then remove duplicates by overlap. This is wasteful, and the duplicate removal is hard to train end to end.
- **Method** CenterNet models each object as one center point. It finds peaks in a keypoint heatmap and regresses size and other properties at each peak, so no overlap-based suppression is needed.
- **Results** Without test augmentation on COCO validation, ResNet-18 reached 28.1% AP at 142 FPS. DLA-34 reached 37.4% AP at 52 FPS.

## Why enumerating boxes is costly

Most detectors reduce detection to classifying a very large number of candidate boxes, deciding for each whether it contains a specific object or background. One-stage detectors slide a dense arrangement of anchor boxes over the image and classify them without refining their content, while two-stage detectors recompute features for each candidate before classifying it.

Both families then need a duplicate-removal step that compares box overlaps, and that step is hard to differentiate, which is why most such detectors cannot be trained end to end.

The authors regard exhaustive enumeration of object locations and dimensions as wasteful, even though the box-and-classify scheme has produced steady empirical gains over several years.

## Representing an object by its center

CenterNet models each object as one point, the center of its bounding box, and casts detection as keypoint estimation. Size and the other object properties are read from image features at that center location rather than from a separate box proposal.

A fully convolutional network takes the image and outputs a heatmap whose peaks correspond to object centers, and the features at each peak predict the box height and width. Because every object has exactly one positive location, the method needs no anchor overlap thresholds and no NMS, and inference is one forward pass through the network.

Seen as an anchor-based method, a center point is a single shape-agnostic anchor, and CenterNet assigns it according to location instead of box overlap. The network keeps an output stride of 4, whereas many traditional detectors use an output stride of 16, which the authors say removes the need for several anchors per location.

## Training the heatmap and regression heads

Each ground-truth center p is mapped to a low-resolution location \\( \\tilde{p} = \\lfloor p/R \\rfloor \\), and the keypoints are splatted onto a heatmap with a Gaussian kernel whose standard deviation adapts to object size. The Gaussian is \\( Y\_{xyc} = \\exp\\left(-\\frac{(x-\\tilde{p}\_x)^2+(y-\\tilde{p}\_y)^2}{2\\sigma\_p^2}\\right) \\), and where two Gaussians of the same class overlap the element-wise maximum is kept.

The heatmap is trained as a penalty-reduced pixel-wise logistic regression with a focal loss. Positive locations contribute \\( (1-\\hat{Y}\_{xyc})^{\\alpha}\\log \\hat{Y}\_{xyc} \\), and the other locations contribute \\( (1-Y\_{xyc})^{\\beta}\\hat{Y}\_{xyc}^{\\alpha}\\log(1-\\hat{Y}\_{xyc}) \\), so pixels near a center are penalized less. The authors use α = 2 and β = 4, following CornerNet, and normalize by the number of keypoints N in the image.

A local offset is predicted to recover the rounding error from the output stride, and it is trained with an L1 loss only at the ground-truth center locations. The size map is a single two-channel output shared by all categories and is trained with an L1 loss at the centers in raw pixel units, scaled by λsize = 0.1. The overall objective is the heatmap loss plus λsize times the size loss plus λoff times the offset loss, with λoff = 1.

Each output is produced by a separate 3 × 3 convolution, a ReLU and a 1 × 1 convolution on a shared backbone, so the network predicts C + 4 values per location.

## From heatmap peaks to boxes without NMS

Peaks are extracted for each category independently by keeping responses that are greater than or equal to their 8-connected neighbours, and at most the top 100 peaks are kept. The peak extraction is implemented with a 3 × 3 max pooling operation, so the heatmap itself acts as the suppression step.

Each peak at integer location \\( (x\_i, y\_i) \\) gives a box centered at the peak plus the predicted offset, with width and height taken from the size prediction, and the heatmap value at the peak serves as the confidence. Because every box comes from its own peak, overlap-based suppression is not required; the authors state that all outputs come straight from keypoint estimation.

## Extra heads for 3D and pose

For 3D detection, depth is not regressed directly. The output is passed through \\( d = 1/\\sigma(\\hat{d}) - 1 \\), where σ is the sigmoid, and the depth is trained with an L1 loss in the original depth domain after this transformation. Three absolute dimensions in meters are regressed with a separate head and an L1 loss. Orientation is encoded with eight scalars over two angular bins, following Mousavian et al.: each bin uses two scalars for softmax classification and two for an in-bin angle, which is the in-bin regression approach.

Joint heatmaps trained with a focal loss and local offsets then refine these regressions. A regressed joint is snapped to the closest keypoint detection with confidence above 0.1, considering only detections inside the detected person's box.

## Backbones and training setup

Four architectures were tried: ResNet-18, ResNet-101, DLA-34 and Hourglass-104. The ResNets and DLA-34 are modified with deformable convolutions, while the Hourglass network is used as it is. The stacked Hourglass network downsamples the input by 4 and uses two hourglass modules, each a symmetric five-layer down and up network with skip connections, and the authors describe it as the strongest keypoint estimator among those tried.

The ResNet variant adds three up-convolutional layers with 256, 128 and 64 channels and places a 3 × 3 deformable convolution before each one, with bilinear initialization of the up-convolution kernels. The DLA-34 variant replaces the convolutions in every upsampling layer with 3 × 3 deformable convolutions and adds skip connections from lower layers.

Training uses 512 × 512 inputs, which gives 128 × 128 outputs for all models, with random flips, scaling between 0.6 and 1.3, cropping and color jittering, and Adam optimizes the objective. The 3D branch is trained without augmentation, since cropping or scaling changes the 3D measurements. ResNet and DLA-34 use a batch size of 128 on 8 GPUs with learning rate 5e-4 for 140 epochs, and Hourglass-104 is fine-tuned from ExtremeNet with batch size 29 on 5 GPUs for 50 epochs.

Test-time augmentation has three levels: none, flip with the network outputs averaged before decoding, and flip with multi-scale testing at 0.5, 0.75, 1, 1.25 and 1.5, where the multi-scale results are merged with NMS.

## Speed and accuracy on COCO

Table 1 reports COCO validation results with and without test augmentation, with speed measured on the authors' own machine, a Titan Xp GPU. ResNet-18 reached 28.1 AP at 142 FPS without augmentation, and DLA-34 reached 37.4 AP at 52 FPS without augmentation. Hourglass-104 reached 40.3 AP at 14 FPS without augmentation, 42.2 AP at 7.8 FPS with flip testing and 45.1 AP at 1.4 FPS with multi-scale testing.

For ResNet-101 the text gives 34.8% AP at 45 FPS, while Table 1 lists 34.6 AP at 45 FPS without augmentation; both values are given here because they differ for the same setting.

On Hourglass-104 the authors report higher accuracy and speed than CornerNet, at 40.6% AP and 4.1 FPS, and ExtremeNet, at 40.3% AP and 3.1 FPS, and attribute the speed gain to fewer output heads and a simpler box decoding.

On COCO test-dev, CenterNet with Hourglass-104 reaches 42.1 AP single-scale and 45.1 AP multi-scale, and the authors state that the multi-scale result outperforms the one-stage detectors in the table. Two-stage detectors such as TridentNet, at 48.4 AP and 0.7 FPS, are more accurate but slower, and the authors report no significant difference between CenterNet and sliding-window detectors across object sizes or IoU thresholds.

## NMS check and design ablations

Adding IoU-based NMS to the predictions of DLA-34 with flip testing raises AP from 39.2% to 39.7%, while Hourglass-104 stays at 42.2% AP, so the authors do not use NMS.

All ablations use DLA-34 and vary one setting at a time. Testing at the original resolution gives 36.3 AP, testing at 512 gives 36.2 AP and testing at 384 gives 33.2 AP, and the 384 setting runs about 1.7 times faster while dropping 3 AP.

For size regression, the L1 loss gives 36.3 AP and Smooth L1 gives 33.9 AP, so L1 is better in this setting. The size loss weight shows a clear peak: 33.5 AP at 0.2, 36.3 AP at 0.1 and 35.4 AP at 0.02, and the authors attribute the drop at larger weights to the size loss scale, which ranges up to the output size rather than to 1.

Doubling the epochs before the learning-rate drop raises AP from 36.3 to 37.4, an increase of 1.1 AP, and the ablations keep 140 epochs to save computation while the comparisons use 230.

## How often object centers collide

In the COCO training set, 614 pairs of objects collide on the same center point at stride 4, out of 860001 objects, so the authors estimate that fewer than 0.1% of objects cannot be predicted because of collisions. The authors compare this with about 2% of objects missed by the region proposal stages of Fast and Faster R-CNN, and with 20.0% missed by Faster-RCNN with 15 anchors at 0.5 IoU.

A further 715 pairs of objects have box IoU above 0.7, which would be assigned to two anchors in an anchor-based scheme.

## 3D detection on KITTI

The 3D experiments use KITTI, which has 7841 training images, and the metric is average precision for cars at 11 recalls at IOU threshold 0.5, reported for 2D AP, orientation AOS and BEV AP. Because the validation AP fluctuates by up to 10% AP, five models are trained with DLA-34 and their average and standard deviation are reported.

On the Deep3DBox validation split, Easy-mode 2D AP is 90.2 ± 1.2 for CenterNet against 98.8 for Deep3DBox, while Easy-mode BEV AP is 31.4 ± 3.7 against 30.0. On the Mono3D split, CenterNet reaches 97.1 ± 0.3 Easy-mode AP against 95.8 for Mono3D and 28.1 ± 4.6 Hard-mode BEV AP against 19.1. The authors describe the result as on par with these counterparts in AP and AOS and slightly better in BEV AP, and they report a speed two orders of magnitude higher than both methods.

## Human pose estimation on COCO

Pose models use DLA-34 and Hourglass-104 fine-tuned from center point detection, with DLA-34 converging in 320 epochs and Hourglass-104 in 150 epochs. Direct offset regression from the center gives 51.7 keypoint AP for DLA-34 and 55.0 for Hourglass-104 on COCO test-dev. Snapping the regressed joints to the closest joint detection raises these to 57.9 for DLA-34 and 63.0 for Hourglass-104.

The authors state that direct regression performs reasonably but is not state-of-the-art, and that it struggles particularly at high IoU. With snapping, Hourglass-104 scores 63.0 keypoint AP, close to CMU-Pose at 61.8 and Mask-RCNN at 63.1, and the authors describe this as competitive with multi-person pose estimators.

## Limitations

The NMS-free claim covers single-scale inference; multi-scale testing merges its detections with NMS. Direct keypoint regression is the weaker pose variant, and the snapping step is needed to reach the reported pose accuracy. A multiple-anchor version of CenterNet that regresses to more than one object size was tried and did not yield success.

The 3D results use only DLA-34 on KITTI cars, averaged over five models, and the validation AP varies by up to 10% AP between runs. The pose results use only DLA-34 and Hourglass-104, and the Hourglass-104 detector is fine-tuned from ExtremeNet rather than trained from scratch. Hourglass-104 needs 5 days of training, and its speed numbers come from one local machine.

## Paper info

- **Authors**: Xingyi Zhou, Dequan Wang, Philipp Krähenbühl
- **Venue**: arXiv · Preprint
- **First published**: 2019-4-16
- **Added**: 2026-11-12
- **Updated**: 2019-4-25
- **Version**: v2
- **arXiv**: 1904.07850
- **Category**: cs.CV
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1904.07850v2) · [PDF ↗](https://arxiv.org/pdf/1904.07850v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Xingyi Zhou, Dequan Wang, Philipp Krähenbühl (2019). Objects as Points. arXiv:1904.07850v2. https://arxiv.org/abs/1904.07850v2

**BibTeX**

```
@misc{zhou2019objects,
  title = {{Objects as Points}},
  author = {Xingyi Zhou and Dequan Wang and Philipp Krähenbühl},
  year = {2019},
  eprint = {1904.07850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.07850v2}
}
```

## Other paper commentary

- [An Underwater Image Enhancement Benchmark Dataset and Beyond](https://refivu.com/en/papers/2eda18ba-6e06-4338-b14f-62b509de128c-an-underwater-image-enhancement-benchmark-dataset-and-beyond.md)
- [A Point Set Generation Network for 3D Object Reconstruction from a Single Image](https://refivu.com/en/papers/6581e4ca-cecc-49b8-9e19-5f1bc9e8b2c6-a-point-set-generation-network-for-3d-object.md)
- [ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation](https://refivu.com/en/papers/3adc891f-8ead-4766-8151-56ab75944aac-enet-a-deep-neural-network-architecture-for-real.md)
- [U$^2$-Net: Going Deeper with Nested U-Structure for Salient Object Detection](https://refivu.com/en/papers/2d7769d6-e841-4c0d-9da6-e34c0a829f6f-u-2-net-going-deeper-with-nested-u.md)
- [Unsupervised Deep Embedding for Clustering Analysis](https://refivu.com/en/papers/3fc112f4-12fa-48a5-844d-f4db35940d32-unsupervised-deep-embedding-for-clustering-analysis.md)
- [MixMatch: A Holistic Approach to Semi-Supervised Learning](https://refivu.com/en/papers/d856843f-75fc-46da-9ea4-4cf39f99810c-mixmatch-a-holistic-approach-to-semi-supervised-learning.md)
- [Fair prediction with disparate impact: A study of bias in recidivism prediction instruments](https://refivu.com/en/papers/63f46b07-c8ea-4844-bd07-458032bf0b42-fair-prediction-with-disparate-impact-a-study-of.md)
- [Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs](https://refivu.com/en/papers/2f0fda58-62a6-4d7b-8db1-4bdf80289483-efficient-and-robust-approximate-nearest-neighbor-search.md)
- [Consistent Individualized Feature Attribution for Tree Ensembles](https://refivu.com/en/papers/25122a82-e886-4eee-bc7a-c921ba59d7de-consistent-individualized-feature-attribution-for-tree.md)

## Terms in this paper

- [ADAM](https://refivu.com/en/terms/0e9ad0199e08-adam)
- [Object detection](https://refivu.com/en/terms/113bfdb14049-object-detection)
- [focal loss](https://refivu.com/en/terms/55a77da0ac9c-focal-loss)
- [Average Precision](https://refivu.com/en/terms/1764eaa249a6-average-precision)
- [MS COCO](https://refivu.com/en/terms/1a7c38d39825-ms-coco)
- [KITTI](https://refivu.com/en/terms/300e3e1e2f51-kitti)
- [max pooling](https://refivu.com/en/terms/5fb6ec0ed2d6-max-pooling)
- [FPS](https://refivu.com/en/terms/e6b895af6e27-fps)
- [RetinaNet](https://refivu.com/en/terms/7a1197d7203b-retinanet)
- [Faster-RCNN](https://refivu.com/en/terms/7399dfe3365a-faster-rcnn)
- [ResNet-18](https://refivu.com/en/terms/1cdf53b7347d-resnet-18)
- [3D object detection](https://refivu.com/en/terms/a8230f1ffc5b-3d-object-detection)
- [deformable convolution](https://refivu.com/en/terms/2caf738356d7-deformable-convolution)
- [CenterNet](https://refivu.com/en/terms/98011a89a2d1-centernet)
- [output stride](https://refivu.com/en/terms/f7f28eec78da-output-stride)
- [YOLOv3](https://refivu.com/en/terms/b6d56c186f0a-yolov3)
- [CornerNet](https://refivu.com/en/terms/58a6465e45b6-cornernet)
- [Human pose estimation](https://refivu.com/en/terms/9f81cc714708-human-pose-estimation)
- [Smooth L1](https://refivu.com/en/terms/1749e2d13787-smooth-l1)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/15289860-cbb9-4b2e-92d1-6e9088d6effa-objects-as-points)
