Calibrating Bayesian Decoders of Neural Spiking Activity

J Neurosci. 2024 May 1;44(18):e2158232024. doi: 10.1523/JNEUROSCI.2158-23.2024.

Abstract

Accurately decoding external variables from observations of neural activity is a major challenge in systems neuroscience. Bayesian decoders, which provide probabilistic estimates, are some of the most widely used. Here we show how, in many common settings, the probabilistic predictions made by traditional Bayesian decoders are overconfident. That is, the estimates for the decoded stimulus or movement variables are more certain than they should be. We then show how Bayesian decoding with latent variables, taking account of low-dimensional shared variability in the observations, can improve calibration, although additional correction for overconfidence is still needed. Using data from males, we examine (1) decoding the direction of grating stimuli from spike recordings in the primary visual cortex in monkeys, (2) decoding movement direction from recordings in the primary motor cortex in monkeys, (3) decoding natural images from multiregion recordings in mice, and (4) decoding position from hippocampal recordings in rats. For each setting, we characterize the overconfidence, and we describe a possible method to correct miscalibration post hoc. Properly calibrated Bayesian decoders may alter theoretical results on probabilistic population coding and lead to brain-machine interfaces that more accurately reflect confidence levels when identifying external variables.

Keywords: Bayesian; confidence; decoding; spikes.

Publication types

  • Research Support, Non-U.S. Gov't
  • Research Support, N.I.H., Extramural

MeSH terms

  • Action Potentials* / physiology
  • Animals
  • Bayes Theorem*
  • Calibration
  • Hippocampus / physiology
  • Macaca mulatta
  • Male
  • Mice
  • Models, Neurological
  • Motor Cortex / physiology
  • Neurons* / physiology
  • Photic Stimulation / methods
  • Rats