Edition 02 · Behavior · Prediction · Curiosity

What makes
a system curious?

A machine turns toward a light. Another learns to play. What has to change between the two?

This edition follows the first three works on your shelf: Vehicles, the free-energy review, and the Playground experiment. One gives us simple behavior, one a language for prediction, and one a way to choose what to learn next.

Ideas first3 interactive examplesOptional math
Begin with two wires
How to read this edition

Follow the examples without opening any calculations. Pause to predict what each control will change. The suggested links between works are interpretations to investigate; the sources do not establish a single shared mechanism.

Notes and chapter marks belong to this edition and save only in this browser. Edition 01 and its notes are still in the edition menu above. Download notes to move a copy between devices.

01 / Start smallConnections → behavior

A small machine,
a large story.

Picture a little cart with two light sensors and two powered wheels. The light is stronger on its left. If that makes its left wheel turn faster, which way will it turn?

The faster wheel travels further. With the left wheel faster, the cart curves right. Now swap the wires: the left sensor drives the right wheel, and the right sensor drives the left. The same light difference makes the cart curve left.

Book · Braitenberg, 1984 [1]

Build a cause before inventing a mind

In Vehicles, Braitenberg constructs hypothetical machines whose increasingly elaborate behavior invites psychological descriptions. The publisher presents them as thought experiments. Their appeal is a question we can borrow: how much of a convincing behavior could come from a surprisingly small mechanism?

Your first shelf item →
Try 01 · Our own wiring model

Change the connection, keep the input

Predict the turn before switching the wiring. The cart faces upward; we show its immediate turn, without simulating a journey.

Two sensors connected to two wheelsWith same-side wires and stronger light on the left, the left wheel is faster and the cart curves right.
The cart curves right.
A teaching model with normalized sensor readings from 0 to 1, wheel speed = 0.2 + sensor reading, forward motion, equal wheels, and no slipping. Light balance is an input we set; it is not calculated from a lamp’s position. No learning occurs.
Optional: one tiny calculation

With left light 0.8 and right light 0.2, same-side wiring gives left speed 0.2 + 0.8 = 1.0 and right speed 0.2 + 0.2 = 0.4, in arbitrary speed units. Swapping the wires swaps those speeds. Equal speeds mean straight ahead.

A connection to keepNotes stay in this browser. Download them to keep a copy.
02 / Add an expectationAct → observe → revise

What would happen
if I tried?

The cart’s wires never change. Suppose we add a different ability: before acting, a machine predicts what its sensors will report afterward. It can then compare what happened with what it expected.

A scene to imagine

A robot taps an object. It predicts movement, but the object stays still. Perhaps the object is heavy. Perhaps the tap missed. Perhaps the sensor failed. A mismatch tells it that something needs explaining; it does not identify the explanation.

Now the robot can try a different tap, look more closely, or change its prediction. Each choice changes a different part of the loop.

BeforePredict a sensory result
DuringAct in the world
AfterCompare and revise
A conceptual loop created for this reader. A prediction alone does not specify how the system learns or chooses an action.

That last point matters. We could make the prediction more accurate by improving the model. We could also visit only familiar situations. Both can lower error, but they lead to very different lives for our machine.

A connection to keepNotes stay in this browser. Download them to keep a copy.
03 / Choose the next experienceDifficulty → progress

Choose what is
becoming learnable.

Give our learner three places to spend its time. One is familiar. One is difficult but has a pattern it can begin to learn. One produces outcomes its current model cannot predict well.

Always choose the lowest error and it may stay with the familiar task. Always choose the highest error and it may chase an unpredictable signal. A third option is to ask: where are my predictions improving?

Robotics experiment · Oudeyer and colleagues, 2005 [2]

A reason to move on

The Playground experiment used a physical AIBO robot, sensory predictions, and an internal reward based on learning progress. Its Intelligent Adaptive Curiosity mechanism assessed changes in prediction error within regions of experience. The authors report a progression toward more coordinated interactions with objects.

That is evidence about an engineered robot in a particular setup. It does not establish that human curiosity uses the same algorithm.

Your third shelf item →
Try 02 · Invented learning histories

Where is improvement happening now?

Move through practice. Look for the curve that is falling fastest now, rather than the one that is highest or lowest.

Three invented prediction-error historiesTwo tasks become more predictable at different rates; a third has constant average error.
A · Quick to learnB · Slower to learnC · No improvement
Invented curves, not experimental data. Each task has its own practice-attempt count. At each checkpoint we compare the mean of the previous four errors with the latest four. The shaded span covers those eight attempts. C is an idealized flat average, not generated random samples. No robot is being trained or choosing actions here.
Optional: progress is a difference

Imagine an earlier average error of 0.6 and a recent average of 0.4. The improvement is 0.6 − 0.4 = 0.2. If both are 0.6, the improvement is zero, even though the error is high. A negative result means predictions got worse.

To generate the curves, we used A = 0.05 + 0.8 × exp(−0.6 × (t − 1)), B = 0.05 + 0.8 × exp(−0.12 × (t − 1)), and C = 0.75. The symbol t counts attempts, and exp means the exponential function. You do not need these formulas to follow the comparison.

These short averages make the illustration readable. The paper uses a richer regional system, different smoothing windows, and occasional exploratory actions. A recent decline is a clue, not a guarantee that the next attempt will help.

A connection to keepNotes stay in this browser. Download them to keep a copy.
04 / Keep the distinctionExpectation → surprise

A useful tension
about surprise.

We just gave a machine a reason to explore. Now your second shelf item asks us to think about systems that reduce an information-theoretic quantity related to surprise. Is that a contradiction?

First ask what “surprise” means. Imagine a jar of tokens. Before drawing, you assign a probability to drawing white. When a white token appears, it is less expected if you assigned it a small probability. That says something about the outcome under your model, not how delighted or startled you feel.

Try 03 · The same outcome, different expectations

A white token has been drawn

Assigned chances of drawing white or darkThe model assigns equal probability to white and dark tokens.
A discrete two-outcome model. The bar shows assigned probabilities, not a measured jar composition. The outcome stays white while you change the expectation; the slider does not perform Bayesian updating. The display uses bits, with the optional calculation below.
Optional: give surprise a number

One definition is surprise = −log₂(p), where p is the probability assigned to the event that occurred, with 0 < p ≤ 1. Read log₂ as “the power of 2 that gives this number.” If p = 1/2, surprise is 1 bit; if p = 1/4, it is 2 bits; if p = 1, it is 0.

Halving the assigned probability adds one bit. This is event surprisal, not average entropy or information gained about an unknown cause. An impossible event assigned probability zero would have unbounded surprisal, so the slider starts at 1%. See the math companion.

Theoretical review · Friston, 2010 [3]

Change the model, or change the encounter

Friston proposes a framework connecting perception, action, and learning through variational free energy, an upper bound on model-based surprise. Perception adjusts an internal representation; action changes sensory encounters. The review explores possible common ground among brain theories, rather than experimentally establishing one universal explanation.

Variational free energy is an information-theoretic quantity here, not fuel consumed by the brain. Our token display calculates only event surprisal; it does not calculate free energy.

Your second shelf item →
A connection to keepNotes stay in this browser. Download them to keep a copy.
05 / Connect the ideasBuild → predict → choose

Follow
your own loop.

Our path has added one question at a time. What connection could produce the behavior? What result would the system predict? How would it decide which experience to seek next?

WorkWhat it contributes hereWhat to keep separate
Vehicles [1]Construct a small cause for an interesting behavior.Behavioral appearance and evidence of intention.
Playground [2]Choose experiences using improvement in predictions.High error and learning progress.
Free-energy review [3]Consider model-based perception and action together.A theoretical framework and an established brain mechanism.

A connection I find useful is that a learner helps shape its own future input. Turning changes what the cart senses. Trying an action gives a predictor something to check. Choosing a practice task changes what can be learned next. This is our reading of the three works, not a joint result from them.

An experiment for your own thinking

  1. Pick one thing you want to understand. State a prediction you could check, even a small one: “I think swapping these connections will reverse the turn.”
  2. Try something that can distinguish explanations. Change one ingredient and name what you will observe.
  3. Notice what became clearer. Write the explanation you can now give and one question that remains. A mismatch can mean a weak model, a poor measurement, or an unsuitable test.

If you return to Edition 01, bring this question: could a system preserve a useful pattern while changing the experiences it seeks? It is a promising bridge between stability and curiosity, provided we name what “useful” means in each case.

A connection to keepNotes stay in this browser. Download them to keep a copy.

Downloads this edition’s notes, chapter marks, complete references, and credits as Markdown. Stored only in this browser until you download or share them.

Follow the sources ↓

How this was made

Credits.

Collection & direction
Josh Gnizak curated the shelf and requested an edition connecting his top items, with lighter math.
Writing, examples & implementation
OpenAI Codex generated this edition’s prose, optional calculations, original diagrams, and website implementation. Josh’s curation is not scientific review of this text. The reader may contain errors.
Research & mathematical background
The cited authors created the original works. Source notes identify what was consulted, including the publisher record rather than the full text of Vehicles. The math companion is MIT OpenCourseWare’s Information and Entropy (Paul Penfield Jr. and Seth Lloyd).
Illustrations & connections
All three interactive examples were created for this reader. No paper figures or experimental data were copied. Suggested connections are interpretations to test, with no endorsement implied from the cited authors.

Follow the evidence

References &
further reading.

The first three works on your shelf, read in a different order to build the learning path. Source notes distinguish research, theoretical proposals, and the reader’s own examples.

  1. Book · synthetic thought experiments

    Vehicles: Experiments in Synthetic Psychology

    Valentino Braitenberg (1984). MIT Press / Bradford Books.

    Reader source: MIT Press publisher description and bibliographic record. The wiring demonstration here is our own specified teaching model; it is not a reconstruction of a numbered vehicle or a synopsis based on reading the full book.

  2. Robotics experiment · Intelligent Adaptive Curiosity

    The Playground Experiment: Task-Independent Development of a Curious Robot

    Pierre-Yves Oudeyer, Frédéric Kaplan, Verena V. Hafner & Andrew Whyte (2005). Proceedings of the AAAI Spring Symposium on Developmental Robotics.

    Reader source: Author-hosted full text: action–perception loop, experimental setup, results, and appendix on regional prediction errors and learning progress. The displayed curves and short-window averages are invented illustrations, not the robot’s data or exact selection algorithm.

  3. Review · proposed theoretical framework

    The free-energy principle: a unified brain theory?

    Karl Friston (2010). Nature Reviews Neuroscience 11, 127–138.

    Reader source: Author-hosted full text: introduction, Box 1, and the formulations of free energy, surprise, perception, and action on pp. 127–130. The jar example is independent; the reader does not implement variational or expected free energy.

Optional math companion

Probability and information

Paul Penfield Jr. and Seth Lloyd, 6.050J / 2.110J Information and Entropy, MIT OpenCourseWare (Spring 2008). Chapter 5, especially sections 5.6–5.7: information from an outcome and the use of bits.

Read Chapter 5 (PDF) ↗

Consulted for the optional surprisal calculation. The chapter goes further than you need for this edition.

Edition 02 · Prepared October 20, 2026 · An AI-generated reading experiment for Root Fall. Paper claims belong to their sources. Notes belong to you.

Back to the beginning ↑