Towards PAC Multi-Object Detection and Tracking

Shuo Li, Sangdon Park, Xiayan Ji, Insup Lee, Osbert BastaniarXiv 2022 · DOI

Abstract

This paper introduces a framework for providing Probably Approximately Correct (PAC) guarantees for deep learning-based multi-object detection and tracking. By leveraging compositional conformal prediction, the authors generate sets of bounding boxes and trajectories that are mathematically guaranteed to contain the ground truth with a user-defined high probability. This approach significantly improves reliability for safety-critical systems, such as autonomous vehicles, where point-estimate predictions are insufficient for risk management.

Introduction

Deep learning models have become the standard for vision tasks, yet they remain notoriously difficult to verify. In safety-critical environments—such as a self-driving car navigating a busy intersection—relying on a model's "best guess" (a single bounding box) is inherently risky. If the model is slightly off, it might miss a pedestrian entirely. While conformal prediction has been used for uncertainty guarantees in simple classification, applying it to complex, multi-stage pipelines like object detection and tracking is non-trivial. The challenge lies in providing a single, rigorous guarantee for a system composed of many moving parts, including proposals, classifiers, and temporal trackers.

Methods

The authors propose a compositional approach to PAC guarantees. Rather than treating the neural network as a single black box, they decompose the system into its constituent components and provide statistical guarantees for each.

PAC Object Detection

Building on the Faster R-CNN architecture, detection is broken into three parts:

  1. Proposal: Generating regions likely to contain objects.
  2. Presence: Determining the likelihood that a specific class exists in a proposal.
  3. Location: Predicting the exact coordinates of the object.

The researchers prove that if PAC prediction sets can be constructed for these individual components, they can be mathematically composed to provide a rigorous guarantee for the entire detector (Theorem 4).

PAC Multi-Object Tracking

For tracking, the framework builds on Tracktor, which links detections across frames. The authors define an "edge prediction set"—a set of possible transitions between objects in adjacent frames. By using Intersection over Union (IoU) as a similarity score, they construct a set of potential trajectories guaranteed to contain the true path of the object (Theorem 5).

Experimental Evaluation

The framework was evaluated using two industry-standard benchmarks: COCO (Common Objects in Context) for object detection and MOT-17 (Multiple Object Tracking) for temporal sequences.

Key Results

Quantitative analysis confirms that the compositional guarantee holds in practice. On the COCO dataset, with a target error rate ($\epsilon_{det}$) of 0.2, the system achieved an empirical error of only 0.097, well within the safety budget.

Empirical error rates for sub-components and the final detector compared to the desired risk budget (epsilon).

In MOT-17 tests, the PAC tracking method outperformed naive "Top-K" baselines. While standard models often lose tracks during occlusions, the PAC prediction sets correctly expand to cover the ambiguity, ensuring the true trajectory is maintained within the set. This is visually evident in dense scenes where standard models might fail to distinguish between similar objects.

Qualitative visualization of PAC prediction sets in a dense urban environment, showing the model's output as sets of possible bounding boxes.

Discussion and Future Work

The primary trade-off for these guarantees is conservatism. In highly uncertain scenarios, the prediction sets can become large. While this ensures safety, extremely large sets may be less useful for precise navigation.

Future work aims to incorporate object dynamics (e.g., physical constraints on vehicle movement) to shrink these prediction sets without sacrificing the PAC guarantee. Additionally, exploring more sophisticated scoring functions beyond simple IoU could lead to tighter, more efficient tracking sets. Ultimately, this framework provides a path toward verifiable AI that acknowledges its own uncertainty through set-based predictions.

Summary updated

BibTeX
@misc{li2022towards,
  author = {Shuo Li and Sangdon Park and Xiayan Ji and Insup Lee and Osbert Bastani},
  title = {{Towards PAC Multi-Object Detection and Tracking}},
  year = {2022},
  eprint = {2204.07482},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.07482},
}
Figure