Business and compliance applications¶
Where attribution helps decisions that must be justified and audited. mllm-shap
records the estimand, archived coalition outputs and the config. Estimand advice per
audience and a checklist come last. Theory: Shapley values and axioms; first steps:
Getting started.
What the evidence looks like¶
Two questions a review team asks, answered on real models:
Did the model answer for the right reason? A vision model says a shop is open, crediting the small OPEN sign in the door (Image input).
Why did it disagree with the reference? A voice model answers a spoken question “no” where the reference says “yes”, driven by one word, “constant” (Audio input).
Use cases¶
Domain |
Question attribution answers |
What helps |
|---|---|---|
Credit and lending |
Which fields of free text (employment notes, chat transcripts) drove one decision; legitimate signals against prohibited proxies (fair-lending review) |
Efficiency: values sum to the score shift from the baseline |
Insurance underwriting and claims |
What in a claim or medical narrative moved the model |
Archives with the estimand and coalition payoffs, reproducible months later |
Anti-money laundering and fraud |
Why a transaction narrative scored as suspicious |
Banzhaf for pivotal phrases that flip the outcome; Shapley for consistent case files |
Automated decisions (GDPR Art. 22) |
Meaningful information about the logic involved |
|
Fairness and bias review |
Whether protected or proxy attributes dominate |
Symmetry: interchangeable tokens get equal credit |
Customer support bots |
Which part of the user message, retrieved policy or system prompt caused a wrong answer |
Message players (Masking views) |
Retrieval-augmented generation |
Which passages carried the answer |
One player per passage: |
Content moderation |
Which span triggered a safety classifier |
Dummy players: inert tokens get zero credit |
Internal copilots (legal, HR, finance) |
Who can audit an answer later |
Archive with full config, base generation and outputs;
|
Model risk management¶
Supervisors expect banks to validate models, document assumptions and monitor drift
(Federal Reserve SR 11-7, OCC 2011-12). Explainability does not replace
validation, yet many NLP deployments must produce it. mllm-shap offers versioned
ExplainConfig files, an explicit estimand in every result and stages
you can validate one by one (estimators sample, estimands weight, value functions score).
Choosing estimands for stakeholders¶
Audience |
Often prefers |
Why |
|---|---|---|
Risk and compliance committees |
Shapley |
Efficiency: scores sum to the total utility change |
Fraud and security analysts |
Banzhaf or Shapley |
Banzhaf highlights pivotal triggers; Shapley for case files |
Product and UX teams |
Shapley |
One story: how much each part moved the answer |
Research publications |
Both, labelled |
Non-additive games give materially different values |
Report the estimand in every deliverable; mixed labels break comparisons across runs. Background: Estimands: Shapley vs Banzhaf.
Checklist before production¶
Define players (tokens, spans, chunks) and the absence policy.
Choose the estimand for the stakeholders’ question.
Keep run archives;
reanalyzerecomputes attributions from them.Record the value function and baseline \(v(\emptyset)\) in run configs.
Validate on toy games (majority, additive) before scaling.
References¶
Board of Governors of the Federal Reserve System. (2011). SR 11-7: Guidance on model risk management. Federal Reserve SR 11-7
Regulation (EU) 2016/679 (GDPR), Article 22: automated individual decision-making.
Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30. arXiv:1705.07874
Fryer, D. V., Strümke, I., & Nguyen, H. D. (2021). Shapley values for feature selection: The good, the bad, and the axioms. IEEE Access, 9, 144352–144360. arXiv:2102.10936