Foundations of Artificial Intelligence (FAI) Group
divider line


Spezialized Lecture: Automatic Planning


Organization. The course consists of oral lectures accompanied by programming exercises. Successful participation in the course yields 9 ECTS.

The course has two weekly slots of 90 minutes each, Mondays 10:15 -- 11:45, and Tuesdays 10:15 -- 11:45. Some Tuesdays slots are used for tutorials on paper exercises (see calendar below). On every Thursday, starting 02.11.17, we offer a programming workshop 14:15 -- 15:45 to provide help for the programming exercises.

The lectures take place in Building E1 3, HS003. The tutorials and office hours take place in Building E1 1, room 3.06.

The lectures will be given by Prof. Dr. Joerg Hoffmann. The exercises will be organized by Cosmina Croitoru and Dr. Alvaro Torralba. All lectures and tutorials will be held in English.

The lecture slides will be made available for download here, i.e., on this web page. By contrast, all exercises material and all interaction -- registration, announcements, technical discussions -- will be available and run through our Moodle pages. Apart from the lecture slide publication, this web page here will remain fixed throughout the course. (For the curious amongst you: the lecture slides will be made available here, as opposed to the Moodle pages, so that people from outside Saarland university can access them as well.)

On our Moodle pages, you can login with your CS department account that you also use to login e.g. to the cloud, GOGS, or possibly other Moodle pages (i.e. your official s9xyabcd username with the new password you got from the CS department). If you have trouble with the login, contact Daniel Gnad). Go to "Automatic Planning (Winter 2017/2018)"; when prompted, enter key "UDS-PLAN-17".

In case you wonder: Yes, the course is very similar to last winter's Automatic Planning course.


Abstract. Automatic Planning is one of the fundamental sub-areas of Artificial Intelligence, concerned with algorithms that can generate strategies of action for arbitrary autonomous agents in arbitrary environments. The course will address so-called classical planning, where the actions and environment are assumed to be deterministic; this is a central area in planning, and has been the source of many influential ideas. It is also successfully applied in practice, as we will exemplify in the course. We will examine the technical core of the current research on solving this kind of problem. We will consider four different paradigms for automatically generating heuristic functions (lower bound solution cost estimators): critical paths, ignoring delete lists, abstractions, landmarks. Apart from understanding these techniques themselves, we will learn how to analyze, combine, and compare such estimators. We will furthermore consider optimality-preserving pruning techniques based on partial-order reduction, symmetries, and dominance pruning. The course consists mostly of research results from the last decade, and is very close to the current research frontier in planning.


Prerequisites. Ideally, participating students should have successfully completed an introductory course in Artificial Intelligence. However, the course is self-contained and any student with a solid basis in Computer Science -- algorithms, data structures, programming, propositional logic, NP-hardness -- should in principle be able to follow. Prior knowledge about search (the A* algorithm etc) is an advantage.


Exercises and ECTS. The course will be accompanied by two kinds of exercises, paper exercises and programming exercises. Each of the two kinds of exercises will be counted separately; each will have a seprate series of exercise sheets. To qualify for the exam, you need to obtain at least 50 points in each, paper exercises and programming exercises. (If you want to participate in future editions of this course, then you need to qualify anew; see also below.)

The paper exercises will involve applying the introduced concepts and algorithms to examples, and leading simple proofs. The paper exercise sheets will be handed out and submitted roughly in a biweekly cycle, i.e., in 2-week intervals. The submission deadline will be stated on each sheet.

The programming exercises will involve implementing some of the techniques discussed, starting from a code base (essentially the Fast Downward planning system, FD, implemented in C++) we will provide. In other words, you will build your own planning system as part of the course! We'll run a competition amongst these systems at the end of term. In light of the work involved in programming, we allow groups of 3 students working together. To further motivate the programming work, good performance in the programming can help you in getting a good exam grade (see below).

Furthermore, in the programming exercises, you will be given the choice of which techniques to implement: Instead of fixed programming tasks on regular sheets, you will obtain a list of programming options up front. Each "option" here is one technique from the course, along with: the number of points obtained by implementing that technique; the time point in the course at which the technique will be explained; and the dependencies with other options.

The tutorial sessions will be classical tutorial discussing the solutions to the already solved paper exercises. For the programming exercises, there will be an introductory session familiarizing the students with the FD code base, on Thursday 02.11.17, 14:15--15:45, in Building E1 1 room 3.06. Later on, the programming exercises will be supported through weekly programming workshop, offering individual support for the student teams, on every Thursday at 14:15 -- 15:45 in Building E1 1 room 3.06.

A tip: To get started on the planning modeling language PDDL, a good idea may be to have a look at this archive with example files.


Exam and final grade. There will be a written exam at the end of the course. The final grade will be determined based on the performance in that exam, and the performance in the exercises.

For admission to the exam, you need to get at least 50 points from each of the paper and programming exercises.

The exam grade will be determined based on a combination of your performance in the programming exercises and the paper exercises. Precisely, let N be your number of points in the exam itself, and M be your number of points in the programming exercises. To pass the exam, N>=50 is required. Your grade will be determined from max(N, 0.5*N + 0.5*min(M,100)). In other words, your grade results from either your exam performance, or from the average over exam and programming exercises (the latter being reduced to 100 points in case you got more than 100 points in those exercises).

Depending on the outcome of the 1st exam, there may be a 2nd exam in the first half of April. If so, then, in compliance with the new study regulations each of the two exams will count as a separate attempt to pass the course. In particular, the grading rule for each exam (separately) will be as just explained.

ATTENTION! The re-exam is your only chance to improve your grade.


Course Material. Due to the recency of the material covered, there exists no text book for this course. There are two kinds of slides, pre-handouts and post-handouts. Pre-handouts do not contain the answers to questions asked during the lecture sessions, and do not contain the details for examples worked during the lecture sessions. The post-handouts do contain all this, and correct any bugs. The pre-handouts are made available one day before the lecture sessions on each chapter, the post-handouts are made available directly after the lecture sessions on a chapter are finished.

The following table provides the links to the hand-outs as the course progresses:

Chapter Title Dates Pre-Handouts Post-Handouts