Estimating smooth and sparse neural receptive fields with a flexible spline basis

Ziwei Huang, Yanli Ran, Jonathan Oesterle, Thomas Euler, Philipp BerensarXiv 2021

Introduction

In sensory neuroscience, researchers use Spatio-Temporal Receptive Fields (STRFs) to describe the "filter" a neuron applies to incoming stimuli (like light or sound) before generating a response. Because these filters exist in high-dimensional space (pixels $\times$ time lags), estimating them is notoriously difficult. Standard methods like Spike-Triggered Average (STA) require massive datasets and often fail with correlated "natural" stimuli. While advanced Bayesian methods produce smooth results, they are computationally expensive, with complexity scaling cubically with the number of parameters. As experimentalists move toward recording hundreds of neurons simultaneously, these $O(w^3)$ bottlenecks become a major hurdle.

This paper introduces a method using natural cubic splines as a basis set to "bake in" assumptions of smoothness and sparsity. This approach allows researchers to recover high-quality neural filters faster and with significantly less data than current state-of-the-art Bayesian approaches.

Methods

The authors propose parameterizing the STRF using natural cubic splines instead of raw pixels. Natural cubic splines are mathematically known as the "smoothest possible interpolants." By representing a filter as a weighted sum of these splines, the model automatically enforces smoothness while significantly reducing dimensionality. Instead of estimating a weight for every pixel in a 3D volume, the model only estimates weights for a small number of spline basis functions.

Comparison of basis sets and fitted filters. (A) Raised cosine basis. (B) 1D cubic spline basis. (C) Comparison of fitted 1D filters against ground truth. (D) 2D and weighted 2D cubic spline bases.

Unlike previous "raised-cosine" bases which are rigid, splines are highly flexible and require only one hyperparameter: the "degrees of freedom." To handle 3D spatio-temporal data, the method uses a Kronecker product of 1D spline bases, allowing it to scale efficiently. This is combined with L1 regularization to ensure the resulting filters are sparse, zeroing out irrelevant areas of the receptive field.

Model Versatility and Insights

A key advantage of the spline approach is that it is model-agnostic. The spline "add-on" works across different architectures, including Linear-Gaussian (LG), Linear-Nonlinear-Poisson (LNP), and complex multi-filter "cascade" models (LNLN).

The LNLN cascade model architecture, showing the progression from stimulus through multiple linear filters and nonlinearities to the final response.

By switching from a pixel basis to a spline basis, the authors reduced the number of parameters from 1,200 to just 108 in one example, making matrix inversion drastically faster. Furthermore, the spline-based models could recover recognizable, high-quality receptive fields with as little as 4 minutes of data, whereas standard methods like STA showed only noise. The statistical well-behavedness of the approach also allowed for the development of diagnostic tools like analytical confidence intervals and permutation tests.

Key Results

The authors validated their approach across diverse datasets, including simulated data, retinal ganglion cells (RGCs) from salamanders and mice, macaque V1 complex cells, and rat entorhinal cortex grid cells.

  • Performance: In simulations, the spline-based LNP (LNP+SPL) consistently achieved lower Mean Squared Error (MSE) than standard LNP and Bayesian methods (ASD/ALD), especially in low-data regimes.
  • Speed: Spline-based methods were orders of magnitude faster than Bayesian MAP estimates. For a filter with 900 coefficients, the spline approach was nearly as fast as a simple Maximum Likelihood Estimation (MLE).
  • Experimental Success: On real RGC data, the spline-based models consistently outperformed non-spline versions in predicting held-out test data, particularly for complex LNLN cascade models.

Limitations and Future Work

While powerful, the spline basis might over-smooth neurons with extremely "sharp" receptive fields (e.g., those sensitive to a single pixel). However, this can be detected via cross-validation. Future work involves extending the RFEst Python toolbox to include response-history filters to capture refractory periods and more flexible nonlinearities, further bridging the gap between simple models and complex neural reality.

Summary updated

BibTeX
@misc{huang2021estimating,
  author = {Ziwei Huang and Yanli Ran and Jonathan Oesterle and Thomas Euler and Philipp Berens},
  title = {{Estimating smooth and sparse neural receptive fields with a flexible spline basis}},
  year = {2021},
  eprint = {2108.07537},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.07537},
}
Figure