Black box
A black box is a system that can be observed only through its inputs and outputs, without a usable view of how it works inside; in AI the term describes models whose reasoning is opaque even to their builders.
The idea predates computers. A black box is anything understood only by what goes in and what comes out. The modern usage grew out of wartime radar and control research and entered cybernetics in the early 1950s; W. Ross Ashby's 1956 An Introduction to Cybernetics treated it at length. Its opposite is a white box, whose internal structure is known.
In AI the term usually refers to complex models, above all deep neural networks. Their code and even their billions of parameters can be inspected, yet no one can read off why a particular input produced a particular output. The model is opaque not because it is hidden but because its internal computation is too large and distributed for a person to follow. A model can also be a black box for commercial reasons, when a vendor keeps its workings secret.
This matters most when models make or inform decisions about people. If a system refuses a loan or flags a patient as high risk, the person affected, the operator and a regulator may all want to know why. Two responses have developed. One is explainability: tools that approximate or describe a black-box model's behaviour after the fact. The other is to avoid the black box in the first place.
The computer scientist Cynthia Rudin made the second case forcefully in Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Instead, published in Nature Machine Intelligence in May 2019. She argued that explaining black-box models after the fact is a flawed approach that can entrench bad practice, and that for high-stakes uses in areas such as criminal justice and healthcare, models that are interpretable by design should be used instead.
For large language models a third line of work, mechanistic interpretability, tries to open the box by tracing which internal features and circuits produce a behaviour. It is an active research field rather than a finished tool. In practice, calling an AI system a black box is a fair description of most current models, and a reason to test their behaviour carefully rather than assume it.
It describes a model whose inputs and outputs can be seen but whose internal reasoning cannot be meaningfully followed. Deep neural networks are the usual example: their parameters are visible, but there is no readable account of why they produce a given answer. Because they compute their outputs through millions or billions of learned numerical parameters interacting in ways too complex for people to trace. The behaviour is learned from data rather than written as explicit rules, so even the developers cannot simply look up the reason for a decision. A white-box or interpretable model, such as a short decision tree, a scoring rule or a sparse linear model, whose reasoning a person can read and check. Cynthia Rudin has argued that such models should be preferred for high-stakes decisions where they perform well enough. Partly. Explainability methods can show which inputs most influenced an output or approximate a model's behaviour locally, and interpretability research studies internal mechanisms. These give useful clues, but they are approximations, not a complete account of the model's reasoning.Common questions
What does black box mean in AI?
Why are AI models called black boxes?
What is the opposite of a black-box model?
Can black-box AI be explained?
Search for "black box AI", "interpretable machine learning", "explainable AI" and "mechanistic interpretability". Good sources include peer-reviewed work on interpretability, such as Cynthia Rudin's research, and the research publications of AI labs working on interpretability, along with standards bodies such as NIST on explainability. Be sceptical of products claiming to fully explain any model; most explanation methods give approximations.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.