Demonstrations

Each demonstration runs a model from our research, and the memory demonstrations pair it with a task you can do yourself.

Social decision making

We model how a group decides when to flee a threat.

SOCIAL ESCAPE

Faster and more accurate than a lone animal

Each animal accumulates evidence about a threat and flees when its belief reaches a threshold. A neighbor’s flight is evidence for a threat, and its stillness is evidence against, a correction captured by one social discounting rate α (Kilpatrick, 2026).

A school of animals accumulating evidence about a threat, with belief traces below and group-versus-individual error rates at right.

Compare α = 0 with intermediate α.

Model description and references

Each animal holds a belief x, dx = (μH − αλf·x) dt + σ dW, with H the threat indicator and f the fraction still present. It flees at threshold, and each departure raises the remaining beliefs. A reduced caricature, not the fitted model; bars show 400 simulated encounters.

Decisions under uncertainty

We model how evidence accumulates to a commitment when the right answer can change.

DRIFT-DIFFUSION MODEL

Why old evidence has to be discounted

We compare two observers of the same noisy evidence. One adds it all up; the other discounts the past at a rate set by how often the world changes.

The classical account of evidence accumulation is the drift-diffusion model, introduced by Ratcliff (1978) and developed through the random-dot motion work of the 1990s and 2000s, in which an observer integrates noisy evidence until it reaches a bound. Adding up every observation without discount is optimal there, and the paradigm assumes what makes it so: that the right answer holds still.

When the source can change, old evidence is not merely less useful but actively misleading, and an observer who has piled up belief without discounting it cannot be talked out of that belief. Glaze, Kable and Gold (2015) derived the normative alternative, in which the running belief is discounted by a nonlinear function of the assumed change rate, so confidence saturates instead of growing without bound. Much of our work asks what follows from that: how the change rate itself is learned, what the decision rule should be, and what people actually do.

Noisy evidence accumulates until an agent reaches a decision threshold.

When the source changes often, the undiscounted observer falls to chance while the discounting one keeps up. When it never changes, not discounting is the better strategy.

Model description and references

Each line is an independent drift-diffusion trajectory: dx = μ dt + σ dW. A trajectory stops at either boundary. Raising the threshold typically trades speed for accuracy when the evidence has a consistent direction. This demonstration uses fixed evidence and dimensionless time.

Working memory

We pair a model of a memory wandering on a continuous attractor with the delayed-estimation task that measures the wandering.

BUMP ATTRACTOR

A memory that wanders

In the model, a localized activity bump wanders around a ring, and structure in the connectivity can anchor it near preferred locations.

Persistent neural activity was first characterized in the oculomotor delayed response (ODR) task of Funahashi, Bruce and Goldman-Rakic (1989). A monkey fixates while a cue flashes at one of several peripheral locations, holds that location through a delay of one to six seconds, then saccades to it. Neurons in dorsolateral prefrontal cortex turned out to have memory fields: elevated firing throughout the delay, tuned to a particular cue direction. Compte, Brunel, Goldman-Rakic and Wang (2000) showed that a recurrent network with local excitation and broad inhibition sustains exactly that pattern, as a localized bump of activity on a ring of cue directions. Because the bump sits on a continuous attractor, noise slides it along the ring at no energetic cost, so the remembered angle wanders, and error grows with the delay. That wandering is what this simulation shows.

In the model, a localized activity bump wanders around a ring, and structure in the connectivity can anchor it near preferred locations.

Sliders update the running model. Reset starts a new realization.

Model description and references

A reduced phase model: dθ = −a sin(mθ) dt + σ dW. The displayed bump is a wrapped Gaussian centered at θ; the lower trace shows its position over time. This illustrates bump-center motion rather than solving a full neural-field equation. Increasing attraction can reduce wandering near a preferred location while biasing the representation toward that location.

DELAYED ESTIMATION

Holding a color in mind

A color appears for one second, disappears during a delay, and then you recreate it using the hue slider.

This is the continuous-report descendant of the ODR task behind the bump-attractor simulation. Funahashi and colleagues had the animal report a remembered location with a saccade; modern delayed-estimation tasks ask the observer to reproduce a remembered feature on a continuous scale, which turns every trial into a signed error instead of a hit or a miss and so exposes the whole error distribution rather than just an accuracy. The version here uses color rather than spatial position, following Eissa & Kilpatrick (2023). Both are circular variables, which is why the same ring-attractor mathematics applies to either, and why error grows with the delay in both.

Two strands of our own work sit behind this. Heterogeneity in recurrent excitation is what creates the preferred locations that buy precision at the cost of bias (Kilpatrick, Ermentrout and Doiron, 2013); and when more than one item is held at once, synaptic dynamics govern how they interfere with each other (Kilpatrick, 2018).

Ready?

Press Start trial to see a color.

0 trials completed

During the response, the central swatch shows your selected color. The score is the shortest distance around the color wheel, in degrees.

Model description and references

Target hues here are drawn uniformly, so there is no environmental prior to learn. In the experiments this is adapted from, the distribution of targets is deliberately non-uniform, and observers come to bias their reports toward the more common values, trading accuracy on rare stimuli for precision on frequent ones. Panichello, DePasquale, Pillow and Buschman (2019) showed that this is what discrete attractor dynamics do: they pull a memory toward a few stable values, adding bias but suppressing wandering. That is the same mechanism as the preferred locations in the bump attractor, and the reason a learned prior can make a memory more accurate on average while making it systematically wrong about rare stimuli.

Educational models with illustrative parameters, not fitted experimental results. Simulations stay in your browser. Reduced-motion settings start animations paused.