TL;DR
Many neurons in the primary visual cortex, the first area of the brain's outer layer to receive signals from the eyes, fire most when an edge or bar of one particular orientation crosses their small patch of the visual field. As the orientation turns away from that best value, their firing falls. A plot of firing rate against orientation is called an orientation tuning curve. This selectivity is one of the first steps by which the brain builds shapes out of edges.
Builds on: Receptive Field, Action Potential · Leads to: convolutional networks, GCaMP6 imaging of visual cortex
Where it's used
Understanding how vision starts. In 1959 David Hubel and Torsten Wiesel recorded from single neurons in the visual cortex of anaesthetised cats. They projected spots and bars of light onto a screen and listened to each cell through a fine electrode. Many cells responded strongly to a bar at one angle and hardly at all to others. The work earned them a share of the 1981 Nobel Prize in Physiology or Medicine, and it showed that the cortex builds its responses out of oriented pieces.
Designing image recognition networks. A convolutional network has small filters that slide across an image. When such a network is trained on photographs, the filters in its first layer often end up as oriented light and dark stripes. These are the same kind of edge detectors that orientation-tuned neurons implement, and engineers inspect the first layer of a trained network to check that it has learned edges.
Mapping many neurons at once. The GCaMP6 indicator, described in 2013, makes a neuron glow when it fires. A microscope can then watch many cells in a living mouse at the same time while the animal sees gratings at several orientations. Researchers sort the cells by their preferred orientation and study how the map is laid out across the cortex.
How it works
Take one neuron and follow it through a few stimuli. The numbers are round values chosen to make the arithmetic easy. They are not measurements. The neuron's preferred orientation is 90 degrees, which is vertical if 0 degrees means horizontal. With nothing to look at it fires 2 spikes per second, and its best response is 42 spikes per second.
flowchart LR A[Bar at angle theta] --> B[Light falls in the receptive field] B --> C[Neuron sums its inputs] C --> D[Firing rate in spikes per second]
The neuron only sees the bar through its receptive field, and its output is a rate of action potentials per second. Recall the rule: a rate is the number of spikes counted in a window, divided by the length of that window.
- Show a vertical bar. The bar is at 90 degrees, the neuron's preferred orientation. It fires 42 spikes per second. Check: this is the highest rate the neuron ever gives, so it is the peak.
- Tilt the bar to 75 degrees. The bar is now 15 degrees away from the preferred value. The neuron fires about 26 spikes per second. Check: the rate fell, but it is still well above the 2 spikes per second baseline.
- Tilt it to 60 degrees. The bar is 30 degrees from the preferred value. The rate falls to about 7 spikes per second. Check: the farther the bar is from the best angle, the weaker the response.
- Show a horizontal bar at 0 degrees. The bar is 90 degrees from the preferred value, at right angles to it. The rate is about 2 spikes per second, the baseline. Check: the neuron hardly reacts to a bar that crosses its favourite at a right angle.
- Put the four points on a graph. Put orientation on the horizontal axis and firing rate on the vertical axis, and join the points with a smooth curve. That curve is the tuning curve. Check: it peaks at 90 degrees and sinks to the baseline near 0 degrees.
- example neuron
Three things can be read from a tuning curve: where it peaks (the preferred orientation), how far it rises above the baseline (how strong the response is), and how quickly it falls off (how selective the neuron is). The name for the whole pattern is orientation selectivity.
The math
The curve is well described by a bell shape built from an exponential. Use these symbols: (theta) is the bar's orientation in degrees; is the preferred orientation; is the baseline rate; is how far the peak rises above the baseline; (sigma) sets the width; is the angle between the bar and the preferred orientation.
Step 1 in symbols: the peak
At the preferred orientation the angle difference is zero, so . Then and . For the example, and , so the peak is .
Step 2 in symbols: the angle difference
Bars do not have a head or tail, so a bar at 0 degrees looks the same as a bar at 180 degrees. The angle difference therefore wraps around at 180:
For and , the raw gap is and the wrapped gap is . The smaller value is .
Step 3 in symbols: the rate at 75 degrees
With we have . Then
The bell shape is the same as a Gaussian curve, but without the normalising constant, so the peak is set by and not by an area of 1.
Step 4 in symbols: the width
The half-height level is , so the bell must fall to one half: . Taking logarithms gives
For this is degrees on each side of the peak.
Step 5 in symbols: the selectivity index
Let be the rate at the preferred orientation and the rate at the orientation 90 degrees away. The orientation selectivity index is
It is 0 when the neuron responds the same to every orientation and 1 when it responds only to its preferred one.
Worked examples
The neuron has , , and .
- Bar at 90 degrees. , so the exponent is and . The rate is . Meaning: the best response is 42 spikes per second.
- Bar at 60 degrees. ; the wrapped value is larger, so . The exponent is . Since , the rate is .
- Meaning: 30 degrees off the best angle, the extra response above baseline is about 13.5 percent of its peak.
Using the same neuron, find the two orientations where the extra response falls to half its peak.
- The peak extra response is , so the half level is .
- We need .
- Take natural logarithms: .
- Multiply both sides by : .
- Take the square root: degrees.
- The two half-level orientations are and degrees. Check: at the rate is , which is half of the way from the baseline to the peak of 42.
- Full width: , about 35 degrees. Meaning: the neuron responds usefully to bars within about 18 degrees of its best angle on either side.
A neuron is shown bars at four orientations. Each bar is shown for 2 seconds and the spikes are counted: 0 degrees gives 4 spikes, 45 degrees gives 18, 90 degrees gives 40, and 135 degrees gives 15.
- Convert counts to rates by dividing by 2 seconds: 0 degrees gives 2, 45 gives 9, 90 gives 20, and 135 gives 7.5 spikes per second.
- The preferred orientation is the one with the highest rate, which is 90 degrees at 20 spikes per second.
- The orientation 90 degrees away from 90 is 0 degrees, with a rate of 2. Meaning: a horizontal bar is this neuron's least favourite.
- The selectivity index is . Meaning: the neuron is strongly selective.
- Check that the difference is not noise. Spike counts vary from trial to trial, and if they are roughly Poisson, the variance equals the mean. The count of 40 has a standard deviation of , and the count of 18 has . The two counts differ by 22, which is more than three times the larger spread (6.3), so the preference is unlikely to be chance.
- Try it: use the model from Example 1 (baseline 2, amplitude 40, preferred 90, width 15) to predict the rate at 45 degrees. Answer: , the exponent is , , so the rate is spikes per second. The recording gave 9, so this real neuron is broader than the example neuron, which is the usual situation.
Common mistakes and tradeoffs
It is tempting to think a neuron is a switch that works only at one exact angle. In fact the response falls off gradually. In the example, a bar 15 degrees off the peak still gives about 61 percent of the extra response, because the half-level is not reached until about 18 degrees out (Example 2).
It is tempting to think orientation runs from 0 to 360 degrees. In fact a bar has no direction of its head or tail, so 0 and 180 degrees are the same orientation, and the distance must be wrapped as in step 2 of the math. A bar at 170 degrees is only 20 degrees from a preferred orientation of 10 degrees, not 160.
It is tempting to think the tuning curve is the receptive field. They answer different questions. The receptive field tells you where in the visual field a neuron responds, and the tuning curve tells you which orientation it prefers there. A neuron has both.
It is tempting to judge a neuron from one spike count. Counts change from trial to trial, so the rate must be averaged over repeats before the curve is trusted.
The Gaussian model is simple: it has a preferred orientation, a width, an amplitude and a baseline. It fails when a curve is lopsided or has two peaks, and then a sum of two bell shapes or the raw averages describe the neuron better. Fitting the model is cheap per neuron but depends on the shape you assume, while raw averages need many trials. Calcium imaging covers many cells at once but is slower than an electrode, so it blurs fast spikes into a slower signal. Use the model when you need to compare many neurons quickly, and use raw averages when you need the true shape.
History
Before 1959, cortical neurons were hard to drive with simple stimuli. Hubel and Wiesel used tungsten microelectrodes in anaesthetised cats and found that a bar or edge of light, not a spot, drove many cells strongly, and that each cell favoured one orientation.
In 1962 they described two main kinds of cell. Simple cells respond to an edge or bar at a fixed place with a particular orientation. Complex cells respond to an oriented edge anywhere in a larger area. Their 1981 Nobel Prize was shared with Roger Sperry.
Later models of vision used oriented filters built on the same idea, and convolutional networks learned similar filters from data. The GCaMP6 indicator, published in 2013, made it possible to record the orientation of many cells in a living animal at once.
Recap
- A receptive field says where a neuron looks. Its tuning curve says which orientation it prefers.
- Firing rate against orientation forms a bell-shaped curve. It peaks at the preferred orientation and falls off with the angle difference, which wraps at 180 degrees.
- Three numbers describe the curve: the preferred orientation, the width, and the rise above baseline. The selectivity index summarises how sharp it is.
- Spike counts are noisy, so average over repeats and check that a preference is larger than the spread.
- Read next: Convolutional Neural Network to see how learned filters echo these detectors, and the GCaMP6 paper to see how such cells are recorded in living animals.
Check yourself
QuestionRecall: what is the preferred orientation of a neuron?Show answer
QuestionComputation: a neuron has baseline 2, amplitude 40, preferred orientation 90 and width 15. What is its rate for a bar at 75 degrees?Show answer
QuestionWhy: why is the angle difference between 170 degrees and 10 degrees 20 degrees, not 160?Show answer
QuestionApplied: a neuron has two equal peaks, at 30 and at 120 degrees. A researcher fits a single bell curve to it. What goes wrong, and what would fit better?Show answer
Sources
- Hubel and Wiesel (Wikipedia)
- Convolutional neural network (Wikipedia)
- Chen et al., Ultrasensitive fluorescent proteins for imaging neuronal activity, Nature (2013), doi:10.1038/nature12354