OD³: Optimization-free Dataset Distillation for Object Detection

Salwa K. Al Khatib, Ahmed Elhagry, Shitong Shao, Zhiqiang Shen · Submission to ICML 2025 · Rejected

TL;DR

Dataset distillation compresses massive datasets into small, synthetic subsets, but existing techniques rely on expensive gradient optimization and struggle to handle multi-object detection. OD³ introduces an optimization-free framework that constructs condensed detection datasets via controlled copy-paste placement, observer-guided screening, and dynamic context extension. It shatters previous state-of-the-art performance on MS COCO and PASCAL VOC—outperforming prior methods by up to 14.9% $\text{mAP}_{50}$—while synthesizing datasets in just a few GPU hours.

What Problem Does This Paper Address?

Training modern object detectors requires massive datasets with rich spatial annotations (bounding boxes and class labels). Dataset Distillation (DD) aims to synthesize compact, miniature datasets that preserve as much downstream training efficacy as possible.

However, existing DD methods almost exclusively target image classification. Directly transferring classification DD paradigms to detection fails because:

  1. Multi-instance spatial complexity: Instead of learning a single global image label, detectors must localize and identify multiple heterogeneous objects, varying widely in scale, overlap, and background context.
  2. Computational overhead: Prior detection DD methods (such as DCOD) rely on iterative gradient-based model inversion, which is computationally expensive and slow.
  3. Coreset limitations: Traditional subset selection methods (e.g., herding, k-center) struggle under severe compression ratios ($\le 1.0\%$) in dense prediction settings.

Methods

OD³ abandons pixel-level gradient optimization entirely, opting for an iterative "Add-Then-Remove" synthesis pipeline:

[Blank Canvas] 
      │
      ▼
1. Candidate Selection & Placement ──► (Random copy-paste with IoU overlap threshold τ)
      │
      ▼
2. Candidate Screening ──────────────► (Pre-trained Observer model prunes low-confidence patches < η)
      │
      ▼
3. Refinement & Supervision ─────────► (Scale-Aware Context Extension + Channel-wise PKD Soft Labels)
  • Candidate Selection & Placement: The original dataset is partitioned across the target distilled budget ($\text{IPD}$, or Images Per Dataset). Real bounding box patches are sampled and iteratively placed onto a blank canvas (or random training background) with a strict overlap constraint ($\text{IoU} < \tau = 0.6$).
  • Observer-Guided Screening: A pre-trained detector (the "observer") runs inference on the newly assembled canvas. Patches with confidence scores below a threshold ($\eta = 0.2$) or corrupted by overlaps are discarded. The authors provide a theoretical proof (Theorem 3.2) showing that this add-then-remove loop provably increases the expected canvas Information Density.
  • Scale-Aware Dynamic Context Extension (SA-DCE): Tightly cropped small objects lose crucial contextual information. SA-DCE dynamically expands the bounding box margins inversely proportional to object scale, capturing surrounding pixels for small objects without ballooning large ones.
  • Channel-Wise Soft Label Supervision: During post-evaluation training, student models are supervised not just by hard bounding boxes, but by distilling Feature Pyramid Network (FPN) features from the observer using Pearson Knowledge Distillation (PKD).

Datasets

The authors evaluated OD³ on two standard object detection benchmarks without introducing new datasets:

  • MS COCO (2014): Tested at extreme compression rates of 0.25%, 0.5%, 1.0%, and 5.0% IPD (where 1.0% represents ~1,183 synthetic images distilled from ~118k).
  • PASCAL VOC (2007 + 2012): Tested across 0.5%, 1.0%, and 2.0% IPD.

Key Insights and Ideas

  • Real Patches Beat Gradient Inversion: Gradient-based image synthesis often yields unnatural artifacts that confuse detectors. Directly assembling real instance patches maintains photorealism and spatial fidelity while bypassing costly bi-level optimization.
  • Information Density over Raw Quantity: Packing an image with as many objects as possible causes mutual occlusion and noise. The paper balances Information Density (confidence $\times$ area) with Information Diversity (count of distinct objects).
  • Context is Critical for Small Objects: Static crops severely degrade small-object recognition. Dynamically padding context around small objects closed the performance gap between small and large instances.
  • Extreme Efficiency: Because OD³ avoids backward optimization passes during data generation, generating a full distilled dataset takes ~4.7 hours for COCO and ~0.74 hours for VOC on a single NVIDIA RTX 4090 GPU.

Key Results

  • Surpassing Prior SoTA by Double Digits: On MS COCO at 1.0% IPD, OD³ achieved 22.50% mAP and 39.60% $\text{mAP}_{50}$, outperforming the only prior detection DD method (DCOD) by +14.9% $\text{mAP}_{50}$ and conventional selection (Random at 19.70%, Herding at 12.50%).
  • Extreme Compression Milestone: At just 0.25% IPD on COCO, OD³'s performance (24.70% $\text{mAP}_{50}$) matched or exceeded DCOD trained on 1.0% IPD (4× more data).
  • Strong PASCAL VOC Results: Reached 38.51% mAP at 0.5% IPD and 58.68% mAP at 2.0% IPD.
  • Cross-Architecture Transferability: Datasets distilled using a two-stage Faster R-CNN (ResNet-101) observer generalized effectively to a one-stage RetinaNet (ResNet-50) student, even exceeding native Faster R-CNN performance in certain ultra-low regimes (e.g., 25.70% vs. 24.70% $\text{mAP}_{50}$ at 0.25%).

Limitations and Future Work

  • Observer Bias & Dependence: The primary computational cost and quality ceiling stem from the pre-trained observer model; detection blind spots in the observer directly impact sample screening.
  • Fixed Canvas Geometry: Canvas resolutions were fixed to dataset averages ($484 \times 578$ for COCO); adaptive or multi-resolution canvases were not explored.
  • Architectural Scope: Evaluations focused primarily on standard CNN backbones (Faster R-CNN, RetinaNet). Testing compatibility with Vision Transformers (e.g., DETR) and open-vocabulary detection remains an open avenue.

Summary updated

Abstract

Training large neural networks on large-scale datasets requires substantial computational resources, particularly for dense prediction tasks such as object detection. Although dataset distillation (DD) has been proposed to alleviate these demands by synthesizing compact datasets from larger ones, most existing work focuses solely on image classification, leaving the more complex detection setting largely unexplored. In this paper, we introduce **OD³**, a novel optimization-free data distillation framework specifically designed for object detection. Our approach involves two stages: first, a candidate selection process in which object instances are iteratively placed in synthesized images based on their optimal locations, and second, a candidate screening process using a pre-trained observer model to remove low-confidence objects. We perform our data synthesis framework on MS COCO and PASCAL VOC, two popular detection datasets, with compression ratios ranging from 0.25% to 5%. Compared to the prior solely existing dataset distillation method on detection and conventional core set selection methods, **OD³** delivers superior accuracy, establishes new state-of-the-art results, surpassing prior best method by more than 14% on MS COCO at a compression ratio of 1.0%. The code is in the supplementary material.
BibTeX
@inproceedings{khatib2026od,
  author = {Salwa K. Al Khatib and Ahmed Elhagry and Shitong Shao and Zhiqiang Shen},
  title = {{OD³: Optimization-free Dataset Distillation for Object Detection}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=W6gbWvvovB},
}
Figure