Skip to main content
QUICK REVIEW

[Paper Review] Optimizing Visual Question Answering Models for Driving: Bridging the Gap Between Human and Machine Attention Patterns

Kaavya Rekanar, M. Hayes|arXiv (Cornell University)|Jun 13, 2024
Multimodal Machine Learning ApplicationsComputer Science3 citations
TL;DR

This paper proposes a filter-based method to align visual question answering (VQA) models with human attention patterns in autonomous driving by prioritizing driving-relevant visual features. By integrating a task-specific filter into the LXMERT model before feature encoding, the approach improves attention focus on relevant objects (e.g., vehicles in the ego lane), reducing irrelevant attention to elements like trees or sky. The key result shows significant performance gains: mean absolute error (MAE) and root mean squared error (RMSE) decreased, while Pearson correlation with human answers increased, indicating closer alignment with human reasoning in driving scenarios.

ABSTRACT

Visual Question Answering (VQA) models play a critical role in enhancing the perception capabilities of autonomous driving systems by allowing vehicles to analyze visual inputs alongside textual queries, fostering natural interaction and trust between the vehicle and its occupants or other road users. This study investigates the attention patterns of humans compared to a VQA model when answering driving-related questions, revealing disparities in the objects observed. We propose an approach integrating filters to optimize the model's attention mechanisms, prioritizing relevant objects and improving accuracy. Utilizing the LXMERT model for a case study, we compare attention patterns of the pre-trained and Filter Integrated models, alongside human answers using images from the NuImages dataset, gaining insights into feature prioritization. We evaluated the models using a Subjective scoring framework which shows that the integration of the feature encoder filter has enhanced the performance of the VQA model by refining its attention mechanisms.

Motivation & Objective

  • To investigate the disparity between human and machine attention patterns when answering driving-related visual questions.
  • To address the misalignment in object prioritization between human observers and pre-trained VQA models, which often focus on irrelevant visual elements like trees or sky.
  • To enhance VQA model performance in driving contexts by refining attention mechanisms through a domain-specific filter.
  • To improve model interpretability and trust by making VQA responses more aligned with human perceptual priorities.
  • To lay the foundation for future fine-tuning and integration of camera-aware spatial reasoning in VQA models for autonomous systems.

Proposed method

  • Introduce a filter module at the feature extraction stage of the LXMERT VQA model to selectively emphasize driving-relevant visual features before input to the transformer encoder.
  • Apply the filter only during inference for driving-related questions, using prior knowledge of relevant object categories (e.g., road lines, signboards, ego-lane vehicles).
  • Utilize a subjective scoring framework combining BERT, NLI, and sentence similarity metrics (e.g., cosine similarity) to evaluate model answers against human-annotated responses.
  • Compare attention maps from the pre-trained LXMERT model and the filter-integrated model to analyze shifts in feature prioritization across layers.
  • Use the NuImages dataset for image inputs and human-annotated questions to ensure realistic driving scenarios in evaluation.
  • Leverage attention visualization and quantitative metrics (MAE, RMSE, Pearson correlation) to assess performance improvements.

Experimental results

Research questions

  • RQ1How do human attention patterns differ from those of a pre-trained VQA model when answering driving-related questions?
  • RQ2To what extent can a filter-based approach improve the alignment between machine attention and human visual focus in driving scenarios?
  • RQ3Does integrating a domain-specific filter reduce attention on irrelevant visual elements (e.g., sky, trees) and improve VQA accuracy?
  • RQ4How do quantitative metrics (MAE, RMSE, Pearson correlation) reflect the improvement in model performance after filter integration?
  • RQ5Can the filter-based approach serve as a foundation for future fine-tuning and camera-aware reasoning in VQA models for autonomous driving?

Key findings

  • The integration of the feature encoder filter significantly reduced the model’s mean absolute error (MAE) in predicting answers compared to the pre-trained LXMERT model.
  • Root mean squared error (RMSE) scores also decreased after filter integration, indicating improved prediction accuracy on driving-related VQA tasks.
  • Pearson correlation between model answers and human-annotated answers increased, showing that the filter-integrated model generates responses closer to human reasoning.
  • Attention visualization confirmed that the filter-directed model prioritized driving-relevant objects such as vehicles in the ego lane and road signs, reducing focus on distractors like trees and sky.
  • Despite improvements, the model still produced erroneous responses, indicating limitations due to lack of task-specific pre-training on driving data.
  • The results suggest that combining filtering with future fine-tuning on driving-specific datasets (e.g., NuScenes MQA) could further close the gap between human and machine attention.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.