The Neural Race Model

Omar Ghezzi, Alessandro D'Amelio, Vittorio Cuculo, Rita Cucchiara, Giuseppe BoccignoneNeurIPS 2026

TL;DR

When you glance at a blurry shadow and decide whether it’s a cat or a dog, your brain accumulates noisy sensory evidence over milliseconds until one option crosses a mental finish line. Classical cognitive models capture this beautifully with simple math, while deep neural networks can actually process the pixels—but historically, you couldn't have both. The Neural Race Model (NRM) bridges this divide using neural stochastic differential equations, creating an end-to-end differentiable model that takes raw images or videos and predicts both what humans will choose and exactly how long it will take them.

What Problem Does This Paper Address?

For over fifty years, cognitive scientists have studied human decision-making by looking at two things together: the choices we make and our reaction times (RT). Classical "sequential-sampling" models (like the famous Drift-Diffusion Model) treat a decision like a noisy race toward a threshold. They are mechanistically transparent and align remarkably well with primate brain recordings. However, they are "stimulus-blind"—you can't feed a photograph into them. A researcher has to manually distill a rich visual scene into a single, hand-crafted number (like "motion coherence") before the math can work.

On the flip side, modern deep learning gives us "image-computable" models. You can feed raw pixels into a recurrent neural network and use the number of compute steps or prediction entropy as a loose proxy for reaction time. Yet these networks operate in discrete, deterministic steps; they lose the continuous-time, stochastic boundary-crossing mechanics that actually mirror neural circuitry.

The authors ask: can we build a single, principled framework that processes complex, raw sensory inputs and preserves the continuous, noisy race-to-threshold mechanics of the brain?

Methods

Enter the Neural Race Model (NRM). At its core, the NRM sets up one evidence accumulator per choice alternative, racing toward a decision boundary in continuous time.

Figure 1: NRM pipeline. Top (Training): Inputs are encoded by hψ into c, which parametrises drift fθ, diffusion gϕ, and threshold hΘ in a neural SDE racing to the threshold; a soft FPT surrogate with a finite-width “sticky” boundary enables differentiable estimation of FPT densities and choice probabilities, trained with an NLL loss. Bottom (Inference): The same encoding and simulation are used, but a hard arg max over first crossings yields predicted choice and reaction time.

Here is how the pieces fit together:

  • Stimulus Conditioning: A modular encoder (such as a frozen DINOv2 backbone for images, or 3D Gabor filters for video) compresses raw stimuli and task cues into a latent conditioning vector. For dynamic videos, this vector updates at every time step.
  • Neural SDE Dynamics: Instead of fixed scalar parameters, the accumulators evolve via a Neural Stochastic Differential Equation (SDE). Small neural networks take the stimulus vector and dynamically output the drift (rate of evidence accumulation), diffusion (noise/variability), and the decision threshold itself.
  • The Differentiable Surrogate (The Novel Trick): In a standard race, crossing a finish line is a discontinuous, "hard" event—great for making a choice, terrible for backpropagating gradients. During training, the authors introduce a smooth, sigmoid-based soft first-passage-time (FPT) surrogate. By simulating ~100 Monte Carlo trajectories per trial and using a "sticky" finite-width boundary, the model computes a smooth probability density of when the threshold was crossed, alongside a temperature-scaled softmax for which accumulator won. Gradients flow right through the SDE solver via the stochastic adjoint method to minimize the joint negative log-likelihood of human choices and RTs.
  • Classical Test-Time Limit: Once trained, the training wheels come off. At inference, the soft surrogate is removed, reverting to a classic, hard argmax threshold crossing.

Datasets

No new benchmarks were introduced; instead, the authors evaluated NRM across three established human behavioral datasets probing different perceptual regimes:

  1. Scene Categorisation (SC): Natural images flashed briefly, which human observers classify as "natural" or "manmade" across five levels of visual discriminability.
  2. Random-Dot Motion (RDM): Videos of moving dots across seven motion coherence levels (0.8% to 51.2%), testing dynamic evidence integration over time.
  3. SATBench (Speed–Accuracy Trade-off): A 16-class ImageNet recognition task with visual perturbations (blur, noise, greyscale) where an auditory "beep" forces humans to respond at strictly cued latencies.

Key Insights and Ideas

  • Stimulus-Driven Urgency: Because the threshold itself is conditioned on the input, NRM can naturally model urgency modulation—adjusting how much evidence is needed based on task cues (like the auditory beeps in SATBench) or evolving video content, without needing to re-fit a separate model per condition.
  • Identifiability Preserved: Deep networks are notorious for having redundant parameterizations. The authors prove mathematically that NRM inherits the exact one-parameter scaling symmetry of classical diffusion models (scaling drift, diffusion, and threshold by $\lambda$ leaves choices and RTs unchanged), which they neatly lock down by fixing the diffusion matrix at a reference stimulus.
  • Opening the Black Box for Scientists: Rather than reducing an image to a guessed "difficulty" axis, perceptual scientists can fit NRM to raw images and inspect the learned drift, diffusion, and threshold networks to test hypotheses—for example, whether an ambiguous image slows humans down because it lowers drift rate or raises the caution threshold.

Key Results

Across all three benchmarks, NRM achieved the #1 overall average rank, tracking the human noise ceiling (human-to-human consistency) more closely than both classical cognitive models and modern deep RT baselines (like RTify and cRNN).

Figure 2: Top: Random-dot motion (RDM) task accuracy, median reaction time, and NLL as a function of motion coherence. Bottom: Scene categorisation (SC) task—corresponding metrics as a function of discriminability. Curves compare the NRM against other models and the human noise ceiling (NC), in terms of alignment in choice behaviour, chronometric trends, and RT distribution fit.
  • Scene Categorisation: Classical models hovered near random chance (~50% accuracy) because they cannot read image-level features. NRM nearly nailed human accuracy (0.834 vs. 0.840 human ceiling) and tied with RTify for the highest reaction-time correlation ($r_{\text{RT}} = \mathbf{0.791}$).
  • Random-Dot Motion: Using time-varying conditioning, NRM dominated the chronometric alignment, achieving a 0.989 correlation with human median RTs across coherences (compared to RTify's 0.821), and achieved the best RT distribution fit (NLL of -0.147 vs. human ceiling of -0.204).
  • SATBench: Without architectural tweaks, NRM produced smooth, human-like sigmoidal speed–accuracy curves, achieving the lowest curve-fit RMSE across all perturbation settings (30.67 on Colour & Blur, 24.32 on Colour & Grey, and 29.74 on Grey & Noise).

Limitations and Future Work

The NRM isn't magic everywhere: on static Scene Categorisation, classical parametric models still achieved better raw RT distribution calibration (lower NLL) than NRM, and on SATBench, NRM trailed cascade networks (CNet) on fine-grained category-level difficulty correlations. Occasionally, NRM is too good at vision—overshooting human accuracy at high motion coherences on RDM (0.794 overall vs. 0.689 human). Furthermore, while the forward race mirrors primate decision circuits, training via global stochastic-adjoint backpropagation is not biologically plausible.

Looking ahead, the authors note that trials and accumulators are currently treated independently. Adding lateral inhibition between accumulators, recurrent states across trials, or slow adaptation could extend NRM to model trial-history biases, selective visual attention, and even bistable illusions like the Necker cube.

Summary updated

Abstract

Perceptual decisions unfold in time: noisy evidence is integrated until a commitment threshold is reached, jointly producing a choice and a reaction time. Classical race models capture this mechanism through simple parametric drift and diffusion, but cannot represent how rich, high-dimensional stimuli shape accumulation on individual trials. We introduce the Neural Race Model (NRM), a stimulus-conditional neural stochastic differential equation in which one accumulator per alternative races towards a learnable, stimulus-dependent threshold. Drift, diffusion, and threshold are parameterised by neural networks conditioned on a stimulus embedding, allowing both accumulation dynamics and decision urgency to vary across trials. The model is trained end-to-end on the joint reaction-time-and-choice likelihood via a smooth surrogate for the discontinuous first-passage event, combined with Monte Carlo trajectory averaging and gradient propagation through the stochastic adjoint. The surrogate recovers the classical hard threshold in the appropriate limit and is removed at test time. Each component admits a natural correspondence with elements of the primate decision-making circuit, preserving the mechanistic interpretability of classical models. We evaluate the NRM on multiple perceptual decision-making benchmarks against classical sequential-sampling and image-computable reaction-time models. Across tasks and metrics, the NRM tracks the human noise ceiling more closely than all baselines, demonstrating that stimulus-conditional stochastic accumulation and end-to-end differentiability can be achieved within a single, principled framework. Code available at https://github.com/phuselab/NRM.
BibTeX
@inproceedings{ghezzi2026neural,
  author = {Omar Ghezzi and Alessandro D'Amelio and Vittorio Cuculo and Rita Cucchiara and Giuseppe Boccignone},
  title = {{The Neural Race Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=U280pm3mcR},
}
Figure