The Imperative of Explainability in Modern AI
The Imperative of Explainability in Modern AI
The Price of Inscrutability: When Black-Box Systems Fail
On April 4, 2014, a Wisconsin man named Eric Loomis entered a courthouse to be sentenced for his involvement in a drive-by shooting. The judge considered several factors, including a pre-sentence investigation report, criminal history, and the severity of the offense. But one piece of evidence was fundamentally different from the others: a risk score generated by a proprietary algorithm called COMPAS (Correctional Offender Management Profiling for Alternative Sanctions). The algorithm assessed Loomis as high-risk, contributing to a sentence of six years in prison. When Loomis's lawyers challenged the use of this algorithmic score, they encountered an obstacle that would become emblematic of the black-box AI problem: the company that created COMPAS refused to disclose how the algorithm worked, claiming it as trade secret. The Wisconsin Supreme Court ultimately upheld the sentence, but the case exposed a troubling reality—courts were making consequential decisions based on mathematical predictions that neither judges, defendants, nor the public could examine or scrutinize.
This case represents just one instance of a broader pattern: organizations increasingly deploy sophisticated machine learning systems to make or inform decisions that profoundly affect human lives, yet provide no meaningful mechanism for understanding how those decisions are reached. The consequences of this opacity extend far beyond individual courtrooms.
The COMPAS Scandal and Algorithmic Discrimination
The most comprehensive public examination of COMPAS came not from courts or regulators, but from investigative journalism. In 2016, ProPublica published a landmark study titled "Machine Bias," which systematically analyzed COMPAS's predictions for over 7,000 people arrested in Broward County, Florida. The researchers' methodology was straightforward: they compared the algorithm's risk scores against actual recidivism records over a two-year period. What they found challenged fundamental assumptions about algorithmic neutrality.
COMPAS was nearly twice as likely to incorrectly flag black defendants as higher risk compared to white defendants. Among defendants who did not reoffend, 44.9% of black defendants were incorrectly labeled high-risk, compared to only 23.5% of white defendants. Conversely, among those who did reoffend, white defendants were more likely to be incorrectly labeled low-risk. The algorithm had learned and perpetuated historical patterns of racial discrimination embedded in the criminal justice system's data.
The company behind COMPAS, Northpointe (now Equivant), pushed back with their own analysis, arguing that the algorithm was statistically fair according to different metrics. This response highlighted a crucial insight: defining "fairness" in machine learning is mathematically contested. An algorithm can satisfy one fairness criterion while violating another. Without transparency into how COMPAS generated its scores, there was no way to systematically audit whether its design choices reflected conscious values or unconscious biases, whether errors were fixable, or whether alternatives could achieve the same predictive goals with less discriminatory impact.
The COMPAS case established several patterns that would recur across industries. First, algorithmic systems trained on historical data can encode and automate discriminatory patterns even without explicit racial categories in the input features. Second, proprietary algorithms resist public accountability precisely because their inner workings remain confidential. Third, the absence of explainability makes it nearly impossible to identify bias, challenge errors, or iterate toward improvement.
Medical AI and Diagnostic Opacity
Healthcare represents another domain where black-box AI has permeated consequential decision-making. Radiology AI systems can now detect diabetic retinopathy, classify chest X-rays, and identify potential tumors with accuracy that rivals or exceeds human specialists. In 2018, the FDA approved the first autonomous AI diagnostic system—IDx-DR, which detects diabetic retinopathy without physician oversight. The system requires only the images and a smartphone or computer; no specialist needs to be involved in the diagnostic process.
This capability comes with a corresponding opacity problem. When a radiologist misdiagnoses a patient, the error is attributable to a specific interpretation that can be traced through that professional's reasoning. When an AI system errs, the explanation may be fundamentally unknowable. More troubling, many medical AI systems are deployed as "locked" algorithms—their parameters cannot be updated based on new evidence or local conditions. A model trained on patient populations in one region may perform differently when applied to demographically different populations.
Consider the case of a deep learning system deployed for sepsis prediction. Researchers at the University of Michigan discovered that one such system had learned to associate certain treatment patterns with patients likely to develop sepsis. When clinicians adjusted their treatment protocols based on early warnings from the system, the model lost its predictive validity—the very act of acting on its predictions invalidated the patterns it had learned. The algorithm had not discovered a causal mechanism for sepsis development; it had identified correlations between treatment patterns and outcomes that would dissolve once treatment patterns changed. Without explainability, this fundamental limitation remained invisible to clinicians who relied on the system's outputs.
The medical AI community has responded with growing calls for interpretability requirements in clinical deployment. The FDA's proposed framework for AI/ML-based software as a medical device (SaMD) explicitly encourages developers to incorporate transparency elements. Yet the path from regulatory encouragement to clinical practice remains long, and many deployed systems continue operating as black boxes.
Financial Systems and the Lending Gap
The financial services industry has embraced machine learning for credit scoring, fraud detection, insurance underwriting, and algorithmic trading. These applications affect access to credit, insurance pricing, and economic opportunity at massive scale. The Consumer Financial Protection Bureau (CFPB) has documented how algorithmic underwriting can produce discriminatory outcomes even when protected characteristics are excluded from model inputs.
In one notable case, a mortgage lender deployed a machine learning model that achieved superior predictive performance for credit risk compared to traditional scoring methods. However, when researchers analyzed the model's decisions, they discovered it had learned to use proxy variables for race—features that correlate with race even when explicitly excluded. ZIP codes, shopping patterns, and even certain transaction sequences served as proxies for protected characteristics. The model passed technical fairness tests because it never explicitly used race, yet produced outcomes that would fail disparate impact analysis under the Equal Credit Opportunity Act.
The challenge is not simply that machine learning can discriminate; it is that discrimination can occur through mechanisms that evade standard audits. A logistic regression model with interpretable coefficients can be examined for potential discrimination by inspecting whether coefficients on protected-class-correlated features are unreasonably large. A gradient-boosted ensemble or deep neural network offers no such transparency. When the model's reasoning is distributed across thousands of parameters, identifying which features drive discriminatory outcomes becomes analytically intractable.
The Pattern Across Domains
These cases share a common structure: sophisticat