DriveSafe: A Framework for Risk Detection and Safety Suggestions in Driving Scenarios

Sainithin Artham, Shankar Gangisetty, Avijit Dasgupta, C. V. JawahararXiv 2026 · arXiv

TL;DR

DriveSafe is a novel two-stage framework that bridges the gap between visual scene understanding and actionable safety guidance for autonomous vehicles. By converting raw video and multimodal contextual cues (motion, depth, and spatial boundaries) into intermediate, geometry-aware language descriptions, it enables Large Language Models (LLMs) to accurately detect driving risks and generate precise safety suggestions like "Slow down" or "Yield."

What Problem Does This Paper Address?

While autonomous driving systems have made massive leaps in perception, reasoning under real-world uncertainty remains a critical bottleneck. Recently, Multimodal Large Language Models (MLLMs) have shown immense promise in general vision-language tasks. However, when deployed in zero-shot driving scenarios, they struggle with fine-grained, spatially grounded risk assessment. They might generate generic descriptions of a scene (e.g., "there is a truck ahead") but fail to recognize subtle, safety-critical cues (e.g., "the truck is slowing down rapidly") or provide actionable advice.

Prior domain-specific driving models focus heavily on risk perception or trajectory prediction but stop short of offering human-understandable, actionable safety guidance. DriveSafe addresses this limitation by explicitly linking risk detection with clear safety recommendations.

Fig. 1: Previous works in driving scenarios [9], [10], [11] primarily address risk perception but fall short of offering actionable safety guidance. Similarly, general-purpose MLLMs [12], [13], [14] are still unreliable in this regard. In contrast, our approach, DriveSafe, integrates risk assessment with clear, human-understandable safety suggestions.

Methods

Instead of directly fine-tuning a massive MLLM on video-to-risk prediction—which can be computationally expensive and prone to missing subtle physical cues—the authors propose a decoupled, two-stage pipeline:

  1. Caption Generation: The framework extracts three types of frame-level contextual cues:
  2. Spatial Context ($S_t$): Road and lane segmentation masks defining drivable boundaries.
  3. Motion Context ($M_t$): Dense optical flow highlighting relative movements of surrounding agents.
  4. Depth Context ($D_t$): Object-level depth estimation to capture proximity to the ego-vehicle.

These fine-grained cues are combined with a high-level global video description from a base MLLM. A structured prompt guides an LLM to fuse these inputs into a single, geometry-aware caption detailing vehicle maneuvers, agent behaviors, and spatial coordinates.

  1. Risk Assessment and Safety Suggestion: The geometry-aware caption is fed into an LLM (fine-tuned using lightweight parameter-efficient adapters). The model outputs a binary risk label, a refined risk explanation, risk-associated keywords, and bounding boxes for hazardous objects. Finally, the risk keywords are mapped to a predefined rule set to output explicit safety suggestions (e.g., Stop, Slow down, Yield).
Fig. 3: Our proposed DriveSafe framework for the caption generation and safety suggestion task in driving. We first derive contextual cues to guide caption generation, and then use the resulting captions for risk assessment and safety suggestion.

Datasets

The framework was trained and evaluated using two primary datasets:

  • DRAMA Dataset: Contains 17K interactive driving videos with rich annotations. Because the original dataset lacked explicit safety suggestions, the authors extended it by mapping nine predefined safety suggestions one-to-one with risk-related behavioral keywords. The training set was annotated automatically using an LLM, while the test set was manually reviewed by human annotators to ensure a reliable evaluation benchmark.
  • Rank2Tell Dataset: A multi-object driving dataset used to evaluate the model's end-to-end capability to localize multiple risky objects across sequential video frames.

Key Insights and Ideas

  • Language as an Intermediate Representation: Conditioning risk assessment on explicit language-based scene descriptions performs significantly better than end-to-end video models. It forces the model to reason logically about spatial and motion dynamics before making a safety call.
  • The Deception of IoU: The authors found that in zero-shot settings, Intersection-over-Union (IoU) can be a deceptive metric. Zero-shot models sometimes achieved high IoU scores due to a few rare correct matches, despite failing to capture the majority of risky agents. Task-specific adaptation is essential for reliable, safety-critical grounding.
  • General MLLMs Lack Safety Commonsense: Open-domain models like Qwen2.5-VL and LLaVA-NeXT frequently miss critical ego-lane hazards or issue overcautious, premature advice because they lack fine-grained driving domain knowledge.

Key Results

  • Captioning Excellence: DriveSafe-Finetuned achieved a BLEU-4 score of 60.38 and a METEOR score of 64.78 on the DRAMA dataset, substantially outperforming general-purpose MLLMs (which scored below 30 and 22, respectively) and even beating fully video-pretrained specialized driving models like HoP.
  • Precise Object Grounding: It achieved a risky object localization accuracy ([email protected]) of 74.8%, far surpassing general MLLMs.
  • Actionable Safety Suggestions: On the safety suggestion task, DriveSafe-Finetuned reached 52.85% accuracy and a 37.15 weighted $F_1$ score, more than doubling its zero-shot performance and significantly outperforming open-domain baselines.

Limitations and Future Work

The primary limitation acknowledged by the authors is that the current mapping from risk-associated keywords to safety suggestions relies on a static, rule-based mapping. While effective as a foundational step, real-world driving demands more fluid and adaptive reasoning.

Future iterations of DriveSafe will focus on learning dynamic mappings to improve scalability, incorporating long-horizon temporal reasoning, and developing human-aligned explanation evaluations to build deeper trust in autonomous driving systems.

Summary updated

Abstract

Comprehensive situational awareness is essential for autonomous vehicles operating in safety-critical environments, as it enables the identification and mitigation of potential risks. Although recent Multimodal Large Language Models (MLLMs) have shown promise on general vision-language tasks, our findings indicate that zero-shot MLLMs still underperform compared to domain-specific methods in fine-grained, spatially grounded risk assessment. To address this gap, we propose DriveSafe, a framework for risk-aware scene understanding that leverages structured natural language descriptions. Specifically, our method first generates spatially grounded captions enriched with multimodal context, including motion, spatial, and depth cues. These captions are then used for downstream risk assessment, explicitly identifying hazardous objects, their locations, and the unsafe behaviors they imply, followed by actionable safety suggestions. To further improve performance, we employ caption-risk pairings to fine-tune a lightweight adapter module, efficiently injecting domain-specific knowledge into the base LLM. By conditioning risk assessment on explicit language-based scene representations, DriveSafe achieves significant gains over both zero-shot MLLMs and prior domain-specific baselines. Exhaustive experiments on the DRAMA benchmark demonstrate state-of-the-art performance, while ablation studies validate the effectiveness of our key design choices. Project page: https://cvit.iiit.ac.in/ research/projects/cvit-projects/drivesafe
BibTeX
@misc{artham2026drivesafe,
  author = {Sainithin Artham and Shankar Gangisetty and Avijit Dasgupta and C. V. Jawahar},
  title = {{DriveSafe: A Framework for Risk Detection and Safety Suggestions in Driving Scenarios}},
  year = {2026},
  eprint = {2605.16892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.16892},
}

Loading related content...

Figure