AI-TechScienceGovernmentBusinessSportsEntertainment
Science

Tiny memory windows explain how living neurons learn to play Pong

Simulated agents using brief retrospective updates match the performance of living cell cultures, showing that data-efficient biological control needs little forward planning.

19 statements added by Adeel Razi · 30 Nov see what was added
Tiny memory windows explain how living neurons learn to play Pong
Source: Authors of the study: Brett J. Kagan Andy C. Kitchen Nhi T. Tran Forough Habibollahi Moein Khajehnejad Bradyn J. Parker… (CC BY 4.0)
Published30 Nov 2026, 20:05 Last updated30 Nov 2026, 20:05 Sources
Source mode Marks each sentence drawn from a source or a contributor

When living brain cells sit on a microelectrode array and receive electrical pulses from an arcade video game, they begin to hit the ball back. Clumps of embryonic mouse neurons and human stem cell derived neurons grown across silicon microchips have learned to move a digital paddle to intercept a virtual ball in real time. They do not possess muscles, eyes, or a digestive tract seeking food rewards, yet over twenty minutes of play, their rallies grow longer and their complete misses decline.1 Watching isolated cells alter their electrical spiking to keep a digital game going looks like purposeful behaviour emerging from a biological puddle.

For researchers trying to understand both biological computation and artificial intelligence, this modest electronic ball game poses a deep problem. Modern artificial neural networks require massive computing clusters, thousands of kilowatt-hours of electrical power, and millions of trial iterations to learn basic control tasks. Living networks of cortical cells, by contrast, adjust their collective firing within dozens of brief episodes while running on the metabolic energy of a warm bath of liquid nutrients. Understanding the computational logic that allows tiny sheets of living tissue to coordinate their behaviour could help engineers build machines that learn efficiently from minimal data, while helping neuroscientists identify the basic rules governing biological control.

Before evaluating how artificial models recreate this learning, it helps to trace what must happen inside a closed-loop system for a paddle to hit a ball. First, the game environment must convert physical events into electrical signals that the cell culture can detect. In these experiments, the position of the ball is converted into electrical stimulation delivered to specific electrodes, with the pulse frequency indicating the vertical distance to the paddle. Second, the biological culture must register that sensory stimulation, process the patterns across its network of synaptic connections, and fire a burst of action potentials in response. Third, the recording electrodes must read that neural output from designated motor zones, translating the firing rate into vertical motion of the digital paddle. Finally, the outcome of that movement feeds back into the environment: hitting the ball keeps the game going with predictable signals, whereas missing the ball causes the game to reset and delivers an unpredictable, chaotic burst of electrical pulses across all electrodes. To improve over time, the network must simply alter its activity so that it avoids the disruptive reset and preserves structured feedback.

How do biological cultures compare to predictive models?

Computational agents relying on brief memories of their past steps match the performance of living brain cell cultures, whereas agents that try to plan future moves into the distance fail to replicate biological learning. A study posted on the preprint server arXiv by lead author Aswin Paul of Monash University, together with colleagues at Cortical Labs, University College London, and CIFAR, shows that memory-based active inference reproduces the exact trajectory of mouse and human cortical cultures playing Pong.1 Active inference is a mathematical theory of cognition in which agents choose actions to minimize expected free energy, a quantity that balances reaching preferred states with avoiding surprising disruptions.1 By testing three decision-making schemes within a shared computational framework, the authors found that agents keeping track of just one or two prior steps hit the ball at rates virtually indistinguishable from real cortical cultures.1

To establish a direct baseline, the authors calibrated their computational models against original laboratory data gathered by Brett J. Kagan and colleagues using the DishBrain system. In those original experiments, cultures of mouse cortical cells and human cortical cells were mounted on high-density multi-electrode arrays. Over twenty minutes of active game play, typical biological trials contained an average of 69.04 episodes, with a standard deviation of 7.95 episodes.1 The computer simulations run by Paul and his colleagues were therefore restricted to exactly 70 episodes across twenty simulated minutes, giving the software agents the exact same limited data volume available to living cells.1 For each algorithm configuration, the authors conducted 100 independent trials using different random seeds to account for stochastic variation and ensure consistent evaluation.1

Tiny memory windows explain how living neurons learn to play Pong
Source: Authors of the study: Lena Smirnova Brian S. Caffo David H. Gracias Qi Huang Itzy E. Morales Pantoja Bohao Tang Donald… (CC BY 4.0)

Across these matched tests, agents equipped with a memory-augmented variant of counterfactual learning, designated as CFL, demonstrated rapid gains in performance. In counterfactual learning, an agent updates its internal mapping between states and actions by evaluating what outcomes would have occurred under alternative choices over recent time steps. When agents used a memory window of only one previous time step, called CFL-1, their average rally length during the final 15 minutes reached 0.169 hits above the average of 0.85 hits achieved by mouse cortical cells, based on a 95 percent confidence interval spanning from 0.039 to 0.336 hits. When the memory window was set to two previous time steps, labeled CFL-2, the simulated agents exceeded the biological cultures by only 0.13 to 0.17 hits, hugging the biological performance band of roughly 0.85 to 0.88 hits seen in mouse and human cells.1

The benchmark gap between biological adaptation and classical machine learning over this rapid timescale proved far narrower than expected when compared against standard reinforcement learning baselines. Adeel, a study author from Monash University, told Primary that at the matched 70-episode timescale, the gap was smaller than one might expect, noting that tabular Dyna-Q improved about as much as the biological cultures and performed similarly to the short-memory active-inference agents. The clear advantage emerged only with longer counterfactual update windows, Adeel said in response to questions from Primary, adding that their result is not that reinforcement learning generally fails, but that different schemes reach similar behaviour with very limited experience.

Why does looking backward succeed where planning forward fails?

Short retrospective memory windows keep learning stable and data efficient because Pong rewards immediate reactive alignment rather than long-term sequence planning. In the simulated environment, the physics of the game dictate that the ball moves rapidly toward the paddle, requiring continuous adjustment to local velocity and position. The authors evaluated whether increasing the memory horizon further would continue to mimic biological tissue. Expanding the update window to three time steps, or CFL-3, raised the rally length roughly 0.56 hits above the biological mean, while a four-step horizon, designated CFL-4, generated an advantage of roughly 1.59 hits.1 Long-range memory allowed the computational agents to dramatically outperform living cultures, but experimental neurobiology has not documented such multi-step state-action integration in simple culture dishes.

The researchers contrasted these memory-driven agents with two forward-looking planning architectures that also operate under active inference principles.1 The first was a classical single-step planner known as AIF-1, which evaluates actions by calculating the expected free energy resulting from a single immediate move.1 The second family relied on dynamic programming in expected free energy, designated DP-T, which projects potential future states across horizons ranging from two to 20 steps into the future.1 While planning agents did show positive adaptation over time, extending the planning horizon provided no measurable benefit to the learning rate. When the authors regressed relative improvement against the logarithm of the planning horizon, the resulting slope was minus 3.1 percentage points, an effect that was statistically indistinguishable from zero.1

Asked to explain the computational mechanism behind this divergence, Adeel told Primary that short memory windows let the agent update its state-action mapping using the most recent experience, which is sufficient to reproduce much of the biological improvement. Deeper planning adds little because repeatedly propagating the learned transition model makes longer-horizon predictions increasingly uncertain, so extra planning depth becomes uninformative in this task, Adeel said.

Tracking the internal mathematical parameters of the generative models revealed subtle dynamics across the different agents. Because active inference uses explicit probabilistic distributions rather than opaque neural network weights, the authors could observe the normalized total entropy of the state-action mappings and the evolution of the internal risk term.1 In high-performing memory agents, the normalized total entropy declined steadily as the trials progressed, indicating that the simulated agents grew increasingly confident about which paddle actions successfully preserved structured sensory feedback.1 Yet tracking entropy also produced surprises across agent types. Adeel told Primary that the more counterintuitive finding was that larger reductions in entropy did not necessarily predict better performance, as some planning agents became much more certain internally without improving behaviour. Entropy reduction alone was not a reliable marker of successful control, Adeel noted.

Tiny memory windows explain how living neurons learn to play Pong
Source: Authors of the study: Brett J. Kagan Andy C. Kitchen Nhi T. Tran Forough Habibollahi Moein Khajehnejad Bradyn J. Parker… (CC BY 4.0)

What can these simulations tell us about biological tissue?

These mathematical simulations demonstrate that a computational agent does not require foresight or complex reasoning to replicate the performance curve of cultured neurons playing Pong. What the findings cannot tell us, however, is whether living cortical networks actually implement counterfactual learning or calculate expected free energy in their synaptic membranes. The authors explicitly note that mathematical interpretability is a property of their chosen model, not direct biological evidence of cellular mechanisms.1 A computer model that matches the behavioral output of a dish of cells provides a functional analogy rather than a cellular blueprint. Furthermore, the paper is a preprint (which may not have been peer reviewed) posted to arXiv on October 1, 2026, meaning its results and computational proofs have not yet completed formal peer review by independent experts.

The physical scope of the model also remains strictly bounded. Adeel told Primary that the model is an intentionally simplified computational description of the DishBrain task, not a cellular model. It shows that short-horizon state-action updating is sufficient to reproduce aspects of the observed behaviour, but it does not establish that neurons literally implement counterfactual learning, maintain an explicit memory buffer, or minimise expected free energy in the same way as the model, Adeel said.

The simulated setup also operates under strict structural boundaries derived from a single experimental task. The partially observable Markov decision process was deliberately crafted to mirror the discrete grid, sensory stimulation boundaries, and paddle dynamics of the original DishBrain studies.1 Explaining the spatial setup, Adeel told Primary that the discretization was set by the experimental interface rather than tuned for performance, with 38 horizontal states matching the 38 stimulation frequencies and eight vertical states matching the eight stimulation electrodes, alongside a paddle represented on the same eight-bin scale. The research group did not systematically vary the spatial discretization, Adeel noted, adding that they cannot claim the results are insensitive to those choices because model dimensionality itself can influence performance.

While the model tracks game metrics like rally length, ace percentages representing immediate misses on the first ball approach, and rallies lasting three hits or longer, it simplifies the messy chemical environment of a physical laboratory.1 Real neuronal cultures undergo synaptic fatigue, spontaneous bursting, and metabolic fluctuations that are absent from idealized mathematical algorithms. The simulation shows what is computationally sufficient to reproduce the behavioral curve, not everything that occurs across an electrode array.

Where does synthetic biological intelligence go from here?

By providing a formal language that links biological observation to computational theory, this research opens new pathways for evaluating synthetic biological intelligence. In earlier studies, deep reinforcement learning algorithms were evaluated in the DishBrain environment, but those machine learning systems frequently struggled under tight time constraints and required vast training datasets to show progress. Demonstrating that an active inference model with short-term memory can adapt within the span of 70 short game episodes highlights how alternative mathematical frameworks can achieve sample efficiency comparable to living systems.1

The next experimental step involves taking these explicit mathematical predictions back to the wet laboratory. Adeel outlined how physical experiments could put the model to a decisive test, saying that a strong falsification would be if disrupting or temporally shuffling the most recent sensory-action history had little effect on learning, while cultures instead showed robust behaviour requiring longer-horizon prediction or generalisation to novel trajectories. That would argue against a short-memory account of the observed adaptation, Adeel said. If manipulating the temporal alignment of electrical feedback breaks biological adaptation in the exact way predicted by the counterfactual learning model, scientists will have stronger evidence that biological circuits govern their actions through local retrospective updates. Watching synthetic models and living cultures converge on identical control limits brings the study of biological computation out of mystery and into measurable physics.

The record

32 sentences trace to 1 source and 1 contributor.

  1. 1 AP Aswin Paul, Moein Khajehnejad, Forough Habibollahi, Brett J. Kagan, Adeel Razi Paper · arxiv.org · 1 Oct 2026 A memory-based active inference model of DishBrain-like adaptive behaviour Preprint · may not have been peer reviewed See the source
  2. 2 AR Adeel Razi Contributor · interview 5 Oct 2026 · in the article since 30 Nov 2026 Contribution — Adeel Razi 19 statements added to this article

Article history

  1. Published 30 Nov 2026, 20:05
    Assembled by the Primary desk from 1 source · 1 contributor · 32 cited sentences
  2. Adeel Razi 19 statements added 57 days before publication
    1. Go to the sentence: A study posted on the preprint server arXiv by lead author Aswin Paul of Monash University, together with colleagues at Cortical Labs, University College London, and CIFAR, shows that memory-based active inference reproduces the exact trajectory of mouse and human cortical cultures playing Pong.
    2. Go to the sentence: By testing three decision-making schemes within a shared computational framework, the authors found that agents keeping track of just one or two prior steps hit the ball at rates virtually indistinguishable from real cortical cultures.
    3. Go to the sentence: The benchmark gap between biological adaptation and classical machine learning over this rapid timescale proved far narrower than expected when compared against standard reinforcement learning baselines.
    4. Go to the sentence: Adeel, a study author from Monash University, told Primary that at the matched 70-episode timescale, the gap was smaller than one might expect, noting that tabular Dyna-Q improved about as much as the biological cultures and performed similarly to the short-memory active-inference agents.
    5. Go to the sentence: The clear advantage emerged only with longer counterfactual update windows, Adeel said in response to questions from Primary, adding that their result is not that reinforcement learning generally fails, but that different schemes reach similar behaviour with very limited experience.
    6. Go to the sentence: Asked to explain the computational mechanism behind this divergence, Adeel told Primary that short memory windows let the agent update its state-action mapping using the most recent experience, which is sufficient to reproduce much of the biological improvement.
    7. Go to the sentence: Deeper planning adds little because repeatedly propagating the learned transition model makes longer-horizon predictions increasingly uncertain, so extra planning depth becomes uninformative in this task, Adeel said.
    8. Go to the sentence: In high-performing memory agents, the normalized total entropy declined steadily as the trials progressed, indicating that the simulated agents grew increasingly confident about which paddle actions successfully preserved structured sensory feedback.
    9. Go to the sentence: Adeel told Primary that the more counterintuitive finding was that larger reductions in entropy did not necessarily predict better performance, as some planning agents became much more certain internally without improving behaviour.
    10. Go to the sentence: Entropy reduction alone was not a reliable marker of successful control, Adeel noted.
    11. Go to the sentence: The authors explicitly note that mathematical interpretability is a property of their chosen model, not direct biological evidence of cellular mechanisms.
    12. Go to the sentence: Adeel told Primary that the model is an intentionally simplified computational description of the DishBrain task, not a cellular model.
    13. Go to the sentence: It shows that short-horizon state-action updating is sufficient to reproduce aspects of the observed behaviour, but it does not establish that neurons literally implement counterfactual learning, maintain an explicit memory buffer, or minimise expected free energy in the same way as the model, Adeel said.
    14. Go to the sentence: The partially observable Markov decision process was deliberately crafted to mirror the discrete grid, sensory stimulation boundaries, and paddle dynamics of the original DishBrain studies.
    15. Go to the sentence: Explaining the spatial setup, Adeel told Primary that the discretization was set by the experimental interface rather than tuned for performance, with 38 horizontal states matching the 38 stimulation frequencies and eight vertical states matching the eight stimulation electrodes, alongside a paddle represented on the same eight-bin scale.
    16. Go to the sentence: The research group did not systematically vary the spatial discretization, Adeel noted, adding that they cannot claim the results are insensitive to those choices because model dimensionality itself can influence performance.
    17. Go to the sentence: Demonstrating that an active inference model with short-term memory can adapt within the span of 70 short game episodes highlights how alternative mathematical frameworks can achieve sample efficiency comparable to living systems.
    18. Go to the sentence: Adeel outlined how physical experiments could put the model to a decisive test, saying that a strong falsification would be if disrupting or temporally shuffling the most recent sensory-action history had little effect on learning, while cultures instead showed robust behaviour requiring longer-horizon prediction or generalisation to novel trajectories.
    19. Go to the sentence: That would argue against a short-memory account of the observed adaptation, Adeel said.