Download presentation

Presentation is loading. Please wait.

Published byPhillip Wale Modified over 3 years ago

1
The International RuleML Symposium on Rule Interchange and Applications Local and Distributed Defeasible Reasoning in Multi-Context Systems Antonis Bikakis, Grigoris Antoniou Institute of Computer Science, FO.R.T.H., Greece October, 2008

2
The International RuleML Symposium on Rule Interchange and Applications 2 Overview Motivation - Background Context and Contextual Reasoning Multi-Context Systems Reasoning in MCS Methodology Representation Model P2P_DR dl Algorithm Properties Conclusion - Discussion

3
The International RuleML Symposium on Rule Interchange and Applications 3 Context in Artificial Intelligence Context and contextual reasoning were first introduced in AI by McCarthy as an approach for the problem of generality have already been used in various distributed reasoning applications e.g. CYC, Semantic Web (contextualized ontologies), multi-agent systems, commonsense reasoning, reasoning with viewpoints,… are expected to play a significant role in the development of the next generation AI applications e.g. Ambient Intelligence

4
The International RuleML Symposium on Rule Interchange and Applications 4 Formalizations of context Dimensions of contextual reasoning Partiality Approximation Perspective Main Formalizations Propositional Logic of Context (PLC) Multi-Context Systems (MCS) associated with the Local Model Semantics MCS has been argued to be most adequate wrt. to the three dimensions of contextual reasoning technically more general than PLC

5
The International RuleML Symposium on Rule Interchange and Applications 5 Multi-Context Systems: The magic box example None of the observers can make out the depth of the box Mr. 2 Mr. 1

6
The International RuleML Symposium on Rule Interchange and Applications 6 Multi-Context Systems: The magic box example None of the observers can make out the depth of the box Mr. 1’s beliefs may regard concepts that are meaningless for Mr.2 and vice versa Mr. 2 Mr. 1 central section ?

7
The International RuleML Symposium on Rule Interchange and Applications 7 Multi-Context Systems: The magic box example None of the observers can make out the depth of the box Mr. 1’s beliefs may regard concepts that are meaningless for Mr.2 and vice versa Mr. 1 and Mr. 2 may use common concepts but interpret them in different ways Mr. 2 Mr. 1 right section

8
The International RuleML Symposium on Rule Interchange and Applications 8 Multi-Context Systems: The magic box example None of the observers can make out the depth of the box Mr. 1’s beliefs may regard concepts that are meaningless for Mr.2 and vice versa Mr. 1 and Mr. 2 may use common concepts but interpret them in different ways The observers may have partial access to each other’s beliefs about the box. Mr. 2 Mr. 1 ball in the left section ball in the right section

9
The International RuleML Symposium on Rule Interchange and Applications 9 Multi-Context Systems: Intuitions A context is a partial and approximate theory of the world from some individual’s perspective. Reasoning with multiple contexts is a combination of local reasoning (reasoning with the local context only) distributed reasoning (reasoning that takes into account the relations between local contexts) No context can be fully translated into another – the relationship between different contexts can be described only to partial extend

10
The International RuleML Symposium on Rule Interchange and Applications 10 Multi-Context Systems: Model A context can be thought of as a a set of axioms and inference rules that model local context knowledge. Relations between local contexts are modeled as inference rules (known as mapping or bridge rules) with premises and consequences in different contexts, which enable information flow between related contexts. Different contexts are expected to use different languages different inference systems Challenges Heterogeneity Inconsistencies that arise from the interaction of contexts through mappings

11
The International RuleML Symposium on Rule Interchange and Applications 11 Global Inconsistency in MCS Even if we assume that contexts A, B and C are locally consistent, their unification through the mappings of A, which import context knowledge from B and C may contain inconsistencies. Context C ¬k¬kk Context A Context B

12
The International RuleML Symposium on Rule Interchange and Applications 12 Non-Monotonic MCS Non-monotonic rule-based MCS framework [Roelofsen & Serafini, IJCAI 2005] supports default negation in the mapping rules handles missing context Multi-context variant of Default Logic (Contextual Default Logic) [Brewka et al., IJCAI 2007] models bridge relations as default rules handles missing context and ambiguous context can be easily implemented due to the well-studied relation between Default Logic and Logic Programming But, Contextual Default Logic does not include the notion of preference or priority between contexts does not actually resolve the conflicts may impose a too heavy computational overhead

13
The International RuleML Symposium on Rule Interchange and Applications 13 Overview of our approach Extend the MCS model with defeasible local theories defeasible mapping rules Resolve local conflicts using the rule priority relation of Defeasible Logic global conflicts using the rule priority relation an additional preference relation on the set of contexts

14
The International RuleML Symposium on Rule Interchange and Applications 14 Representation Model A MCS P is a collection of local rule theories P i P = {P i }, i=1,2,…,n Each context has a proper distinct vocabulary V i and a unique identifier i. Each local theory is a set of rules that contain only local literals Strict local rules express sound – definite knowledge r i l : a i 1, a i 2,…, a i n-1 → a i n Local rules with empty body express local factual knowledge Defeasible local rules express uncertain local knowledge r i d : b i 1, b i 2,…, b i n-1 b i n

15
The International RuleML Symposium on Rule Interchange and Applications 15 Representation Model Each context also defines mappings that associate literals from its own vocabulary (local literals) with literals from the vocabulary of other contexts (foreign literals) Mappings are also modeled as defeasible rules r i m : a i 1, a j 2,…, a k n-1 a l n Each context defines an acyclic priority relation on the set of its local and mapping rules r i > r j Each context P i defines a preference relation T i on the set of contexts, which expresses the trust that P i has in the other contexts T i = [P k, P l,…, P n ] P k is preferred to P l by P i, if P k precedes P l in T i Contexts that are not included in T i are equally preferred by P i, but less preferred than those that are part of the list

16
The International RuleML Symposium on Rule Interchange and Applications 16 Distributed Query Evaluation Problem Problem Description Given a MCS P and a query about a literal x i issued to P i, find the truth value of x i considering P i ’s local theory, its mappings and the other context theories.

17
The International RuleML Symposium on Rule Interchange and Applications 17 Local & Global Inconsistency P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 2 r 21 : c 2 -> a 2 r 22 : b 2 -> a 2 r 23 : b 5 => b 2 r 24 : b 6 => b 2 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 Local conflicts arise as a result of local competing rules ( r 23, r 24 ) For conflict resolution we use the rule priority relation Global conflicts arise are caused by mappings ( r 12, r 13 ) For conflict resolution we use both rule priority and context preference relations P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 2 r 21 : c 2 -> a 2 r 22 : b 2 -> a 2 r 23 : b 5 => b 2 r 24 : b 6 => b 2 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 2 r 21 : c 2 -> a 2 r 22 : b 2 -> a 2 r 23 : b 5 => b 2 r 24 : b 6 => b 2 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 4 r 41 : -> a 4 P 3 r 31 : -> a 3 P 2 r 21 : c 2 -> a 2 r 22 : b 2 -> a 2 r 23 : b 5 => b 2 r 24 : b 6 => b 2 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 4 r 41 : -> a 4 P 3 r 31 : -> a 3 P 2 r 21 : c 2 -> a 2 r 22 : b 2 -> a 2 r 23 : b 5 => b 2 r 24 : b 6 => b 2 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 4 r 41 : -> a 4 P 3 r 31 : -> a 3 P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1

18
The International RuleML Symposium on Rule Interchange and Applications 18 P2P_DR dl Algorithm Step 1 Determine if x i, or its negation ¬x i are consequences of P i ' s local strict rules Step 2 Collect P i ’s local and mapping rules that support x i. Check which of these rules are applicable. For each literal in the body of a supportive rule, issue a similar query (recursive call of the algorithm) to compute its truth value. To avoid cycles, before each new call, check if the same query has been issued before during the same algorithm call. For each applicable rule r i, build its supportive set SS ri. This derives from the union of the set of the foreign literals that are contained in the body of r i with the Supportive Sets of the local literals that belong in the body of the same Build the supportive set of x i, SS xi. This will be equal to the strongest SS ri

19
The International RuleML Symposium on Rule Interchange and Applications 19 P2P_DR dl Algorithm Step 3 Collect P i ’s local and mapping rules that contradict x i. Build the conflicting set of x i, CS xi. This will be equal to the supportive set of ¬x i. Step 4 If for each applicable rule that contradicts the queried literal, there is at least one applicable rule that supports the same literal, which is either superior (according to the rule priority relation) or non-inferior but stronger (according to the context preference relation) -> return a positive truth value In any other case return a negative one Comparing the strength of two Supportive Sets A literal a k is considered stronger than b l from P i 's viewpoint if P k precedes P l in T i. The strength of a set of literals is determined by the weakest literal in this set.

20
The International RuleML Symposium on Rule Interchange and Applications 20 P2P_DR dl - Demonstration A query about x 1 is issued to P 1 Neither x 1 nor ¬ x 1 derive from the local theory of P 1 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24

21
The International RuleML Symposium on Rule Interchange and Applications 21 P2P_DR dl - Demonstration The algorithm successively calls rules r 11 and r 12, and issues a query about a 2 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 a2?a2? P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24

22
The International RuleML Symposium on Rule Interchange and Applications 22 P2P_DR dl - Demonstration The algorithm computes a positive truth value for a 2, based on the local defeasible theory of P 2 and returns it to P 1. P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 a2?a2? P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24 Ans a2 =Yes

23
The International RuleML Symposium on Rule Interchange and Applications 23 P2P_DR dl - Demonstration The algorithm computes SS r12 = {a 2 } P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 SS r12 ={a 2 } P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24

24
The International RuleML Symposium on Rule Interchange and Applications 24 P2P_DR dl - Demonstration In a similar way, it computes SS r13 = {a 3, a 4 } P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 Ans a3 =Yesa3?a3?Ans a4 =Yesa4?a4? SS r13 ={a 3,a 4 } SS r12 ={a 2 } P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24

25
The International RuleML Symposium on Rule Interchange and Applications 25 P2P_DR dl - Demonstration Using T 1 = [P 4, P 2, P 3 ] the algorithm determines that SS r12 is stronger than SS r13 and returns a positive answer for a 1, and eventually for x 1 P 1 r 11 : a 1 -> x 1 r 12 : a 2 => a 1 r 13 : a 3,a 4 => ¬a 1 P 3 r 31 : -> a 3 P 4 r 41 : -> a 4 T 1 =[P 4,P 2,P 3 ] Ans a1 =Yes Ans x1 =Yes SS r13 ={a 3,a 4 } SS r12 ={a 2 } P 2 r 21 : -> b 2 r 22 : -> c 2 r 23 : b 2 => a 2 r 24 : c 2 => ¬a 2 r 23 > r 24

26
The International RuleML Symposium on Rule Interchange and Applications 26 P2P_DR dl Properties Termination The algorithm is guaranteed to terminate returning either a positive or a negative answer for the queried literal Holds due to cycle detection Number of Messages The total number of messages exchanged between contexts for the computation of a single query is in the worst case O(n l xn 2 ) Worst Case all contexts have defined mappings that involve literals from all other contexts and the evaluation of the query requires checking the mapping rules of all contexts This is a consequence of two states that we retain for each context, which keep track of the incoming and outgoing queries of the context

27
The International RuleML Symposium on Rule Interchange and Applications 27 P2P_DR dl Properties Computational Complexity O(n 2 x n l 2 x n r + n x n l x n r 2 ) Worst Case: all contexts have defined mappings that involve literals from all other contexts and the evaluation of the query requires checking the mapping rules of all contexts Equivalent Defeasible Theory There is a standard process for unifying the distributed theories in an equivalent global defeasible theory, which produces the same results with the distributed theories under the proof theory of Defeasible Logic. Assumption: acyclic MCS Steps The local rules of each theory are added as strict rules in the unified theory The local defeasible and mapping rules of each theory are added as defeasible rules in the unified theory For pairs of rules for which there is priority information in the context theories, we add this information in the unified theory For each pair of conflicting rules, for which there is not any priority information, we add a priority relation taking into account the context preference relations of the distributed contexts

28
The International RuleML Symposium on Rule Interchange and Applications 28 Synopsis A representation model that extends the Multi-Context Systems with defeasible mapping rules and with a preference relation Challenges of reasoning in MCS the problem of global inconsistency Algorithm for conflict resolution using context and preference information

29
The International RuleML Symposium on Rule Interchange and Applications 29 Next Steps Study equivalence between non-acyclic MCS and global defeasible theory using variants of Defeasible Logic with loops Extend the algorithm to support overlapping vocabularies, which will enable the different context theories to use elements of common vocabularies (e.g. URIs) Implement the algorithms in LP Study alternative methods for using context and preference information to resolve global conflicts Study applications in the Ambient Intelligence and Semantic Web domains

30
The International RuleML Symposium on Rule Interchange and Applications Local and Distributed Defeasible Reasoning in Multi-Context Systems Thank You for your Attention! Any Questions? October, 2008

Similar presentations

OK

Distributed Instance Retrieval over Heterogeneous Ontologies Andrei Tamilin (1,2) & Luciano Serafini (1) (1) ITC-IRST (2) DIT - University of Trento Trento,

Distributed Instance Retrieval over Heterogeneous Ontologies Andrei Tamilin (1,2) & Luciano Serafini (1) (1) ITC-IRST (2) DIT - University of Trento Trento,

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on artificial intelligence in mechanical field Ppt on conservation of wildlife and natural vegetation definition Ppt on phonetic transcription tool Biology ppt on reproduction Ppt on result analysis system Ppt on social contract theory example Ppt on eid festival images Ppt on conceptual artwork Ppt on regular expression c# Led based message display ppt on ipad