1. Home
  2. Explore
  3. Biology
  4. Computational Neuroscience Modeling

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computational Neuroscience Modeling

Speaker 1Speaker 2

Computational Neuroscience Modeling

9:01
0:00-9:01
  1. Anna

    Welcome. Today we're looking at modelling in computational neuroscience, using a leaky bucket to understand an equation that also describes an important part of how neurons behave. Why start with modelling at all?

  2. Michael

    Because what we can measure in an experiment is not always the thing we want to understand. A model gives us a way to translate between them. For example, a researcher interested in vesicle dynamics at a synapse might measure postsynaptic potentials instead, then use a model to connect the amplitudes of those potentials to ideas about neurotransmitter release.

  3. Anna

    So the model links observable measurements to questions about how or why something happens. In neuroscience, that can mean connecting molecular or electrical activity inside a neuron to the function of a larger circuit.

  4. Michael

    Exactly. We'll focus on the leaky integrate-and-fire model. It's a simple model of neuronal dynamics, but it captures an important part of neuronal behaviour. More complicated models, such as the Hodgkin–Huxley model, capture more behaviour, yet they include a component that resembles the integrate-and-fire model.

  5. Anna

    And the simple model can still be useful when we're interested in networks. If we're asking what behaviour emerges as neurons interact, a leaky integrate-and-fire model, paired with an appropriate synapse model, may be accurate enough for the question.

  6. Michael

    To make its equation easier to picture, let's set neurons aside for a moment and imagine a bucket. Water flows in through a tap at the top, and water escapes through a hole at the bottom. We'll track the height of the water rather than electrical potential.

  7. Anna

    The bucket is idealised: its sides are vertical, so its cross-section stays the same as the water level changes. That makes the maths simpler, and the resulting equation has the form we want for describing a neuron.

  8. Michael

    Let's call the water height H of t, where t means time. Call the rate of flow into the bucket I of t, and the rate flowing out L of t. Both flows are measured as volume per time, such as litres per second.

  9. Anna

    The outflow depends on the height. The higher the water, the greater the pressure driving water through the hole, so as a reasonable approximation we take the outflow to be proportional to height: L of t equals G times H of t. G is a constant describing how leaky the bucket is.

  10. Michael

    Then the net flow into the bucket is inflow minus outflow: I of t minus G times H of t. If the inflow is bigger, the water level rises; if the outflow is bigger, it falls.

  11. Anna

    But net flow directly changes volume, not height. Since the bucket has a constant cross-section, volume V is proportional to height: V equals C times H. For a cylindrical bucket, C would be its cross-sectional area, but we can leave it as a constant.

  12. Michael

    The rate of change of volume is the net flow, so dV over dt equals I minus G H. Substitute V equals C H, and because C is constant, we get C times dH over dt equals I minus G H.

  13. Anna

    Now divide by G. The equation becomes tau times dH over dt equals I over G minus H, where tau equals C over G. We call tau a time scale because it has units of time; it tells us how quickly the height responds.

  14. Michael

    That is the key equation. It describes a leaky bucket, but the same mathematical form is useful for a neuron: water height stands in for voltage or potential, while the inflow stands in for an input to the neuron.

  15. Anna

    Let's first hold the tap at a constant rate, called I-bar. The equation is tau times dH over dt equals I-bar over G minus H. The height stops changing when the right-hand side is zero, which happens at H equals I-bar over G.

  16. Michael

    That value is the equilibrium. If the water is above it, the right-hand side is negative and the height falls. If it is below, the right-hand side is positive and the height rises. So small or large displacements both bring the level back toward equilibrium: it's a stable equilibrium.

  17. Anna

    And the farther the height is from equilibrium, the larger the difference between inflow and outflow, so the faster it initially moves back. The exact solution for constant input is H of t equals the starting height minus the equilibrium height, multiplied by e to the minus t over tau, then plus the equilibrium height.

  18. Michael

    In symbols, that's H of t equals the quantity H of zero minus I-bar over G, times e to the minus t over tau, plus I-bar over G. The exponential term gradually decays toward zero, so the height approaches the equilibrium value.

  19. Anna

    The time scale tau controls how quickly that exponential decays. A smaller tau means a faster response; a larger tau means a slower one. If you plot the height from different starting points, they all approach the same equilibrium, though they may rise or fall to get there.

  20. Michael

    Now let the input vary with time. In a neuron, input can come from other neurons' spikes and synapses, or from current supplied by an electrode in an experiment. In a network, the input may itself depend on what other neurons are doing, so we often don't know it in advance.

  21. Anna

    Even without solving the variable-input equation exactly, the constant-input case gives us intuition. At any moment, H tends to move toward the current target, I of t over G. If the target changes, H tries to follow it, but it takes time.

  22. Michael

    That delay smooths the input. Imagine the input is a sine wave. If tau is small compared with how quickly the sine wave changes, the height can track it fairly closely. If tau is large, the height lags behind and doesn't follow every up-and-down fluctuation.

  23. Anna

    You can think of the result as a smoothed version of the input, or as filtering. Earlier input still contributes, but its influence is discounted exponentially as time passes. The smoothing happens over a time scale set by tau.

  24. Michael

    For a complicated or network-driven input, writing down a neat analytic solution may not be useful. Instead, we can calculate approximate values step by step on a computer. The simplest method introduced here is Euler's approximation.

  25. Anna

    Here's the idea: if we know a quantity's current value and its rate of change, we can estimate its value a short time later. A cyclist travelling at five metres per second would cover about five metres in the next second. That estimate isn't exact if their speed changes, but it's a reasonable approximation over a short interval.

  26. Michael

    In general, suppose dF over dt equals a function F-big of the current value and time. For a small time step delta-t, Euler's method estimates the next value as the current value plus delta-t times the current rate of change: F at t plus delta-t is approximately F at t plus delta-t times F-big of F and t.

  27. Anna

    Why is that an approximation? Because we're treating the rate of change as though it stays constant during the time step. Mathematically, this is the first part of a Taylor expansion; the omitted terms involve higher powers of delta-t. More advanced Runge–Kutta methods use additional information to improve the estimate.

  28. Michael

    To use Euler's method, divide time into small steps: t-zero, t-one, t-two, and so on. Start with a known value, estimate the next one, then use that estimate to calculate the following one. The result is a sequence of approximate values, not an exact continuous solution.

  29. Anna

    For our bucket equation, the update is H at step n plus one equals H at step n plus delta-t over tau, multiplied by I at time t-n over G minus H at step n. In each step, we use the current input and height to estimate how much the height changes.

  30. Michael

    The same step-by-step approach can be used for the leaky integrate-and-fire equation. The time step needs to be small enough to represent the changes of interest; neuronal simulations may use steps such as one millisecond or a tenth of a millisecond.

  31. Anna

    So we've used one model to connect measurements to questions about brain function, derived the leaky-bucket equation, and seen what it predicts for both constant and changing input. The constant case shows a stable equilibrium; the changing case shows how the system follows and smooths its input.

  32. Michael

    And Euler's method gives us a practical way to approximate the dynamics when the input varies or depends on a network. In the next part, we can apply this intuition directly to the leaky integrate-and-fire neuron.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent