Computational neurosciences: neuronal dynamics
NX-465
Media
Lecturer: Wulfram Gerstner
Assistants: Louis Pezon (Head TA), Kasper Smeets (TA), Shuqi Wang (TA).
The course has a Ed Discussions page for questions.
In the first week Schedule is : Monday 9.15 am - 1 pm (in INM200) alternating between lecture and in-class exercises, Q&A and computer exercises.
In the second week and later weeks, the class meets Monday at 10.15am for an inverted classroom setting, after watching videos at home. The course consists of in-person Q&A session about the course contents, pen & pencil exercises, Python exercises, and graded miniprojects.
- News forum (Forum)
- Recommended reading: Neuronal Dynamics (URL)
- Videos of lectures (local EPFL server, ad-free) (URL)
- Python Exercises (URL)
- Python Cheat Sheet (Page)
- How to download the solutions notebook (File)
- Summary Slides — Weeks 1-9 (File)
- Overview of exercises (TA introduction) (File)
- General Instructions for the Mini-projects (File)
- Mini-project 1: Hopfield networks under biological constraints (File)
- Mini-project 2: The Cyclic Hopfield Network (File)
Week 1
We meet at 9h15 for LECTURE 1 in the classroom.
Introduction: brain vs. computer and a first simple neuron model as well as discussion of formalities
- First introduction and overview of the course
- Coding by spikes (action potentials)
- Model of a passive membrane
- Leaky integrate-and-fire model
- Nonlinear integrate-and-fire model
- Quality of integrate-and-fire models: comparison with experiments
- Question Set 1 (File)
- Solution to question set 1 (File)
- Python Exercise: LIF (URL)
- Solutions to Python Exercise: LIF (File)
- Suggested Reading (Page)
- 25-inClassLecture1-IF-slides (File)
Week 2
Inverted classroom setting. Watch videos at home. We meet at 10h15 for questions exercises.
LECTURE 2. Detailed neuron models
- Nernst equation
- Hodgkin-Huxley model
- Models of synaptic input
- Suggested Reading (Page)
- Question Set 2 (File)
- Solution to question set 2 (File)
- Python Exercise: Hodgkin-Huxley (URL)
- Solutions Python Exercise: Hodgkin-Huxley (File)
- 25-SlidesVIDEO-week2-HH (File)
- 25-SlidesINVERTEDCLASS-week2 (File)
Week 3
Inverted classroom: watch videos to prepare for the inverted classroom session Monday 10h15.
LECTURE 3. Reduction of the Hodkgin-Huxley model from 4 to 2 dimensions.
For this, only watch the first 7 videos of Lecture 4 (not 3!), up to Math detour 3.
The 7 videos (102 min) can be found under Videos of all lectures above -> Two-dimensional models and phase plane analysis.
- Suggested Reading (Page)
- Question Set 3 (File)
- Solution to question set 3 (File)
- Python Exercise: Phase Plane Analysis (URL)
- Solution Python exercise: Phase plane (File)
- 25-SlidesVIDEO-week3-2dimA (File)
- 25-SlidesINVERTEDCLASS-week3 (File)
Week 4
LECTURE 4. Two-dimensional models and phase space analysis
- Complement to two-dimensional neuron models
- Separation of time scales
- Type I and Type II neurons
Inverted classroom: watch videos to prepare for the inverted classroom session Monday 10h15.
For this, only watch the last 3 videos of Lecture 4, from part 4a.
The 3 videos (53 min) can be found under Videos of all lectures above -> Two-dimensional models and phase plane analysis.
- Suggested Reading (Page)
- Question Set 4 (File)
- Solution to question set 4 (File)
- Python Exercise: Type I and Type II neuron model (URL)
- Solution to Python Exercises: Type I and Type II (File)
- 25-SlidesVIDEO-week3-2dimB (File)
- 25-SlidesINVERTEDCLASS-week4 (File)
Week 5
LECTURE 5. Introduction to Hopfield neural networks
We meet at 10h15 for inverted classroom followed by exercises.
The 6 videos to watch at home can be found under Videos of all lectures (above) -> Associative Memory in a Network of Neurons (57 min) (video lecture 10)
- Suggested Reading (Page)
- Question Set 5 (File)
- Solution to question set 5 (File)
- Python Exercise: Hopfield Networks (URL)
- Solutions Python exercises week 5 (Hopfield network) (File)
- 25video-week2-Hopfield1 (File)
- 25-SlidesINVERTEDCLASS-week5 (File)
- Suggested Reading2 (File)
Week 6
We meet at 10h15 for inverted classroom followed by exercises.
The 5 videos to watch at home can be found under Videos of all lectures (above) -> Attractor Networks and Generalizations of the Hopfield model (62 min) (video lecture 11)
- Suggested Reading 1 (Page)
- Question set 6 (2025) (File)
- Solution to question set 6 (2025) (File)
- 25-SlidesVIDEO-week6-Hopfieldcontinued (File)
- 25-SlidesINVERTEDCLASS-week6 (File)
Week 7
LECTURE 7. Populations of neurons; population activity A(t); cortical connectivity; random connectivity models; mean-field method.
We meet at 10h15 for inverted classroom followed by exercises.
The 7 videos to watch at home can be found under Videos of all lectures (above) -> Neuronal Populations (85 min) (video lecture 8)
- Suggested reading for lecture 7 populations and me... (Text and media area)
- 25video-week7-populationsIntro (File)
- Question set 7 (2025) (File)
- Solution to question set 7 (File)
- 25-SlidesINVERTEDCLASS-week7 (File)
Week 8
LECTURE 8. Continuum models: Cortical fields and perception
We meet at 10h15 for inverted classroom followed by exercises.
The 6 videos to watch at home can be found under Videos of all lectures (above) -> Continuum models: Cortical Fields and Perception (62 min) (video lecture 12)
- Question Set 8 (File)
- Solution to question set 8 (File)
- 25video-week8-Continuum (File)
- Suggested reading — field models (Page)
- 25-SlidesINVERTEDCLASS-week8 (File)
Week 9
LECTURE 9. Connected populations: perception, decision, and competition.
We meet at 10h15 for inverted classroom followed by exercises.
The 6 videos to watch at home can be found under Videos of all lectures (above) -> Decision models: Competitive Dynamics (66 min) (video lecture 13)
- Suggested Reading (Page)
- Tutorial on decision models and network dynamics (Abbott, Fusi, Miller) (File)
- Salzman et al. : cortical miscrostimulation influences perceptual judgments of motion direction (File)
- Decision model (Wang 2002) (File)
- Roitman 2002 (File)
- Soon 2008 (File)
- Question Set 9 (File)
- Solutions to question set 9 (File)
- 25video-week9-decision (File)
- 25-SlidesINVERTEDCLASS-week9 (File)
Easter Break
Week 10
LECTURE 10. Noise and variability of spike trains
We meet at 10h15 for inverted classroom followed by exercises.
The videos to watch at home can be found under Videos of lectures (above) -> Variability of spike trains (96 min) (section II, lecture 5)
Reading: Neuronal Dynamic, Ch. 7.1-7.3 and Ch 8.1-8.3
- Question Set 10 (2024) (File)
- Solutions to question set 10 (File)
- 25video-week10-Poisson (File)
- 25-SlidesINVERTEDCLASS-week10 (File)
Week 11
LECTURE 11. Noise models: Escape Noise
We meet at 10h15 for inverted classroom followed by exercises.
The videos to watch at home can be found under Videos of lectures (above) -> Noise models (84 min) (section II, lecture 6).
Reading: Neuronal Dynamics: Ch. 7.5.1, Ch. 8.1-8.3 (part of this was also already in the previous week) Ch. 9.1-9.4
- Question Set 11 (File)
- Solutions to question set 11 (File)
- 25-SlidesINVERTEDCLASS-week11 (File)
- 25video-week11-escape (File)
Week 12
LECTURE 12. Fitting neural models to data
We meet at 10h15 for inverted classroom followed by exercises.
The videos to watch at home can be found under Videos of lectures (above) -> Modern phenomenological neuron models (94 min) (Section II, lecture 7)
- Question Set 12 (File)
- Solution to question set 12 (File)
- 25video-week12-SRMadaptation (File)
- 25-SlidesINVERTEDCLASS-weel12 (File)
Week 13
LECTURE 13. Population of Neurons - Fokker-Planck Equation
We meet at 10h15 for inverted classroom followed by exercises.
The videos to watch at home can be found under Videos of lectures (above) -> Fokker-Planck equation for stochastic integrate-and-fire neurons (77 min) (section III, lecture 9)
- Question set 13 (File)
- Solution to question set 13 (File)
- 25video-week13-FokkerPlanck-Brunel (File)
- 25-SlidesINVERTEDCLASS-week13 (File)
Week 14: Neural Manifolds and low-dimensional dynamics
- 25video-week14-manifold (File)
- Exercise Set 14 (2025) (File)
- Solution to question set 14 (2025) (File)
- 25-SlidesINVERTEDCLASS-week14 (File)
Week 14
LECTURE 14.
Low-dimensional manifolds
Week 14
LECTURE 15. Summary and extensions. No exercises today, only Q/A on miniprojects
Week 14
LECTURE 15. Networks of neurons, population activity, mean field argument
Exam Details
Date, time, place : Please check on IS Academia.
Allowed material:
- Bring writing material (Pen, etc.).
- Paper will be provided.
- You can bring a single A5 (half the size of A4) sheet, handwritten, on which you are allowed write (recto-verso) whatever you think might be useful.
- Nothing else. (In particular no books, lecture notes, mobile phones, laptops, calculators, etc.)
You must have your student card (CAMIPRO) with you for the exam.
You can find examples of exams from previous years below.
- Exam 2014 (File)
- Exam 2016 (File)
- Exam 2017 (File)
- Exam 2018 (File)
- Exam 2019 (File)
- Exam 2020 (File)
- Exam 2021 (File)
- Exam 2022 (File)
- Exam 2023 (File)
- Exam solutions provided by a student that got 5.00 in the final exam (File)
Additional material
Neural Networks with spatial structure, competition, field equations, decision processes
Additional material
LECTURE 8: Spike Response Model (SRM) and coding revisited
Additional material
Lecture 10: Population rate models and Coding --- Reverse correlations, PSTH, rapid transients in populations of neurons, linear Poisson model
Additional material
LECTURE 13
Additional material
Lecture 9: Population of Neurons - Fokker-Planck Equation