Artificial intelligence (CK0031/CK0248)

The course overviews selected topics in artificial intelligence. The course deals with some of the central principles of AI, including search and problem-solving methods, reasoning and decision making under uncertainty:
  1. Agents and environment: Rationality, Nature of the environment, Structure of the agents;
  2. Problem solving: Searching discrete environments and numerical optimisation;
  3. Probabilistic reasoning: Inference in probabilistic models.
What the course does not deal with is Logic and Machine Learning. We offer more suitable courses to study those topics.

Stuff from the past: Previous versions of the course are available for 2016.2 (internal links may need adjustment.)



Instructor : Francesco Corona (FC): francesco döt corona ät ufc döt br

Physical location : Monday, Wednesday and Friday 08:00-10:00. Bloco 915, Sala 1074. Internet location : Here! Or, here (CK0031/CK0248) for mambojumbo related to administration.

Evaluation : Approximately half a dozen theoretical and practical problem sets will be assigned as homework: Home assignments are for training but are not mandatory, they can be handed-in but they will not be evaluated. The actual evaluation will be based on three or four partial evaluations (APs) in class (weight 70%) and a final project (weight 30%). If needed a final evaluation (AF) will be arranged.

- AP1, first (OCT 13) and second (OCT 20) call: Grades
- AP2, first (NOV 17) and second (NOV 24) call: Grades
- AP3, optional (Dec 15) : Grades
- HW1, part one and part two: Grades

- FINAL (with 2 APs or 3 APs): Grades


Go to:   Lectures and schedule | Problem sets | Supplementary material | As it pops out |

News

>>>>> AF ++ DEC 18 <<<<< Only final grades between 4 and 7 (Grades 5 and above do NOT need to take the AF)

>>>>> AP03 ++ DEC 15 <<<<< Probabilistic reasoning (BRML, Chapters 1, 2 and 3 | Slides 03a, 03b and 03c)

>>>>> Final project ++ By DEC 08, 2017 <<<<< READ ME! >>>>> TCC Positions - 1 or 2 positions @DC/CC <<<<<

Lectures and schedule

  1. About this course

    A About this course (FC)
    • Slides (AUG 30 and SEP 01 | Last update SEP 06)
    • About the type of artificial intelligence that we shall study and the type that we shall not study in this course

  2. Agents and environment

    A Agents and environments (FC)
    • Structure of agents, nature of environments

  3. Problem solving


    A Problems, solutions and problem-solving agents (FC)
    • Problems, solutions and problem-solving agents
    • Search algorithms
    B Uninformed search strategies (FC)
    • Breadth-first search, uniform-cost search
    • Depth-first search, depth-limited search, iterative deepening depth-first search
    • Bidirectional search
    C Informed search strategies (FC)
    • Greedy best-first search, $A^*$ search
    • Memory-bounded heuristic search
    D Heuristic functions (FC)
    • Effect of heuristics, generating heuristics
    • Learning heuristics from experience




    A Local search (FC)
    • Slides (OCT 04 | Last update OCT 04)
    • Hill-climbing, simulated annealing, local beam search, genetic algorithms


    A Unconstrained optimisation (FC)
    • Slides (OCT 06, OCT 11, OCT 18 and OCT 20 | Last update OCT 22)
    • Derivative-free methods (golden section and quadratic interpolation, Nelder and Mead)
    • The Newton's method
    • Line-search or descent methods (descent directions, strategies for choosing the step-length, the descent method with Newton's directions, descent methods with quasi-Newton's directions, gradient and conjugate-gradient descent methods)
    • Trust-region methods
    • The non-linear least-squares method (the Gauss-Newton method, the Levenberg-Marquardt method)
    B Constrained optimisation (FC)
    • The penalty function method
    • The augmented Lagrangian method



  4. Probabilistic reasoning


    A Probabilistic reasoning (FC)
    • Slides (NOV 03, NOV 08 and NOV 10 (cancelled, Encontros Universitários) and NOV 22 | Last update NOV 22
    • Probability refresher (Definitions, rules, tables, conditional probability)
    • Probabilistic reasoning
    • Prior, likelihood and posterior
    B Graph concepts (FC)
    • Definitions
    • Numerical encoding (edge lists, adjacency matrices, clique matrices)
    C Belief networks (FC)
    • Structure (independencies and specifications)
    • Uncertain and unreliable evidence
    • Belief networks (conditional independence, collisions, path manipulations for independence, d-separation, graphical and distributional in/dependence, Markov equivalence, expressibility of belief networks)
    • Causality (Simpson's paradox, do-calculus, influence diagrams)


    A Inference in trees (FC)
    • Marginal inference (Variable elimination in a Markov chain and message passing, the sum-product algorithm of factor graphs, dealing with evidence, computing the marginal likelihood, loops)
    • Forms of inference (max-product, finding the $N$ most probable states, the most probable path and the shortes path, mixed inference)
[Top]

Problem sets

As we use problem set questions covered by books, papers and webpages, we expect you not to copy, refer to, or look at the solutions in preparing your answers. We expect you to want to learn and not google for answers: If you do happen to use other material, it must be acknowledged clearly with a citation on the submitted solution.

The purpose of problem sets is to help you think about the material, not just give us the right answers.

Homeworks must be done individually: Each of you must hand in his/her own answers. In addition, each of you must write his/her own code when requested. It is acceptable, however, for you to collaborate in figuring out answers. We are assuming that you take the responsibility to make sure you personally understand the solution to any work arising from collaboration (though, you must indicate on each homework with whom you collaborated).

To typeset assignments, students are encouraged to use this LaTeX template: Source (PDF).

Final projects/assignments must be returned via SIGAA (you'll get notified of the opening of a new task).
Delays will be penalised (<24h, -20% of the grade; <48h, -40% of grade; ...).



[Top]

Material

Course slides will suffice. Slides are mostly based on the three following textbooks: The material can be complemented using material from the following textbooks (list not exhaustive):
  1. Probabilistic graphical models: principles and techniques, by Daphne Koller and Nir Friedman
  2. Probabilistic reasoning in intelligent networks: Networks of plausible inference, by Judea Pearl
  3. Practical methods of optimization, by R. Fletcher
  4. Heuristic Search: Theory and Applications, by Stefan Edelkamp and Stefan Schrödl
Copies of these books are floating around.

>>>>>> Course material is prone to a typo or two - Please inbox FC to report <<<<<< Top

Read me or watch me

Top