Look before you eat
Your guess: tap a place on the maze.
We chose its priors: what it wants and what it believes.
With different priors, nearly any route can come out as the least-surprise move; that is why the principle, as mathematics, cannot be refuted, and why a real test fixes a creature’s priors before watching it (Isomura et al. 2023 did this with neurons in a dish).
A toy agent built for this page, not data. Real experiments test whether animals or cells behave like a model fixed in advance.
The rule: for each possible first move, it adds up two things it expects over its two moves. First, how close what it will see comes to what it expects to see: when hungry, seeing food scores +3, seeing no food scores −3, anything else 0; with no preference for food, everything scores 0. Second, how much the move would shrink its doubt about which side the food is on: a 50/50 doubt counts 0.69 on this scale, and being 95 in 100 sure leaves only 0.20 to learn.
It looks one move ahead: a first move is worth what it brings plus the best second move after each thing it might see there. The move with the highest total wins. In active inference this total, turned upside down, is the free energy it expects to be left with.
Ties: if two first moves are worth the same, it takes the sign, the move that keeps its options open. If nothing beats staying where it is, it stays. Staying put means staying for both moves. Unsure means 50/50; sure means 95 in 100 that the food is on the left. The food is on the left in every run.
The maze and its +3/−3 values follow the T-maze simulations of Friston et al. (2016, 2017); with no preferences their agent also checks the clue and then stays. A simplified version, after Friston et al. (2015). Every number is computed in this page.
The maze: a simplified version of the T-maze in Friston et al. (2015), Active inference and epistemic value. Neurons in a dish: Isomura et al. (2023). The creature and every number are computed in this page. Nothing leaves the page. Our own tool, not research.