Benchmarking Vision Foundation Models for Input Monitoring in Autonomous Driving

Mert Keser, Halil Ibrahim Orhan, Niki Amini-Naieni, Gesina Schwalbe, Alois Knoll, Matthias RottmannarXiv 2025 · DOI

Abstract

Deep neural networks in autonomous driving (AD) face significant challenges when encountering out-of-distribution (OOD) data, such as rare objects or extreme weather. This paper introduces a model-agnostic, unsupervised framework for detecting these risky inputs by leveraging Vision Foundation Models (VFMs). By combining VFM feature extraction with density modeling techniques like Normalizing Flows, the authors achieve state-of-the-art performance in identifying both semantic and covariate shifts, significantly improving the safety and reliability of downstream perception systems.

Introduction

Autonomous driving systems must operate safely in a "long tail" of unpredictable scenarios. These deviations from training data typically fall into two categories: semantic shifts, involving unknown objects like fallen cargo, and covariate shifts, involving environmental changes like heavy fog or night driving. Traditional safety monitors often require internal model access or specialized training. This research proposes a modular, unsupervised pipeline to flag risky inputs before they reach the perception system, ensuring the vehicle recognizes when it is operating outside its known domain.

Overview of the proposed VFM-based input monitoring framework for detecting semantic and covariate shifts.

Methodology

The proposed framework treats OOD detection as a density estimation problem within a high-dimensional feature space. The pipeline consists of two primary stages:

  1. Feature Extraction: The system utilizes Vision Foundation Models (VFMs) such as CLIP, DINO, DINOv2, and Grounding DINO. These models, pre-trained on massive and diverse datasets, provide a richer global understanding of visual scenes compared to models trained solely on driving datasets.
  2. Density Modeling: Several techniques were evaluated to model the "normal" training distribution, including Gaussian Mixture Models (GMM) and Normalizing Flows (NF). Normalizing Flows, specifically Real-NVP, learn to map complex data distributions to a simple latent space, allowing for precise likelihood calculations. Inputs with low density scores are flagged as OOD.

Experimental Setup

The framework was benchmarked across 12 datasets to simulate diverse road conditions:

  • In-Distribution (ID): Cityscapes (standard urban driving).
  • Semantic OOD: Lost and Found (real road hazards) and Bravo-Synobj (synthetic anomalies).
  • Covariate OOD: Foggy Cityscapes, Bravo-Synflare/Synrain, and ACDC (real-world adverse weather: fog, night, rain, snow).
  • Combined Shifts: SegmentMeIfYouCan (SMIYC) and the Indian Driving Dataset (IDD), which offer geographically and semantically distinct environments.

Key Results and Discussion

The experimental results highlight the superiority of VFM-based monitoring. Grounding DINO (with a Swin Transformer backbone) paired with Normalizing Flows emerged as the top-performing configuration.

Comparison of the proposed VFM-based OOD detection methods against established baselines across various datasets.

Key findings include:

  • Superior Detection Performance: VFM-based methods significantly outperformed established baselines like GradNorm. On the Lost and Found dataset, the best VFM configuration reached an AUROC of 0.95, compared to 0.80 for GradNorm.
  • Robustness to Weather: In synthetic and real weather datasets, the Grounding DINO + NF combination achieved near-perfect scores, with FPR95 values ranging from 0.00 to 0.02.
  • Downstream Impact: Filtering the "riskiest" 25% of inputs based on likelihood scores led to a significant boost in downstream performance. For the Indian Driving Dataset, the mean Intersection over Union (mIoU) of a segmentation model improved from 43.58% to 49.38%.
  • Real-Time Viability: CLIP-based encoders demonstrated the ability to run at over 60 FPS on modern hardware, proving the feasibility of real-time deployment in safety-critical AD systems.

Conclusion

This work demonstrates that Vision Foundation Models serve as highly effective "universal" monitors for autonomous driving. By directly modeling feature density, these systems can reliably detect a wide array of OOD scenarios that traditional confidence-based methods miss. Future research will explore leveraging the text encoders of models like CLIP to provide human-readable explanations for OOD flags and developing automated mitigation strategies for detected risks.

Summary updated

BibTeX
@misc{keser2025benchmarking,
  author = {Mert Keser and Halil Ibrahim Orhan and Niki Amini-Naieni and Gesina Schwalbe and Alois Knoll and Matthias Rottmann},
  title = {{Benchmarking Vision Foundation Models for Input Monitoring in Autonomous Driving}},
  year = {2025},
  eprint = {2501.08083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.08083},
}
Figure