InterviewStack.io LogoInterviewStack.io

Responsible AI: Fairness, Bias, and Interpretability Questions

Building ML and AI systems that are fair, explainable, and safe. Covers identifying and mitigating bias, fairness metrics and tradeoffs, model interpretability and explainability techniques, label-bias feedback loops, and responsible and safe development practices for production models. Emphasizes accountability and transparency as first-class design constraints.

EasyTechnical
28 practiced

What is a proxy variable? Give two production examples where a seemingly innocuous feature, such as ZIP code or browsing history, can proxy for a protected characteristic and cause indirect discrimination. Describe detection techniques and a concrete mitigation.

EasyTechnical
32 practiced

Define demographic parity, equalized odds, and calibration (group-wise calibration). For each metric give a formal definition and a loan-approval example of how you would measure it, then state which metric you would prioritize if (a) a regulator requires equal treatment across groups and (b) downstream decisions require well-calibrated risk scores.

MediumTechnical
23 practiced

Design a lightweight internal dashboard that surfaces potential bias or fairness regressions for ranking models. What metrics, gauges, and drill-downs would you include, and how would you prioritize alerts and assign owners for investigation?

MediumTechnical
29 practiced

Given an applications table with outcome, gender, race, score, and applied_at columns, write a SQL query to compute the disparate impact ratio (approval rate of a protected group divided by that of the reference group) per race and gender, flagging any group with a ratio below 0.8. State your assumptions about nulls and minimum sample size.

EasyTechnical
28 practiced

Given a transactions table with columns for transaction id, user id, amount, approved, country, gender, and timestamp, write a SQL query to compute the approval rate per gender and the absolute difference between genders, excluding null genders.

Unlock Full Question Bank

Get access to all 15 Responsible AI: Fairness, Bias, and Interpretability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.