Computational methods for stochastic differential equations and machine learning 2025
Welcome to the course Computational methods for stochastic differential equations and machine learning (joint SF2525 master level and SF3581 graduate level) 2025
The course focuses on the following application areas and mathematical and numerical methods to solve them. In each application we study relevant mathematical and numerical methods to solve the problem. This includes methods and theory for ordinary, partial and stochastic differential equations, and optimal control, treating e.g. weak and strong approximation, Monte Carlo methods, variance reduction, large deviations for rare events, game theory, neural networks. Applications included are e.g. finance, where stock prices are modelled using SDEs, molecular dynamics, where SDEs are used to model systems with constant temperature, and machine learning where the basic stochastic gradient descent algorithm is a numerical scheme for perturbed gradient flow. Optimal control theory is used e.g. in optimal hedging, finding reaction rates in molecular dynamics and analyzing machine learning convergence rates. The course includes computer projects using the machine learning software TensorFlow.
Week Application Subject 3,4,5 stocks with noise stochastic differential equations, Course material and evaluation- New version of the lecture notes Download lecture notes - papers for the presentations are here - course syllabus TeachersMattias Sandberg, department of mathematics, msandb@kth.se, office hour. Anders Szepessy, department of mathematics, szepessy@kth.se , office hour Mondays 12-13. Emanuel Ström, department of mathematics, emastr@kth.se, office hour . Welcome! ScheduleStarting Friday January 17th, 13.15-15.00. Homework, Computer Lab's, Presentations and ExaminationThe Examination consists of three parts: Homework problems, oral presentations and a written exam. The homework problems will be available here on the course www-page and each student hand in their own solution. The presentations are carried out by groups of two students. The written exam will be based on a list of questions given here.
Download list of questions given here. The final grade of the course is pass/fail.
The maximal score for the written exam is 60, and to pass the course you must obtain a total score, homework included, of approximately 60. The homework and the presentation gives maximal 40 credits together, with maximal 5 credits for each homework 1,2 , 3,5 and a maximum of 10 credits for the final presentation and homework 4. To pass it is required to to present a project, obtain at least 3 credits on each of the homeworks 1,2,3,5 and at least 6 credits on homework 4, after possible revision.
Homework and dates (preliminary versions)Homework 1 Download Homework 1 on Ito integrals, due February 10th.Homework 2 Download Homework 2 on Euler approximations of Ito differential equations, due March 3st. Homework 3
Download Homework 3 on stochastic volatility, delta and stability, due April 4th.
Homework 4
Download Homework 4 + code
Download code on UQ and parameter estimation for SDE, due April 17th.
Code for langevin: code-langevin,
Download code-langevin, if you want to compare Langevin and Gibbs.
Lecture notes from the introductory lecture can be found here
Download here.
Homework 5
Download Homework 5 on classifying figures, due May 23th, the codes are in a direct link here. For Part 2, if you would like to use the 'readMNIST.m' function, this file could be found here.
Homework 6 on machine learning and Tensor Flow, voluntary.
In Homework 5 and 6 you need to use TensorFlow 2. You can use pip to install TensorFlow 2 by following the instructions in this document: Installing_Tensorflow_2.pdf Download Installing_Tensorflow_2.pdf. You can also follow the guiding-page here. Links to an external site. SDE-poster project: Choose a paper from the list before April 4th and hand in a poster-pdf-file in the link "Uppgifter", due May 9, to be presented May 19nd. Detailed information is in Section "Presentations" below.
PresentationsThe list of Files includes papers to be used for the presentations. Each group of two choose a paper here with at most two groups for one paper. The groups present the results in the scheduled presentation-meeting May 19th at 8.15-12.00 and submits a poster. Probably we have time for five minutes for each presentation this year. You may suggest another paper. Read the literature and study the formulation and motivation of the problem. Use your knowledge and fantasy to formulate the mathematical modell, the problem you want to solve and an SDE simulation. Try to use the literature to formulate interesting problems. You are welcome to discuss with the teachers.
Concerning presentations: Projects are presented by lab groups of two.
Make a poster and prepare a five minutes presentation. Slides for the presentations can be uploaded in "Uppgifter". A good poster includes at least formulation of the problem and some results and conclusion. The posters will be posted in this Canvas page. In the KTH-library you can find online the book "Handbook of Writing for the Mathematical Sciences" by Nicholas Higham which include in chapter 12 "Preparing a Poster". If you have not made a poster before, here
Links to an external site. is a link to Latex poster templates (and a non fancy version
Download non fancy version).
Notes:
|