Black box: Is what’s inside the only problem?

You might expect the people who build an AI system to understand exactly how it arrives at its outputs, since they created it. In practice, they often can’t. This is known as opacity, or the “black box” problem: it is hard, and sometimes impossible, to reconstruct the internal logic behind an AI system’s “reasoning.” The more complex a model’s information processing, the worse the problem gets.

As we’ll see, though, the issue is more complicated than it looks. Treating “opacity” as one single problem can hide the fact that it actually covers several quite different ones.

 

A flaw to be fixed?

Opacity is usually treated as a flaw to be fixed, since it makes it difficult or impossible to understand why a system produced a specific result. But it is fair to ask whether opacity is truly a problem when the system is highly accurate, that is, when its outputs are almost always correct.

If we adopt a performance-centred perspective, treating accuracy as the core value, opacity is no longer the main concern. The goal then shifts from building more interpretable models to building better-performing ones. This would reduce the trustworthiness of an AI system to its performance alone.

Unfortunately, while this approach would make the explainability problem disappear, it does not give us insights on the decision-making process of the system, therefore making the use potentially risky.

 

 

 

Opacity is not one thing

 

The fundamental problem is that the opacity of these systems is treated as though it referred to a single, well-defined, one-dimensional property, when in fact it encompasses, and is bound up with, a number of distinct phenomena. Uncertainty about “what goes on inside the model” can concern very different questions: which elements contributed most to producing the output; how those elements interacted with one another; what dynamic process (that is, the unfolding of the computations over time) led to the final result; or what real-world cause-effect process the system’s reasoning actually corresponds to.

An example helps to show why this distinction matters. Knowing that a language model is organised into “layers”, and that it produces results by processing sequences of numbers arranged in “grids” according to the semantic combinations found in a sentence, is information that can cut both ways. It can be extremely useful if all we need is a description of how the system is built. Or it can tell us nothing relevant to what we actually need to know, particularly if our aim is, say, to establish what those internal procedures correspond to in the real world. In short, knowing how a model is structured is not necessarily the same as genuinely understanding its output.

 

Opacity in practice

Each of these forms of opacity has a direct effect on transparency, reliability, the prevention of bias and discrimination, and human oversight. These are all central requirements when judging whether a system complies with the AI Act.

In medicine, for instance, the problem often shows up as the “human in the loop” question. If nobody understands how a model works internally, how can a person take a role in monitoring and overseeing it?

 

 

Existing strategies

 

There are several strategies that aim to tackle the black-box problem through either explainability or interpretability methods.

To make outputs explainable, techniques can be developed that aim to make sense of a result by working backwards, tracing it to the internal steps that produced it. Other techniques focus instead on building models that are interpretable by design, using patterns and steps on cause-effect basis that a human can recognise and make sense of.

Both approaches, however, have their limits. Post-hoc explanation can oversimplify dynamics and risks misrepresenting the process the system actually carried out. Building interpretable-by-design (IBD) models, on the other hand, risks sacrificing computational capability and competitive performance. As a result, there is currently no single, definitive solution. Rather, the proposed strategies fit into the complex picture outlined above, in which addressing opacity serves a further purpose: increasing reliability and transparency, or ensuring that there is a meaningful human in the loop.

Therefore, opacity is a problem that cannot be addressed following one direction. It is not a matter of simply translating one well-defined phenomenon, as one might translate between two languages. Opacity is better understood as a fluid characteristic of models, and it has to be addressed as such, taking into account context, functionality, the features of the system and, above all, purpose.

 

Virginia Zanetto