TL;DR
This paper demonstrates that exposing users to controlled "counterfactual" image edits—such as removing an object using a GAN—significantly improves their mental model of a Visual Question Answering (VQA) system compared to showing random examples. Crucially, GAN-generated counterfactuals guided by human attention are nearly as effective as expensive, hand-picked real images, though fully automated AI-guided edits still fall short.
What Problem Does This Paper Address?
Deep neural networks excel at complex tasks like Visual Question Answering (VQA), but they are notoriously unpredictable black boxes. For human users to safely deploy and trust these AI systems in high-risk domains, they need an accurate mental model—an internal understanding of when the AI will succeed or fail.
While prior studies show that simply exposing users to random examples of an AI's predictions can help build this mental model, it is highly inefficient. This paper tackles the challenge of creating counterfactual explanations (e.g., "How would the AI's answer change if this specific object weren't in the image?"). The authors investigate how to systematically generate these contrastive visual examples at scale and whether they actually help humans better predict AI behavior.
Methods
The authors evaluate two primary strategies for generating counterfactual images for a given Image-Question (IQ) pair:
- Retrieval-Based Approach: Searching the dataset for an alternative real image that is relevant to the question but yields a different answer.
- Generative-Based Approach: Using an adversarial in-filling GAN to digitally remove an object from the original image and blend the background seamlessly. To prevent unnatural distortions, the edits are restricted to 10%–20% of the total image area.
To determine which regions of the image to remove using the GAN, they experiment with two attention sources:
- Human-Annotated Attention: Ground-truth heatmaps from human evaluators highlighting what matters most to answer the question.
- AI-Model Attention: Internal attention weights extracted directly from the final layer of the VQA transformer architecture.
Using these attention maps, they generate two counterfactual variants per image: one removing a high-attention region (relevant object) and one removing a low-attention region (irrelevant object). They then test human subjects via Amazon Mechanical Turk (AMT) on two tasks: predicting if the AI's answer will change after an edit, and predicting if the AI will answer a new, unseen image correctly.
Datasets
- VQA 2.0 Dataset: Used to train the underlying transformer-based VQA model and to source alternative real images for the retrieval baseline.
- VQA-HAT (Human Attention Dataset): Used to provide the human-annotated attention maps that guided the generative GAN edits.
Key Insights and Ideas
- Controlled Edits Beat Random Exposure: Showing contrastive "what-if" scenarios (e.g., showing a tennis match, then showing the same image with the racket erased) teaches users the model's boundaries much faster than showing random image-question pairs.
- Generative AI Can Replace Manual Data Harvesting: GAN-inpainted images based on human attention perform almost identically to real retrieved images. This offers a scalable pathway to generate explanations without the high cost of collecting massive, diverse datasets.
- AI Attention Isn't "Human-Rational" Yet: Fully automating the process using the VQA model's own internal attention maps failed to improve user mental models. The regions the AI focuses on to make a prediction often do not align with what humans perceive as causally relevant, meaning the resulting edits confuse users rather than educate them.
Key Results
The effectiveness of these methods was quantified using Normalized User Accuracy (the average accuracy of predicting both correct and incorrect AI outcomes) to account for human optimism bias.
Task 1: Answer-Change Prediction
Users were asked to predict if the AI's answer would change after an object was removed.
- Baseline (No Explanations): 61.30% accuracy.
- Counterfactual Group (All Subgroups): 66.98% accuracy, showing a clear, consistent improvement in understanding model sensitivity.
Task 2: Answer Correctness Prediction
Users were asked to predict if the AI would correctly answer a completely new test image.
- Control Group (No Explanations): 58.01%
- Random IQ Examples: 62.28%
- AI-Attention GAN Edits: 59.98% (Fails to beat random examples)
- Human-Attention GAN Edits: 63.81%
- Real Retrieved Images (Ideal Case): 64.86%
Limitations and Future Work
- The Automation Bottleneck: The most successful generative approach (CF-HAT) still relies on human-annotated attention maps. True scalability requires finding better ways to generate human-aligned counterfactuals without needing manual human annotations.
- GAN Artifacts: Current inpainting networks occasionally leave behind noisy visual artifacts. If an image looks visibly altered or unnatural, it can distract users and skew their perception of the AI's performance.
- Limited Action Space: The current framework is restricted entirely to deleting objects via inpainting. Future work should explore more complex semantic edits, such as adding objects or altering their attributes (color, size, position), to probe deeper dimensions of user-AI interaction.
Summary updated