Inferring response times of perceptual decisions with Poisson variational autoencoders

Hayden R Johnson, Anastasia N. Krouglova, Hadi Vafaii, Jacob L. Yates, Pedro J. Goncalves

TL;DR

Standard deep neural networks treat visual decisions as instantaneous, while classic cognitive models of decision time operate only on abstract variables rather than real images. P-VAE-RT bridges this divide by combining a Poisson Variational Autoencoder (P-VAE) with Bayesian evidence accumulation over spike trains. Armed with a simple entropy-based stopping rule, the image-computable model naturally reproduces hallmark psychophysical phenomena—including right-skewed response times, speed–accuracy trade-offs, and Hick’s law—without ever being explicitly trained on human behavioral timing data.

What Problem Does This Paper Address?

Biological decision-making unfolds over time under strict physical constraints: neurons transmit discrete, noisy action potentials, and metabolic resources are strictly budgeted.

Computational neuroscience has traditionally been split into two camps to model this:

  1. Deep Neural Networks (DNNs): Excel at processing complex, high-dimensional inputs (like natural images) but produce instantaneous, single-pass outputs. They lack internal temporal dynamics, making them blind to response times (RT) or speed–accuracy trade-offs.
  2. Evidence Accumulation Models (e.g., Drift Diffusion Models): Accurately replicate stochastic response times and decision dynamics, but operate on abstract 1D mathematical decision variables. They cannot accept raw sensory inputs ("not image-computable").

Recent image-computable decision models often bridge this gap with ad-hoc mechanisms or by fitting parameters directly to empirical human timing data. This paper seeks a normative, principled framework where decision dynamics emerge directly from biological constraints: efficient sensory encoding and optimal evidence decoding.

Methods

The proposed framework, P-VAE-RT, separates the decision pipeline into two independently trained stages:

  1. Unsupervised Sensory Encoding (Poisson VAE): An encoder maps high-dimensional images ($x$) to firing rates $\lambda(x)$. The latent variables are discrete Poisson spike counts rather than continuous Gaussians. Under the Poisson VAE objective, the Kullback–Leibler (KL) divergence term acts mathematically as a metabolic penalty, naturally enforcing sparse, energy-efficient coding.
  2. Temporal Evidence Generation: The firing rates drive a population of rate-coded neurons modeled as independent, homogeneous Poisson processes, producing spike trains discretized into time bins.
  3. Task-Optimized Bayesian Decoder: An MLP continually observes the cumulative spike count vector $z_t$ up to time $t$. Because $z_t$ is a sufficient statistic for homogeneous Poisson processes, the decoder continually approximates the posterior distribution over actions, $p_\theta(a \mid z_t)$. The authors provide a formal proof showing this cross-entropy objective converges to the exact Bayesian posterior under standard regularity conditions.
  4. Entropy-Based Stopping Rule: The model calculates the posterior entropy $\mathcal{H}[p_\theta]$. As spikes arrive, uncertainty drops; when $\mathcal{H}[p_\theta]$ falls below a fixed threshold $\tau$, the model commits to a maximum a posteriori (MAP) choice. The earliest time step $t$ where this occurs defines the response time.
Input Image (x) ──► P-VAE Encoder ──► Firing Rates (λ)
                                             │ (Poisson process)
                                             ▼
Choice (MAP) ◄── [ Entropy < τ ] ◄── Posterior p(a|z_t) ◄── Cumulative Spikes (z_t)

Datasets

The authors benchmarked the framework on the MNIST handwritten digit classification dataset (flattened $28 \times 28$ grayscale images). No new datasets or human behavioral benchmarks were introduced.

Key Insights and Ideas

  • Response variability emerges from Poisson noise: The model needs no artificial decision noise. Presenting the exact same image produces different response times and choices solely due to stochasticity in Poisson spike generation.
  • Metabolic efficiency breeds sparse representation: Latent Poisson variables penalize unnecessary spiking, mirroring the sparse neural representations seen in the primate visual cortex.
  • Task decoding decoupled from sensory coding: The visual cortex does not need to know the downstream behavioral task in advance. Decoupling unsupervised representation learning (P-VAE) from task-specific readout (MLP) demonstrates how generic cortical representations can support flexible decision dynamics.

Key Results

  • Realistic RT Distributions: For easy digits (e.g., an unambiguous 0), posterior entropy plummets rapidly, yielding sharply right-skewed RT distributions and near-zero choice error. Ambiguous digits (e.g., a digit resembling both a 4 and 7) cause slow entropy reduction, broader and more symmetric RT distributions, and bimodal action choices.
  • Hick’s Law: When varying the number of candidate digit classes from 2 to 10, the model's mean response time scaled logarithmically with the number of choices, mirroring classic human psychophysical data (Hick, 1952).
  • Speed–Accuracy Trade-Off (SAT): Modulating the stopping threshold $\tau \in \{0.1, 0.2, 0.4, 0.6, 0.8\}$ systematically trades decision speed for fidelity. Stringent thresholds ($\tau = 0.1$) prolong evidence accumulation to reach $\approx 93\%$ accuracy at $\approx 20\text{ AU}$, whereas lenient thresholds ($\tau = 0.8$) yield rapid decisions at $\approx 7\text{ AU}$ with accuracy dropping to $\approx 76\%$.
  • Latent Dimensionality: Scaling latent dimensions from 2 to 512 increased reconstruction fidelity, boosted representation sparsity, and accelerated evidence accumulation rates (higher signal power).

Limitations and Future Work

  • Idealized Poisson Dynamics: The model assumes homogeneous Poisson processes, where spike counts are time-invariant sufficient statistics. Real neurons exhibit bursting, adaptation, and refractory periods (inhomogeneous Poisson dynamics), which will require more complex, recurrent, or state-space decoders.
  • Static Inputs Only: The model evaluates static images. Extending it to dynamic stimuli (such as random-dot motion tasks) will be essential for comparing it against classical neurophysiology paradigms.
  • Qualitative vs. Quantitative Validation: Response times are currently measured in arbitrary units (AU). Directly fitting the model to human behavioral datasets requires learning or constraining free parameters, such as biological time constants and population sizes.

Summary updated

BibTeX
@inproceedings{johnson2025inferring,
  author = {Hayden R Johnson and Anastasia N. Krouglova and Hadi Vafaii and Jacob L. Yates and Pedro J. Goncalves},
  title = {{Inferring response times of perceptual decisions with Poisson variational autoencoders}},
  booktitle = {DBM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=XilhL6xI2B},
}
Figure