Inferencing in Artificial Intelligence and Computational Linguistics

Similar documents
Chapter 2. Knowledge Representation: Reasoning, Issues, and Acquisition. Teaching Notes

INFERENCING STRATEGIES

Expert Systems. Artificial Intelligence. Lecture 4 Karim Bouzoubaa

Does pure water boil, when it s heated to 100 C? : The Associative Strength of Disabling Conditions in Conditional Reasoning

What Happened to Bob? Semantic Data Mining of Context Histories

Knowledge Based Systems

CS 4365: Artificial Intelligence Recap. Vibhav Gogate

Explanation-Boosted Question Selection in Conversational CBR

Harvard-MIT Division of Health Sciences and Technology HST.952: Computing for Biomedical Scientists. Data and Knowledge Representation Lecture 6

High-level Vision. Bernd Neumann Slides for the course in WS 2004/05. Faculty of Informatics Hamburg University Germany

Citation for published version (APA): Geus, A. F. D., & Rotterdam, E. P. (1992). Decision support in aneastehesia s.n.

Foundations of AI. 10. Knowledge Representation: Modeling with Logic. Concepts, Actions, Time, & All the Rest

Insight Assessment Measuring Thinking Worldwide

CFSD 21 st Century Learning Rubric Skill: Critical & Creative Thinking

56 The Evolution of MYCIN s Rule Form

An Interactive Modeling Environment for Systems Biology of Aging

LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES

What Is A Knowledge Representation? Lecture 13

Models for Inexact Reasoning. Imprecision and Approximate Reasoning. Miguel García Remesal Department of Artificial Intelligence

Computational Logic and Human Thinking: How to be Artificially Intelligent

Wason's Cards: What is Wrong?

Stepwise Knowledge Acquisition in a Fuzzy Knowledge Representation Framework

3. L EARNING BAYESIAN N ETWORKS FROM DATA A. I NTRODUCTION

What is AI? The science of making machines that:

CPS331 Lecture: Coping with Uncertainty; Discussion of Dreyfus Reading

Artificial Intelligence

CHAPTER 3. Methodology

CISC453 Winter Probabilistic Reasoning Part B: AIMA3e Ch

Inductive Reasoning. Induction, Analogy, Metaphor & Blending. Abduction Schema. Abduction or Specific Induction

Assumption Based Peg Unification for Crime Scenario Modelling 1

Programming with Goals (3)

Behavior Architectures

PSYCHOLOGICAL CONSCIOUSNESS AND PHENOMENAL CONSCIOUSNESS. Overview

Artificial Intelligence Programming Probability

The Logical Way to Be Artificially Intelligent

OVERVIEW TUTORIAL BEHAVIORAL METHODS CLAIM: EMLAR VII EYE TRACKING: READING. Lecture (50 min) Short break (10 min) Computer Assignments (30 min)

Context, information s meaning, and perception

Introduction to the Scientific Method. Knowledge and Methods. Methods for gathering knowledge. method of obstinacy

Thinking Like a Researcher

Artificial Intelligence and Human Thinking. Robert Kowalski Imperial College London

Inference suppression and moral dilemmas

Overview. cis32-spring2003-parsons-lect15 2

The Logic of Categorization

Model-Based Reasoning Methods within an Ambient Intelligent Agent Model

Overview EXPERT SYSTEMS. What is an expert system?

The General Intelligent Design (GID) Model Robert A. Herrmann* 28 JULY 2016.

ARTIFICIAL INTELLIGENCE

The effect of premise order in conditional reasoning: a test of the mental model theory

The Limits of Artificial Intelligence

Hypothesis-Driven Research

Cognitive domain: Comprehension Answer location: Elements of Empiricism Question type: MC

Incorporating Action into Diagnostic Problem Solving (An Abridged Report)

COMP329 Robotics and Autonomous Systems Lecture 15: Agents and Intentions. Dr Terry R. Payne Department of Computer Science

EEL-5840 Elements of {Artificial} Machine Intelligence

Glossary of Research Terms Compiled by Dr Emma Rowden and David Litting (UTS Library)

Sample Interaction: Explanation. Sample Interaction (cont d) Sample Interaction: Therapy. Sample Interaction: Diagnosis. How It Worked: Representation

Artificial Cognitive Systems

STIN2103. Knowledge. engineering expert systems. Wan Hussain Wan Ishak. SOC 2079 Ext.: Url:

A Computational Theory of Belief Introspection

Knowledge is rarely absolutely certain. In expert systems we need a way to say that something is probably but not necessarily true.

Assignment 4: True or Quasi-Experiment

CHAPTER 2 APPLYING SCIENTIFIC THINKING TO MANAGEMENT PROBLEMS

Belief Revision Controlled by Meta-abduction

Cogs 202 (SP12): Cognitive Science Foundations. Computational Modeling of Cognition. Prof. Angela Yu. Department of Cognitive Science, UCSD

UNDERSTANDING THEORETICAL & CONCEPTUAL FRAMEWORKS

Dynamic Rule-based Agent

Modeling and Environmental Science: In Conclusion

Supplement 2. Use of Directed Acyclic Graphs (DAGs)

What is Artificial Intelligence? A definition of Artificial Intelligence. Systems that act like humans. Notes

ERA: Architectures for Inference

Quantitative research Methods. Tiny Jaarsma

PLANS AND THE REPRESENTATION OF ACTS

Durkheim. Durkheim s fundamental task in Rules of the Sociological Method is to lay out

High-level Vision. Bernd Neumann Slides for the course in WS 2003/04. Faculty of Informatics Hamburg University Germany

Content Effects in Conditional Reasoning: Evaluating the Container Schema

Minimal Change and Maximal Coherence: A Basis for Belief Revision and Reasoning about Actions

From Classical Logic to Computational Argumentation

[1] provides a philosophical introduction to the subject. Simon [21] discusses numerous topics in economics; see [2] for a broad economic survey.

6. A theory that has been substantially verified is sometimes called a a. law. b. model.

Unifying Data-Directed and Goal-Directed Control: An Example and Experiments

Negotiation Frames. Michael Rovatsos. February 5, 2004

Professional Skills in Computer Science Lecture 8: Induction (2)

Abduction as Belief Revision

Analysis of Competing Hypotheses using Subjective Logic (ACH-SL)

Coherence Theory of Truth as Base for Knowledge Based Systems

International Journal of Software and Web Sciences (IJSWS)

Reactivity and Deliberation in Decision-Making Systems

Part 1. Contents. Preface to the Second Edition Note about Companion Web Site. Introduction

Chapter 02. Basic Research Methodology

Dr Rochelle Sibley Academic Writing Programme 6 th October Warwick Business School

AGENT-BASED SYSTEMS. What is an agent? ROBOTICS AND AUTONOMOUS SYSTEMS. Today. that environment in order to meet its delegated objectives.

Disposition. Quantitative Research Methods. Science what it is. Basic assumptions of science. Inductive and deductive logic

Common Criteria. for. CGIAR Research Proposal (CRP) Design and Assessment

Artificial Intelligence Lecture 7

Research Approach & Design. Awatif Alam MBBS, Msc (Toronto),ABCM Professor Community Medicine Vice Provost Girls Section

Reasons and Emotions that Guide Stakeholder s Decisions and Have an Impact on Corporate Reputation

Diagnosis Of the Diabetes Mellitus disease with Fuzzy Inference System Mamdani

In Support of a No-exceptions Truth-telling Policy in Medicine

Lecture 9 Internal Validity

Transcription:

Inferencing in Artificial Intelligence and Computational Linguistics (http://www.dfki.de/~horacek/infer-ai-cl.html) no classes on 28.5., 18.6., 25.6. 2-3 extra lectures will be scheduled Helmut Horacek Saarland University, Department of Computer Science Room 1.25, DFKI old building, Tel: 85775-2450 email:helmut.horacek@dfki.de

PROPERTIES OF INFERENCES

PROPERTIES OF INFERENCES Common properties Given explicit information Implicit information made explicit Limited resources Goal-orientedness

PROPERTIES OF INFERENCES Common properties Given explicit information Implicit information made explicit Limited resources Goal-orientedness Distinct Properties Reasoning technique Reasoning strength Context

EXAMPLES OF RULES 1) If a town has more than 100,000 inhabitants, it is city. 2) If the patient is male, he cannot be pregnant. 3) If the employee is a group leader, he has a secretary. 4) If the tank is empty, the car cannot drive. 5) If the machine does not run, first check the power supply. 6) If the position of the broken piece is unknown, and wet spots are observed, this could be the position of the broken piece.

EXAMPLES OF RULES 1) If a town has more than 100,000 inhabitants, it is city. 2) If the patient is male, he cannot be pregnant. 3) If the employee is a group leader, he has a secretary. 4) If the tank is empty, the car cannot drive. 5) If the machine does not run, first check the power supply. 6) If the position of the broken piece is unknown, and wet spots are observed, this could be the position of the broken piece. Identification World Knowledge Domain Knowledge Causality Meta Rule Self Reference

WHAT RULES DO NOT REPRESENT Compiled knowledge encoded in rules Sufficient for pure performance Conceptual and mechanical issues mixed up Limitations for documentation Optimizations required omitting trivial steps Degree of detail hard to manage Limitations in representations No social environment expressed No justifications for rule (experts know that) No (domain-independent) strategic principles

REASONING PARADIGMS Deduction Abduction Non-monotonic Reasoning Reasoning under Uncertainty

PROPERTIES OF DEDUCTION A deductive inference (1) If it rains, the street is wet (2) It rains (3) The street is wet

PROPERTIES OF DEDUCTION A deductive inference (1) If it rains, the street is wet (2) It rains (3) The street is wet Concluding (3) from (1) and (2) Concluding (2) from (1) and (3) Modus ponens Modus tollens

PROPERTIES OF DEDUCTION A deductive inference (1) If it rains, the street is wet (2) It rains (3) The street is wet Concluding (3) from (1) and (2) Concluding (2) from (1) and (3) Modus ponens Modus tollens Crucial Properties Semi-decidability logical soundness Limited expressibility (1st order) Limited use in reality

PROPERTIES OF ABDUCTION An abductive inference (1) If it rains, the street is wet (2) It rains (3) The street is wet

PROPERTIES OF ABDUCTION An abductive inference (1) If it rains, the street is wet (2) It rains (3) The street is wet Concluding (2) from (1) and (3) Generates hypotheses for explanations

PROPERTIES OF ABDUCTION An abductive inference (1) If it rains, the street is wet (2) It rains (3) The street is wet Concluding (2) from (1) and (3) Generates hypotheses for explanations Crucial Properties Defeasible Extendable by plausibility weights Widely useful in reality

PROPERTIES OF NON-MONOTONIC REASONING A non-monotonic inference (1) If it rains, the street is wet (unless we are in a tunnel, ) (2) It rains (3) The street is wet

PROPERTIES OF NON-MONOTONIC REASONING A non-monotonic inference (1) If it rains, the street is wet (unless we are in a tunnel, ) (2) It rains (3) The street is wet Concluding (3) from (1) and (2) Hypotheses defaults until better evidence

PROPERTIES OF NON-MONOTONIC REASONING A non-monotonic inference (1) If it rains, the street is wet (unless we are in a tunnel, ) (2) It rains (3) The street is wet Concluding (3) from (1) and (2) Hypotheses defaults until better evidence Crucial Properties Defeasible Cognitively plausible representation Widely useful in reality

PROPERTIES OF REASONING WITH UNCERTAINTY A uncertainty-based inference (1) If it rains, the street is wet (p) (2) It rains (q) (3) The street is wet f(p,q)

PROPERTIES OF REASONING WITH UNCERTAINTY A uncertainty-based inference (1) If it rains, the street is wet (p) (2) It rains (q) (3) The street is wet f(p,q) Concluding (3) from (1) and (2) Likelyhood of facts derived

PROPERTIES OF REASONING WITH UNCERTAINTY A uncertainty-based inference (1) If it rains, the street is wet (p) (2) It rains (q) (3) The street is wet f(p,q) Concluding (3) from (1) and (2) Likelyhood of facts derived Crucial Properties Semantics may be problematic Computation sometimes problematic Useful for many tasks in reality

Precondition (if ) Postcondition or action (then ) WHAT IS A RULE? Components of a rule Examples If an accident has happened, call the ambulance If the ph-value of the material is below 6, this is an acid. The precondition determines the applicability of a rule The postcondition determines additionally derived knowledge (applicable actions) There are two types of rules: Implications (deduction), deriving the truth of a fact Actions, which change a state This distinction is essential for commutative rule systems (not for action-like rules)

Forward reasoning DERIVATION STRATEGIES Two principled choices Starting from the given database, one of those rules whose precondition is fulfilled, is selected, and its action part is executed, which changes the database. This process is repeated until a termination criterion is fulfilled, or no more rules are applicable. This strategy is suitable only to perform inferences from a given database. Backward reasoning Starting from a goal, only those rules will be taken into account whose action part contains the goal. Unknown parameters of the precondition are derived recursively, or the user is consulted. This strategy is suitable to perform inferences from a given database and to query unknown facts in a goal-oriented manner.

FORWARD CHAINING Selection among multiple applicable rules: Preselection: determining the set of applicable rules (the conflict set) Selection: choosing one rule of the conflict set by a conflict resolution strategy The most important conflict resolution strategies are: Selection according to some order, such as the first rule or the most recent one Selection according to the syntactic structure of a rule, such as the more specific rule or the syntactically bigger one Selection according to additional knowledge, such as pre-given priority or through other rules (meta rules) Changes for backward chaining Choice between derivation and consultation The more precise the goal, the smaller the search space

WHAT IS A CONSTRAINT? A set of variables Components of a constraint A set of values relating variables to each other Jim is 5 years older than John Examples Subject and verb agree in number and person Constraint problem Solutions to a constraint problem are assignments of values to variables so that all constraints are fulfilled Applications Physical laws, algebraic equations, unification grammars,

COMPARING RULES AND CONSTRAINT? Rules are directed, constraints not Evaluation of information Restricted evaluation potential for rules Efficiency Restricted interpretation enables more efficient evaluation for rules Advantages/disadvantages Rules are more modular and easier to adapt Constraints enable better information evaluation Both are associated with a flow of control that is difficult to understand Application areas Rules suited for domain with isolated knowledge Constraints suited for coherent (causal) theories

Modeling with rules Deduction systems Deductive databases Deduction in NLP Digital Aristotle PARTIAL PLAN FOR THE LECTURE Basics of non-monotonic logic Argumentation Non-monotonic reasoning in NL generation Abductive and model-based diagnosis Abduction in NL interpretation Quantitative reasoning (fuzzy logic, belief networks)