Home · Writing · Machine Intelligence

Feedback, Control and the Cybernetic Loop

Prediction can describe a future, but only a causal return path from realised consequence to later action can control one.

TLDR

  1. Prediction can describe a future, but only a causal return path from realised consequence to later action can control one.
  2. At 09:00, an office heating system forecasts the room temperature for the next hour. It knows the outdoor temperature, the insulation coefficient and the heater's nominal output.
  3. That distinction is easy to blur in machine intelligence. A model predicts a token, a route, an action sequence, a demand curve or a probability of failure.
  4. Åström and Murray define the engineering core as sensing, computation and actuation, with stability and disturbance rejection as central design concerns.
  5. This compact result carries the central mechanism. A prediction can estimate x t+1 . Feedback makes observed x t a cause of u t , which in turn changes x t+1 .
A forecast becomes control only when consequence returns A circular causal loop links a target to a controller, action, environment, observation and error. A dashed prediction path can inform the action, while the solid return path from observation changes later action. Target andcontroller Actionchanges the plant Worldwith disturbance Observedconsequence The return path lets realised error alter the next action Prediction can shape action before consequence causal feedback path predictive path
Figure 1. A forecast becomes control only when consequence returns. Authored conceptual figure. The dashed predictive path can improve an action before it is taken. The solid return path makes realised outcome part of the next decision.
On this page

The door that prediction did not open

At 09:00, an office heating system forecasts the room temperature for the next hour. It knows the outdoor temperature, the insulation coefficient and the heater's nominal output. The forecast says that a 73 per cent heater command will hold the room at 21°C. The schedule is mathematically sound.

At 09:17, a cleaner props open the fire door. Cold air enters. The scheduled command continues exactly as planned. By 09:40, the room is uncomfortable. Nothing has gone wrong inside the predictor. Its assumptions have stopped matching the world.

A thermostat behaves differently. It measures the falling temperature, compares it with the target and increases heat. The thermostat may have a crude model or none that deserves the name. Yet it possesses something the forecast lacks: a causal return path from consequence to action. The falling temperature can change what the system does next.

That distinction is easy to blur in machine intelligence. A model predicts a token, a route, an action sequence, a demand curve or a probability of failure. If the prediction is refreshed from new observations and used to alter later actions, the model is operating inside a feedback controller. If the output is generated once and executed without consequential readback, it remains an open-loop plan, however sophisticated the model may be.

The central answer is therefore precise. Feedback adds correction under realised difference. It changes the dynamics of the coupled system so that deviations can decay rather than accumulate. Its distinctive benefit is robustness to model error and unmodelled disturbance. Its distinctive danger is that a badly designed return path can amplify noise, delay and error into oscillation or collapse.

Part I · Causal wiring

Prediction can be right and still be powerless

A prediction is a conditional statement about a future: given this state, these actions and these assumptions about disturbance, this trajectory is expected. It can be extraordinarily accurate and still lack any power to maintain a target. Causal influence depends on wiring, not descriptive quality.

James Clerk Maxwell's analysis of centrifugal governors made stability, rather than mere mechanism, a mathematical problem in the nineteenth century.[1] Norbert Wiener later gave the broader field its cybernetic name, joining control and communication across machines and organisms.[2] The durable idea is neither the steam engine nor the thermostat. It is circular causation: action changes the world, observation returns information about that change, and the returned information changes subsequent action.

Thought experiment 1: the twin rooms

Build two physically identical rooms. Give both the same perfect nominal heating model and the same planned command. Add one difference: Room B reports its actual temperature every minute, and that observation can change the next heater command. Room A does not.

With the doors closed, both rooms follow the same trajectory. Now open both doors for thirty minutes. The model, initial state and actuator are still matched. Only the return path differs. Room B can counter the unexpected loss; Room A cannot. The added capability is not better forecasting. It is consequence-sensitive action selection.

Three causal wirings that should not be collapsed

Open-loop control chooses an action sequence from an initial state and a model, then executes it without using the realised trajectory to revise the sequence. Feedforward control measures or predicts a disturbance before it has produced error, then compensates in advance. Feedback control measures the state or output after the world has responded, compares it with a target and changes later action.

The three can coexist. A building controller may use a weather forecast as feedforward, a thermal model for planning and room sensors for feedback. A robot may predict a trajectory, estimate contact forces and replan after each camera frame. The useful question is not whether prediction or feedback is superior. It is which new information can enter the action policy, and when.

WiringWhat informs actionWhat it can handleCharacteristic failure
Open-loop planInitial state, model and assumed disturbancesRepeatable, well-modelled trajectoriesUnobserved deviation accumulates
FeedforwardMeasured or predicted disturbance before output errorKnown disturbance with a usable compensating modelUnmeasured disturbance or model mismatch
FeedbackRealised output or estimated state after actionUnexpected deviation within sensing and actuation limitsDelay, noise, wrong sign or excessive gain destabilises the loop
Predictive feedbackCurrent state plus simulated futures, repeatedly refreshedConstraints, anticipation and disturbance recoveryOptimisation or model error combined with a weak return path

Åström and Murray define the engineering core as sensing, computation and actuation, with stability and disturbance rejection as central design concerns. They also stress the other side of the bargain: feedback can create instability, inject sensor noise and couple components into a more complex dynamical system.[4]

The counterfactual test for a real return path

A circular arrow on an architecture diagram does not establish feedback. Telemetry may be collected only for reporting. A critic may comment after the final action. An outcome may update a dashboard while the policy continues from its original plan. The causal test asks what would happen to the next action if the observed consequence were different while the target, model and prior history were held fixed.

In intervention notation, compare the action under the realised observation with the action under an imposed alternative observation: does changing yt change ut+1? The notation is less important than the experiment. Replay the same episode, freeze the outcome channel at its nominal value, and inspect the next action. If nothing changes, the channel is observational rather than controlling. If action changes for every fluctuation, including irrelevant noise, the loop exists but may be badly designed.

The test also separates feedback from a clock-driven update. A planner may issue a different action every minute because the schedule contains time-indexed commands. That is dynamic behaviour, yet the realised plant state has no influence. Conversely, a simple threshold rule can be genuine feedback because crossing the threshold changes action. Control sophistication is not measured by model size; it is measured by the causal use of consequence.

For a learned agent, the clean ablation is to remove or scramble the post-action observation while keeping the model, prompt, tool set and action budget constant. Compare task recovery, redundant actions and unsafe continuation. This does not by itself prove that the observation is correct or sufficient. It proves whether the claimed return path contributes to behaviour.

Part II · Mechanism

The return path changes the dynamics

Consider a deliberately small discrete-time plant. Let xt be deviation from the target at step t, ut the control action, dt an external disturbance, a the plant's natural persistence and b the effect of the actuator:

xt+1 = a xt + b ut + dt A disturbance enters the next state even if the planned action is exactly the one the model selected.

Suppose the controller measures the deviation and applies proportional negative feedback, ut = −k xt. Substitution gives:

xt+1 = (a − b k) xt + dt The gain k does more than choose an input. It changes the effective persistence from a to a − bk.

In this scalar, delay-free, unsaturated case, deviations decay when |a − bk| < 1. If the factor is close to zero, error is corrected rapidly. If it is negative, the state alternates around the target. If its magnitude exceeds one, error grows. The controller has altered the law of motion of the coupled plant-controller system.

This compact result carries the central mechanism. A prediction can estimate xt+1. Feedback makes observed xt a cause of ut, which in turn changes xt+1. The system no longer follows the plant's open-loop dynamics. It follows closed-loop dynamics whose stability must be analysed as a whole.

Optional depth: what the scalar equation hides

Real systems are often multivariable, nonlinear, partially observed and constrained. The scalar coefficient becomes a matrix or a local linearisation. Stability may require eigenvalue, Lyapunov, frequency-domain or input-to-state arguments. Sensor delay adds older states to the control law. Saturation makes the effective gain state-dependent. The equation is useful because it exposes the causal change, not because it settles every controller.

Disturbance-response phase portrait Synthetic trajectories plot temperature error against change in error. Feedback controllers curve back towards the target after a door disturbance, while the fixed schedule remains displaced for longer. 0.00.51.01.5-0.05+0.00+0.05 target temperature error, setpoint minus room (°C) change in error per minute (°C) Prediction-only scheduleProportional feedbackPI feedback
Figure 2. Disturbance-response phase portrait. Synthetic data from the article's thermal plant. The horizontal axis is target error; the vertical axis is its one-minute change. Feedback trajectories bend towards the origin after disturbance. The fixed schedule remains displaced until the plant naturally recovers.

Worked example 1: one room, three controllers

Minimal worked case

The synthetic room starts at 21°C with an outside temperature of 10°C. A nominal heat-loss model says that a 0.733 heater command will hold the target. Between minutes 40 and 75, an open door adds an unmodelled heat loss. The actuator is limited to the interval from zero to full output.

The prediction-only schedule keeps issuing 0.733. It does not fail to execute its plan; the plan fails to absorb new evidence. A proportional controller adds heat in proportion to current error. A proportional-integral controller also accumulates persistent error, allowing it to counter a sustained bias that proportional action alone may leave.

The common PID form combines proportional response, accumulated error and error trend. Integral action is powerful because a constant disturbance keeps adding evidence until the controller produces enough opposing action. It is dangerous because the integral can continue growing when the actuator is saturated, producing overshoot after the constraint clears. The simulator uses a simple conditional anti-windup rule.

Controller response in the synthetic room A line chart compares a fixed prediction-only heater schedule with proportional and proportional-integral feedback under a temporary open-door heat disturbance. 02040608010012014019.520.020.521.021.5 door open elapsed minutes room temperature (°C) Prediction-onlyP feedbackPI feedback
Figure 3. Three controllers meet the same open door. Synthetic, deterministic simulation. The fixed schedule reaches a maximum deviation of about 1.39°C. Proportional feedback limits the deviation to about 0.61°C. The tuned PI controller limits it to about 0.41°C, at the cost of more control effort and mild overshoot.

The comparison is not a universal ranking. Different gains, noise, delays or actuator limits can reverse it. Its role is to isolate one causal feature: after the door opens, measured error contains information that was absent from the original schedule. The feedback controllers can use it. The schedule cannot.

W. Ross Ashby's language of requisite variety sharpens the intuition. A regulator needs enough distinguishable responses to counter the relevant variety of disturbances.[3] More actions are not automatically better, and the theorem is not a recipe for arbitrary complexity. It is a warning that a controller whose sensors or actuators collapse materially different situations into one response cannot regulate them all.

What the curves establish, and what they leave open

Maximum deviation answers one question: how far did the room move from the target? Integrated absolute error answers another: how much discomfort accumulated over the episode? Heater effort approximates a third: what corrective resource was consumed? A controller that wins one measure can lose another. High gain may reduce peak error while spending more energy or producing oscillation after the door closes.

The target itself may be a region rather than one number. Occupants might accept 20.5°C to 21.5°C, making small corrections economically pointless. A dead band can prevent rapid switching, but it also permits bounded error. The design choice depends on consequence: a half-degree deviation in an office is unlike a half-degree deviation in a chemical reactor.

The simulation also holds measurement accuracy, actuator health and outside temperature fixed. A credible controller comparison varies these features separately. Seed model bias to test robustness, sensor delay to test stability, actuator limits to test windup and observation corruption to test false correction. A feedback claim is about a disturbance distribution and a control envelope, not one attractive trajectory.

Prediction becomes stronger when it stays inside the loop

Feedback is sometimes caricatured as reactive and prediction as intelligent. Modern control dissolves that contrast. Model predictive control observes the current state, solves a finite-horizon optimisation problem, applies only the first action and repeats at the next sampling instant. The prediction supplies foresight; repeated observation prevents that foresight from becoming a frozen commitment. Mayne et al.'s review makes this receding-horizon structure explicit and highlights its ability to handle hard constraints on states and controls.[8]

Prediction inside feedback: receding-horizon control At each cycle the controller observes the current state, predicts candidate futures, optimises under constraints, applies only the first action and repeats from the newly observed state. Observecurrent statePredictcandidate futuresOptimiseunder constraintsActfirst step onlyRepeatfrom new state the next cycle starts from consequence, not from the old forecast Planning remains predictive. Re-observation makes the plan part of a closed loop.
Figure 4. Prediction inside feedback. Authored receding-horizon sequence. A finite plan is repeatedly rebuilt from the newly observed state, so prediction anticipates while feedback corrects.

Thought experiment 2: the cup that moves

Give two robot arms the same camera, predictive policy and one-second action sequence. Robot A observes the cup once and executes the complete sequence. Robot B executes the first tenth of a second, observes again and replans. After three tenths of a second, move the cup five centimetres.

The model capability is held constant. Only the observation-action cadence changes. Robot A continues towards the old pose. Robot B can curve towards the new pose, provided its camera, compute and actuator are fast enough. A learned policy can therefore be predictive and closed-loop at once.

Diffusion Policy is one modern illustration. Its authors combine a generative action policy with visual conditioning and receding-horizon control, reporting results across twelve tasks from four manipulation benchmarks.[9] The benchmark does not prove that feedback alone caused every improvement. It shows how a learned predictor can be embedded in a loop that repeatedly conditions action on current visual evidence.

This distinction matters for language-model agents. Generating a ten-step plan is not the same as controlling a ten-step process. A closed-loop agent checks whether each action changed the environment as expected, updates world state and replans when the preconditions of later steps no longer hold. Planning chooses a possible path; feedback decides whether the world is still on it.

Part III · Boundaries

The serious negative control: a world that exactly matches the model

A causal claim earns credibility by facing a case where its preferred mechanism is unnecessary. Remove the door disturbance. Make the plant deterministic, the model exact, the initial state known, the actuator faithful and every future disturbance available at planning time. The nominal open-loop schedule now keeps the room exactly at target.

Feedback receives no new information because realised state never departs from predicted state. Its sensors, computation and actuator updates add cost without improving the trajectory. In some settings they can add measurement noise or failure points. Under perfect knowledge and perfect execution, an open-loop plan can equal the closed-loop result.

Negative control: when feedback earns nothing In a perfectly known deterministic room with no disturbance or measurement error, the prediction-only schedule and both feedback controllers follow the same flat setpoint trajectory. All trajectories coincide at 21°C exact model · known conditions · no disturbance · no sensor error elapsed time temperature Here the open-loop plan is simpler. Feedback earns value only when observation carries new, actionable information.
Figure 5. Negative control: when feedback earns nothing. Synthetic exact-model case. All three trajectories coincide. This control rules out the claim that feedback is intrinsically superior regardless of uncertainty, disturbance or mismatch.

The negative control locates the real advantage. Feedback earns its cost when observation carries action-relevant information that was unavailable or unreliable at planning time. The benefit grows with disturbance, drift and model mismatch, then falls when sensing is too noisy, delayed or weakly connected to useful action.

Feedforward may still be better for disturbances that can be measured early. If a weather service predicts a cold front accurately, pre-heating can avoid the error that feedback would wait to observe. The strongest design often combines anticipation with correction, then tests which source of information actually improved the outcome.

Feedback is a bargain, not a free upgrade

Negative feedback opposes deviation only when the signal's sign, timing and scale are right. Reverse the sign and a small error produces an action that increases the error. Increase gain without accounting for delay and the controller reacts to a state that no longer exists, overshoots, sees the opposite error and overshoots again. The loop oscillates or diverges.

The stability bargain: gain meets delay A synthetic heat map for a simple delayed scalar plant shows that larger feedback gain can speed correction at low delay but produces oscillation or divergence as delay grows. gain 0.00, delay 0: divergentgain 0.33, delay 0: stablegain 0.67, delay 0: stablegain 1.00, delay 0: stablegain 1.33, delay 0: stablegain 1.67, delay 0: stablegain 2.00, delay 0: stablegain 2.33, delay 0: stablegain 2.67, delay 0: stablegain 3.00, delay 0: stablegain 3.33, delay 0: stablegain 3.67, delay 0: stablegain 4.00, delay 0: stablegain 0.00, delay 1: divergentgain 0.33, delay 1: stablegain 0.67, delay 1: stablegain 1.00, delay 1: stablegain 1.33, delay 1: oscillatorygain 1.67, delay 1: oscillatorygain 2.00, delay 1: oscillatorygain 2.33, delay 1: oscillatorygain 2.67, delay 1: oscillatorygain 3.00, delay 1: oscillatorygain 3.33, delay 1: oscillatorygain 3.67, delay 1: oscillatorygain 4.00, delay 1: oscillatorygain 0.00, delay 2: divergentgain 0.33, delay 2: stablegain 0.67, delay 2: stablegain 1.00, delay 2: oscillatorygain 1.33, delay 2: oscillatorygain 1.67, delay 2: oscillatorygain 2.00, delay 2: oscillatorygain 2.33, delay 2: oscillatorygain 2.67, delay 2: slowgain 3.00, delay 2: divergentgain 3.33, delay 2: divergentgain 3.67, delay 2: divergentgain 4.00, delay 2: divergentgain 0.00, delay 3: divergentgain 0.33, delay 3: stablegain 0.67, delay 3: oscillatorygain 1.00, delay 3: oscillatorygain 1.33, delay 3: oscillatorygain 1.67, delay 3: oscillatorygain 2.00, delay 3: slowgain 2.33, delay 3: divergentgain 2.67, delay 3: divergentgain 3.00, delay 3: divergentgain 3.33, delay 3: divergentgain 3.67, delay 3: divergentgain 4.00, delay 3: divergentgain 0.00, delay 4: divergentgain 0.33, delay 4: stablegain 0.67, delay 4: oscillatorygain 1.00, delay 4: oscillatorygain 1.33, delay 4: oscillatorygain 1.67, delay 4: divergentgain 2.00, delay 4: divergentgain 2.33, delay 4: divergentgain 2.67, delay 4: divergentgain 3.00, delay 4: divergentgain 3.33, delay 4: divergentgain 3.67, delay 4: divergentgain 4.00, delay 4: divergentgain 0.00, delay 5: divergentgain 0.33, delay 5: stablegain 0.67, delay 5: oscillatorygain 1.00, delay 5: oscillatorygain 1.33, delay 5: slowgain 1.67, delay 5: divergentgain 2.00, delay 5: divergentgain 2.33, delay 5: divergentgain 2.67, delay 5: divergentgain 3.00, delay 5: divergentgain 3.33, delay 5: divergentgain 3.67, delay 5: divergentgain 4.00, delay 5: divergentgain 0.00, delay 6: divergentgain 0.33, delay 6: oscillatorygain 0.67, delay 6: oscillatorygain 1.00, delay 6: slowgain 1.33, delay 6: divergentgain 1.67, delay 6: divergentgain 2.00, delay 6: divergentgain 2.33, delay 6: divergentgain 2.67, delay 6: divergentgain 3.00, delay 6: divergentgain 3.33, delay 6: divergentgain 3.67, delay 6: divergentgain 4.00, delay 6: divergentgain 0.00, delay 7: divergentgain 0.33, delay 7: oscillatorygain 0.67, delay 7: oscillatorygain 1.00, delay 7: slowgain 1.33, delay 7: divergentgain 1.67, delay 7: divergentgain 2.00, delay 7: divergentgain 2.33, delay 7: divergentgain 2.67, delay 7: divergentgain 3.00, delay 7: divergentgain 3.33, delay 7: divergentgain 3.67, delay 7: divergentgain 4.00, delay 7: divergent0.00.71.32.02.73.34.001234567 feedback gain, k sensor-to-action delay (steps) stable oscillatory slow divergent Synthetic plant: x(t+1) = 1.02x(t) − 0.22k x(t−delay)
Figure 6. The stability bargain. Synthetic classification for a simple delayed scalar plant, not a measured industrial system. Larger gain improves correction in the low-delay region. As delay grows, the stable region narrows and oscillation or divergence appears.

Sensor noise creates another trade. A controller cannot respond to measured error without also responding to measurement error. Filtering can suppress high-frequency noise but adds delay. Derivative action can anticipate trend yet is especially sensitive to noisy differences. Controller design is therefore an allocation problem among speed, noise sensitivity, robustness and control effort.

State may also be hidden. A camera sees pixels, not object pose; a service exposes latency samples, not the complete queueing state; a patient monitor observes proxies, not physiology in full. Kalman's classic formulation made recursive state estimation from noisy measurements a central companion to control.[5] Estimation does not remove uncertainty. It turns observations and a process model into a state estimate whose error must remain visible.

Actuator saturation establishes a harder boundary. A thermostat can recognise a 10°C deficit and still lack enough heater capacity to correct it. An agent can detect a policy breach and lack authority to reverse the transaction. A reviewer can notice an error after a letter has already been sent. Observed error is useful only while an admissible action can still change the consequence.

Tsense + Tdecide + Tactuate + Tverify < Tirreversible The sensing, decision, actuation and verification cycle must finish before the consequence crosses its practical point of irreversibility. The inequality is a design test, not a universal physical law.

Explicit failure boundary

Feedback ceases to help when relevant error is unobservable, the feedback signal does not discriminate causes, available action lacks authority or capacity, the correction arrives after irreversibility, or the return path is unstable or corrupted. More frequent monitoring cannot repair those missing conditions.

The internal model principle adds a qualified point. In specified linear regulation settings, persistent rejection of a class of reference signals or disturbances requires the controller to embody the relevant generating structure.[7] Conant and Ashby's good-regulator result likewise linked successful, simple regulation to a model under its assumptions.[6] Neither justifies the casual slogan that every capable agent must carry an explicit, human-readable world model. Recent work on embodied agents argues that the classic result does not generalise straightforwardly outside its restricted setup and that an observer's interpretation can make the model trivial or perspective-dependent.[10]

Part IV · Machine intelligence

A model output is not yet a cybernetic loop

Machine-intelligence systems often use feedback language loosely. A dashboard records results, but nobody or nothing changes action. A user corrects a response, but the correction is not validated or scoped before entering memory. A model critiques its own answer, but no independent signal discriminates the original error from a more persuasive rewrite. These are information flows. They become control only when they alter a later action in a way that is causally connected to the target outcome.

The system boundary matters. A language model can propose an action, estimate consequences and explain alternatives. Identity, permission and effect limits should remain enforceable outside the model. After execution, an outcome observer must establish what changed in the external system. That evidence updates world state and determines whether the next step should continue, compensate, retry or escalate.

A machine-intelligence loop needs outcome, not only output A nested loop places a model proposal inside a deterministic authority boundary. Action reaches an external system; outcome observation and evidence return to world state and replanning. Intent and identity remain outside the stochastic model. intent and identity constrain every cycle World state reconciled reality Model proposal candidate action stochastic Authority kernel identity · permission preconditions · limits idempotency · recovery deterministic External effect Outcome observer readback · evidence · receipt Output is a proposal. Outcome is a verified change in state.
Figure 7. A machine-intelligence loop needs outcome, not only output. Authored system cutaway. The model proposal remains stochastic. A deterministic authority kernel constrains effects. Authoritative readback updates world state before replanning.

Five distinctions prevent category errors:

ObjectQuestion it answersWhy it is not interchangeable
PredictionWhat may happen under assumptions?It need not cause or authorise an action.
Model proposalWhat action appears useful?A proposal is not permission or execution.
Action receiptWas the command accepted by an interface?Acceptance does not prove the intended effect occurred.
Effect receiptWhat authoritative state change was observed?It supplies consequence evidence for control and audit.
Learning updateWhich policy or parameter should change across episodes?Online control can correct a state without changing model parameters.

The distinction between control and learning is especially important. A thermostat can regulate for years without learning new parameters. A model can be fine-tuned from historical outcomes while remaining open-loop during each live action. Learning changes a procedure across episodes. Feedback control changes action within an episode or process because the realised state differs from the desired state.

Fast loops, slow loops and target ownership

Compound AI systems usually contain several loops with different clocks. A millisecond scheduler controls token batches. A seconds-level router controls queue and latency. A case workflow controls evidence completeness over hours or days. A release process controls model and prompt changes over weeks. Treating them as one loop hides delay, authority and ownership.

The fast loop should not optimise a target owned by the slow loop unless the relationship is explicit. A latency controller can choose among approved routes, but it should not redefine the quality threshold to make its service-level objective easier. A model-improvement loop can propose a new routing policy, but release and rollback remain separate decisions with broader evidence. Each loop needs its own setpoint, observer, actuator and escalation boundary.

Proxy feedback is especially dangerous. User clicks may be observable and frequent, yet they do not uniquely identify truth, safety or long-term value. Rewarding clicks can create a stable loop around the wrong variable. The system may become excellent at preserving the proxy while moving away from the institution's actual objective. The remedy is not simply a richer reward. It is to state which target is operationally controllable, which outcome is only measurable later and who has authority to trade them.

Nested loops also explain why a local controller can be healthy while the whole system fails. Autoscaling may hold latency while spend grows beyond budget. A verifier may reduce unsupported claims while human review queues become unmanageable. Local stability does not guarantee system-level acceptability. Cross-loop constraints and slower supervisory control are part of the design.

The site's separate article on reflection and self-correction develops the downstream implication for generated artefacts: revision becomes dependable only when error-sensitive evidence and terminal verification enter the loop.[11] The present argument supplies the more general foundation. A second pass is feedback only if its signal can distinguish and correct a property that matters.

Worked example 2: controlling an inference service

Production-shaped scenario

A synthetic inference platform aims to keep p95 response latency below two seconds while holding error rate below one per cent and respecting a compute budget. It can adjust replica count, admission rate, batching and model route. No client system or measured deployment result is implied.

A demand predictor estimates the next hour's arrival rate and schedules capacity. Under the expected pattern, the schedule is cheaper than constant overprovisioning. At 14:07, a product event creates a burst the forecast did not contain. A provider also slows one model endpoint. Queue depth rises before p95 latency fully reflects the problem.

An open-loop scheduler keeps the original capacity plan. A feedback controller samples queue depth, request age, actual service time, timeout rate and cost. It can add bounded capacity, reduce batch size, shed low-priority work or route eligible requests to a smaller model. The predictor remains useful as feedforward. Consequence data closes the loop.

A naive controller can make the incident worse. p95 is delayed and noisy. If the controller doubles replicas whenever one interval breaches the threshold, new replicas arrive after the burst has begun to fall. The next sample looks healthy, so it removes them. Repeated gain on delayed evidence creates capacity flapping. A better design uses a faster leading signal, hysteresis, cool-down, hard cost limits and an explicit degraded mode.

The controlled variable also needs care. Optimising latency alone may route every request to the cheapest fast model and reduce task quality. Optimising average quality alone may violate an interactive service objective. The controller therefore operates over a constrained target set, not one scalar vanity metric. Hard safety, entitlement and data-residency constraints remain outside the learned router.

Command acceptance is not consequence

Suppose the orchestrator sends “increase replicas from 12 to 20” and the API times out. The effect may have failed, succeeded or partially completed. Immediate blind retry can create 28 replicas or trigger competing reconciliations. The correct control state is unknown outcome. The controller reads authoritative deployment state using the action identifier, reconciles the result, then decides whether to retry.

The unknown-outcome branch A sequence shows a command sent, an acknowledgement timeout, an external effect that may or may not have happened, authoritative readback, reconciliation and only then a safe retry or continuation. Command with action ID Timeout no effect receipt Effect status unknown, not failed retry could duplicate Readback authoritative state Reconcile continue or retry Observe consequence before acting again Transport acceptance is not evidence that the intended state changed.
Figure 8. The unknown-outcome branch. Authored temporal sequence. A timeout is uncertainty about effect, not evidence of failure. Readback prevents duplicate or contradictory corrective action.

This is where cybernetics meets operational evidence. The loop needs an observation whose semantics match the target. A successful HTTP response may prove that a request was accepted. A deployment status may prove that capacity changed. Telemetry may show that latency improved. Business outcome may still require a different observer. Close each loop at the level of consequence it claims to control.

The consequence-closure test

A system diagram with a circular arrow can still be open in every consequential sense. The following instrument tests whether the return path can genuinely regulate the claimed target. It is design inference derived from control principles and operational failure analysis, not a published theorem.

The consequence-closure card Five narrowing gates test whether a proposed feedback loop is observable, discriminating, actionable, timely and stable, and verified from outcome. 1ObservableCan intended and realised state be distinguished?2DiscriminatingDoes the signal reveal target-relevant error?3ActionableCan a permitted action still change the result?4Timely and stableCan correction arrive before harm without oscillation?5VerifiedIs success read from effect, not command acceptance? A missing gate means monitoring, advice or hope, not a closed corrective loop.
Figure 9. The consequence-closure card. Practitioner decision instrument. A proposed loop must pass all five gates for the claimed outcome. Different outcomes may require different observers, authorities and cycle times.

Apply the card to one claimed outcome

  1. Observable: name the authoritative observation that distinguishes desired from realised state.
  2. Discriminating: show that the signal changes when the relevant error changes, rather than merely correlating with activity.
  3. Actionable: name the permitted actuator, its range, constraints and compensating action.
  4. Timely and stable: compare sensing, decision, actuation and verification latency with the correction window; test gain, delay, noise and saturation.
  5. Verified: define the effect receipt, unknown-outcome branch, stopping rule and recovery path.

Failure at the first gate means the system is blind. Failure at the second means it sees activity without diagnostic value. Failure at the third means it is monitoring or advising. Failure at the fourth means it may be too late or dynamically unsafe. Failure at the fifth means it can issue commands but cannot establish that correction succeeded.

SituationPreferred mechanismReason
Stable environment, exact model, known disturbanceOpen-loop plan or deterministic workflowFeedback adds little information and may add noise or cost.
Disturbance is measurable before impactFeedforward plus validationCompensation can begin before output error appears.
State deviates unpredictably and remains correctableFeedback controllerRealised error provides new action-relevant information.
Constraints and future trade-offs matterPredictive feedback or receding-horizon planningPrediction anticipates; re-observation prevents stale commitment.
Error is hidden, delayed or ambiguousState estimator, additional evidence or human investigationA controller should not amplify a non-discriminating signal.
Consequence is irreversible before machine correctionPrevention, hold, dual control or accountable human authorityPost hoc feedback cannot undo the outcome.

How to evaluate a feedback claim

Begin with matched systems. Hold the plant, model, actuator, compute budget and initial conditions constant. Compare an open-loop or feedforward baseline with the proposed feedback design. Introduce disturbances whose onset, magnitude and recoverability are known, including a no-disturbance negative control. Random variation alone is not enough because an easier episode can make any controller look effective.

Measure more than final success. Record peak deviation, accumulated error, recovery time, overshoot, control effort, constraint violations and false correction when the initial state is already acceptable. For an agent, add redundant tool calls, repeated side effects, unnecessary escalations and cases where the outcome channel was unavailable. Stratify by disturbance type so one easy family does not conceal a dangerous one.

Then inject faults into the return path. Delay observations, corrupt one sensor, provide a stale effect receipt, saturate the actuator and make one action acknowledgement ambiguous. A robust controller should degrade within stated bounds, enter a safe mode or escalate. It should not silently convert missing evidence into success. The negative control should also test whether feedback perturbs an already correct trajectory.

Finally, ablate the causal pieces. Freeze observation, remove the corrective action, disable readback or replace the controller with matched-cost resampling. The result should reveal which component earned the improvement. The strongest evidence for feedback is differential recovery under controlled disturbance without an unacceptable rise in instability, resource use or false correction.

Executable artefact: a disturbance-response laboratory

The laboratory below runs the synthetic room model used in Figures 2 and 3. It compares a fixed prediction-only schedule, proportional feedback and PI feedback. The default positive case opens the door. The negative-control button removes disturbance and model bias so the three approaches coincide.

0.055°C/min
0 steps
0.0°C

Expected positive case: feedback reduces the maximum temperature deviation after the door opens. Increasing delay eventually creates oscillation or slower recovery.

Controller response in the synthetic room A line chart compares a fixed prediction-only heater schedule with proportional and proportional-integral feedback under a temporary open-door heat disturbance. 02040608010012014019.520.020.521.021.5 door open elapsed minutes room temperature (°C) Prediction-onlyP feedbackPI feedback
Figure 10. Interactive controller comparison. Executable, deterministic JavaScript using synthetic data. Units and assumptions are stated in the article. The core logic includes both a positive disturbance case and a negative control.

The artefact assumes a first-order room, fixed outside temperature, a bounded heater, exact temperature measurement apart from the chosen delay and a temporary additive door loss. Its output is illustrative. It reveals the logic that prose hides: the fixed schedule cannot react to disturbance; feedback trades error reduction for control effort; delay can turn aggressive correction into oscillation.

Core simulation logic and expected output

Run the HTML in any modern browser. No network call or external library is required. In the default case, the prediction-only schedule has the largest maximum deviation. In the negative control, all three remain at 21°C. Raising sensor delay can degrade the feedback controllers.

function stepRoom(temp, outside, heater, doorLoss) {
  const alpha = 0.02;   // heat leakage per minute
  const beta = 0.30;    // heater contribution per minute
  return temp + alpha * (outside - temp) + beta * heater - doorLoss;
}

// Prediction-only: heater is fixed from the nominal model.
// Feedback: current or delayed measured error changes heater.
// PI: accumulated error adds correction, with anti-windup at limits.

Compact glossary

Plant
The process whose state an action changes, such as a room, robot or inference service.
Setpoint
The desired value or admissible region the controller tries to maintain.
Disturbance
An influence on the plant that is not the controller's chosen action.
Gain
How strongly the controller changes action in response to measured error.
State estimate
A bounded inference about hidden plant state from observations and a process model.
Closed loop
A causal cycle in which realised consequence can change later action.

Build the return path before claiming intelligence

Prediction is indispensable. It anticipates delayed effects, supports planning, prices alternatives and makes constraints visible before action. It still does not supply correction by itself. A prediction-only system can describe its departure from the target with perfect eloquence while continuing to act on a stale trajectory.

Feedback's addition is a causal privilege granted to consequence. Realised state is allowed to contradict the plan and alter what happens next. That privilege changes system dynamics and creates robustness to disturbance and model error. It also creates obligations: observe the right variable, preserve sign and timing, bound gain and authority, verify effects, and recover when outcome is unknown.

The architecture decision changes accordingly. Do not ask only whether the model can predict the next state or propose the next action. Ask whether the claimed outcome is observable, whether its error is discriminating, whether an admissible action can still correct it, whether the loop closes before irreversibility, and whether success is read from the world.

When those conditions hold, prediction and feedback reinforce each other. Prediction looks ahead; feedback keeps the look-ahead answerable to reality. When they do not hold, a circular diagram is theatre. The honest alternatives are prevention, stronger sensing, a different actuator, a slower claim, human authority or explicit abstention.