Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 27

Ashby's Black Box Method

Recommended resources

Welcome to this next lesson in our exploration of variety and regulation. In our last discussion, we examined the powerful strategies of variety attenuation and amplification, which Stafford Beer termed "variety engineering." We saw how these are used to manage complexity in systems where the lines of cause and effect are at least somewhat understood.

But what happens when a system is so complex, so vast, or so deliberately opaque that we cannot see its internal mechanisms at all? How do you begin to understand, let alone regulate, a system whose inner workings are a complete mystery? This lesson addresses that fundamental challenge. We will explore Ashby's Black Box method for investigating systems whose internal structure is unknown. This is a cornerstone of cybernetic practice, moving from managing known complexity to the systematic exploration of the unknown. For you, this provides a crucial analytical tool, directly applicable to the kinds of large-scale, opaque systems like economies or complex organizations that inspired Project CyberSyn.

1. The Observer and the System: A Philosophical Starting Point

Before we delve into the method itself, we must grasp a subtle but profound philosophical point that underpins all of Ashby's work. In cybernetics, a "system" is not the same thing as a "real machine" or physical object. A system is an abstraction, a set of variables chosen by an observer from the infinite possibilities a real object presents.

Your computer is a "real machine." From it, you could define a system of variables related to CPU temperature and fan speed. Someone else could define a system based on network packets and port status. A third person could define one based on pixel color and screen brightness. All are valid "systems" abstracted from the same real machine. The choice of variables is an act of the observer.

This diagram illustrates the crucial relationship in Ashby's thinking. An "Observer" creates and uses an "Abstracted system" by selecting variables from a "Real machine." The system is a product of the observer's perspective.

This distinction is not just semantic; it is the very foundation of the Black Box method. The method is not about discovering the one "true" nature of the thing in the box. It is about the observer building a consistent model of its behavior based on a chosen set of interactions.

Ashby's cybernetics

This text digs into Ashby's original writings to clarify this critical distinction. It shows how the observer's role is not passive but active in defining the very system they are studying.

First, in the section "On abstracting dynamic systems from a real machine," read the short quotes from Ashby's Design for a Brain. Focus on points 2/4 and 2/5. Next, jump to the section "What was new?" and under the subheading "System as observers abstraction," read the same two quotes again, this time with additional commentary: start at 2/4. This reinforces the idea that the experimenter's selection is the first and most crucial step.

With this observer-centric view in mind, let's now turn to the problem of the box itself.


2. The Problem of the Black Box

Imagine you are given a sealed box. It has a set of input levers you can manipulate and a set of output dials you can observe. You are not allowed to open it. The "Problem of the Black Box," which originated in electrical engineering, is this: What can you deduce about its contents and behavior just by operating the inputs and watching the outputs?

The fundamental setup for the Black Box method. An Experimenter or Observer provides inputs to an opaque "System of interest" (the Black Box) and observes the resulting outputs. The goal is to understand the relationship between them.

Ashby realized this problem applies to almost any situation where a mechanism is not fully understood. A doctor giving a patient tests (inputs) and observing symptoms (outputs) is treating the body as a black box. A child learning that turning a handle (input) opens a latch (output) is solving a black box problem.

The cybernetician Ranulph Glanville, reflecting on Ashby's work, emphasizes how central this idea is.

[PDF] A (Cybernetic) Musing: Ashby and the Black Box - Ranulph Glanville

Glanville's paper provides a clear, philosophical overview of Ashby's approach and its profound implications.

First, read the two paragraphs starting with Here is Ashby to understand the sheer breadth of the problem. Then, read Ashby's core questions about the method, quoted by Glanville. Start from The questions we are interested in. These three questions define the entire research program. Finally, notice the crucial insight in the paragraph that begins for what we are considering. The observer is not separate from the system but forms a larger, compound system with it.

The method itself is beautifully simple in principle, though it can be laborious in practice. The investigator must be systematic:

  1. Define the Inputs and Outputs: Choose the variables you will control (inputs) and the ones you will measure (outputs). This is the act of abstraction we discussed earlier.
  2. Operate and Observe: Manipulate the inputs through all their possible states and carefully record the corresponding state of the outputs for each one. This creates a "protocol" or a table of observations.
  3. Deduce the Transformation: Analyze the protocol to find a consistent pattern or rule. The goal is to find a "transformation" or "mapping" that reliably predicts the output for any given input. This transformation is the canonical representation of the machine's behavior.

This is not about guessing what physical components are inside. It is about producing a functional model that is equivalent to the box in its behavior.


3. A Modern Analogy: Explaining AI Models

Your background in computer science provides a perfect modern context for this 70-year-old idea. Many modern machine learning models, especially deep neural networks, are treated as "black boxes." Their internal structure, with millions of interconnected parameters, is too complex for a human to inspect directly and understand why a decision was made.

The field of "Explainable AI" (XAI) often uses techniques that are, in essence, applications of Ashby's Black Box method.

Verifying AI 'Black Boxes' - Computerphile

This Computerphile video demonstrates a method for "verifying" an AI black box. Watch how the presenter probes the system from the outside to understand its behavior, without ever looking at the model's internal code or weights.

First, watch the section where the presenter explains why they won't open the box: don't open the box. The reasons—complexity and the need for a general method—are exactly Ashby's. Next, see the method in action. The presenter uses a "cardboard" to systematically alter the input image and observes the effect on the output classification: playing with the image. This is a direct parallel to an investigator manipulating levers and watching dials. The goal is to find the "minimal sufficient" part of the input that produces the output, which is a way of discovering the system's behavioral rule. Finally, see how this method is used to diagnose an error: uncover misclassifications. By observing the input-output relationship, they deduce the AI is using the wrong feature (a person's face) to identify a "cowboy hat." They understood the system's flawed logic without ever opening the box.

This example powerfully illustrates that Ashby's method is not just a historical curiosity. It is a living, practical approach for dealing with complex, opaque systems, whether they are made of neurons, silicon, or social structures.


4. What We Can and Cannot Know

It is crucial to be precise about what the Black Box method reveals. It does not tell you what the system is. It tells you what the system does. The method yields a model of the system's behavior, its input-output function. Any other box with different internal parts that produces the same output for every input is, from the outside, behaviorally identical.

Furthermore, the method can be used to decompose a complex "real machine" into its functionally separate subsystems. Imagine a "glass box" where you can see all the parts: a light bulb with a switch, and two independent pendulums, each with its own string.

Ashby's cybernetics

This section provides a clear, concrete example of applying the method to a system whose contents are visible but whose functional organization is unknown.

Read the section "A scenario (a simplified version of Ashbys)." Follow the logic: the investigator starts with one "real machine" and one "system" of three variables. By systematically testing the inputs (switch, strings), they discover that the machine actually embodies three independent machines from a functional perspective. The light and the two pendulums are not connected.

This demonstrates that the goal is to understand the organization of behavior. The Black Box method is the tool for mapping the functional connections (or lack thereof) within a system, regardless of its physical construction.


Conclusion

In this lesson, we have explored a fundamental cybernetic method for approaching the unknown. You've learned how to describe Ashby's Black Box protocol and, just as importantly, the philosophical mindset behind it.

Here are the essential takeaways:

  • The Black Box Problem: How to understand a system whose internal mechanisms are inaccessible or too complex to analyze directly.
  • The Observer's Role: The investigator actively defines the "system" by choosing which inputs and outputs to observe from a "real machine."
  • The Method: A systematic process of manipulating inputs, observing outputs, and analyzing the resulting protocol to deduce the system's behavioral rules or "transformation."
  • The Goal: To create a functional model that describes what the system does, not necessarily what it is made of. This model is the system's "canonical representation."
  • Modern Relevance: The principles of the Black Box method are actively used today in fields like Explainable AI to probe and understand complex computational models.

The Black Box method provides a way to investigate an unknown adaptive system. In our next lesson, we will look at Ashby's most famous creation: the Homeostat. This was a machine he built to demonstrate the principle of ultrastability—the ability of a system to automatically find a stable configuration in the face of unknown disturbances, embodying the very principles of adaptation we've discussed.