Continuous multinomial logistic regression for neural decoding

Anuththara Rupasinghe, Jonathan W. PillowICLR 2026

Overview

Researchers have developed Continuous Multinomial Logistic Regression (CMLR), a new framework that generalizes classic logistic regression to continuous spaces. By using Gaussian Processes and Fourier-domain inference, CMLR provides interpretable, high-resolution probability densities for neural decoding. In recent evaluations, it has outperformed deep learning and gradient boosting methods across multiple brain regions.

What Problem Does This Paper Address?

In neuroscience, "neural decoding" is the task of predicting a sensory stimulus (like an image) or a behavior (like a hand movement) from a population of firing neurons. Historically, researchers have used Multinomial Logistic Regression (MLR) for this, but MLR has a major limitation: it only works for discrete categories (e.g., "Is the animal seeing a cat or a dog?").

Most interesting variables in biology are continuous—think of a limb's velocity, an animal's position on a track, or the 360-degree orientation of a visual grating. To use MLR here, researchers usually "bin" the data into discrete chunks. However, this discretization is a clunky workaround that loses resolution, introduces artifacts, and often requires heavy-handed regularization to prevent overfitting. Furthermore, standard regression models usually provide only a single "best guess" (point estimate), failing to capture complex, multimodal, or circular probability distributions that are common in brain data.

Methods

The authors introduce CMLR, which replaces the discrete weight vectors of standard logistic regression with smooth weight functions $w(y)$ defined over a continuous output space.

Schematic of the Continuous Multinomial Logistic Regression (CMLR) model.

Key technical innovations include:

  • Gaussian Process (GP) Priors: To ensure the model doesn't just "fit the noise," the authors place GP priors on the weight functions. This enforces smoothness, essentially assuming that if a neuron responds to 10°, it should respond similarly to 11°.
  • Fourier-Domain Inference: GPs are notoriously slow on large datasets. The authors solve this by performing inference in the frequency domain. Because the kernels used are stationary, they can be diagonalized in a Fourier basis, turning an infinite-dimensional problem into a fast, tractable one.
  • Stochastic Variational Inference (SVI): This allows the model to scale to massive datasets (thousands of neurons and trials) by training on small mini-batches, much like how modern neural networks are trained.

Datasets

The authors validated CMLR on four diverse large-scale datasets:

  1. Mouse Primary Visual Cortex (V1): Calcium imaging of ~20,000 neurons during orientation stimuli.
  2. Monkey V1: Electrophysiology recordings across 72 discrete grating orientations.
  3. Mouse Hippocampus (CA1): Calcium imaging of place cells while animals navigated a linear track.
  4. Monkey Motor Cortex: Decoding 2D cursor velocity during a reaching task.

Key Insights and Ideas

  • Interpretability is a Feature, Not a Bug: Unlike "black-box" deep learning models, CMLR’s weight functions are directly interpretable. They look and act like neural tuning curves, showing exactly how each neuron’s activity influences the final prediction.
  • Correlations Matter: CMLR is "correlation-aware." By modeling the shared variability across the population, it significantly outperformed "Naive Bayes" versions of the same model that assume neurons are independent.
  • Handling Circularity Natively: Because the model uses periodic kernels in the Fourier domain, it handles circular variables (like orientation) perfectly, avoiding the "jump" or edge effects that plague standard regression.
  • Honest Uncertainty: CMLR doesn't just give a prediction; it gives a "calibrated" probability density. If the model says there is a 20% chance the animal is at position X, it is actually right about 20% of the time.

Key Results

CMLR consistently outperformed state-of-the-art baselines including Deep Neural Networks (DNNs), XGBoost, and FlexCode.

Decoding performance of CMLR compared to baseline models.
  • Accuracy: In Mouse V1 orientation decoding, CMLR achieved a mean error of 3.1°, vastly better than DNNs (18.3°) and XGBoost (13.6°).
  • Data Efficiency: The performance gap was most pronounced in "low-data" regimes. CMLR’s principled GP priors prevent the overfitting that causes DNNs to fail when trials are scarce.
  • 2D Decoding: In motor cortex velocity decoding, CMLR achieved an $R^2$ of 0.53, outperforming the leading non-parametric method FlexCode (0.35) and nearly matching high-capacity DNNs (0.58) while remaining far more interpretable.

Limitations and Future Work

The authors identify a few areas for growth:

  • Temporal Continuity: Currently, CMLR treats each time point as independent. It doesn't yet account for the fact that an animal's position at time $t$ is highly correlated with its position at $t-1$. Integrating this with latent dynamical models (like Kalman filters) is a logical next step.
  • Weight Independence: The model assumes each neuron's weight function is independent. In reality, neurons in the same circuit likely share tuning structures; modeling these dependencies could further improve accuracy.
  • Non-linear Interactions: CMLR uses an additive structure over inputs. While this aids interpretability and scalability, it might miss complex, non-linear interactions between specific pairs of neurons that a deep network might catch.

Summary updated

BibTeX
@inproceedings{rupasinghe2026continuous,
  author = {Anuththara Rupasinghe and Jonathan W. Pillow},
  title = {{Continuous multinomial logistic regression for neural decoding}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=theeeNBSTG},
}
Figure