Università degli Studi di Pavia

Facoltà di Ingegneria

Artificial Intelligence

A.A. 2015-2016

First Semester

Fri: 11:00 a.m. - 1:00 p.m., Room E4

Fri: 2:00 p.m. - 4:00 p.m., Room E4

Lectures & Suggested Readings:

  • Reports of errors in the resources below are always welcome
    1. 2015.10.02 (theory)

      Introduction [pdf]

      Alan Turing (Wikipedia)
      Computer chess (Wikipedia)

      Shannon, C., "Programming a Computer for Playing Chess", Philosophical Magazine, 41 (314), 1950 [pdf]

      Campbell, M., Hoane, A. J., Hsu, F., "Deep Blue", Artificial Intelligence, 134 (1-2), 2001 [pdf]

      "Building Watson - A Brief Overview of the DeepQA Project", YouTube, 2011 [video]

      "Final Jeopardy! and the Future of Watson", TED, 2011 [video]

      Ferrucci, D., et al., "Building Watson: An Overview of the DeepQA Project", AI Magazine, 3 (31), 2010 [pdf]

      Mnih, V., Kavukcuoglu, K., Silver, D., Graves, A., Antonoglou, I., Wierstra, D., Riedmiller, M., "Playing Atari with Deep Reinforcement Learning", arXiv, 2013 [arXiv]

    2. 2015.10.02 (theory)

      Symbolic reasoning [pdf]
      Language, schemas and reasoning

      Syllogism (ancient logic) (Wikipedia)

    3. 2015.10.09 (theory)

      Propositional logic [pdf]
      Boolean algebras, formal propositional language and its semantics, satisfiability, entailment

      Rules of inference, justified by entailment (Wikipedia)

    4. 2015.10.16 (theory)

      Entailment and algorithms [pdf]
      Decision problems, entailment as a satisfiability problem (i.e. refutation), semantic tableaux

      Tree Proof Generator [link]: online solver through semantic tableaux

    5. 2015.10.23 (theory)

      Propositional resolution [pdf]
      Resolution as inference rule, propositional resolution by refutation

    6. 2015.10.30 (theory)

      First-Order logic [pdf]
      First-Order semantic structures, language, validity

    7. 2015.11.06 (theory)

      Semi-decidability of First-Order logic [pdf]
      Prenex normal form, skolemization, Herbrand's theorem

      Prenex normal form (Wikipedia)

    8. 2015.11.13 (theory)

      First-Order resolution [pdf]
      Clausal form, unification, resolution method for first-order logic

    9. 2015.11.13 (theory)

      SLD resolution [pdf]
      Horn clauses, SLD resolution, logic programming

      Re-definition of Prolog append/3 using the function cons/2 [pl]
      A note [pdf] describing the trace of an example of SLD resolution with append/3

      All Prolog examples are compatible with SWI-Prolog (free software) [link]

    10. 2015.11.20 (theory)

      Minimal models, logic programs [pdf]
      Herbrand models, minimal models, logic programming systems

    11. 2015.11.20 (theory)

      Plausible reasoning [pdf]
      Negation as failure, closed world assumption, deductive, inductive and abductive reasoning

    12. 2015.11.27 (theory)

      Probabilitistic reasoning: representation and inference [pdf]
      Foundations of probability, probability space, random variables, Bayes' theorem, probabilistic inference

      Countable set (Wikipedia)
      Sigma algebra (Wikipedia - see simple set-based examples)
      Probability space (Wikipedia)
      Random variable (Wikipedia)

      "The Banach-Tarski Paradox" (semi-serious but also very informative), YouTube, 2015 [video]

    13. 2015.12.04 (theory)

      Graphical models [pdf]
      Graphical models and factorization, d-separation, inference, computational methods

      Examples with "Bayes" (free software) available on AISpace
      [download] (see Belief and Decision Networks)

    14. 2015.12.11 (theory)

      Supervised learning [pdf]
      Learning proababilities from observations: maximum likelihood estimator, maximum a posteriori probability, conjugate prior distribution

      Conjugate prior (Wikipedia)

    15. 2015.12.18 (theory)

      Unsupervised learning [pdf]
      Learning from incomplete observations: k-means, hidden random variables, EM algorithm. An example: latent Dirichlet allocation (LDA)

      A simple Java implementation of the EM algorithm for coin tossing [zip]

    16. 2016.01.08 (theory)

      Reinforcement learning [pdf]
      Multi-armed bandits and methods, Thompson sampling, Markov Decision Processes, value function, optimal policy, iterative learning algorithms

      Sutton, R.S., Barto, A.G., Reinforcement Learning: An Introduction, 2nd Edition (draft) [link]
      (at this time, the draft is freely available at the above link)

      Reinforcement Learning Simulator: a demo for the maze example implemented in Java [link]

    17. 2016.01.15 (theory)

      Online learning and self-organizing systems [pdf]

      Simple and exponential moving averages: a worksheet example [xlsx]

      Fritzke, B., Some Competitive Learning Methods, Ruhr-Universität Bochum, TR, 1997 [pdf]
      Self-Organizing Networks [Java applet]

      SOAM: self-organizing adaptive maps, seminar presentation [pdf]


    1. Marco Piastra

    2. Contact: marco.piastra@unipv.it


    1. See Faculty website

    Further resources:

    (There is no required textbook for this course. The following books are recommended as optional readings)

    1. Mordechai Ben-Ari. Mathematical Logic for Computer Science (3rd Edition). Springer, 2012

    2. Artificial Intelligence: A Modern Approach (3rd Edition). Prentice Hall, 2009.


    1. Artificial Intelligence Reading Group

    1. Artificial Intelligence, A.A. 2014-2015 and before