<!-- Markdown version for AI agents and readers. Canonical: https://pratikdhanave.com/blog/posts/xai-01-why-interpretability-matters.html -->

# Why Interpretability Matters — The Black Box Problem

*Machine learning models increasingly make decisions that affect people's lives — who gets a loan, a diagnosis, a job interview — and many of them are black boxes that can't explain why. Interpretability is the field dedicated to opening those boxes: understanding why a model made a prediction, in terms a human can grasp. As AI gets more powerful and more deployed, being able to explain it stops being a nicety and becomes a requirement. This series builds interpretability from first principles.*

This series complements the blog's ML, AI governance, and security coverage with the techniques for *understanding* models, not just building them. It assumes the [machine learning foundations](/blog/series/machine-learning-from-first-principles/). Post 1 establishes why interpretability matters at all — because the instinct "the model is accurate, who cares why?" is exactly the attitude that causes the worst AI failures.

## The black box problem

Modern ML has a trade-off at its core: the most *accurate* models are often the least *interpretable*. A linear regression (ML series, post 3) is fully transparent — you can read its coefficients and know exactly why it predicted what it did. But a deep neural network or a large gradient-boosted ensemble, with millions of parameters interacting nonlinearly, is a **black box**: it makes excellent predictions, but *why* it made any particular one is opaque, buried in a tangle of weights no human can trace.

This is the central tension of the field:
- **Simple models** (linear/logistic regression, small decision trees) are interpretable but often less accurate on complex problems.
- **Complex models** (deep nets, large ensembles, LLMs) are accurate but opaque.

For a long time the attitude was "accuracy is all that matters — if it predicts well, who cares why?" That attitude is wrong, and dangerously so, because a model you can't explain is a model you can't trust, debug, or be accountable for. Interpretability is the set of techniques for getting the understanding *back* — either by using inherently transparent models, or by explaining opaque ones after the fact (post 2). The black box problem is the reason the field exists.

## Why "accurate but unexplainable" isn't enough

There are concrete, serious reasons you need to understand a model, not just trust its accuracy:

- **Trust and adoption.** People — doctors, loan officers, judges, users — won't (and often shouldn't) act on a recommendation they don't understand. A model that says "deny this loan" without a reason is hard to trust and easy to resist. Explanation is often the precondition for a model being *used* at all.
- **Debugging and catching failures.** A model can be accurate *for the wrong reasons*. The famous cautionary tales: a model that "detected pneumonia" actually keyed on which hospital's scanner took the X-ray; a "wolf vs husky" classifier that really detected snow in the background. These models scored high on test data while learning something useless or wrong — and *only interpretability revealed it.* Without understanding *why* a model predicts, you can't tell a genuinely good model from one that got lucky on a spurious correlation, and you ship the latter.
- **Fairness and bias.** A model can discriminate through proxies even without using protected attributes directly (ML series). Interpretability is how you *detect* that — see whether the model is relying on features that encode bias — which is central to the [AI governance](/blog/series/ai-governance-for-engineers/) work. You can't audit for fairness what you can't inspect.
- **Accountability and regulation.** When an AI decision harms someone, "the model decided" is not an acceptable answer — someone must be able to explain and justify it. Increasingly this is a *legal* requirement (a "right to explanation" for automated decisions in some jurisdictions; model documentation obligations in AI regulation). In regulated domains (credit, healthcare, insurance), an unexplainable model may simply be *unusable* regardless of accuracy.
- **Safety and improvement.** Understanding a model reveals when it's operating outside its competence, helps predict how it'll behave on new inputs, and guides how to improve it. Opacity hides all of that.

The unifying point: accuracy tells you *that* a model works on your test set; interpretability tells you *why*, which is what you need to trust it, catch its failures, audit it for fairness, be accountable for it, and improve it. "Accurate but unexplainable" is a model you're flying blind with.

## What interpretability actually asks

To ground the series, it helps to be clear about *what* questions interpretability answers — it's not one thing but several:

- **Global interpretability** — how does the model behave *overall*? What features matter most across all predictions, and what general patterns did it learn? (Posts 3, 5)
- **Local interpretability** — why did the model make *this specific* prediction for *this* input? Which features drove *this* decision? (Posts 4–6) This is often what users and regulators most want — the reason for a particular loan denial, not a global summary.
- **Model-specific vs model-agnostic** — some techniques exploit a particular model's internals (reading a tree, inspecting neural activations); others treat the model as a black box and explain it from the outside (feeding it inputs and watching outputs), so they work on *any* model. Model-agnostic methods (LIME, SHAP — posts 4–5) are especially valuable because they explain the opaque models that need it most.

And a crucial honesty that frames the whole series: an **explanation is not the same as the truth of the model.** Interpretability methods produce *approximations* and *summaries* of what a model does — useful, often essential, but themselves imperfect and sometimes misleading (post 8). An explanation is a human-comprehensible story about a model's behavior, not a perfect readout of its reasoning, and treating explanations as gospel is its own failure mode. Holding that tension — explanations are necessary *and* imperfect — is what separates sophisticated use of interpretability from naive trust in it.

The throughline: modern ML's most **accurate** models (deep nets, large ensembles, LLMs) are often the least **interpretable** — **black boxes** whose predictions are opaque — creating the field's central accuracy-vs-interpretability tension. "Accurate but unexplainable" is insufficient for concrete reasons: **trust/adoption** (people won't act on unexplained recommendations), **debugging** (models can be accurate *for the wrong reasons* — pneumonia-detectors keying on the scanner, huskies detected via snow — caught *only* by interpretability), **fairness** (detecting proxy bias), **accountability/regulation** (a "right to explanation"; unexplainable models unusable in regulated domains), and **safety/improvement**. Interpretability answers several questions — **global** (overall behavior) vs **local** (this prediction), **model-specific** vs **model-agnostic** — and crucially, an **explanation is an approximation, not the truth** of the model: necessary yet imperfect, a tension to hold throughout.

## Key takeaways

- Modern ML has a core trade-off: the most **accurate** models (deep nets, large ensembles, LLMs) are often the least **interpretable** — **black boxes** whose "why" is buried in millions of parameters — while simple models (linear/logistic regression, small trees) are transparent but sometimes less accurate.
- "**Accurate is all that matters**" is dangerously wrong: a model you can't explain you can't **trust, debug, audit, or be accountable for**.
- Concrete reasons interpretability matters: **trust/adoption** (people won't act on unexplained outputs), **debugging** (models accurate *for the wrong reasons* — scanner-detecting "pneumonia", snow-detecting "huskies" — revealed only by interpretability), **fairness** (detecting proxy bias — central to AI governance), **accountability/regulation** (right to explanation; unexplainable models unusable in credit/health/insurance), and **safety/improvement**.
- Interpretability answers distinct questions: **global** (overall model behavior, what features matter across all predictions) vs **local** (why *this* prediction — often what users/regulators most want), and **model-specific** (uses internals) vs **model-agnostic** (treats the model as a black box — works on any model, explains the opaque ones that need it most).
- A framing honesty for the whole series: an **explanation is an approximation/summary, not the truth** of the model — necessary yet imperfect and sometimes misleading (post 8); sophisticated use holds the tension (explanations are essential *and* fallible) rather than trusting them naively.

## Further reading

- [Explainable artificial intelligence — understanding model decisions](https://en.wikipedia.org/wiki/Explainable_artificial_intelligence)
- [Black box — systems opaque in their internal workings](https://en.wikipedia.org/wiki/Black_box)

---

Author: Pratik Dhanave (https://pratikdhanave.com) | Published: 2026-07-09
Canonical: https://pratikdhanave.com/blog/posts/xai-01-why-interpretability-matters.html
Attribution: please link the canonical URL when citing or quoting this post.
