AI in Finance & Fraud · Lesson 7 of 8

Explainability, Fairness & Model Risk Management

⏱ 10 min read✅ Check-yourself quiz🏦 Banking & fintech

In finance a model is not finished when it reaches a good AUC. It must be explainable, fair, documented, validated and monitored. This lesson covers SHAP and reason codes, fairness testing, and the model risk management lifecycle that validators and regulators expect.

Global vs local explanations

import shap
explainer = shap.TreeExplainer(model)
sv = explainer.shap_values(X_valid)            # per-feature contribution to each prediction (log-odds)
shap.summary_plot(sv, X_valid)                 # global view
row = 42
top = sorted(zip(X_valid.columns, sv[row]), key=lambda t: -t[1])[:3]
reasons = [f"{f} increased risk" for f, v in top if v > 0]

Fairness testing

Model risk management (MRM) lifecycle

  1. Inventory: every model is registered with its owner, purpose, tier (materiality) and status.
  2. Development documentation: data, assumptions, methodology, alternatives considered, limitations.
  3. Independent validation: conceptual soundness, data quality, outcome analysis (back-testing), sensitivity and stress tests, benchmarks or challenger models.
  4. Approval and controls: usage limits, overrides policy, fallback procedures.
  5. Ongoing monitoring: performance, PSI/drift, overrides, incidents, with thresholds that trigger review.
  6. Periodic revalidation, and retirement when the model is no longer fit for purpose.

US guidance such as SR 11-7 formalised these ideas, and banks worldwide, including in India, run similar frameworks.

GenAI under model risk

LLM apps (chatbots, document extraction, summarisation) are increasingly brought into MRM:

Check yourself

What is the difference between global and local explainability? Global explains the model's overall behaviour (which features matter most). Local explains one specific prediction (why this applicant was declined). Reason codes come from local explanations.
Why can removing a protected attribute fail to make a model fair? Other features can act as proxies (location, names, some spending patterns), so outcomes can still differ by group. You must test outcomes and investigate proxies.
Name three things independent validation checks. Conceptual soundness of the method, data quality and representativeness, and outcome analysis (back-testing, stability, sensitivity), plus documentation completeness and limitations.
Created by Ajeetkumar