Model Explainability interview question

Machine LearningModel ExplainabilityResponsible AImedium

For a declined credit-card application, an Anchors explainer returns the rule IF utilization > 0.80 AND missed_payments_12m ≥ 2 THEN decline, with precision 0.96 and coverage 0.07. LIME, run on the same application, returns local weights such as utilization −0.31 and missed payments −0.22. What does the anchor tell you that LIME's weights do not?

  1. AThat 96% of past applicants who matched the rule actually defaulted, so the rule has been validated against real outcomes, while LIME's weights only describe what the model does.
  2. BThat the two conditions explain 96% of the variance of the model's score around this applicant, and that the rule was fitted on 7% of the training data, a sample chosen near this case.
  3. CThat utilization and missed payments each lower the approval score by a fixed amount, which can be added up across applicants and weighted by the 7% coverage to rank all of them.
  4. DThat the two conditions alone hold the decision in place: 96% of perturbed applicants who meet them are still declined as other features vary, and the rule covers 7% of applicants.
Show the answer and explanation

Correct answer: D, That the two conditions alone hold the decision in place: 96% of perturbed applicants who meet them are still declined as other features vary, and the rule covers 7% of applicants.

Explanation Model Explainability

Anchors (Ribeiro et al., 2018, from the authors of LIME) explain one prediction with an IF-THEN rule that "anchors" it: as long as the rule's conditions hold, changing the other features rarely changes the model's output.

AnchorsLIME
Outputrule with conditions on a few featuresweights of a local linear surrogate
Precisionshare of perturbed samples meeting the rule that get the same model prediction (here 0.96)not defined
Coverageshare of the input distribution where the rule applies (here 0.07)no explicit validity region
Answers"what is enough for this decision?""how much does each feature push the score locally?"

So this anchor is a high-precision, approximately sufficient condition: when utilization is above 0.80 and there are at least two missed payments, the model still declines 96% of perturbed applicants whose other features are resampled, and about 7% of applicants fall under the rule. LIME's weights describe a local slope but say neither where that slope stops being valid nor whether any set of conditions is enough for the decision.

Why the distractors fail: precision is measured against the model's predictions, not real defaults, so it validates the explanation, not the model. It is not explained variance, and coverage is not a training sample. Fixed additive per-feature effects are closer to what LIME's weights approximate, and neither method supports ranking applicants that way.

Interview tip: describe anchors as "high-precision local rules" and name the trade-off: adding conditions usually raises precision but never increases coverage, so ask for both numbers before trusting a rule.

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Machine Learning questions

  1. A payments company's fraud team reports F1 and ROC-AUC, yet trains its classifier with gradient descent on log loss. A product manager asks: "Why not minimise…
  2. A food-delivery app ranks restaurants with a Wide & Deep model: the wide part is a linear model on crossed features such as user_last_cuisine ×…
  3. A telecom wants k = 20 segments for 50 million subscribers described by 40 numeric features stored as float64. Full-batch k-means (Lloyd's algorithm)…
  4. An e-commerce team trains pricing agents in a simulator and keeps a large buffer of transitions collected by older versions of its policies. Which grouping of…
  5. A telecom team tunes a churn network with successive halving: 81 configurations, a minimum budget of 1 epoch, a maximum of 81 epochs and η = 3 (keep the best…