Presentation is loading. Please wait.

Presentation is loading. Please wait.

 2004, G.Tecuci, Learning Agents Center CS 785 Fall 2004 Learning Agents Center and Computer Science Department George Mason University Gheorghe Tecuci.

Similar presentations


Presentation on theme: " 2004, G.Tecuci, Learning Agents Center CS 785 Fall 2004 Learning Agents Center and Computer Science Department George Mason University Gheorghe Tecuci."— Presentation transcript:

1  2004, G.Tecuci, Learning Agents Center CS 785 Fall 2004 Learning Agents Center and Computer Science Department George Mason University Gheorghe Tecuci tecuci@gmu.edu http://lac.gmu.edu/

2  2004, G.Tecuci, Learning Agents Center Overview Knowledge base: Object ontology + Rules Control of the problem solving process Rule-based problem solving Knowledge-based agents

3  2004, G.Tecuci, Learning Agents Center Intelligent Agent user/ environment output/ sensors effectors input/ An intelligent agent is a system that: perceives its environment (which may be the physical world, a user via a graphical user interface, a collection of other agents, the Internet, or other complex environment); reasons to interpret perceptions, draw inferences, solve problems, and determine actions; and acts upon that environment to realize a set of goals or tasks for which it was designed. What are intelligent agents

4  2004, G.Tecuci, Learning Agents Center The architecture of an intelligent agent Problem Solving Engine Intelligent Agent User/ Environment Output/ Sensors Effectors Input/ Learning Engine Implements learning methods for extending and refining the knowledge in the knowledge base. Implements a general problem solving method that uses the knowledge from the knowledge base to interpret the input and provide an appropriate output. Data structures that represent the objects from the application domain, general laws governing them, actions that can be performed with them, etc. Ontology Rules/Cases/… Knowledge Base

5  2004, G.Tecuci, Learning Agents Center Problem Solving Approach: Task Reduction A complex problem solving task is performed by: successively reducing it to simpler tasks; finding the solutions of the simplest tasks; successively composing these solutions until the solution to the initial task is obtained. Object Ontology Reduction Rules Composition Rules Knowledge Base

6  2004, G.Tecuci, Learning Agents Center Overview Knowledge base: Object ontology + Rules Control of the problem solving process Rule-based problem solving Knowledge-based agents

7  2004, G.Tecuci, Learning Agents Center The structure of the knowledge base The object ontology is a hierarchical description of the objects from the domain, specifying their properties and relationships. It includes both descriptions of types of objects (called concepts) and descriptions of specific objects (called instances). The task reduction rules specify generic problem solving steps of reducing complex tasks to simpler tasks. They are described using the objects from the ontology. Knowledge Base = Object ontology + Task reduction rules

8  2004, G.Tecuci, Learning Agents Center A task reduction rule is an IF-THEN structure that expresses the condition C under which a task T 1 can be reduced to the simpler tasks T 1a, or to a set of simpler tasks T 11, …, T 1n. T1T1 T 1a The structure of the knowledge base (cont.) Knowledge Base = Object ontology + Task reduction rules T1T1 T 11 T 12 … T 1n CC

9  2004, G.Tecuci, Learning Agents Center Fragment of the object ontology feudal_god_ king_government totalitarian_ government democratic_ government theocratic_ government state_government military_ dictatorship police_ state religious_ dictatorship representative_ democracy parliamentary_ democracy theocratic_ democracy monarchy governing_body other_state_ government dictator deity_figure chief_and_ tribal_council autocratic_ leader democratic_ council_ or_board group_governing_body other_ group_ governing_ body government_ of_Italy_1943 government_ of_Germany_1943 government_ of_US_1943 government_ of_Britain_1943 ad_hoc_ governing_body established_ governing_body other_type_of_ governing_body fascist_ state communist_ dictatorship religious_ dictatorship government_ of_USSR_1943

10  2004, G.Tecuci, Learning Agents Center The instances and the concepts are organized into generalization hierarchies like this hierarchy of governing bodies. Notice, however, that the generalization hierarchies are not always as strict as this one, where each concept is a subconcept of only one concept. For instance, the concept “strategic_raw_material” is both a subconcept of “raw_material” and a subconcept of “strategically_essential_resource_or_infrastructure_element”.

11  2004, G.Tecuci, Learning Agents Center Fragment of feature ontology has_as_controlling_leader D: agent R: person has_as_monarch D: governing_body R: person has_as_god_king D: governing_body R: person has_as_military_leader D: governing_body R: person has_as_political_leader D: governing_body R: person has_as_religious_leader D: governing_body R: person has_as_commander_in_chief D: force R: person has_as_head_of_government D: governing_body R: person has_as_head_of_state D: governing_body R: person

12  2004, G.Tecuci, Learning Agents Center An object feature is itself defined as a subconcept of another object feature, as illustrated in the previous slide. Therefore, the object features are also hierarchically organized. Notice that if feature1 is a subconcept of feature2, than the domain of feature1 should be less general than or at most as general as the domain of feature2. The same condition should hold between the ranges of the two features. For instance, “has_as_political_leader” is a subconcept of “has_as_controling_leader”. The domain of the first feature is “governing_body” which is less general than the domain of the second feature, which is “agent.” Also, the range of “has_as_political_leader” is the same as the range of “has_as_controling_leader”.

13  2004, G.Tecuci, Learning Agents Center ?O1isforce has_as_industrial_factor ?O2 ?O2isindustrial_capacity generates_essential_war_materiel_from_ the_strategic_perspective_of ?O3 ?O3ismulti_member_force has_as_member ?O1 Object expressions One can define more complex concepts as logical expressions involving the basic concepts from the object ontology. In the following expression, for instance, ?O1 represents a force that has as industrial factor an industrial capacity that generates essential war materiel from the strategic perspective of a multi-member force that includes ?O1.

14  2004, G.Tecuci, Learning Agents Center Ontology matching Ontology matching allows one to answer complex questions about the knowledge represented in the ontology, as illustrated in the following: Question: Is there any force ?O1 that has as industrial factor an industrial capacity that generates essential war materiel from the strategic perspective of a multi-member force that includes ?O1? Answer: Yes, US_1943 is a force that has as industrial factor industrial_capacity_of_US_1943 that generates essential war materiel from the strategic perspective of the Allied_Forces_1943 which is a multi-member force that includes US_1943.

15  2004, G.Tecuci, Learning Agents Center Ontology matching: example Question ?O1 has_as_industrial_factor instance-of industrial_capacity force ?O2 generates_essential_ war_materiel_from_ the_ strategic_perspective_of ?O3 instance-of multi_state_force instance-of has_as_member US_1943 has_as_industrial_factor instance-of industrial_capacity force Industrial_capacity_ of_US_1943 generates_essential_ war_materiel_from_ the_ strategic_perspective_of Allied_forces_1943 instance-of multi_state_force instance-of has_as_member single_member_force single_state_force equal_partner_ multi_state_ alliance multi_state_ alliance subconcept-of Object ontology ?O2  industrial_capacity_ of_US_1943 ?O3  Allied_forces_1943 ?O1  US_1943 Is there any force ?O1 that has as industrial factor an industrial capacity that generates essential war materiel from the strategic perspective of a multi-member force that includes ?O1? Answer

16  2004, G.Tecuci, Learning Agents Center This slide illustrates how the previous question has been answered. The question is represented by the ontology fragment from the left hand side of the slide. Answering the question is equivalent with finding values for the variables from this ontology fragment. To find these values, the agent maps this ontology fragment with the agent’s ontology, as illustrated bellow. The agent attempts to match ?O1 with US_1943. For this, it has to check that US_1943 and ?O1 have the same features. ?O1 is a Force. US_1943 is a single state force, which is a single-member force, which is a force. Therefore US_1943 is also a force. ?O1 has as industrial factor ?O2. US_1943 has as industrial factor industrial_capacity_of_US_1943. Therefore ?O2 has to match industrial_capacity_of_US_1943. ?O2 is an industrial capacity. Industrial_capacity_of_US_1943 is also an industrial capacity. However, ?O2 also generates essential war materiel from the strategic perspective of ?O3. Industrial_capacity_of_US_1943 generates essential war materiel from the strategic perspective of the Allied_Forces_1943. Therefore ?O3 has to match Allied_Forces_1943. ?O3 is an instance of a multi-member force and has as member ?O1, which has previously matched with US_1943. Allied_Forces_1943 is also multi-member force and has as member US_1943. Therefore, the question: Is there any force ?O1 that has as industrial factor an industrial capacity that generates essential war materiel from the strategic perspective of a multi-member force that includes ?O1? Has the answer: Yes, US_1943 is a force that has as industrial factor industrial_capacity_of_US_1943 that generates essential war materiel from the strategic perspective of the Allied_Forces_1943 which is a multi-member force that includes US_1943.

17  2004, G.Tecuci, Learning Agents Center Sample task Identify and test a strategic COG candidate corresponding to the ?O1 Condition ?O1 is type_of_economy Identify and test a strategic COG candidate corresponding to the economy of a force The economy is ?O1 INFORMAL STRUCTURE OF THE TASK FORMAL STRUCTURE OF THE TASK Identify and test a strategic COG candidate corresponding to the economy_of_US_1943 Identify and test a strategic COG candidate corresponding to the economy of a force The economy is economy_of_US_1943 Instantiated task: INFORMAL STRUCTURE OF THE TASK FORMAL STRUCTURE OF THE TASK General task: A task is a representation of anything that an agent may be asked to perform.

18  2004, G.Tecuci, Learning Agents Center Exercise How could the agent generate plausible formalizations? Identify and test a strategic COG candidate for Sicily_1943 which is a war scenario What kind of scenario is Sicily_1943? Sicily_1943 is a war scenario Identify and test a strategic COG candidate for Sicily_1943 Identify and test a strategic COG candidate for a scenario The scenario is Sicily_1943 Identify and test a strategic COG candidate for a scenario which is a war scenario The scenario is Sicily_1943

19  2004, G.Tecuci, Learning Agents Center A task is a representation of anything that an agent may be asked to perform. The informal structure of a task is a phrase in free-form English with variables. The formal structure of a task contains a task name and several task features. The task name is an abstract English phrase with no variables. The task features are also phrases, but they may contain variables, such as ?O1. The formal structure of the task contains also a condition that restricts the values that the variable can take. For example, in the case of the task from this slide, ?O1 has to be an instance of the concept type_of_economy. Replacing the variables with objects that satisfy the condition leads to the creation of specific tasks, as illustrated at the bottom of this slide.

20  2004, G.Tecuci, Learning Agents Center Sample task reduction rule IF Identify and test a strategic COG candidate corresponding to the economy of a force The economy is ?O1 THEN Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is ?O1 Condition ?O1isindustrial_economy IF Identify and test a strategic COG candidate corresponding to the ?O1 Question What is the type of ?O1 ? Answer industrial_economy THEN Identify and test a strategic COG candidate corresponding to the ?O1 which is an industrial_economy INFORMAL STRUCTURE OF THE RULE FORMAL STRUCTURE OF THE RULE A rule is an ontology-based representation of an elementary problem solving process.

21  2004, G.Tecuci, Learning Agents Center A rule is a representation of a generic problem-solving step. It has an informal structure and a formal structure. Let us look at the informal structure first. It should be read as follows: IF I have to perform the task Identify and test a strategic COG candidate corresponding to the ?O1 And the question “What is the type of ?O1 ?” Has the answer “industrial_economy” THEN I should Identify and test a strategic COG candidate corresponding to the ?O1 which is an industrial_economy Notice that the informal structure of the rule is very similar with the form we used to illustrate problem solving through task reduction. This is because the agent uses the informal structure to communicate with the user. To reason, the agent uses an equivalent IF-THEN formal structure. This structure indicates the condition under which the task from the IF part can be reduced to the task from the THEN part. It should be read as follows: IF I have to perform the task Identify and test a strategic COG candidate corresponding to the economy of a force, where the economy is ?O1 And the following condition is satisfied: ?O1 is an industrial economy THEN I should Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy, where the industrial economy is ?O1

22  2004, G.Tecuci, Learning Agents Center Another task reduction rule IF Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is ?O1 THEN Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Condition ?O1isindustrial_economy ?O2isindustrial_capacity generates_essential_war_materiel_from_ the_strategic_perspective_of ?O3 ?O3is multi_state_force has_as_member ?O4 ?O4is force has_as_economy ?O1 has_as_industrial_factor ?O2 IF Identify and test a strategic COG candidate corresponding to the ?O1 which is an industrial_economy Question Who or what is a strategically critical element with respect to the ?O1 ? Answer ?O2 because it is an essential generator of war_materiel for ?O3 from the strategic perspective THEN Identify ?O2 as a COG candidate with respect to the ?O1 Test ?O2 which is a strategic COG candidate with respect to the ?O1 INFORMAL STRUCTURE OF THE RULE FORMAL STRUCTURE OF THE RULE

23  2004, G.Tecuci, Learning Agents Center Let us consider the informal structure of this more complex rule. It should be read as follows: IF I have to perform the task Identify and test a strategic COG candidate corresponding to the ?O1 which is an industrial economy And the question “Who or what is a strategically critical element with respect to the ?O1 ?” Has the answer “?O2 because it is an essential generator of war materiel for ?O3 from the strategic perspective” THEN I should perform the following two tasks Identify ?O2 as a COG candidate with respect to the ?O1 Test ?O2 which is a strategic COG candidate with respect to the ?O1 The formal structure should be read as follows: IF I have to perform the task Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy, where the industrial economy is ?O1 And the following condition is satisfied: ?O1 is an industrial economy, and ?O2 is an industrial capacity that generates essential war materiel from the strategic perspective of ?O3, and ?O3 is a multi-state force that has ?O4 as one of its members, and ?O4 is a force that has as economy ?O1, and as industrial factor ?O2 THEN I should perform the following two tasks Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Notice that the elements of the condition are concepts and relationships from the object ontology.

24  2004, G.Tecuci, Learning Agents Center The generality of the ontology and rules Which are more general, the object descriptions from the object ontology, or the rules?

25  2004, G.Tecuci, Learning Agents Center The generality of the ontology An object ontology is characteristic to an entire application domain, such as military or medicine. In the military domain the object ontology will include descriptions of military units and of military equipment. These descriptions are most likely needed in almost any specific military application. Because building the object ontology is a very complex task, it makes sense to reuse these descriptions when developing a knowledge base for another military application, rather than starting from scratch.

26  2004, G.Tecuci, Learning Agents Center The rules from the knowledge base are specific to a particular application and even to a particular subject matter expert. Consider, for instance, the agents discussed before, the agent that critiques courses of action with respect to the principles of war, and the agent for center of gravity analysis. While both agents need to reason with opposing forces, their reasoning rules are very different, being specific not only to their particular application (course of action critiquing versus center of gravity analysis), but also to the subject matter expertise whose knowledge they encode. The generality of the rules

27  2004, G.Tecuci, Learning Agents Center Overview Knowledge base: Object ontology + Rules Control of the problem solving process Rule-based problem solving Knowledge-based agents

28  2004, G.Tecuci, Learning Agents Center Illustration of rule-based task reduction ?O1 = economy_US_1943 instance_of industrial_economy ?O1  economy_of_US_1943 Identify and test a strategic COG candidate corresponding to the economy of a force The economy is economy_of_US_1943 IF Identify and test a strategic COG candidate corresponding to the economy of a force The economy is ?O1 THEN Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is ?O1 Condition ?O1isindustrial_economy Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is economy_of_US_1943 Rule condition ?O1  economy_of_US_1943 economy_US_1943 instance_of industrial_economy Object ontology

29  2004, G.Tecuci, Learning Agents Center Let us now see how the agent uses the rules in problem solving. Let us suppose that the current problem solving task is: Identify and test a strategic COG candidate corresponding to the economy of a force The economy is economy_of_US_1943 The agent will look into its knowledge base for a rule that has this type of task in the IF part. Such a rule is shown in the right hand side of the slide. As one can see, the IF task becomes identical with the task to be performed if ?O1 is replaced with economy_of_US_1943. Next the agent has to check that the condition of the rule is satisfied for this value of ?O1. The left hand side of the slide shows the rule’s condition. This is satisfied because the object ontology contains the information that economy_of_US_1943 is an industrial economy. Therefore the IF task can be reduced to the THEN task: Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is economy_of_US_1943

30  2004, G.Tecuci, Learning Agents Center What is the type of economy_of_US_1943 ? industrial_economy Rule application Identify and test a strategic COG candidate corresponding to the economy_of_US_1943 Identify and test a strategic COG candidate corresponding to the economy_of_US_1943 which is an industrial_economy IF Identify and test a strategic COG candidate corresponding to the ?O1 Question What is the type of ?O1 ? Answer industrial_economy THEN Identify and test a strategic COG candidate corresponding to the ?O1 which is an industrial_economy ?O1  economy_of_US_1943

31  2004, G.Tecuci, Learning Agents Center As discussed before, there is also an informal structure of the rule, containing the informal structure of the tasks, a question and an answer. The right hand side of this slide shows the instantiation of the informal structure of the rule. This instantiation produces the reduction from the left hand side of the slide. Therefore, the agent can show the user the informal structure of the task reduction steps, which are in English, and therefore easier to follow.

32  2004, G.Tecuci, Learning Agents Center ?O1  economy_of_US_1943 Rule condition Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is economy_of_US_1943 IF Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is ?O1 THEN Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Condition ?O1isindustrial_economy ?O2isindustrial_capacity generates_essential_war_materiel_from_ the_strategic_perspective_of ?O3 ?O3is multi_state_force has_as_member ?O4 ?O4is force has_as_economy ?O1 has_as_industrial_factor ?O2 ?O4 has_as_industrial_factor instance-of industrial_capacity force has_as_economy economy_of_US_1943 industrial_economy ?O2 generates_essential_ war_materiel_from_ the_ strategic_perspective_of ?O3 instance-of multi_state_force instance-of has_as_member Illustration of rule-based task reduction

33  2004, G.Tecuci, Learning Agents Center Let us continue the illustration of the task reduction process. The new problem solving task is: Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is economy_of_US_1943 The agent will look in its knowledge base for a rule that has this type of task in the IF part. Such a rule is shown in the right hand side of the slide. As one can see, the IF task becomes identical with the task to be performed if ?O1 is replaced with economy_of_US_1943. Next the agent has to check that the condition of the rule is satisfied for this value of ?O1. The left hand side of the slide shows what conditions need to be satisfied by economy_of_US_1943, ?O2, ?O3 and ?O4. This condition is satisfied if there are instances of ?O2, ?O3 and ?O4 in the object ontology that satisfy all the relationships specified in the left hand side of the slide.

34  2004, G.Tecuci, Learning Agents Center Rule condition ?O4 has_as_industrial_factor instance-of industrial_capacity force has_as_economy economy_of_US_1943 industrial_economy ?O2 generates_essential_ war_materiel_from_ the_ strategic_perspective_of ?O3 instance-of multi_state_force instance-of has_as_member Matchings US_1943 has_as_industrial_factor instance-of industrial_capacity force has_as_economy economy_of_US_1943 industrial_economy Industrial_capacity_ of_US_1943 generates_essential_ war_materiel_from_ the_ strategic_perspective_of Allied_forces_1943 instance-of multi_state_force instance-of has_as_member single_member_force single_state_force equal_partner_ multi_state_ alliance multi_state_ alliance subconcept-of Object ontology ?O2  industrial_capacity_of_US_1943 ?O3  Allied_forces_1943 ?O4  US_1943

35  2004, G.Tecuci, Learning Agents Center The partially instantiated condition of the rule, shown in the left hand side of the slide, is matched successfully with the object ontology fragment shown in the right hand side of the slide. ?O4 matches US_1943 because both have the same features and the corresponding values of these features also match. Both ?O4 and US_1943 are forces. Indeed, US_1943 is an instance of a single-state force, which is a subconcept of a single-member force, which is a subconcept of a force. Therefore, using the transitivity rule discussed above, US_1943 is a force. Both ?O4 and US_1943 have the feature has_as_economy with the value economy_of_US_1943. Finally, both ?O4 and US_1943 have the feature has_as_industrial_factor and the corresponding values are ?O2 and industrial_capacity_of_US_1943, respectively. Now one has to show that ?O2 and industrial_capacity_of_US_1943 match. ?O2 is an industrial capacity, and industrial_capacity_of_US_1943 is an industrial capacity. Both ?O2 and industrial_capacity_of_US_1943 have the feature generates_essential_war_materiel_from_the_strategic_perspective_of, with the values ?O3 and Allied_forces_1943, respectively. Therefore one has to show that ?O3 and Allied_forces_1943 match. ?O3 is a multi_state_force. Allied_forces_1943 is an equal_partner_multi_state_alliance, which is a multi_state_alliance, which is a multi_state_force. Therefore Allied_forces_1943 is also a multi_state_force. Finally, both ?O3 and Allied_forces_1943 have the feature has_as_member with the values ?O4 and US_1943, respectively. Moreover, ?O4 and US_1943 have already matched. Therefore the entire matching was successful. As the result of these matching, the rule’s variables are instantiated as follows: ?O2  industrial_capacity_of_US_1943 ?O3  Allied_forces_1943 ?O4  US_1943

36  2004, G.Tecuci, Learning Agents Center ?O1  economy_of_US_1943 Rule condition Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is economy_of_US_1943 IF Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is ?O1 THEN Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Condition ?O1isindustrial_economy ?O2isindustrial_capacity generates_essential_war_materiel_from_ the_strategic_perspective_of ?O3 ?O3is multi_state_force has_as_member ?O4 ?O4is force has_as_economy ?O1 has_as_industrial_factor ?O2 ?O4 has_as_industrial_factor instance-of industrial_capacity force has_as_economy economy_of_US_1943 industrial_economy ?O2 generates_essential_ war_materiel_from_ the_ strategic_perspective_of ?O3 instance-of multi_state_force instance-of has_as_member ?O2  industrial_capacity_of_US_1943 ?O3  Allied_forces_1943 ?O4  US_1943 Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is industrial_capacity_of_US_1943 The industrial economy is economy_of_US_1943 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is industrial_capacity_of_US_1943 The industrial economy is economy_of_US_1943 ?O1  economy_of_US_1943

37  2004, G.Tecuci, Learning Agents Center The rule’s condition is satisfied for the following instantiations of the variables: ?O1  economy_of_US_1943 ?O2  industrial_capacity_of_US_1943 ?O3  Allied_forces_1943 ?O4  US_1943 Therefore the IF task can be reduced to the following THEN tasks: Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is industrial_capacity_of_US_1943 The industrial economy is economy_of_US_1943 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is industrial_capacity_of_US_1943 The industrial economy is economy_of_US_1943 Disciple uses the informal structure of this rule to generate the sentences to be shown to the user, as illustrated in the next slide.

38  2004, G.Tecuci, Learning Agents Center Who or what is a strategically critical element with respect to the economy_of_US_1943? industrial_capacity_of_US_1943 because it is an essential generator of war materiel for Allied_forces_1943 from the strategic perspective Generating the informal reduction Identify and test a strategic COG candidate corresponding to the economy_of_US_1943 which is an industrial_economy Identify industrial_capacity_of_US_1943 as a COG candidate with respect to the economy_of_US_1943 Test industrial_capacity_of_US_1943 which is a strategic COG candidate with respect to the economy_of_US_1943 ?O1  economy_of_US_1943 IF Identify and test a strategic COG candidate corresponding to the ?O1 which is an industrial_economy Question Who or what is a strategically critical element with respect to the ?O1 ? Answer ?O2 because it is an essential generator of war_materiel for ?O3 from the strategic perspective THEN Identify ?O2 as a COG candidate with respect to the ?O1 Test ?O2 which is a strategic COG candidate with respect to the ?O1 ?O2  industrial_capacity_of_US_1943 ?O3  Allied_forces_1943 ?O4  US_1943 ?O1  economy_of_US_1943

39  2004, G.Tecuci, Learning Agents Center Rule_1 Rule_2 Who or what is a strategically critical element with respect to the economy_of_US_1943? industrial_capacity_of_US_1943 because it is an essential generator of war materiel for Allied_forces_1943 from the strategic perspective Identify and test a strategic COG candidate corresponding to the economy_of_US_1943 which is an industrial_economy Identify industrial_capacity_of_US_1943 as a COG candidate with respect to the economy_of_US_1943 Test industrial_capacity_of_US_1943 which is a strategic COG candidate with respect to the economy_of_US_1943 What is the type of economy_of_US_1943 ? industrial_economy Identify and test a strategic COG candidate corresponding to the economy_of_US_1943 Successive rule applications

40  2004, G.Tecuci, Learning Agents Center Task reduction rule with “Except when” conditions IF THEN … Condition Except when condition In addition to the regular rule condition that needs to be satisfied, a rule may contain one or several except when conditions that should not be satisfied for the rule to be applicable.

41  2004, G.Tecuci, Learning Agents Center Plausible version space rule IF Identify and test a strategic COG candidate corresponding to the economy of a force which is an industrial economy The industrial economy is ?O1 THEN Identify a strategically critical element as a COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Test a strategically critical element which is a strategic COG candidate with respect to an industrial economy The strategically critical element is ?O2 The industrial economy is ?O1 Plausible upper bound condition ?O1istype_of_economy ?O2iseconomic_factor generates_essential_war_materiel_from_the_strategic_perspective_of ?O3 ?O3is multi_state_force has_as_member ?O4 ?O4is force has_as_economy ?O1 has_as_industrial_factor ?O2 Plausible lower bound condition ?O1isindustrial_economy ?O2isindustrial_capacity generates_essential_war_materiel_from_the_strategic_perspective_of ?O3 ?O3is multi_state_alliance has_as_member ?O4 ?O4is single_state_force has_as_economy ?O1 has_as_industrial_factor ?O2

42  2004, G.Tecuci, Learning Agents Center A rule may be partially learned. In this case it will have two applicability conditions, a plausible upper bound condition that is likely to be more general than the exact condition, and a plausible lower bound condition, that is likely to be less general than the exact condition. The plausible upper bound condition allows the rule to be applicable in many analogous situations, but the result may not be correct. The plausible lower bound condition allows the rule to be applicable fewer situations but the result is very likely to be correct. The agent will apply this rule to solve new problems and its success or failure will be used to further refine the rule. In essence, the two conditions will converge toward one another (usually through the specialization of the plausible upper bound condition and the generalization of the plausible lower bound condition), both approaching the exact applicability condition of the rule. Rule refinement could lead to a complex task reduction rule, with additional Except- When conditions which should not be satisfied in order for the rule to be applicable.

43  2004, G.Tecuci, Learning Agents Center Overview Knowledge base: Object ontology + Rules Control of the problem solving process Rule-based problem solving Knowledge-based agents

44  2004, G.Tecuci, Learning Agents Center Overview Tools for representation and reasoning Knowledge base: Object ontology + Rules Control of the problem solving process An agent for center of gravity determination Rule-based problem solving Knowledge-based agents Problem solving through task reduction

45  2004, G.Tecuci, Learning Agents Center The search space for problem solving Let us consider the problem solving task 'Pa‘ and let R1, R2, and R3 be the applicable rules which indicate the reduction of 'Pa' to ‘C(Pb,Pc)', to 'Pd', and to ‘C(Pe,Pf,Pg)', respectively. Therefore, to solve the problem 'Pa', one may either: - solve the problems 'Pb' and 'Pc', or - solve the problem 'Pd', or - solve the problems 'Pe', 'Pf' and 'Pg'. One may represent all these alternatives in the form of an AND/OR tree.

46  2004, G.Tecuci, Learning Agents Center The search space for problem solving (cont.) The node 'Pa' is called an OR node since for solving the problem 'Pa' it is enough to solve ‘C(Pb, Pc)' OR to solve 'Pd' OR to solve ‘C(Pe, Pf, Pg)'. The node ‘C(Pb, Pc)' is called an AND node since for solving it one must solve both 'Pb' AND 'Pc'. The AND/OR tree may be further developed by considering all the rules applicable to its leaves (Pb, Pc, Pd, Pe, Pf, Pg), building the entire search space for the problem 'Pa'. This space contains all the solutions to 'Pa'.

47  2004, G.Tecuci, Learning Agents Center Solution tree To find a solution one needs only to build enough of the tree to demonstrate that 'Pa' is solved. Such a tree is called a solution tree. A node is solved in one of the following cases: - it is a terminal node (a primitive task with known solution); - it is an AND node whose successors are solved; - it is an OR node which has at least one solved successor.

48  2004, G.Tecuci, Learning Agents Center Solution tree (cont.) solved Once the problem solver detects that a node is solved it sends this information to the ancestors of the node. When the node 'Pa' becomes solved, one has found a solution to 'Pa'.

49  2004, G.Tecuci, Learning Agents Center Solution tree (cont.) A node is unsolvable in one of the following cases: -it is a nonterminal node that has no successors (i.e. a nonprimitive problem to which no rule applies); -it is an AND node which has at least one unsolvable successor; -it is an OR node which has all the successors unsolvable.

50  2004, G.Tecuci, Learning Agents Center Solution tree (cont.) Once the problem solver detects that a node is unsolvable it sends this information to the ancestors of the node. If the node 'Pa' becomes unsolvable, then no solution to 'Pa' exists. solvedunsolvable

51  2004, G.Tecuci, Learning Agents Center General search strategies The presented method assumes an exhaustive search of the solution space. Usually, however, the real world problems are characterized by huge search spaces and one has to use heuristic methods in order to limit the search. What types of search control decisions can you identify? Attention focusing: What problem, among the leaves of the problem solving tree, to reduce next? Meta-rule: What rule, among the applicable ones, to use for reducing the current problem?

52  2004, G.Tecuci, Learning Agents Center General search strategies Attention focusing: What problem, among the leaves of the problem solving tree, to reduce next? One may use one of the following search strategies: - breadth first search; - depth first search; - heuristic search (the heuristics establish the next problem to solve); - user directed search (the user establishes the next problem to solve), - etc. What could be a heuristic for attention focusing?

53  2004, G.Tecuci, Learning Agents Center General search strategies Meta-rule: What rule, among the applicable ones, to use for reducing the current problem? The idea is to choose the rules that lead to solutions that optimize certain criteria. Could you provide some examples of meta-rules?

54  2004, G.Tecuci, Learning Agents Center Search strategies in Disciple Automatic problem solver: Depth first generation of all the solutions. Step by step problem solving: User-controlled generation of the solutions. 1 2 3 4 One tries first to find solutions using the rule R1. Only after exploring all the possible solutions using R1 will the agent attempt to find solutions using the rule R2, a.s.o.

55  2004, G.Tecuci, Learning Agents Center Representational adequacy: Inferential adequacy: Inferential efficiency: Acquisitional efficiency: General features of the hybrid representation high medium


Download ppt " 2004, G.Tecuci, Learning Agents Center CS 785 Fall 2004 Learning Agents Center and Computer Science Department George Mason University Gheorghe Tecuci."

Similar presentations


Ads by Google