OD3: Optimization-free Dataset Distillation for Object Detection

Salwa K. Al Khatib, Ahmed ElHagry, Shitong Shao, Zhiqiang Shen

TL;DR

Dataset distillation typically relies on expensive, iterative optimization loops to compress massive datasets into a few synthetic images. This paper introduces $\text{OD}^3$, a novel, training-free framework that bypasses optimization entirely to distill complex object detection datasets. By strategically placing object patches and filtering them with a pre-trained observer model, $\text{OD}^3$ shatters previous state-of-the-art performance records while drastically reducing computation time.

What Problem Does This Paper Address?

Training modern deep learning models for dense prediction tasks like object detection requires massive datasets and immense computational power. Dataset Distillation (DD) aims to solve this by synthesizing a tiny, hyper-compact version of a dataset that can train a model to nearly the same accuracy as the full dataset.

While DD has seen great success in image classification, extending it to object detection is notoriously difficult. Classification images usually feature a single prominent object. Detection images, however, contain multiple objects of varying sizes, classes, and complex spatial relationships. The few existing methods that attempt detection distillation rely on complex pixel-level optimization (like model inversion), which is computationally draining, slow, and struggles to preserve crucial background context.

Methods

$\text{OD}^3$ introduces an optimization-free two-stage pipeline to construct synthetic images on a "blank canvas" background:

  1. Candidate Selection & Placement: Object instances (patches) are extracted from the original dataset. A segment-based sampling controller ensures that unique objects are iteratively pasted onto a background canvas. To prevent chaotic crowding, a placement mechanism checks that the intersection-over-union (IoU) overlap between objects stays below a threshold $\tau$.
  2. Candidate Screening (Add-Then-Remove): Instead of optimizing pixels, $\text{OD}^3$ uses a pre-trained observer model (an off-the-shelf detector) to evaluate the canvas. It runs inference on the newly constructed image and automatically removes low-confidence objects or those deemed "visual noise."
Overview of the OD3 Framework

Key Enhancements:

  • Scale-aware Dynamic Context Extension (SA-DCE): Simply cropping and pasting an object destroys its background context, which severely hurts small object detection. SA-DCE dynamically expands the bounding box crop around an object based on its size—giving smaller objects a larger relative context buffer.
  • Normalized Feature Soft Labels: To transfer rich knowledge during downstream training, the authors generate soft labels from the Feature Pyramid Network (FPN) of the observer model using Pearson Knowledge Distillation (PKD), rather than standard classification logits.

Datasets

The authors evaluated their framework on two gold-standard object detection benchmarks:

  • MS COCO: A highly challenging dataset featuring complex multi-object scenes across 12 supercategories.
  • PASCAL VOC: A widely used standard benchmark for object detection evaluation.

Distillation was tested at extreme compression ratios, measured in IPD (Images Per Dataset, replacing the classification metric of Images Per Class), ranging from 0.25% to 5.0%.

Key Insights and Ideas

  • Optimization is Overrated for DD: The most surprising takeaway is that pixel-level optimization loops aren't necessary for complex scene synthesis. A clean heuristic approach (smart copy-paste + model filtering) yields cleaner, more semantically stable training signals.
  • Context is a First-Class Citizen: For object detectors, an object is defined partly by its surroundings. The success of SA-DCE proves that preserving a dynamic boundary of native background context around a cropped object is vital for training detectors on synthetic data.
  • The "Add-Then-Remove" Mathematical Advantage: The authors mathematically prove that filtering out low-confidence objects iteratively increases the overall "information density" of the synthetic canvas, leading to superior downstream training stability.

Key Results

$\text{OD}^3$ achieves massive performance leaps over prior core-set selection methods and the previous state-of-the-art detection distillation method, DCOD.

Performance Comparison on COCO
  • MS COCO Breakthroughs: At a 1.0% compression ratio, $\text{OD}^3$ achieves a 39.5% $\text{mAP}_{50}$, outperforming DCOD by an absolute 14.8%. Remarkably, $\text{OD}^3$ trained on just 0.25% of the data still beats DCOD trained on 1.0% of the data.
  • PASCAL VOC Superiority: At a 2.0% compression ratio, $\text{OD}^3$ reaches 58.7% mAP, outperforming DCOD by 8.0%.
  • Extreme Efficiency: Because it bypasses optimization loops, $\text{OD}^3$ can distill the entire MS COCO dataset in just 4.7 hours on a single NVIDIA 4090 GPU.

Limitations and Future Work

  • Dependency on Ground-Truth Labels: The candidate selection phase relies entirely on high-quality bounding box annotations from the original dataset. This limits its use in unsupervised or weakly-supervised settings.
  • The Transformer Gap: While CNN-based detectors (like Faster R-CNN) train incredibly well on these distilled datasets, Vision Transformer-based detectors (like DETR) still experience sharp performance drops. Transformers are notoriously data-hungry and struggle to learn effective attention patterns from such heavily compressed data. The authors highlight bridging this architectural gap as a crucial direction for future research.

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 OD3, 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 suitable 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, OD3 delivers superior accuracy, establishes new state-of-the-art results, surpassing prior best method by more than 14% on COCO mAP50 at a compression ratio of 1.0%. Code is available at: https://github.com/VILA-Lab/OD3.
BibTeX
@inproceedings{khatib2026od,
  author = {Salwa K. Al Khatib and Ahmed ElHagry and Shitong Shao and Zhiqiang Shen},
  title = {{OD3: Optimization-free Dataset Distillation for Object Detection}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=W6gbWvvovB},
}
Figure