A Sim2Real Approach for Identifying Task-Relevant Properties in Interpretable Machine Learning

Eura Nofshin, Esther Brown, Brian Lim, Weiwei Pan, Finale Doshi-VelezNextGenAISafety @ ICML 2024

TL;DR

Finding the best AI explanations for specific tasks is crucial but expensive. This paper introduces XAIsim2real, a novel simulation-based framework that uses "proxy users" to predict which explanation properties are most effective for different tasks, significantly reducing the cost and effort of real-world user studies.

What Problem Does This Paper Address?

When AI systems provide recommendations or decisions, explanations can help human users understand and trust them. However, the "best" explanation isn't one-size-fits-all; it depends heavily on the user's specific task. For instance, a loan officer might need to know if a protected attribute was used, while an applicant might want to know what specific changes would lead to approval. Current methods for finding the right explanation involve costly and time-consuming user studies, often testing many explanation methods without a clear understanding of why one works better than another. This paper tackles the challenge of efficiently identifying the properties of explanations (like faithfulness, sparsity, or robustness) that are most relevant to a given task, thereby guiding the selection of effective explanations before expensive real-world studies.

Methods

The core contribution is the XAIsim2real pipeline, a "Sim2Real" approach that bridges the gap between simulated and real-world user studies. The pipeline consists of six key components:

  1. Explanation Properties: Defining quantifiable characteristics of explanations (e.g., faithfulness, sparsity, robustness).
  2. User-Decision Task: Specifying the task the user needs to perform (e.g., forward simulation, forbidden features).
  3. Proxy User Model: A computational model (e.g., a decision tree) trained to mimic human decision-making based on explanations and task inputs. This model acts as a stand-in for real users.
  4. AI Function: The underlying model whose decisions are being explained.
  5. Explanation Optimization: A method to generate explanations that are optimized for specific properties (e.g., creating a sparse explanation).
  6. Validation Study: A real user study to confirm the findings from the simulation.

The pipeline first uses the proxy user model to run simulated user studies, generating hypotheses about which explanation properties are most effective for different tasks. These hypotheses are then tested in a smaller-scale, real user study. A key innovation is focusing on explanation properties as the design space, rather than just comparing different explanation methods.

Datasets

The paper does not introduce new datasets. Instead, it uses synthetic data generated by the defined AI functions for training the proxy models and for the simulation experiments. For the real user study, participants interacted with simulated scenarios designed to mimic real-world tasks.

Key Insights and Ideas

  • Properties over Methods: Focusing on explanation properties (like faithfulness, sparsity, robustness) provides a more generalizable understanding of what makes explanations useful, rather than just comparing specific algorithms (like LIME or SHAP).
  • Sim2Real for Efficiency: XAIsim2real offers a cost-effective way to pre-screen explanation properties, significantly reducing the need for extensive and expensive real-world user studies.
  • Task-Specific Properties: The effectiveness of explanation properties is highly task-dependent. For example, faithfulness is crucial for "forbidden features" tasks, while robustness is better for "counterfactual simulation."
  • Cognitive Budget Matters: User performance can be significantly influenced by cognitive load. In forward simulation tasks, users with a limited cognitive budget (simulated by time pressure) preferred sparser explanations, which require less mental computation.
  • Proxy Users as Predictors: The study demonstrates that carefully designed proxy user models can effectively predict the relative performance of different explanation properties, aligning well with real user behavior, especially for top-performing users.

Key Results

The validation study confirmed several hypotheses:

  • Forbidden Features: Faithful explanations were consistently best for the forbidden features task, for both proxy and real users.
  • Counterfactual Simulation: Robust explanations were found to be most effective for counterfactual simulation tasks, particularly for top-performing users.
  • Forward Simulation: For forward simulation without time pressure, faithful and sparse explanations performed equally well. However, with time pressure (simulating a limited cognitive budget), sparse explanations became significantly better.
  • Proxy vs. Real Users: The XAIsim2real framework successfully predicted relationships between explanation properties and task performance observed in real user studies. 7 out of 17 effects from proxy users were verified on real users, and importantly, no effects were observed in real users that were not first detected in the synthetic study.

Limitations and Future Work

  • AI Function Abstraction: The AI functions used in the study were simplified and interpretable. Future work could explore optimizing explanations for complex or unknown "black-box" AI functions.
  • Proxy Model Generalizability: While the decision tree proxy worked well, exploring more sophisticated proxy models (like LLMs) or iterative refinement of proxy models based on pilot study data could improve accuracy.
  • Broader Human-AI Paradigms: The current framework focuses on evaluative tasks where accuracy is the outcome. Extending XAIsim2real to predict other outcomes like user satisfaction or perceived usefulness, and to different human-AI interaction paradigms (e.g., explanations available only part-time), is a promising direction.
  • Controlling for Confounding: While efforts were made to control for confounding properties, further research could refine these methods.

Summary updated

BibTeX
@inproceedings{nofshin2024sim,
  author = {Eura Nofshin and Esther Brown and Brian Lim and Weiwei Pan and Finale Doshi-Velez},
  title = {{A Sim2Real Approach for Identifying Task-Relevant Properties in Interpretable Machine Learning}},
  booktitle = {NextGenAISafety @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=U312yF2SdQ},
}
Figure