Credits
6
Types
Compulsory
Requirements
This subject has not requirements
, but it has got previous capacities
Department
CS
Mail
ramon.sanguesa.i@upc.edu
It begins with a historical introduction to the various paradigms of AI in order to contextualize the role of knowledge in intelligence, as well as that of reasoning. It is argued that the manipulation of knowledge representations can be the basis for the automation of reasoning which is one of the ways of obtaining intelligent behaviours in artificial agents.
Logic is characterized as a basic formalism to represent knowledge. Starting from the logical characterization of various forms of inference, the need for learning is motivated as a crucial means for an intelligent agent to act as such.
Teachers
Person in charge
- Ramon Sangüesa Sole ( ramon.sanguesa.i@upc.edu )
Others
- Caroline König ( caroline.leonore.konig@upc.edu )
Weekly hours
Theory
2
Problems
1
Laboratory
1
Guided learning
0
Autonomous learning
6
Competences
Transversals
Especifics
Generic
Objectives
-
To know and understand the concept of logic
Related competences: CE02, CE15, -
To know now how to apply logical foundations to the increasing number of applications of reasoning methods in computing.
Related competences: CG2, CG4, CE02, CE15, -
To be able to analyze the knowledge that is necessary to solve a problem.
Related competences: CG2, CG4, CG5, CT5, CE15, CE18, -
To be able to analyze a problem an decide which representation and reasoning techniques are the mos suitable to solve it
Related competences: CG2, CG4, CG5, CT5, CE15, -
To be able to elicit and represent the necessary knowledge to build an application in the field of knowledge-based systems.
Related competences: CG2, CG4, CG5, CT4, CT5, CE15, CE18, -
To understand, write and manipulate proficiently formulase in various logics (propositional logic, first order logic, description logics, fuzzy logics), with special emphasis on application
Related competences: CG4, CE02, CE15, CE18,
Contents
-
Introduction: Intelligence, Knowledge, Reason, Reasoning and Computing.
Brief history of AI and its paradigms. Presentation of the role of reasoning in intelligence. Knowledge and its representation in relation to reasoning. The various types of knowledge: declarative (relational, heritable, inferable), procedural, implicit, a priori and actionable. The concept of rational agent. -
Reasoning and logic
Logic as a representation of knowledge. Logic with a reasoning mechanism. deduction Properties of logical systems. -
First-order logic
First-order logics: normal forms, literal forms and clauses. Expressive power and decidability. Properties of computational logic systems. Deduction in First Order Logic. -
Logic Programming.
Introduction to logical programming answer calculation, resolution strategies, backtracking management. -
Other forms of inference:
Non-monotonic reasoning. induction abduction analogy Protopic and taxonomic reasoning. Explantaory Reasoning. Learning -
Semantic Knowledge Modeling
Ontologies. Description Logics.
Activities
Activity Evaluation act
Intelligence, Knowledge, Reason, Reasoning and Computing
Presentation of the fundamental concepts that link intelligence with reasoning, reasoning with knowledge and this with its representation. Reasoning as manipulation of representations. Reasoning as a calculation.Objectives: 1 6 2
Contents:
Theory
2h
Problems
0h
Laboratory
0h
Guided learning
0h
Autonomous learning
2h
First-Order Logic.
Hay que entender y practicar las diveres formas y métodos de inferencia lógica así como incluir los límites expresivos de este lenguaje, que resulta una extensión de lo que permite la lógica proposicional y al mismo tiempo nos permite entender su relación con las propiedades que interesan desde el punto de vista de su realización por medios computacionales. Esto permite entender las bases de la programación lógica.Objectives: 1 6 2 3
Contents:
Theory
8h
Problems
7h
Laboratory
0h
Guided learning
0h
Autonomous learning
16h
Logic Programming
It is necessary to understand the language of logical programming as a computational transposition of the inference mechanisms of first-order logic and at the same time to understand its differences. It will be practiced intensively in the laboratory with exercises of increasing difficulty that will serve to prepare the specific examination of logical programming.Objectives: 1 6 2 3
Contents:
Theory
8h
Problems
1h
Laboratory
10h
Guided learning
0h
Autonomous learning
21h
Other inferences forms
It must be understood that deduction is a form of reasoning among many others that we have developed. We will understand and practice through exercises the inductive inference, the basis of the experimental sciences and, in general, of all those that generalize from observations (and the corresponding data); abductive inference as a generative inference and case-based analogy or reasoning as a type of reasoning where the similarity between the components and structure of a situation sets in motion a reasoning that has useful and practical consequences. The various exercises will allow us to strengthen the knowledge of the possibilities and limitations of these types of knowledge, always comparing them with the properties of standard logic.Objectives: 1 6 2 3 4 5
Contents:
Theory
2h
Problems
1h
Laboratory
1h
Guided learning
0h
Autonomous learning
4h
Semantic Knowledge Modeling. Ontologies.
Ontologies are formalisms based on hierarchies of concepts and relationships. We will study the main realizations and formalisms and in the laboratory we will work with ontology development environments. Students should not only attend lessons, but also do exercises on the use of ontologies and discuss with the teacher and other students when it is best to use each technique. In the lab students will apply what they have learned to a problem.Objectives: 2 3 4 5
Contents:
Theory
2h
Problems
2h
Laboratory
4h
Guided learning
0h
Autonomous learning
7h
Practical project of Logic Programming
Team project using a logic programming environment that focuses on solving a limited problem by applying knowledge about logic programming and reasoning strategiesObjectives: 1 6 2
Week: 6 (Outside class hours)
Theory
0h
Problems
0h
Laboratory
0h
Guided learning
0h
Autonomous learning
0h
Teaching methodology
The teaching methodology will consist of the exposition of the theory in theory classes and the application of the concepts in the problem and laboratory classes and to small projects to be worked in group.Evaluation methodology
The evaluation is based on several test of the thematic blocks that made up the course and an final examen as well as an evaluation of the assignments of the course in problems and laboratory classes. The final examination tests the knowledge about the theoretical aspects of the course and of the methodology acquired by the students during the course. The grading of the course assignments will be based on the presentations of small problems proposed during the course.The final grade will be calculated as follows:
0.10* Solving Lab and Theoretical exercises and + 0.15 * Logic Programming Projects + 0.30* Midterm Exam+ 0.45 * Final Exam
The assessment of Logic Programming Projectes is based on the work done during the lab classes and the different practical works that are posed, handed in by students and evaluated.
Assessment of competencies
The assessment of teamwork competence is based on the work done during the lab classes and the different practical works that are posed, handed in by students and evaluated.
Competency assessment. Solvent use of information resources is based on both internship work and problem-solving exercises and laboratories.
Reassessment: only those people who have taken the final exam and have failed it can take to the re-evaluatiion exam. The maximum grade that can be obtained for the reassessment is a 7.
Bibliography
Basic
-
Logic programming with prolog
- Bramer, Max,
Springer,
2013.
ISBN: 9781447154860
http://cataleg.upc.edu/record=99100492164800671~S1*cat -
Thinking as Computation: A First Course
- Levesque, Hector J.,
MIT press,
2012.
http://cataleg.upc.edu/record=99100492393880671~S1*cat
Web links
- Simply Logical. Intelligence Reasoning by Example. Peter Flache. http://people.cs.bris.ac.uk/~flach/SimplyLogical.html