Concurrent Reasoning with Inference Graphs Daniel R. Schlegel Stuart C. Shapiro Department of Computer Science and Engineering Problem Summary Rise of.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Heuristic Search techniques
Computer Science CPSC 322 Lecture 25 Top Down Proof Procedure (Ch 5.2.2)
FIPA Interaction Protocol. Request Interaction Protocol Summary –Request Interaction Protocol allows one agent to request another to perform some action.
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
Justification-based TMSs (JTMS) JTMS utilizes 3 types of nodes, where each node is associated with an assertion: 1.Premises. Their justifications (provided.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
CS 484 – Artificial Intelligence1 Announcements Choose Research Topic by today Project 1 is due Thursday, October 11 Midterm is Thursday, October 18 Book.
1/30 SAT Solver Changki PSWLAB SAT Solver Daniel Kroening, Ofer Strichman.
Inferences The Reasoning Power of Expert Systems.
Reasoning System.  Reasoning with rules  Forward chaining  Backward chaining  Rule examples  Fuzzy rule systems  Planning.
Knowledge Engineering.  Process of acquiring knowledge from experts and building knowledge base  Narrow perspective  Knowledge acquisition, representation,
Simple Example {i = 0} j := i * i {j < 100} Can we ‘verify’ this triple? Only if we know the semantics of assignment.
Chapter 12: Expert Systems Design Examples
System Architecture Intelligently controlling image processing systems.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
UnInformed Search What to do when you don’t know anything.
CS 536 Spring Global Optimizations Lecture 23.
Process Scheduling for Performance Estimation and Synthesis of Hardware/Software Systems Slide 1 Process Scheduling for Performance Estimation and Synthesis.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
Rules and Expert Systems
© C. Kemke1Reasoning - Introduction COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Knoweldge Representation & Reasoning
Prof. Fateman CS 164 Lecture 221 Global Optimization Lecture 22.
COMP 110 Introduction to Programming Mr. Joshua Stough.
Prof. Bodik CS 164 Lecture 16, Fall Global Optimization Lecture 16.
17.5 Rule Learning Given the importance of rule-based systems and the human effort that is required to elicit good rules from experts, it is natural to.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Artificial Intelligence: Definition “... the branch of computer science that is concerned with the automation of intelligent behavior.” (Luger, 2009) “The.
Minimal Knowledge and Negation as Failure Ming Fang 7/24/2009.
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
UML A CTIVITY D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
Inference Graphs: A Roadmap Daniel R. Schlegel and Stuart C. Department of Computer Science and Engineering L A – Logic of Arbitrary.
Understanding PML Paulo Pinheiro da Silva. PML PML is a provenance language (a language used to encode provenance knowledge) that has been proudly derived.
NATURAL LANGUAGE UNDERSTANDING FOR SOFT INFORMATION FUSION Stuart C. Shapiro and Daniel R. Schlegel Department of Computer Science and Engineering Center.
Pattern-directed inference systems
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
Concurrent Inference Graphs Daniel R. Schlegel Department of Computer Science and Engineering Problem Summary Inference graphs 2 in their current form.
Concurrent Reasoning with Inference Graphs Daniel R. Schlegel and Stuart C. Shapiro Department of Computer Science and Engineering University at Buffalo,
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
LECTURE LECTURE Propositional Logic Syntax 1 Source: MIT OpenCourseWare.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Automated Reasoning Early AI explored how to automate several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
CS6133 Software Specification and Verification
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Of 38 lecture 13: propositional logic – part II. of 38 propositional logic Gentzen system PROP_G design to be simple syntax and vocabulary the same as.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
Intro to Planning Or, how to represent the planning problem in logic.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
High Performance Embedded Computing © 2007 Elsevier Lecture 4: Models of Computation Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Chapter 7. Propositional and Predicate Logic
Service-Oriented Computing: Semantics, Processes, Agents
EA C461 – Artificial Intelligence Logical Agent
Service-Oriented Computing: Semantics, Processes, Agents
Applications of Propositional Logic
What to do when you don’t know anything know nothing
Natural Deduction.
Computer Security: Art and Science, 2nd Edition
Service-Oriented Computing: Semantics, Processes, Agents
Summary of the Rules A>B -A B -(A>B) A -B --A A AvB A B
Presentation transcript:

Concurrent Reasoning with Inference Graphs Daniel R. Schlegel Stuart C. Shapiro Department of Computer Science and Engineering Problem Summary Rise of multi-core computers, BUT: Lack of concurrent natural deduction systems. This work has been supported by a Multidisciplinary University Research Initiative (MURI) grant (Number W911NF ) for Unified Research on Network-based Hard/Soft Information Fusion, issued by the US Army Research Office (ARO) under the program management of Dr. John Lavery. Inference Capabilities Forward, backward, bi-directional, and focused inference. Retains all derived formulas for later re-use. Propagates disbelief. Only concurrent inference system with these capabilities. Propositional Graphs Directed acyclic graph Every well-formed expression is a node Individual constants Functional terms Atomic formulas Non-atomic formulas (“rules”) Each node has an identifier, either Symbol, or wfti[!] No two nodes with same identifier. Inference Graphs Extend Propositional Graphs Adds channels for information flow: i-channels report truth of an antecedent to a rule node. u-channels report truth of a consequent from a rule node. Channels contain valves. Hold messages back, or allow them through. Channels relay messages I-INFER (“I’ve been inferred”) U-INFER (“You’ve been inferred”) BACKWARD-INFER (“Open valves so messages that might infer me can arrive”) CANCEL-INFER (“Stop inferring me (close valves)”) UNASSERT (“I’m no longer believed”) Different message types have different relative priorities (important for scheduling). Channels represented by dashed lines are i-channels and are drawn from antecedents to rule nodes. Channels represented by dotted lines are u - channels and are drawn from rule nodes to consequents. Example: Rule Node Inference Concurrency and Scheduling The area between two valves is called an inference segment. When a message passes through a valve: A task is created with the same priority as the message, and is the application of the inference segment’s function to the message. The task is added to a queue which puts higher priority tasks towards its head. A task only operates within a task segment. 1.tasks for relaying newly derived information using segments to the right are executed before those to the left, and 2.once a node is known to be true or false, all tasks attempting to derive it (left of it in the graph) are canceled, as long as their results are not needed elsewhere. There is minimal shared state between tasks, allowing many tasks to operate concurrently. Evaluation References Daniel R. Schlegel and Stuart C. Shapiro, Concurrent Reasoning with Inference Graphs. In Proceedings of the Third International IJCAI Workshop on Graph Structures for Knowledge Representation and Reasoning (GKR 2013), 2013, in press. Example: Propositional graph for the assertions that if a, b, and c are true, then d is true, and if d or e are true, then f is true. 1.Message arrives at node. 2.Message translated to a RUI, containing positive and negative instances of antecedents contained in the message. 3.New RUI combined with existing ones. 4.Output is a set of new RUIs which are used to decide of the rule can fire. 5.When a rule fires, new messages are sent out. Example: We assume backward inference has been initiated, opening all the valves in the graph. First, in (a), messages about the truth of a, b, and c flow through i- channels to wft1. Since wft1 is and-entailment, each of its antecedents must be true for it to fire. Since they are, in (b) the message that d is true flows through wft1’s u- channel. d becomes asserted and reports its new status through its i-channel (c). In (d), wft2 receives this information, and since it is an or-entailment rule and requires only a single antecedent to be true for it to fire, it reports to its consequents that they are now true, and cancels inference in e. Finally, in (e), f is asserted, and inference is complete. Concurrency: Near linear performance improvement with the number of processors Performance resilient to graph depth and branching factor changes. Scheduling Heuristics: Backward-inference with or-entailment shows 10x improvement over LIFO queues, and 20-40x over FIFO queues. See GKR paper (below) for more details.