Cybernetics, after Ashby

Ashby’s cybernetics

This Article is Being Calibrated

The evals and judge pipeline on this page are live, but still being calibrated against hand labels via manual review, so outputs may shift.

Still refining:

  • Frozen Jev/Haiku eval
  • Walkthrough steps
  • Live model switch

Seven small machines, in the order Ashby builds them in An Introduction to Cybernetics. Each step is something to play with; the glossary links every term back to the step where it happens.

Step 1

A machine is a rule for change

Click a state to put the machine there, then press Step until it repeats. Switch the input from α to β and try again.


          

For Ashby a machine is only this: a set of states and a transformation saying which state follows which. Following the rule traces a trajectory, which ends at an equilibrium or in a cycle. The input does not move the machine; it chooses which rule applies.

Operand, transform, closure — in Ashby’s words

That which is acted on, the pale skin, will be called the operand, the factor will be called the operator, and what the operand is changed to will be called the transform.

W. Ross Ashby, An Introduction to Cybernetics, Chapman & Hall, London, 1956, §2/2, p. 10.

Such a set of transitions, on a set of operands, is a transformation.

Ashby, 1956, §2/3, p. 10.

A determinate machine is defined as that which behaves in the same way as does a closed single-valued transformation.

Ashby, 1956, §3/1, p. 24.

Both rules here are closed: every arrow lands on one of the six states, so the machine never leaves its set. Each state has exactly one arrow out, so the rule is single-valued and the machine is determinate.

Copyright © 1956, 1999 by The Estate of W. Ross Ashby. Non-profit reproduction and distribution of this text for educational and research reasons is permitted providing this copyright statement is included. Excerpts are capped at 500 characters.

Step 2

Variety, and constraint

Three lamps, each on or off. Click combinations to allow or forbid them, or load Ashby’s example, the British traffic light.

Variety is the number of distinguishable possibilities, often counted in bits. Constraint is variety that could exist but does not: three free lamps give 8 combinations, the traffic light uses only 4, in order. Information is counted the same way: a signal selects one possibility out of a set.

Variety and constraint, in Ashby’s and Beebe’s words

The word variety, in relation to a set of distinguishable elements, will be used to mean either (i) the number of distinct elements, or (ii) the logarithm to the base 2 of the number, the context indicating the sense used.

Ashby, 1956, §7/6, p. 126.

A most important concept, with which we shall be much concerned later, is that of constraint. It is a relation between two sets, and occurs when the variety that exists under one condition is less than the variety that exists under another.

Ashby, 1956, §7/8, p. 127. The traffic-light example follows on the same page.

A regulator, in effect, reduces the ‘flow’ of information from environmental disturbances passing into the system.

Cameron Beebe, Knowledge Transfer in Cognitive Systems Theory: Models, Computation, and Explanation, PhD diss., LMU Munich, 2021, §4.2, p. 57.

Copyright © 1956, 1999 by The Estate of W. Ross Ashby. Non-profit reproduction and distribution of this text for educational and research reasons is permitted providing this copyright statement is included. Excerpts are capped at 500 characters.

Step 3

The black box

Send 0s and 1s into the sealed box and watch its lamp. Each card is a guess about what is inside; a guess is struck out when the record contradicts it.

·

          

    You never see inside, only the record of inputs and outputs. It rules guesses out, but two boxes that behave alike stay alike from outside, whatever their wiring: what the terminals reveal is behaviour.

    The problem, in Ashby’s words

    The engineer is given a sealed box that has terminals for input, to which he may bring any voltages, shocks, or other disturbances he pleases, and terminals for output, from which he may observe what he can. He is to deduce what he can of its contents.

    Ashby, 1956, §6/1, p. 86.

    Ashby calls the record a protocol. “Wire” and “Two relays” are different inside and isomorphic in behaviour: no protocol separates them.

    Copyright © 1956, 1999 by The Estate of W. Ross Ashby. Non-profit reproduction and distribution of this text for educational and research reasons is permitted providing this copyright statement is included. Excerpts are capped at 500 characters.

    Step 4

    Feedback and stability

    A room is kicked off its set temperature twice. The regulator sees only the error and pushes back by gain×error\text{gain} \times \text{error}. Drag the gain below zero, and above 2.

    Feedback means a circle: the result of an action changes the next action. Pushing against the error (negative feedback) is stable; pushing with it (positive feedback) runs away; pushing too hard overshoots. Because this regulator acts only after the error appears, each kick gets through for a moment: it is error-controlled, and never perfect.

    Feedback and the error-controlled regulator, with citations

    When this circularity of action exists between the parts of a dynamic system, feedback may be said to be present.

    Ashby, 1956, §4/11, p. 53.

    A fundamental property of the error-controlled regulator is that it cannot be perfect in the sense of S.11/3.

    Ashby, 1956, §12/5, p. 223. S.11/3 is the regulation game in Step 6.

    In other words, information of the error (distance) between the play (prediction attempt) and the actual goal is fed back into the regulatory mechanism.

    Beebe, 2021, §4.2.1, p. 58, on training neural networks as error-controlled regulators.

    Copyright © 1956, 1999 by The Estate of W. Ross Ashby. Non-profit reproduction and distribution of this text for educational and research reasons is permitted providing this copyright statement is included. Excerpts are capped at 500 characters.

    Step 5

    The homeostat: a loop that rewires itself

    Two coupled needles must stay inside the band. When one leaves it, a uniselector jumps unit 1 to new random settings (a tick on the plot). Press Reverse the wiring and watch it search again.

    • Unit 1 (adapts)
    • Unit 2 (environment)

    That is ultrastability: a second, slower loop that resets the first loop’s parameters (step-functions) whenever an essential variable leaves its limits, and stops once the settings keep it inside. Nothing tells it the right wiring; it keeps whatever works. The result is homeostasis.

    Ultrastability and the homeostat, with citations

    No further critical states are met, no further step-functions change value, and therefore no further changes of field take place. From now on, if the field of the main variables is examined, it will be found to be stable.

    W. Ross Ashby, Design for a Brain: The Origin of Adaptive Behaviour, 2nd ed. (revised), Chapman & Hall, London / Wiley, New York, 1960, §7/23, p. 97. © W. Ross Ashby 1960.

    The purpose of the homeostat was to be demonstrative of core principles: it showed how a simple system could control, through feedback, environmental disturbances and ‘adapt’ to a stable state.

    Beebe, 2021, §4.1, p. 53.

    Ashby’s machine had four units with magnet needles in troughs of water, each with a 25-position uniselector. This one has two units, a 64-position uniselector on unit 1, and a linear field; it settles when that field is stable.

    Step 6

    Regulation and requisite variety

    DD must play first, choosing a disturbance — a row of the table. RR, knowing that row, then chooses an action — a column. The cell at their intersection is the outcome; RR wins only if it is a goal.

    The game, in Ashby’s and Beebe’s words

    DD must play first, by selecting a number, and thus a particular row. RR, knowing this number, then selects a Greek letter, and thus a particular column. The italic letter specified by the intersection of the row and column is the outcome. If it is an aa, RR wins; if not, RR loses.

    W. Ross Ashby, An Introduction to Cybernetics, Chapman & Hall, London, 1956, ch. 11, §11/3, p. 203.

    Both players EE and RR (‘Environment’, ‘Regulator’) have access to their actions (picking rows and columns, respectively), and can see all possible outcomes represented in the table. EE goes first, choosing a row, and RR plays a column for some outcome at the intersection of EiE_i and RjR_j.

    Cameron Beebe, Knowledge Transfer in Cognitive Systems Theory: Models, Computation, and Explanation, PhD diss., LMU Munich, 2021, §4.2, pp. 55–56.

    This is the law of Requisite Variety. To put it more picturesquely: only variety in RR can force down the variety due to DD; variety can destroy variety.

    Ashby, An Introduction to Cybernetics, 1956, p. 207.

    Copyright © 1956, 1999 by The Estate of W. Ross Ashby. Non-profit reproduction and distribution of this text for educational and research reasons is permitted providing this copyright statement is included. Excerpts are capped at 500 characters.

    Play the table, then continue to the Good Regulator Theorem — shattering, description length, and the 2021 restatement. Space toggles play; period steps one epoch.

    Payoff matrix

    Rows are disturbances, columns are actions. Bright cells are goals. The current row is outlined; gold marks the blind play, a pale ring the conditioned play, and violet the model when one is playing. Bars at the left are the disturbance distribution.

    Success rate (last 500 trials)

    • Blind regulator
    • Disturbance-conditioned
    • Dashed lines are the two bounds for this game

    Blind regulator

    0.000

    One urn, used for every disturbance.

    Disturbance-conditioned

    0.000

    One urn per row. Click a square to inspect a disturbance.

    The blind regulator answers every row from one urn, so it has less variety than the disturbance and is stuck near the lower bound. The conditioned one sees the disturbance before acting — cause-controlled, unlike the error-controlled loop of Step 4 — and can reach the upper one.

    A regulator, and the urn

    A cybernetic regulator is part of, or interacts with, a complex system. It controls environmental disturbances by appropriate actions, resulting in a state of the world aligning with a regulatory goal.

    Cameron Beebe, Knowledge Transfer in Cognitive Systems Theory: Models, Computation, and Explanation, PhD diss., LMU Munich, 2021, p. 55.

    A simple example of reinforcement learning treats the distribution as a bag of colored marbles. We choose plays by picking marbles at random from the bag.

    Beebe, Knowledge Transfer in Cognitive Systems Theory, 2021, p. 57.
    How to read the bounds

    The lower dashed line is the blind optimum: the best success rate any single column can get. The upper one is the requisite-variety bound: success if, for each row, the regulator may pick a (possibly different) column that hits a goal, when one exists. Seeing the disturbance is exactly the channel Ashby requires; it is not a cheat.

    On 10×10 games, goal {3}, 10 seeds, last 5,000 of 20,000 epochs, the 2021 Ashby class averaged 0.249 success against a blind optimum of 0.301. A disturbance-conditioned urn reached the requisite-variety bound of 0.603 on every seed. Live scores on this page use a different generator, so they will not match those figures exactly; the two bounds above the chart are computed from the game you see.

    Frozen model-policy eval

    One no-hint call per game: the model sees the raw board and the rules, not the winning columns, and returns a frozen distribution for every row. Jev is the pretrained baseline. Means over seeds 2021, 1 and 7; 5,000 epochs; 10×10; goal {3}.

    Policy Argmax Sampled Log loss KL Brier Gap to RV
    RV bound0.734————0
    Blind bound0.323—————
    Urn, blind0.3080.3013.2842.9690.9630.426
    Urn, conditioned0.7260.7030.8190.5030.1270.009
    Jev0.7350.6690.4540.1380.0280.000
    Haiku0.7350.7350.3160.0000.0000.000
    Oracle0.7350.7350.3160.0000.0000.000

    Haiku matched the oracle on every seed. Jev’s argmax also hits the bound; its sampled play is softer. Spend for this run was $0.0019. Full traces are in eval/results/eval-2026-11-24.json.

    Step 7

    The good regulator is a model

    Conant and Ashby’s 1970 title states the result: “Every good regulator of a system must be a model of that system.” The urn that wins in Step 6 has, row by row, become a map of the table. The next page asks which such map is best: enough control capacity (VC dimension), then the shortest description (Kolmogorov complexity).

    Continue to the Good Regulator Theorem →

    Glossary

    The words, and where they happen

    Cybernetics
    Wiener’s “science of control and communication, in the animal and the machine” (as quoted by Ashby, 1956, §1/1, p. 1). Ashby studies it through what a system does, not what it is made of.
    State · operand · transform · transition
    A state is one condition a system can be in. An operator turns an operand into its transform; that change is a transition. Step 1
    Transformation · machine
    A set of transitions on a set of states. A determinate machine behaves like a closed, single-valued transformation. Step 1
    Closure
    Every transform is already in the set, so the machine never leaves it. Step 1
    Trajectory · equilibrium · cycle
    The sequence of states from a start. It ends at an equilibrium (T(x)=xT(x) = x) or in a cycle. Step 1
    Machine with input · parameter
    A family of transformations; the input selects which one acts. Step 1
    Variety · bit
    The number of distinguishable possibilities, or its log⁡2\log_2 in bits. Step 2
    Constraint
    Variety that could exist but does not; four used combinations out of eight. Step 2
    Information · channel · noise
    A message selects from a set of possibilities, so information is measured like variety. A channel carries variety from one system to another; noise is variety it adds that the sender did not choose (Ashby, ch. 8–9, after Shannon). Step 2
    Black box · protocol
    A system known only through inputs and outputs. The protocol is the record; it identifies behaviour, up to isomorphism. Step 3
    Feedback (negative, positive)
    Circular action between parts. Negative feedback opposes deviation; positive feedback amplifies it. Step 4
    Stability
    After a disturbance, the system returns to (or stays near) its equilibrium. Step 4
    Error-controlled regulation
    Acting on the error after it appears, like a thermostat. Never perfect: the disturbance gets through first. Step 4
    Homeostasis · essential variables
    Keeping the variables that matter for survival inside their limits. Step 5
    Ultrastability · step-function · homeostat
    A second loop that changes the first loop’s parameters in jumps until the essential variables stay in bounds. Ashby’s homeostat (1948) built it. Step 5
    Disturbance · regulation
    A disturbance pushes outcomes away from the goal; regulation is blocking that variety from reaching the outcome. Step 6
    Law of requisite variety
    Only variety in the regulator can force down the variety due to the disturbance. Step 6
    Cause-controlled regulation
    Acting on the disturbance itself, before it reaches the outcome; this is how a regulator can be perfect. Step 6
    Good regulator theorem
    Every good regulator of a system must be a model of that system (Conant and Ashby, 1970). Step 7 · GRT page
    Beyond Ashby’s core (no interactive here)
    Amplifying regulation · intelligence amplification
    Ashby, 1956, ch. 14: a small regulator can control a large system by regulating a regulator, and problem-solving is selection, so the power to select can be amplified like physical power.
    Second-order cybernetics
    Heinz von Foerster’s cybernetics of observing systems: the observer, and the act of describing, are inside the system described.
    Autopoiesis
    Maturana and Varela (1972): a system that continually produces the components that produce it, such as a living cell.
    Viable system model
    Stafford Beer’s model of an organisation that stays viable: five interacting subsystems, repeated at every level, each with requisite variety for its environment. See the Position page.

    W. Ross Ashby, An Introduction to Cybernetics, Chapman & Hall, London, 1956, chs. 2–12. Full text: W. Ross Ashby Digital Archive PDF. Quoted excerpts are capped at 500 characters and carry the estate notice under “The game, in Ashby’s and Beebe’s words.” Ashby’s journals, papers and books: W. Ross Ashby Digital Archive. W. Ross Ashby, Design for a Brain: The Origin of Adaptive Behaviour, 2nd ed., Chapman & Hall / Wiley, 1960 (1st ed. 1952); one short excerpt, §7/23, p. 97. Full text: W. Ross Ashby Digital Archive PDF. Roger C. Conant and W. Ross Ashby, “Every good regulator of a system must be a model of that system,” International Journal of Systems Science 1 (2), 1970, 89–97, doi:10.1080/00207727008920220.

    Cameron Beebe, Knowledge Transfer in Cognitive Systems Theory: Models, Computation, and Explanation, PhD diss., LMU Munich, 2021, §4.2 (the regulation game), edoc.ub.uni-muenchen.de/28655. The 2021 restatement of the Good Regulator Theorem, with shattering and description length, is on the GRT page. 2021 demo source: CameronBeebe/Cybernetics.