Supervised & Unsupervised Learning

Chapter 12
Explainability and Decision-Centered Analytics

Graduate Program in Business Analytics
Supervised & Unsupervised Learning   •   Graduate

Explainability and Decision-Centered Analytics

Introduction: From Predictive Accuracy to Actionable Understanding

A supervised-learning model is useful only when its output can support a defensible decision. In business settings, prediction is rarely the final objective. A bank must decide whether to approve credit, a retailer must allocate inventory, a hospital must prioritize patients, and a manufacturer must schedule maintenance. These decisions involve costs, constraints, regulations, organizational values, and human judgment. Consequently, a model with excellent predictive accuracy may still be unsuitable if decision-makers cannot understand its behavior, identify its limitations, or connect predictions to available actions.

Explainability is the study and practice of making model behavior understandable to relevant stakeholders. It is not a single property. A data scientist may need a technically faithful account of how an algorithm behaves; a manager may need a concise explanation of a particular recommendation; a customer may need a reason that is intelligible and contestable; and a regulator may require evidence that protected characteristics were not used improperly. Decision-centered analytics extends explainability by asking a further question: How should an explanation change, constrain, or inform a decision?

This chapter develops a framework for interpreting models through coefficients, partial dependence, surrogate models, permutation importance, SHAP values, and counterfactual explanations. It distinguishes prediction from causation, introduces sensitivity analysis, and shows how predictive models can be integrated with optimization and managerial judgment.

Learning Objectives

By the end of this chapter, a reader should be able to:

  1. Distinguish global from local and model-specific from model-agnostic explanations.
  2. Interpret coefficients while recognizing scale, nonlinearity, confounding, and dependence among predictors.
  3. Explain the logic and limitations of partial dependence, surrogate models, permutation importance, SHAP, and counterfactual explanations.
  4. Separate predictive association from causal effect and identify when causal claims require stronger designs.
  5. Conduct sensitivity analysis over data, model, explanation, and decision assumptions.
  6. Integrate predictions with optimization, constraints, uncertainty, and human judgment.
  7. Evaluate explainability systems using fidelity, stability, usefulness, fairness, and governance criteria.

1. What Does It Mean to Explain a Model?

Let a predictive model be represented by f(x), where x is a vector of observed features and the output may be a probability, score, class, or numerical forecast. An explanation is a representation of some aspect of the relationship between x and f(x). It is not necessarily a complete description of the model.

Three distinctions are fundamental.

Global and local explanations. A global explanation describes general model behavior across a population—for example, which variables tend to matter and how predictions change as a feature varies. A local explanation describes one case, such as why a particular loan application received a high-risk score.

Intrinsic and post hoc explanations. Linear regression, a small decision tree, and a generalized additive model are intrinsically interpretable under suitable conditions. A neural network or gradient-boosted ensemble generally requires post hoc methods that approximate or decompose its behavior after training.

Descriptive and decision explanations. A descriptive explanation identifies why the model produced an output. A decision explanation connects that output to an action, such as declining an application or ordering additional stock. The latter must include objectives, constraints, uncertainty, and institutional policy.

An explanation can be accurate but not useful, simple but misleading, or persuasive but unfaithful. Therefore, explainability should be assessed rather than assumed.

2. Interpreting Coefficients and Structured Models

2.1 Linear regression

For a linear regression model,

ŷ = β₀ + β₁x₁ + β₂x₂ + … + βpxp

where ŷ is the predicted outcome, β₀ is the intercept, βj is the coefficient for feature xj, and p is the number of features. The coefficient βj is the predicted change in ŷ associated with a one-unit increase in xj, holding the other included features constant.

This interpretation assumes the specified linear form is appropriate and that the comparison is meaningful within the observed data range. It does not, by itself, establish that changing xj will cause the outcome to change. If income is measured in thousands of dollars, a coefficient of 0.8 means an increase of 0.8 outcome units per additional thousand dollars, not per dollar. Standardization changes interpretation: a standardized coefficient refers to a one-standard-deviation change in a predictor, conditional on the model.

An interaction changes the interpretation. Consider:

ŷ = β₀ + β₁x₁ + β₂x₂ + β₃x₁x₂

The marginal association of x₁ is:

a ŷ / a x₁ = β₁ + β₃x₂

Here β₁ is the effect of x₁ only when x₂ = 0. If zero is not substantively meaningful, centering x₂ may improve communication, although it does not alter fitted predictions when the transformation is handled consistently.

2.2 Logistic regression

For binary classification, logistic regression models log odds:

log(p / (1 − p)) = β₀ + β₁x₁ + … + βpxp

where p = P(Y = 1 | x). Exponentiating a coefficient gives an odds ratio, eβj, for a one-unit increase in xj, conditional on the other predictors. An odds ratio is not a risk ratio, and neither is generally a percentage-point change in probability. The probability change depends on the starting probability and all other linear-predictor values.

For example, an odds ratio of 1.50 means that the modeled odds are multiplied by 1.50 for a one-unit increase, holding other variables constant. It does not mean that probability rises by 50 percentage points.

2.3 Limitations of coefficient explanations

Coefficients can be unstable under multicollinearity, sensitive to omitted variables, and misleading when relationships are nonlinear. A coefficient may reflect a proxy for a protected attribute, a selection process, or a historical institutional practice. Regularization can shrink coefficients toward zero; this improves prediction in some settings but complicates substantive interpretation. Coefficients should therefore be examined alongside confidence or uncertainty intervals, feature distributions, residual diagnostics, dependence structures, and domain knowledge.

3. Global Model-Agnostic Explanations

3.1 Partial dependence

The partial dependence function for feature set S is the average model prediction obtained by varying xS while averaging over the distribution of the remaining features XC:

PDS(z) = EXC[f(z, XC)]

In a sample of n observations, it is commonly estimated as:

PD̂S(z) = (1/n) ∑i=1n f(z, xi,C)

where z is a selected value for the features in S, C is the complement of S, and xi,C is the observed complement for case i. This is a model description, not a causal effect. The calculation may evaluate unrealistic combinations when predictors are correlated. For example, setting age to 25 while retaining a feature pattern typical of an 80-year-old may produce an extrapolative prediction.

Individual conditional expectation (ICE) curves display f(z, xi,C) separately for each observation rather than averaging them. ICE can reveal heterogeneous effects, interactions, and subgroups that a partial dependence average hides. Accumulated local effects are often preferable with correlated features because they focus on local changes within observed regions, although they too require careful interpretation.

3.2 Permutation importance

Permutation importance measures the increase in prediction loss when a feature’s values are randomly shuffled. If L(y, f(x)) is a loss function and [[M(j)]] is a permutation of feature j, an estimate is:

PIj = L(y, f(X with Xj permuted)) − L(y, f(X))

A large positive value indicates that predictive performance deteriorates when the feature’s information is disrupted. Importance should be estimated over repeated permutations; a mean and dispersion are more informative than one shuffle.

Permutation importance is not a measure of causal importance. With highly correlated predictors, shuffling one variable may leave its information available through another, producing a small importance value even though the underlying concept is important. Conversely, shuffling outside the joint data distribution can create implausible records. Conditional permutation procedures and grouped permutations can address some of these problems.

3.3 Surrogate models

A surrogate model approximates a complex model using a simpler model. Given predictions from a black-box model, one may fit a shallow tree, sparse linear model, or rule list to reproduce those predictions. Local surrogate methods restrict the fitting process to a neighborhood around one case.

The surrogate’s fidelity concerns how well it reproduces the original model, whereas its interpretability concerns how understandable it is to its audience. These are separate objectives. A simple tree with low fidelity may provide a clear but inaccurate story. A high-fidelity surrogate may be too complex to interpret. Fidelity should be reported using an appropriate metric, such as local classification agreement, regression error, or rank correlation, and evaluated across relevant regions rather than only on the fitting sample.

4. SHAP and Additive Attribution

SHAP (Shapley additive explanations) assigns contributions to features by considering their marginal contribution across coalitions of features. A common additive representation is:

f(x) ≈ φ₀ + ∑j=1p φj

where φ₀ is a baseline prediction and φj is the attribution for feature j for the case x. For an exact Shapley value, the contribution is a weighted average over subsets S not containing j:

φj = ∑_{S ⊆ N \ {j}} [|S|!(p−|S|−1)! / p!] × [v(S ∪ {j}) − v(S)]

Here N is the set of all features, v(S) is the value of a coalition of features, and p is the number of features. The factorial weight ensures balanced treatment of feature orderings. In practice, algorithms approximate SHAP values, and the choice of background distribution and feature-dependence treatment affects the result.

SHAP explanations are additive and can be aggregated to provide global summaries, but aggregation does not automatically establish causal or managerial importance. A feature may receive credit because it is a proxy or because correlated variables share credit in a particular way. Explanations should state whether the output is in probability, log-odds, revenue, or another scale. Additive contributions on log-odds are not directly additive percentage-point changes in probability.

5. Counterfactual Explanations

A counterfactual explanation asks: What small, feasible change would have led to a different prediction or decision? For an observation x and desired outcome y*, a generic formulation is:

minx′ d(x, x′) + λL(f(x′), y*)

subject to feasibility constraints such as immutable features, actionability rules, legal limits, and realistic feature relationships. Here x′ is a proposed alternative profile, d is a distance or cost function, L penalizes failure to achieve the desired output, and λ > 0 balances closeness against outcome achievement.

A useful counterfactual must be:

  • Valid: it changes the model’s output as claimed.
  • Actionable: the person or organization can influence the changed features.
  • Feasible: the proposed values are realistic and jointly consistent.
  • Sparse: it changes relatively few variables where appropriate.
  • Non-discriminatory: it does not require unequal or prohibited treatment.
  • Stable: small irrelevant perturbations do not produce radically different advice.

“Reduce debt” may be actionable but not immediately achievable; “change age” is immutable; and “increase income while retaining a full-time schedule and no additional hours” may be infeasible. Counterfactuals explain model boundaries, not necessarily the true reasons an outcome occurs. They should not be presented as guarantees.

6. Prediction Is Not Causation

A predictive relationship concerns the accuracy of P(Y | X), or the distribution of outcomes conditional on observed features. A causal question concerns what would happen under an intervention, often written P(Y | do(X = x)). These quantities differ when confounding, selection, measurement error, feedback, or reverse causality is present.

Suppose a model predicts employee turnover using salary and performance scores. A negative association between salary and turnover may reflect genuine retention effects, but it may also reflect job level, manager quality, labor-market conditions, or the fact that employees who are already planning to leave receive different assignments. A model can predict turnover accurately without identifying which intervention would prevent it.

Causal claims generally require a credible identification strategy, such as randomized experimentation, a natural experiment, instrumental variables, regression discontinuity, difference-in-differences, or a justified causal graph with appropriate adjustment. Even then, assumptions must be defended. A predictive explanation should use language such as “the model relies on” or “is associated with,” while causal language such as “increasing this variable will produce” requires intervention-based evidence.

This distinction is operationally important. If a bank wants to reduce defaults, a feature that predicts default may be useful for screening, but changing that feature may not reduce default. Decision-makers need evidence about the effect of available actions, not merely correlations in historical data.

7. Sensitivity Analysis and Explanation Robustness

Sensitivity analysis examines whether conclusions change when assumptions, data, model specifications, or decision parameters change. It is essential because explanations are conditional on a dataset, a fitted model, a background distribution, and a chosen explanation method.

Four forms are especially useful:

  1. Data sensitivity: vary sampling windows, missing-value treatments, outlier rules, and measurement definitions.
  2. Model sensitivity: compare algorithms, hyperparameters, random seeds, calibration methods, and feature sets.
  3. Explanation sensitivity: compare SHAP, permutation importance, partial dependence, and local surrogates; assess rankings and signs.
  4. Decision sensitivity: vary thresholds, costs, capacity limits, discount rates, and risk tolerances.

For a decision based on expected net value, one may write:

ENB(a | x) = ∑y P(y | x)U(a, y) − C(a, x)

where a is an action, y is a possible outcome, U(a,y) is the utility or benefit, and C(a,x) is the action cost. The action is sensitive if small changes in estimated probabilities, utilities, or costs change the optimal choice. A model explanation should therefore be accompanied by uncertainty and a statement of the decision margin.

Stability can be assessed by retraining models on resampled data and comparing explanation vectors. For two attribution vectors, rank correlation can assess whether the ordering of important variables is preserved. However, stability is not the same as truth: a consistently biased model can produce stable explanations.

8. From Prediction to Optimization and Managerial Action

Prediction and optimization solve different problems. Prediction estimates what may happen; optimization chooses an action under objectives and constraints. A typical prescriptive formulation is:

maximizea ∑i=1n pi(a) ri(a)
subject to gk(a) ≤ bk, k = 1,…,K

where a is a vector of decisions, pi(a) is the predicted probability or expected response for case i under action a, ri(a) is the value, gk(a) is resource consumption, and bk is the available limit. The model must be valid under contemplated actions. A purely observational model may not provide valid pi(a) for interventions outside historical practice.

A decision-centered workflow is:

  1. Define the decision, decision-maker, time horizon, and feasible actions.
  2. Identify the prediction target and the consequences of false positives and false negatives.
  3. Validate discrimination, calibration, subgroup performance, and data quality.
  4. Select an explanation appropriate to the audience and purpose.
  5. Translate predictions into expected value, constraints, and risk limits.
  6. Allow qualified human review for cases involving ambiguity, hardship, or unusual circumstances.
  7. Record the model version, input data, explanation, decision, override, and outcome.
  8. Monitor drift, performance, fairness, explanation stability, and realized business value.

Human judgment should not be treated automatically as either superior or inferior. It can provide contextual information unavailable to the model, but it can also introduce inconsistency, anchoring, automation bias, and discrimination. Effective systems define when humans may override a model, require reasons for overrides, and audit both automated and human decisions.

9. Applied Case: Retail Promotion and Inventory Allocation

The following is an illustrative case, not a report of a real company.

Background and problem

A national retailer forecasts weekly product-level demand and must decide how much inventory to allocate to each store. A gradient-boosted model uses historical sales, price, promotions, holidays, local weather, inventory availability, and store characteristics. The model predicts demand accurately, but regional managers distrust it because they cannot tell whether a forecast reflects genuine local demand or merely repeated historical stockouts.

Analysis

The analytics team first distinguishes prediction from intervention. Historical sales under stockouts are not complete observations of demand. The team therefore includes availability indicators, evaluates error separately during stockout periods, and conducts a controlled promotion experiment for selected products. This provides evidence about the effect of price and promotion rather than relying solely on associations.

For explanation, permutation importance shows that recent sales, availability, and promotion status dominate predictive performance. Partial dependence suggests that predicted demand rises with promotion, but the team inspects ICE curves and discovers that the average pattern differs sharply by store segment. SHAP summaries explain individual forecasts, while local explanations are accompanied by uncertainty intervals and data-quality flags. A counterfactual for a low forecast states that, under the model, the forecast would rise if the product were promoted and historical availability were normal; it does not claim that promotion will necessarily generate the stated increase.

Approach and solution

The retailer embeds forecasts in an optimization model that maximizes expected gross margin subject to inventory, shelf-space, supplier, and service-level constraints. It does not simply rank stores by predicted demand. For new promotions, it uses experimentally estimated uplift where available and marks extrapolative recommendations for review. Managers receive a dashboard containing forecast, key contributing factors, comparable historical cases, uncertainty, constraint binding, and alternative allocations.

Outcome

The organization reports improved adoption because managers can distinguish model evidence from managerial assumptions. Overrides are logged and reviewed. Some overrides reveal missing local-event data; others reflect legitimate strategic priorities. The retailer monitors forecast calibration, stockout bias, subgroup performance across store types, and whether explanations remain stable after seasonal retraining.

Learning points

The case demonstrates that explainability is not a cosmetic layer. It exposed target leakage and censored demand, clarified the limits of counterfactual advice, connected forecasts to constrained optimization, and created a feedback mechanism between local expertise and data engineering. Most importantly, the organization evaluated success through decision quality and realized value, not explanation popularity alone.

10. Governance, Ethics, and Contemporary Practice

Explainability must be aligned with privacy, security, fairness, and accountability. Revealing detailed model logic can enable gaming or expose sensitive information. Conversely, withholding reasons can prevent contestability. Organizations should provide explanations proportionate to the decision’s impact and the recipient’s role.

Important governance practices include data and model documentation, version control, access controls, impact assessments, subgroup testing, incident procedures, and retention of decision records. Protected characteristics may be excluded from a model yet remain inferable through proxies such as geography, language, or purchasing behavior. Fairness analysis should therefore examine outcomes and errors across relevant groups, while recognizing that fairness criteria can conflict and require normative choices.

Regulatory obligations vary by jurisdiction and sector, but high-impact automated decisions commonly require transparency, human oversight, data governance, and the ability to challenge or correct outcomes. An explanation should not be a post hoc justification invented after a decision. It should be generated from an auditable process and linked to the actual model version and inputs used.

Contemporary practice increasingly combines interpretable models, post hoc explanation, uncertainty quantification, causal inference, and prescriptive optimization. Explainable artificial intelligence is moving from feature-ranking dashboards toward systems that communicate uncertainty, identify distribution shift, distinguish observed from intervention-based evidence, and support structured human–AI collaboration. Large language models may generate natural-language explanations, but fluent text does not guarantee fidelity. Any generated explanation must be checked against the underlying model output and explanation artifacts.

Best-Practice Checklist

  • Define the decision before selecting an explanation method.
  • Report whether the explanation is global or local and model-specific or model-agnostic.
  • Preserve the output scale: probability, log-odds, score, or monetary value.
  • Inspect feature dependence and avoid interpreting implausible combinations.
  • Report fidelity, uncertainty, stability, and known limitations.
  • Do not convert predictive association into causal advice without identification evidence.
  • Make counterfactuals feasible, actionable, sparse, and non-discriminatory.
  • Combine prediction with explicit utility, constraints, and capacity limits.
  • Monitor human overrides, automation bias, drift, fairness, and realized outcomes.
  • Treat explanation as part of governance and decision design, not merely visualization.

Chapter Summary

Explainability makes model behavior intelligible, but no single method is universally adequate. Coefficients are useful when model form, scale, and feature relationships support their interpretation. Partial dependence and ICE describe average and individual response patterns, while permutation importance measures predictive reliance subject to correlation and distributional limitations. Surrogate models offer simplified approximations whose fidelity must be measured. SHAP decomposes predictions into additive feature contributions, but its baseline and dependence assumptions matter. Counterfactual explanations describe feasible changes that would alter a model output, not guaranteed causal remedies.

Prediction concerns conditional association and forecast accuracy; causation concerns intervention and requires stronger assumptions or designs. Sensitivity analysis tests whether findings survive changes in data, models, explanation methods, and decision parameters. Finally, decision-centered analytics integrates predictions with utility, constraints, optimization, uncertainty, and human judgment. Responsible practice evaluates not only accuracy and interpretability, but also fairness, contestability, stability, governance, and the quality of decisions produced.

Key Terms

Explainability: The practice of making model behavior understandable to relevant stakeholders.

Interpretability: The extent to which a model or explanation can be understood by a human.

Global explanation: An account of model behavior across a population or broad data region.

Local explanation: An account of why a model produced an output for one case or neighborhood.

Intrinsic interpretability: Interpretability arising from the model’s structure itself.

Post hoc explanation: An explanation generated after fitting a predictive model.

Partial dependence: Average predicted response as selected features vary while other features are averaged over.

ICE curve: An individual conditional expectation curve showing one observation’s response profile.

Permutation importance: Performance deterioration caused by randomly disrupting a feature.

Surrogate model: A simpler model trained to approximate a complex model’s predictions.

Fidelity: Agreement between an explanation or surrogate and the model being explained.

SHAP value: A Shapley-based additive attribution assigned to a feature for a prediction.

Counterfactual explanation: A feasible hypothetical change that would alter a model output.

Calibration: Agreement between predicted probabilities and observed event frequencies.

Causal effect: Change in an outcome attributable to an intervention under a defined causal framework.

Sensitivity analysis: Examination of how conclusions change under alternative assumptions.

Decision utility: Value assigned to outcomes resulting from an action.

Automation bias: Excessive reliance on an automated recommendation.

Distribution shift: Change between the data-generating conditions used for training and deployment.

Decision-centered analytics: Integration of predictive evidence with actions, objectives, constraints, and human judgment.

Review Questions

Short Answer Questions

  1. What is the difference between a global and a local explanation?
  2. Why is a logistic-regression odds ratio not generally a percentage-point change in probability?
  3. What does permutation importance measure?
  4. Why can a counterfactual explanation be valid but not actionable?
  5. How does prediction differ from causation?

Long Answer Questions

  1. Compare partial dependence, ICE, permutation importance, surrogate models, and SHAP in terms of purpose, assumptions, and limitations.
  2. Explain how multicollinearity and correlated predictors can distort coefficient and permutation-importance interpretations.
  3. Discuss why a high-fidelity explanation may still be unsuitable for a managerial audience.
  4. Develop a governance framework for explanations used in a high-impact lending decision.
  5. Explain how predictive models should be connected to optimization rather than used as direct decisions.

Analytical / Application Questions

  1. A churn model identifies contract length as its strongest predictor. Design an analysis to determine whether changing contract length is likely to reduce churn or merely predict it.
  2. A hospital uses a risk model to prioritize follow-up care. Propose a sensitivity analysis covering data, model, explanation, and decision assumptions.
  3. A retailer receives a counterfactual recommendation to lower price by 20 percent to increase predicted demand. Identify the feasibility, causal, optimization, and governance questions that must be answered before implementation.

Multiple Choice Questions with Answers

Question 1

Which statement best describes a coefficient of 0.8 for a predictor measured in thousands of dollars in a linear regression model?

A. A one-dollar increase causes the outcome to rise by 0.8 units.

B. A one-thousand-dollar increase is associated with a 0.8-unit increase, holding included predictors constant.

C. The outcome increases by 80 percent for every one-unit increase.

D. The predictor has an odds ratio of 0.8.

Correct Answer: B. A one-thousand-dollar increase is associated with a 0.8-unit increase, holding included predictors constant.

Question 2

What does permutation importance primarily estimate?

A. The causal effect of changing a feature.

B. The increase in model loss after the feature’s information is disrupted.

C. The statistical significance of a regression coefficient.

D. The probability calibration of a classifier.

Correct Answer: B. The increase in model loss after the feature’s information is disrupted.

Question 3

A major limitation of partial dependence with strongly correlated predictors is that it may:

A. Ignore the model’s predictions completely.

B. Require a causal experiment.

C. Evaluate unrealistic combinations of feature values.

D. Work only with linear regression.

Correct Answer: C. Evaluate unrealistic combinations of feature values.

Question 4

In a SHAP decomposition, what does φ₀ commonly represent?

A. The maximum possible prediction.

B. A baseline prediction.

C. The model’s error rate.

D. The number of features.

Correct Answer: B. A baseline prediction.

Question 5

Which feature is generally unsuitable for an actionable counterfactual?

A. Monthly discretionary spending.

B. Debt repayment amount.

C. Age at the time of application.

D. Choice of a promotion date.

Correct Answer: C. Age at the time of application.

Question 6

Which expression represents a causal intervention rather than a conditional association?

A. P(Y | X)

B. P(X | Y)

C. P(Y | do(X = x))

D. P(X)

Correct Answer: C. P(Y | do(X = x))

Question 7

What is the primary purpose of a surrogate model?

A. To replace the training data with synthetic data.

B. To approximate a complex model with a simpler representation.

C. To guarantee causal validity.

D. To eliminate prediction error.

Correct Answer: B. To approximate a complex model with a simpler representation.

Question 8

Which item belongs most directly to decision sensitivity analysis?

A. Changing the font used in a dashboard.

B. Varying the cost of false positives and observing whether the chosen action changes.

C. Removing all human review.

D. Using only the largest feature coefficient.

Correct Answer: B. Varying the cost of false positives and observing whether the chosen action changes.

Question 9

Why should predictive probabilities be combined with utilities in decision-centered analytics?

A. Probability alone determines the best action in every context.

B. Utilities represent the consequences and value of possible outcomes.

C. Utilities eliminate the need for model validation.

D. Probability models cannot be optimized.

Correct Answer: B. Utilities represent the consequences and value of possible outcomes.

Question 10

Which statement about a fluent natural-language explanation generated by an AI system is correct?

A. Fluency guarantees fidelity to the underlying model.

B. Fluency proves that the explanation is causal.

C. The explanation should be checked against the actual model and explanation artifacts.

D. Fluent explanations do not require governance.

Correct Answer: C. The explanation should be checked against the actual model and explanation artifacts.

Supervised & Unsupervised Learning
Chapter 12 of 15