Out-of-Distribution Object Detection in Street Scenes via Synthetic Outlier Exposure and Transfer Learning

Sadia Ilyas, Annika Mütze, Klaus Friedrichs, Thomas Kurbiel, Matthias RottmannarXiv 2026

TL;DR

SynOE-OD is a novel framework that tackles out-of-distribution (OOD) object detection in street scenes by using generative models (Stable Diffusion) to inject synthetic object-level outliers into training images. By automatically refining these annotations with an open-vocabulary detector (GroundingDINO) and fine-tuning standard models with a dedicated OOD class, it achieves state-of-the-art OOD detection performance while preserving strong in-distribution accuracy.

What Problem Does This Paper Address?

In safety-critical applications like autonomous driving, object detectors must not only recognize known categories (in-distribution, or ID) but also safely identify completely unexpected objects (out-of-distribution, or OOD)—such as a stray animal or a lost piece of furniture on the highway.

Standard object detectors output sparse predictions and tend to fail silently on OOD objects, treating them as background. While Open-Vocabulary Object Detectors (OVODs) possess impressive zero-shot capabilities, they are highly prompt-dependent; you cannot prompt a model to look for an object you don't know exists. Existing OOD detection methods often rely on complex architectural modifications or auxiliary branches. This paper introduces a unified framework that trains a single detector to explicitly classify unusual objects as "OOD" without altering the underlying model architecture.

Methods

The authors propose SynOE-OD (Synthetic Outlier-Exposure-based Object Detection), which combines synthetic outlier exposure with transfer learning:

  1. OOD Object List Generation: ChatGPT is prompted to generate a diverse list of unusual objects for street scenes (e.g., household items, wild animals).
  2. Scene Editing via Inpainting: Using Stable Diffusion, these unusual objects are inpainted into existing street-scene images, either by replacing an existing ID object or placing them in free-space areas (like the road).
  3. Automated Label Refinement: To ensure accurate bounding boxes and handle generation failures, the framework passes the inpainted regions through GroundingDINO. It handles three scenarios: refining the bounding box, reassigning the label back to ID if the inpainting failed to change the object type, or removing the box entirely if the inpainting is empty.
  4. Unified Transfer Learning: Standard detectors (like DINO-DETR) or OVODs are fine-tuned on this augmented dataset using a standard cross-entropy loss extended with an extra $(n+1)$-th class bucket specifically for OOD objects.
Fig. 2: Overview of SynOE-OD, illustrating an augmented NuImages training set and evaluation on an unseen test set, i.e., RoadAnomaly, at inference time. During transfer-learning synthetic outliers are incorporated into the training data, and object detectors are fine-tuned to achieve joint ID and OOD object detection capability.
Fig. 3: Overview of the synthetic outlier data generation process. The input image consists of ID objects, XID, some of which are replaced with synthetic outliers using Stable Diffusion in the content generation step. The synthetic outliers are assigned to the OOD class, YOOD, with a refined bounding box, bOOD using GDINO.

Datasets

  • Training & Augmentation Base:
  • NuImages: Front-camera images with 2D labels (8 vehicle/pedestrian ID classes).
  • Cityscapes: Urban street scenes with fine-grained annotations.
  • BDD100K: Diverse driving dataset used to increase domain variety.
  • OOD Evaluation Benchmarks:
  • OoDIS Benchmark: Includes RoadObstacle, RoadAnomaly, and Fishyscapes adapted for object-level evaluation.
  • LostAndFound: Real-world dataset focusing on small road hazards.

Key Insights and Ideas

  • Image-Space Outliers Generalize Well: Exposing a model to synthetic, pixel-level outliers during training teaches it the concept of "unknownness" in a way that generalizes remarkably well to entirely unseen, real-world OOD objects at test time.
  • Fine-Tuning OVODs Helps: Even though OVODs like GroundingDINO already have zero-shot capabilities, explicitly fine-tuning them with synthetic outliers pushes their OOD detection performance significantly past their zero-shot baseline.
  • Context and Placement Matter: Simply adding semantic diversity isn't enough. Ablation studies showed that restricting synthetic inpaintings to contextually relevant areas (like the drivable road region) yields better OOD detection performance than just scattering random objects anywhere in the frame.

Key Results

The framework achieves state-of-the-art performance on the OoDIS benchmark, outperforming zero-shot open-vocabulary models and uncertainty-based segmentation methods:

  • RoadObstacle: Achieved an $\text{AP}_{50..95}$ of 54.02% (outperforming the previous best zero-shot OVOD baseline of 48.53%).
  • RoadAnomaly: Reached an $\text{AP}_{50..95}$ of 29.42% (vs. 22.72% baseline).
  • Fishyscapes: Reached an $\text{AP}_{50..95}$ of 33.43% (vs. 22.68% baseline).

Importantly, this boost in OOD robustness does not come at the expense of standard performance; the models maintain high precision on the original in-distribution NuImages validation classes.

Limitations and Future Work

  • Dataset Heterogeneity & Domain Mismatch: The authors noted that combining too many highly diverse datasets (e.g., adding lower-resolution BDD100K images to NuImages and Cityscapes) sometimes caused a performance drop in single-modal models due to domain mismatch.
  • Annotation Noise: The automated pipeline occasionally introduces label noise. For instance, about 2.3% of the generated synthetic objects were mistakenly labeled as ID classes (like trucks or trailers) by GroundingDINO, which slightly degraded performance for those specific classes.

Future work could focus on improving the filtering of synthetic data to eliminate this annotation noise and exploring better cross-domain fusion techniques.

Summary updated

BibTeX
@misc{ilyas2026out,
  author = {Sadia Ilyas and Annika Mütze and Klaus Friedrichs and Thomas Kurbiel and Matthias Rottmann},
  title = {{Out-of-Distribution Object Detection in Street Scenes via Synthetic Outlier Exposure and Transfer Learning}},
  year = {2026},
  eprint = {2603.16122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.16122},
}
Figure