InterviewStack.io LogoInterviewStack.io

Model Interpretability and Explainability Questions

Discuss techniques for understanding what models learn: attention visualization, feature importance methods (SHAP, LIME), saliency maps, concept-based explanations. Understand the difference between post-hoc explainability and inherent interpretability. Discuss trade-offs with model complexity.

HardTechnical
84 practiced
Design an adversarial evaluation for explanation robustness: define threat models where an attacker attempts to manipulate inputs so that explanations change substantially while predictions remain similar. Propose attack algorithms, quantitative metrics for explanation change, and defenses to detect or mitigate such attacks.
HardSystem Design
126 practiced
Design an audit trail and compliance layer for explanation outputs. Specify what to log (input hash, model version, explainer version, background set, attribution vector, timestamp), storage schema, access controls, retention policy to satisfy regulations such as GDPR, and how to enable efficient retrieval for investigations.
EasyTechnical
67 practiced
What is a saliency map for vision models? Describe gradient-based saliency, Grad-CAM, and class-activation maps. Explain when saliency maps can be misleading (e.g., gradient saturation, model focusing on textures) and how to validate that a saliency map is meaningful.
MediumTechnical
62 practiced
You must choose between an inherently interpretable model (e.g., GAM, rule-list) and a black-box model that is 3% more accurate for a lending application. List the factors you would evaluate (regulatory risk, fairness, cost of errors, explainability needs, operational complexity) and describe how you would present the trade-offs to business stakeholders.
HardTechnical
77 practiced
Formulate counterfactual explanations under causal constraints. Present an optimization objective that minimizes a perturbation norm (e.g., L0/L2) to flip model prediction while respecting causal graph constraints (immutable nodes and downstream dependencies). Explain solution approaches and relaxations for efficiency.

Unlock Full Question Bank

Get access to hundreds of Model Interpretability and Explainability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.