Skip to main content
QUICK REVIEW

[Paper Review] Shift Equivariance in Object Detection

Marco Manfredi, Yu Wang|arXiv (Cornell University)|Aug 13, 2020
Advanced Neural Network ApplicationsComputer Science28 references5 citations
TL;DR

This paper introduces a novel evaluation metric, AP variations (ΔAP), to quantify shift equivariance in object detection models by measuring mean average precision changes under small image translations. The study reveals that modern detectors—both one-stage and two-stage—suffer from significant performance drops even with one-pixel shifts, and while techniques like blur-pooling and test-time augmentation help, none achieve full shift equivariance.

ABSTRACT

Robustness to small image translations is a highly desirable property for object detectors. However, recent works have shown that CNN-based classifiers are not shift invariant. It is unclear to what extent this could impact object detection, mainly because of the architectural differences between the two and the dimensionality of the prediction space of modern detectors. To assess shift equivariance of object detection models end-to-end, in this paper we propose an evaluation metric, built upon a greedy search of the lower and upper bounds of the mean average precision on a shifted image set. Our new metric shows that modern object detection architectures, no matter if one-stage or two-stage, anchor-based or anchor-free, are sensitive to even one pixel shift to the input images. Furthermore, we investigate several possible solutions to this problem, both taken from the literature and newly proposed, quantifying the effectiveness of each one with the suggested metric. Our results indicate that none of these methods can provide full shift equivariance. Measuring and analyzing the extent of shift variance of different models and the contributions of possible factors, is a first step towards being able to devise methods that mitigate or even leverage such variabilities.

Motivation & Objective

  • To address the lack of quantitative evaluation for shift equivariance in object detectors, which is critical for safety-critical applications like autonomous driving.
  • To investigate how small image translations—as small as one pixel—affect the robustness of modern object detection architectures.
  • To evaluate the effectiveness of various architectural and data augmentation techniques in improving shift equivariance.
  • To establish a standardized, end-to-end evaluation pipeline for measuring shift equivariance in detection models.

Proposed method

  • Proposes a greedy search algorithm to compute the lower and upper bounds of mean average precision (mAP) on a shifted image set, defining the metric ΔAP as the difference between these bounds.
  • Applies small translations (up to ±1 pixel) to validation images and re-evaluates detector performance to measure variation in mAP.
  • Employs test-time augmentation (TTA) by generating predictions on multiple shifted versions of each image and aggregating them via non-maximum suppression (NMS).
  • Evaluates architectural modifications such as blur-pooling (anti-aliasing) and densified output resolution to improve robustness.
  • Tests models on both COCO and DOTA datasets to assess the impact of photographer’s bias on shift variance.
  • Uses standard object detection models (RetinaNet, Faster R-CNN, CenterNet) across anchor-based and anchor-free settings to ensure broad applicability.

Experimental results

Research questions

  • RQ1To what extent are modern object detectors sensitive to small image translations, even as small as one pixel?
  • RQ2How does shift variance differ between one-stage and two-stage detectors, and between anchor-based and anchor-free architectures?
  • RQ3Can existing techniques like blur-pooling, densified feature maps, or test-time augmentation effectively reduce shift variance in object detection?
  • RQ4Does the presence of photographer’s bias in datasets like COCO significantly influence shift equivariance?
  • RQ5Can test-time augmentation be leveraged to exploit shift variance and improve detection performance?

Key findings

  • All tested object detectors—RetinaNet, Faster R-CNN, and CenterNet—exhibit significant performance degradation under one-pixel shifts, with ΔAP values ranging from 2.2 to 8.1 across models and datasets.
  • On the COCO dataset, CenterNet shows ΔAP = 3.4 and ΔAP₅₀ = 8.1, indicating strong sensitivity to small translations.
  • Blur-pooling reduces ΔAP by approximately 30% across both one-stage and two-stage detectors, demonstrating measurable improvement in robustness.
  • Densifying the output feature resolution leads to a small but consistent improvement in ΔAP₅₀, suggesting a marginal benefit for shift equivariance.
  • On the DOTA aerial dataset—free of photographer’s bias—the models still show significant shift variance, indicating that the issue is not primarily due to dataset bias.
  • Test-time augmentation improves mAP by up to 1.0 (AP) and 2.2 (AP₅₀) for CenterNet, showing that shift variance can be exploited to enhance performance at the cost of increased inference time.

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.