# Cascade R-CNN: Delving into High Quality Object Detection

Cascade R-CNN stacks detectors with rising IoU thresholds to improve precise detection

Zhaowei Cai, Nuno Vasconcelos · arXiv · 2017-12-3

- **Problem** Detectors trained at a high IoU threshold overfit because there are too few positive examples, and they mismatch the boxes they receive at inference. Raising the threshold therefore hurt accuracy.
- **Method** Cascade R-CNN chains detectors trained at rising IoU thresholds, 0.5, 0.6 and 0.7. Each stage trains on the boxes the previous stage refines, and the cascade also runs at inference.
- **Results** Cascade R-CNN scored 38.9 AP on COCO val, compared to 34.9 for the FPN+ baseline. It surpassed all single-model detectors on COCO test-dev.

## Why low-threshold detectors keep close false positives

A detector trained with an IoU threshold of 0.5 accepts many boxes that a person would call close but wrong. The threshold is loose, so the training set is rich, but the classifier never learns to reject these near misses. A higher threshold looks like the obvious remedy, yet the authors show that a detector trained at 0.7 can perform worse.

The first reason is data: a higher threshold leaves fewer positives, and neural networks need many examples to train well. The number of positives shrinks exponentially as the threshold grows, so a high-threshold training run overfits. The second reason is a mismatch at inference. Most proposals are low quality, so a detector tuned for high IoU sees hypotheses that don't match what it was tuned for.

## A cascade that resamples its own outputs

The key idea is to stack detector stages whose IoU thresholds rise, so each stage is more selective than the one before it. The stages are trained one after another, and each stage's output boxes become the training distribution for the next.

The reasoning rests on one observation: a regressor almost always returns boxes with a higher IoU than the boxes it received. So a detector trained at one threshold produces boxes that suit training the next, higher-threshold detector. The authors argue that this keeps the number of positives roughly constant across stages, so later stages have enough examples and don't overfit.

Iterative BBox, by contrast, reapplies one regressor as a post-processing step. The cascade instead changes the distribution each stage sees, which affects training as well as inference.

## How one cascade stage is trained

The three detection stages use IoU thresholds of 0.5, 0.6 and 0.7 in turn, after one RPN stage. Each regressor is fit to the boxes that arrive at its own stage, not to the original proposals. Chaining the regressors gives the cascade form below, where T is the number of stages.

Each stage t has a classifier h\_t and a regressor f\_t, trained for its own IoU threshold u\_t, with u\_t larger than u\_{t-1}. The stage loss adds a classification term to a regression term, with the regression term weighted by lambda, which is set to 1. \\\[ L(x\_t, g) = L\_{cls}(h\_t(x\_t), y\_t) + \\lambda \[y\_t \\ge 1\] L\_{loc}(f\_t(x\_t, b\_t), g) \\\] The indicator term means only foreground samples contribute to the regression loss, and b\_t is the box the previous stage produced.

Regression targets are normalized by a mean and variance, and in the cascade those statistics are recomputed at each stage. The authors do this because the distribution of offsets shifts after every stage. At inference the same chain runs, so later stages only receive boxes that earlier stages already refined.

## Does matching detector quality to hypotheses matter?

Before building the cascade, the authors trained three detectors at u=0.5, 0.6 and 0.7 and compared them.

The u=0.7 detector reaches an AP of 0.319, compared to 0.349 for the u=0.5 detector. So raising the threshold to 0.7 hurt in this setting, even though it trained on higher-quality examples. When ground truth boxes were added to the proposals, the u=0.7 detector gained the most. The authors read this as evidence that precise detection needs hypotheses that match the detector's quality.

Jointly trained cascade detectors also beat the individually trained ones even when both used the same proposals.

## Comparison with iterative BBox and integral loss

Iterative BBox and the integral loss detector each improve the FPN+ baseline only a little, reaching 35.4 AP on COCO val compared to 34.9. Cascade R-CNN scored 38.9 on the same split, the largest gain of the three methods.

The gain is concentrated at strict IoU levels, since AP50 moved only from 57.0 to 57.8. AP80 rose from 29.7 to 35.8, and AP90 from 7.1 to 15.8. So the cascade helps most where the detector must be precise.

A single regressor degrades boxes with high IoU, and applying it repeatedly makes this worse. The authors report that iterative BBox performs very poorly after three iterations, while cascade regressors keep improving at later stages.

The integral loss weights different thresholds on different numbers of positives, which the authors see as a weakness.

## Which parts of the cascade matter

The first stage scores 35.5 AP, already above the 34.9 baseline, and the second stage reaches 38.3. The authors attribute the first stage's gain to multi-stage multi-task learning. The third stage is equivalent to the second, while an ensemble of the three classifiers on the third stage's proposals scores 38.9.

In the Table 3 rows, the setting with no ticked options scored 36.8, and the authors say the cascade already improves on the baseline there. Adding the full cascade with increasing thresholds and regression statistics raised AP to 38.9.

Adding a second detection stage lifted AP from 34.9 to 38.2, and a third stage to 38.9. The authors choose three stages as the best trade-off.

## Results on other detectors and the state of the art

On test-dev with a ResNet-101 backbone, Cascade R-CNN scores 42.8 AP. That is compared to 38.8 for the FPN+ detector without the cascade and 35.7 for AttractioNet. The authors state that it outperforms all compared single-model detectors under all metrics. It also beats AttractioNet by 7.1 points.

The cascade's final setting used 280k training iterations and 512 RoIs, which differs from the ablation setting.

The authors also add a three-stage cascade to Faster-RCNN with VGG, R-FCN and FPN+ baselines. Faster R-CNN with VGG rises from 23.5 to 26.9 AP on test-dev. The parameter count grows linearly with the number of stages, and the head cost is small next to the RPN.

## Limitations

The main ablations use ResNet-50 with the FPN+ baseline, while the final detection uses ResNet-101. The reported experiments are all on MS-COCO 2017. The baseline detectors were reimplemented in Caffe on one codebase for fair comparison. The FPN+ baseline is stronger than the original FPN, which the authors note.

The integral loss and iterative BBox comparisons were implemented by the authors, not taken from other papers.

## Paper info

- **Authors**: Zhaowei Cai, Nuno Vasconcelos
- **Venue**: arXiv · Preprint
- **First published**: 2017-12-3
- **Added**: 2026-11-11
- **Updated**: 2017-12-3
- **Version**: v1
- **arXiv**: 1712.00726
- **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/1712.00726v1) · [PDF ↗](https://arxiv.org/pdf/1712.00726v1)

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

Zhaowei Cai, Nuno Vasconcelos (2017). Cascade R-CNN: Delving into High Quality Object Detection. arXiv:1712.00726v1. https://arxiv.org/abs/1712.00726v1

**BibTeX**

```
@misc{cai2017cascade,
  title = {{Cascade R-CNN: Delving into High Quality Object Detection}},
  author = {Zhaowei Cai and Nuno Vasconcelos},
  year = {2017},
  eprint = {1712.00726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.00726v1}
}
```

## Related papers

- [Cascade R-CNN: High Quality Object Detection and Instance Segmentation](https://refivu.com/en/papers/484c94a6-ca7a-4e4d-a933-9ea5ec919a68-cascade-r-cnn-high-quality-object-detection-and.md)
- [R-FCN: Object Detection via Region-based Fully Convolutional Networks](https://refivu.com/en/papers/bb79aec7-981d-49d9-925a-5b0783987a46-r-fcn-object-detection-via-region-based-fully.md)
- [Mask R-CNN](https://refivu.com/en/papers/847d4035-f2b9-4596-960a-21197b9d9a3c-mask-r-cnn.md)
- [Rich feature hierarchies for accurate object detection and semantic segmentation](https://refivu.com/en/papers/0abb1ab7-a65a-475d-b57e-af628d8620f3-rich-feature-hierarchies-for-accurate-object-detection-and.md)
- [Focal and Efficient IOU Loss for Accurate Bounding Box Regression](https://refivu.com/en/papers/cc28bb37-8cb7-49b2-84aa-5bd885a3d4e6-focal-and-efficient-iou-loss-for-accurate-bounding.md)
- [Focal Loss for Dense Object Detection](https://refivu.com/en/papers/e443afaf-8dd8-45c6-8192-0357f4961dd2-focal-loss-for-dense-object-detection.md)

## Other paper commentary

- [Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network](https://refivu.com/en/papers/c2c293f4-dc72-4731-8795-3cf7b87f96e1-real-time-single-image-and-video-super-resolution.md)
- [DINOv2: Learning Robust Visual Features without Supervision](https://refivu.com/en/papers/7e38faf5-df28-456e-b030-fb3b41cff096-dinov2-learning-robust-visual-features-without-supervision.md)
- [Deformable Convolutional Networks](https://refivu.com/en/papers/578e91c5-050a-4482-bf73-97db86a8865f-deformable-convolutional-networks.md)
- [TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation](https://refivu.com/en/papers/28bfb581-8f1f-42dd-ab0d-1b3c56282f6a-transunet-transformers-make-strong-encoders-for-medical.md)
- [Accurate Image Super-Resolution Using Very Deep Convolutional Networks](https://refivu.com/en/papers/8f850d36-527c-4a2a-8e8a-5d7766bd5c35-accurate-image-super-resolution-using-very-deep.md)
- [Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps](https://refivu.com/en/papers/d3437c7c-4a6a-4f65-b699-3116ccfbfdee-deep-inside-convolutional-networks-visualising-image.md)
- [Graph Neural Networks: A Review of Methods and Applications](https://refivu.com/en/papers/a985ee6a-3fda-41af-b6ea-0451377e5861-graph-neural-networks-a-review-of-methods-and.md)
- [Distributed Representations of Sentences and Documents](https://refivu.com/en/papers/f945f364-5ce3-4c12-bc05-c40bf55f4f8d-distributed-representations-of-sentences-and-documents.md)

## Terms in this paper

- [Object detection](https://refivu.com/en/terms/113bfdb14049-object-detection)
- [IoU](https://refivu.com/en/terms/49f3d09602a9-iou)
- [Faster-RCNN](https://refivu.com/en/terms/7399dfe3365a-faster-rcnn)
- [R-CNN](https://refivu.com/en/terms/fce148b1175f-r-cnn)
- [R-FCN](https://refivu.com/en/terms/7bbaf3ca2a0f-r-fcn)
- [Region Proposal Network](https://refivu.com/en/terms/1d7cd1c08ddf-region-proposal-network)
- [bounding box regression](https://refivu.com/en/terms/13654a1f5c1a-bounding-box-regression)
- [Cascade R-CNN](https://refivu.com/en/terms/7ba6343d646c-cascade-r-cnn)
- [cascaded bounding box regression](https://refivu.com/en/terms/df34537dd9f5-cascaded-bounding-box-regression)
- [Cascaded Detection](https://refivu.com/en/terms/4ead8ce25507-cascaded-detection)
- [COCO-style Average Precision](https://refivu.com/en/terms/cd86c3a80bf2-coco-style-average-precision)
- [FPN+](https://refivu.com/en/terms/66d88c04cd85-fpn)
- [integral loss](https://refivu.com/en/terms/b4b52986579a-integral-loss)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/8374d444-20db-4d12-9b4c-6fa3eca5e1d6-cascade-r-cnn-delving-into-high-quality-object)
