The neural code�Tuning functions
Kenneth D Harris, UCL
Continuous dependence of rate on stimulus
Orientation tuning in visual cortex
Rat hippocampus
Visual processing of natural scenes
Stringer et al Nature 2019
Rate coding equation
Types of tuning function
Types of tuning function
Parametric models
Gaussian tuning function
Data
Model
von Mises tuning function
Naka-Rushton tuning function
Form of the tuning function can give biological insight
Wrapped Gaussian
“Peaky” modification
Peak sharpness depends on exponent
Peaky tuning curves
How to fit a parametric model
Which loss function?
Finding the parameters for each cell: numerical optimization
Example: orientation tuning curves
Siegle et al Nature 2021. https://www.nature.com/articles/s41586-020-03171-x
Quadratic optimization
Orientation tuning: cosine model, squared error loss (cell 42)
Convex optimization
von Mises tuning function
von Mises fit for cell 42
Allen Cell 46
Optimization of generic objective functions
Gradient descent algorithm
Types of tuning function
Nadaraya-Watson smoothing
To avoid divide zero errors
Place field estimation: Buzsaki CRCNS hc3-cd013.527, cell 5
HSV colormap with
Hue = firing rate
Value = occupancy
So non-visited areas are black
occupancy spike
Gaussian Process Regression
Types of tuning function
Artificial network model neurons are simple
But assembled into very large networks
VGG19 network
And trained with gradient descent of weight parameters
Input
Activity progatation
Target output
Error backpropagation
Artificial neural networks for biological neural tuning functions
Input
Activity progatation
Biological neurons
Image shown to monkey
Image input to VGG19
Activity of 8/256 features from layer conv 3_1
How to predict biological neurons from ANN units?
Too many predictors
Geometric interpretation
Signal
Noise
Geometric interpretation
Signal
Noise
Overfitting = large weight vectors
Predicting neuron from ANN features
Sum-square error
Penalty term
Reduces overfitting by keeping weights small
Ridge regression predicting neuron 142
Assessing tuning curves
Fraction of stimulus-related variance explained
VGG19 explains 37% of stimulus-related variance in monkey V1
Statistical test
Null distribution for one cell