Where, What, Why: Towards Explainable Driver Attention Prediction

Yuchen Zhou, Jiayu Tang, Xiaoyan Xiao, Yueyao Lin, Linkai Liu, Zipeng Guo, Hao Fei, Xiaobo Xia, Chao Gou

TL;DR

This paper introduces a new paradigm for understanding driver attention, moving beyond just predicting where drivers look to also explain what they are attending to and why. They achieve this with a novel dataset (W3DA) and a large language model-driven framework (LLada) that jointly models spatial, semantic, and cognitive aspects of attention, leading to more interpretable and robust driver attention prediction.

What Problem Does This Paper Address?

Understanding human visual attention is crucial for fields ranging from cognitive science to the development of autonomous vehicles. In the context of driving, accurately predicting where a driver looks is a significant challenge. Existing methods primarily focus on generating "heatmaps" that show spatial gaze patterns, but these approaches offer a shallow understanding. They fail to capture the underlying cognitive motivations – the what (the specific objects or features being attended to) and the why (the reasons behind that attention, like following traffic rules or anticipating hazards). This lack of deeper insight limits the ability to truly understand driver behavior, especially in complex or safety-critical situations, hindering the development of more intelligent and interpretable driver assistance systems and autonomous driving technologies.

Methods

The core of this work lies in a novel framework called LLada (Large Language model-driven framework for driver attention prediction). LLada is designed to address the limitations of previous methods by jointly predicting three aspects of driver attention:

  • Where: The spatial location of attention (pixel-level heatmaps).
  • What: The semantic meaning of the attended regions (e.g., "road ahead," "traffic light").
  • Why: The cognitive reasoning behind the attention allocation (e.g., "to comply with traffic rules," "to monitor pedestrian movement").

LLada integrates these three components into a unified, end-to-end architecture. It comprises:

  1. Visual Encoder: A pre-trained visual encoder (CLIP-VIT-L) to extract image features.
  2. Large Language Model (LLM): A powerful LLM (Vicuna-7B) that processes visual features, contextual information (like weather and driving behavior), and a special "[ATTN]" token. This LLM generates the textual explanations for "what" and "why."
  3. Attention Token: A special token introduced to bridge the gap between visual and textual modalities, enabling the LLM to encode high-level cognitive cues.
  4. Cognitive-aware Attention Decoder: This component uses a cross-attention mechanism to integrate the cognitive cues from the attention token with visual features, ultimately decoding them to generate the spatial attention map.

The model is trained using a combined loss function that includes losses for attention map prediction (using Binary Cross-Entropy and KL Divergence) and textual explanation generation (using cross-entropy).

Datasets

The paper introduces a new, large-scale dataset called W3DA (Explainable Driver Attention Dataset). W3DA is designed to support the "Where, What, Why" paradigm by enriching existing driver attention datasets with semantic and causal annotations. It integrates data from several established benchmarks:

  • DR(eye)VE [51] and LBW [31] for normal driving scenarios.
  • BDDA [64] for safety-critical situations.
  • DADA-2000 [19, 20] for traffic accidents.

W3DA includes fine-grained annotations for spatial attention regions, semantic labels for attended objects, and context-aware cognitive reasoning for attention causes. The authors also developed an efficient, semi-automatic annotation pipeline that uses a key sample selection method to reduce redundancy and leverages a multimodal LLM guided by human experts to ensure annotation quality.

Key Insights and Ideas

  • Beyond Heatmaps: The most significant insight is the realization that predicting where drivers look is insufficient. Understanding what is being attended to and why is crucial for a truly interpretable and cognitive model of driver attention.
  • Unified Framework: Integrating spatial, semantic, and cognitive reasoning into a single, end-to-end framework (LLada) is key to achieving this deeper understanding. The "what" and "why" explanations actively improve the "where" prediction.
  • LLMs as Cognitive Interpreters: Large Language Models are shown to be powerful tools not just for generating text, but for interpreting visual scenes and providing human-like reasoning for attention allocation, bridging the gap between perception and cognition.
  • Cross-Domain Generalization: Training on a diverse, consolidated dataset like W3DA allows models to generalize better across different driving conditions (normal, critical, accident) and even outperform models trained on individual, specialized datasets.

Key Results

  • Attention Map Prediction (Where): LLada significantly outperforms 10 state-of-the-art methods on the W3DA dataset across various metrics, showing substantial gains in KLdivergence, AUCJ, and AUCB.
  • Textual Explanation Generation (What & Why): LLada achieves superior performance compared to the multi-task model GazeXplain and two-stage baselines in generating accurate and contextually relevant textual explanations.
  • Cross-Domain Performance: When trained solely on W3DA, LLada demonstrates competitive performance on existing datasets like DR(eye)VE, BDDA, and DADA, outperforming domain-specific models in KLdivergence.
  • Qualitative Improvements: Visual examples show LLada's explanations are more aligned with ground truth and capture nuanced cognitive reasoning, especially in complex scenarios, compared to prior methods.
  • Ablation Studies: Removing the "what" and "why" tasks from LLada leads to a significant drop in performance for textual explanation generation, highlighting the mutual reinforcement between the three tasks. Conversely, adding "what" and "why" tasks improves "where" prediction.

Limitations and Future Work

  • LLM Hallucinations: While the paper uses human experts to mitigate LLM hallucinations, it's acknowledged as a potential issue that can compromise dataset reliability.
  • Annotation Pipeline: Although efficient, the semi-automatic pipeline still relies on human validation, which can be time-consuming.
  • Future Work: The authors suggest that their work provides a solid foundation for further advancements in cognitive science, transparent autonomous systems, and intelligent driver training. The ability to model underlying cognitive motivations opens doors for more sophisticated human-computer interaction in driving contexts.

Summary updated

BibTeX
@inproceedings{zhou2025where,
  author = {Yuchen Zhou and Jiayu Tang and Xiaoyan Xiao and Yueyao Lin and Linkai Liu and Zipeng Guo and Hao Fei and Xiaobo Xia and Chao Gou},
  title = {{Where, What, Why: Towards Explainable Driver Attention Prediction}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure