Out-of-Distribution Object Detection in Street Scenes via Synthetic Outlier Exposure and Transfer Learning
Organizations: University of Wuppertal · Aptiv Services Deutschland GmbH · University of Osnabrück, Germany
Abstract
Out-of-distribution (OOD) objects are often silently overlooked by object detectors, which produce no detection for them, leaving downstream modules with nothing to act on and no indication that anything was missed. A reliable object detector must detect OOD objects by localizing and correctly classifying them as OOD. Existing approaches primarily focus on OOD detection for image classification or rely on auxiliary branches, and typically do not treat in-distribution (ID) and OOD objects in a unified manner. We present SynOE-OD, a Synthetic Outlier-Exposure-based Object Detection method, which uses text-guided inpainting and an open-vocabulary object detector to generate and verify synthetic outliers offline. These are then used to fine-tune an object detector of choice with an added OOD class, which requires no auxiliary branch at inference time. On the OoDIS benchmark, SynOE-OD outperforms the strongest open-vocabulary baseline, reaching AP_50:95 of 57.6%, 29.4% and 39.2% on RoadObstacle, RoadAnomaly and Fishyscapes, against 48.5%, 22.7% and 22.7%. This state-of-the-art performance holds for both fine-tuned closed-set and open-vocabulary detectors while maintaining competitive ID performance in street scenes.
Figures & tables
| RoadObstacle | RoadAnomaly | Fishyscapes | |||||||
| Method | AP 50:95 | AP 50 | AP 75 | AP 50:95 | AP 50 | AP 75 | AP 50:95 | AP 50 | AP 75 |
| ZS-OVOD | 48.5 | 77.6 | 52.2 | 22.7 | 33.3 | 23.3 | 22.7 | 33.4 | 24.5 |
| UGainS | 8.1 | 11.6 | 8.9 | 11.7 | 17.5 | 12.1 | 15.6 | 24.3 | 18.3 |
| SynOE-OD (DD:ResNet50) | 48.8 | 79.4 | 49.4 | 26.9 | 35.8 | 29.0 | 35.3 | 55.3 | 37.9 |
| SynOE-OD (DD:Swin-L) | 57.6 | 87.5 | 61.7 | 25.7 | 32.1 | 27.2 | 35.9 | 49.5 | 40.7 |
| SynOE-OD (GDINO:Swin-T) | 55.6 | 85.1 | 60.2 | 29.4 | 37.3 | 31.5 | 39.2 | 55.8 | 42.2 |
| Method | Benchmark | AP 50:95 | TP | FP | FN | Recall | ID |
| ID-only | RoadObstacle | 11.3 | 142 | 144 | 415 | 25.5 | 42.2 |
| RoadAnomaly | 2.4 | 445 | 6772 | 286 | 60.9 | ||
| LostAndFound | 5.4 | 553 | 3932 | 1375 | 28.7 | ||
| VOS | RoadObstacle | 1.4 | 16 | 17 | 541 | 2.9 | 42.0 |
| RoadAnomaly | 2.2 | 291 | 2359 | 440 | 39.8 | ||
| LostAndFound | 2.1 | 334 | 921 | 1594 | 17.3 |
| Method | RO | RA | LF | ID | ID |
| GD zero-shot | 48.3 | 19.5 | 26.4 | — | — |
| GD prompt ensemble | 48.5 | 22.7 | — | — | — |
| SynOE-OD (DD:R50) | 48.7 | 26.0 | 32.0 | 38.8 | 40.4 |
| SynOE-OD (DD:Swin-L) | 56.5 | 24.5 | 27.0 | 49.1 | 50.8 |
| SynOE-OD (GDINO:Swin-T) | 54.3 | 29.3 | 29.2 | 45.8 | 47.2 |
| Method | Training data | RO | RA | LF | NU |
| SynOE-OD (DD:R50) | + CS | 48.8 | 26.1 | 31.2 | 37.4 |
| + CS + BDD | 49.1 | 26.0 | 31.9 | 37.7 | |
| SynOE-OD (GD:Swin-T) | + CS | 55.6 | 28.2 | 33.5 | 45.0 |
| + CS + BDD | 55.0 | 27.5 | 34.7 | 44.8 | |
| SynOE-OD (DD:Swin-L) | + CS | 57.6 | 25.2 | 30.3 | 48.5 |
| + CS + BDD | 56.4 | 24.4 | 31.3 | 48.3 |
| Class | ID baseline | SynOE-OD |
| car | 58.3 | 57.1 |
| pedestrian | 42.3 | 41.4 |
| truck | 42.8 | 40.6 |
| motorcycle | 47.3 | 44.9 |
| bus | 42.4 | 41.7 |
| bicycle | 35.8 | 32.3 |
| Model | Annotation | RO | RA | LF |
| SynOE-OD (DD:R50) | baseline — full vocabulary | 48.7 | 26.0 | 32.0 |
| 20 overlapping classes removed | 47.2 | 25.8 | 30.5 | |
| 20 non-overlapping classes removed | 48.3 | 25.9 | 31.5 | |
| SynOE-OD (GD:Swin-T) | baseline — full vocabulary | 54.3 | 29.3 | 29.2 |
| 20 overlapping classes removed | 53.8 | 28.4 | 25.6 | |
| 20 non-overlapping classes removed | 53.8 | 27.7 | 25.1 |
| Outliers | RO | RA | LF | NU |
| % (ID-only) | 12.0 | 2.4 | 5.2 | 40.4 |
| % | 46.4 | 26.1 | 29.9 | 40.0 |
| % | 48.2 | 26.2 | 30.4 | 39.9 |
| % | 48.1 | 25.5 | 31.0 | 39.2 |
| % | 48.7 | 26.0 | 32.2 | 38.7 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Baseline | Comparison |
| ZS-OVOD | OoDIS |
| UGainS | OoDIS |
| VOS | training-based OOD |
| ID-only (ours) | effect of inpainted data |
| Configuration | RO | RA | LF |
| Standard (no warmup, unfrozen) | 0.578 | 0.264 | 0.306 |
| + LinearLR warmup | 0.563 | 0.260 | 0.266 |
| frozen_stages=2 | 0.575 | 0.241 | 0.275 |
| frozen_stages=1 | 0.574 | 0.232 | 0.274 |
| Config | Epoch | ID mAP | RO | RA | LF |
| A (frozen=1, flat LR) | 1 | 32 | 47 | 26 | 30 |
| 3 | 38 | 43 | 22 | 21 | |
| B (frozen=4, flat LR) | 1 | 31 | 47 | 26 | 32 |
| 3 | 36 | 44 | 23 | 23 | |
| C (frozen=4, cosine+warmup) | 1 | 30 | 47 | 26 | 32 |
| 3 | 36 | 46 | 24 | 25 |
| lr | Test/Val set | ep1 | ep2 | ep3 | ep4 |
| 1e-4 | RO | 0.560 | 0.538 | 0.532 | 0.537 |
| 1e-4 | RA | 0.298 | 0.284 | 0.271 | 0.258 |
| 1e-4 | LF | 0.300 | 0.276 | 0.264 | 0.270 |
| 1e-4 | ID mAP | 0.432 | 0.460 | 0.472 | 0.477 |
| 2e-4 | RO | 0.550 | 0.532 | 0.526 | 0.524 |
| 2e-4 | RA | 0.298 | 0.269 | 0.259 | 0.246 |
| with EMA | without EMA | |||||
| Epoch | RO | RA | LF | RO | RA | LF |
| 1 | ||||||
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| Epoch | s444 no EMA | s444 EMA | s2244 no EMA | s2244 EMA |
| 1 | 34.0 | 34.4 | 34.3 | 33.7 |
| 2 | 38.0 | 38.6 | 37.5 | 38.8 |
| 3 | 39.4 | 40.6 | 40.4 | 40.5 |
| 4 | 41.1 | 41.4 | 41.1 | 41.2 |
| Model | Training data | RO | RA | LF | |
| DD:R50 | NuImages | 3 | |||
| GD:Swin-T | + Cityscapes | 2 |
| alligator | fox | Pots pans |
| antelope | gerbil | Printer |
| armadillo | giraffe | pylon |
| badger | Glasses | pylon large |
| bear | goat | pylong small |
| bison | gorilla | rabbit |
| bloated plastic bag | guinea pig | raccoon |
| RoadObstacle | RoadAnomaly | Fishyscapes | |||||||
| Method | S | M | L | S | M | L | S | M | L |
| SynOE-OD (DD:ResNet50) | 38.7 | 69.6 | 76.3 | 3.7 | 13.6 | 60.9 | 18.3 | 59.3 | 52.7 |
| SynOE-OD (DD:Swin-L) | 47.4 | 76.1 | 90.2 | 2.5 | 10.9 | 61.2 | 19.0 | 58.2 | 59.4 |
| SynOE-OD (GDINO:Swin-T) | 46.1 | 74.7 | 87.0 | 7.4 | 15.5 | 64.2 | 19.7 | 66.5 | 61.2 |
| Model | RO | RA | LF |
| R50 | 0.483 | 0.200 | 0.300 |
| GD | 0.514 | 0.201 | 0.268 |
| Class | original | train | ID baseline | SynOE-OD |
| car | 46,745 | 38,100 | 58.3 | 57.1 |
| pedestrian | 32,210 | 32,210 | 42.3 | 41.4 |
| truck | 8,029 | 5,386 | 42.8 | 40.6 |
| motorcycle | 3,406 | 2,638 | 47.3 | 44.9 |
| bus | 1,987 | 1,987 | 42.4 | 41.7 |
| bicycle | 2,285 | 1,447 | 35.8 | 32.3 |
Object Detection
Object detection locates and classifies objects in images or video, balancing localization accuracy, robustness, and inference speed.
See all 624 papers