Gaze-Informed Vision Transformers: Predicting Driving Decisions Under Uncertainty
Sharath Koorathota, Nikolas Papadopoulos, Jia Li Ma, Shruti Kumar, Xiaoxiao Sun, Arunesh Mittal, Patrick Adelman, Paul Sajda
TL;DR
The paper addresses driving decision prediction under visual uncertainty and proposes gaze-informed Vision Transformer training using a Fixation-Attention Intersection (FAX) loss. By aligning ViT attention with human gaze during training, the approach encourages the model to focus on gaze-relevant regions without sacrificing the model's broad perceptual field, using $\mathcal{I}$ and $\mathcal{L}_{INT}$ terms within $\mathcal{L}_{FAX} = (1-\lambda)\mathcal{L}_{BCE} + \lambda\mathcal{L}_{INT}$. Empirical results on VR and real-world DR(eye)VE datasets show that FAX-trained ViTs achieve higher accuracy under high uncertainty and better align their attention with human gaze, with notable improvements in DR(eye)VE (e.g., $\sim$7.5% gain for 12-FAX over 12-ViT) and dataset-dependent optimal gaze-weighting. The work also demonstrates that layer pruning based on gaze similarity can retain performance with fewer layers, suggesting efficient gaze-guided Transformers for human-centered driving analysis and potentially broader AI systems. The findings have practical significance for driver behavior analysis and the development of gaze-informed AI in complex visual environments, and point to future work in temporal modeling and cross-domain gaze-guided learning.
Abstract
Vision Transformers (ViT) have advanced computer vision, yet their efficacy in complex tasks like driving remains less explored. This study enhances ViT by integrating human eye gaze, captured via eye-tracking, to increase prediction accuracy in driving scenarios under uncertainty in both real-world and virtual reality scenarios. First, we establish the significance of human eye gaze in left-right driving decisions, as observed in both human subjects and a ViT model. By comparing the similarity between human fixation maps and ViT attention weights, we reveal the dynamics of overlap across individual heads and layers. This overlap demonstrates that fixation data can guide the model in distributing its attention weights more effectively. We introduce the fixation-attention intersection (FAX) loss, a novel loss function that significantly improves ViT performance under high uncertainty conditions. Our results show that ViT, when trained with FAX loss, aligns its attention with human gaze patterns. This gaze-informed approach has significant potential for driver behavior analysis, as well as broader applications in human-centered AI systems, extending ViT's use to complex visual environments.
