950 likes | 1.24k Views
IT/CS 803 Doctoral Tutorial Mixed-Initiative Intelligent Systems Spring 2004 Prof. Gheorghe Tecuci Learning Agents Center Computer Science Department George Mason University Overview Introduction of the course’s topic An abstract model of a mixed-initiative system
E N D
IT/CS 803 Doctoral Tutorial Mixed-Initiative Intelligent Systems Spring 2004 Prof. Gheorghe Tecuci Learning Agents Center Computer Science Department George Mason University
Overview Introduction of the course’s topic An abstract model of a mixed-initiative system Mixed-initiative with human agents Issues in the development of mixed-initiative systems Course organization Student discussion and literature review Case study demo and discussion: Disciple Recommended reading
Course topic Study the theoretical, methodological and practical foundations for mixed-initiative intelligent systems. Students will learn about the open research issues in the development of such systems, to make progress with their own research related to mixed-initiative reasoning.
Mixed-initiative intelligent system Definition: A mixed-initiative intelligent system is a collaborative multi-agent system where the component agents work together to achieve a common goal, in a way that takes advantage of their complementary capabilities. A mixed-initiative intelligent system includes complementary agents, and can perform tasks that are beyond the capabilities of any of the component agents. This means that it can achieve goals unachievable by the component agents, if they work independently, or it can achieve the same goals more effectively.
What is mixed-initiative? Mixed-initiative refers to a flexible collaboration strategy, where each agent can contribute to a joint task with what it does best. In the most general cases, the agents’ roles are not determined in advance, but opportunistically negotiated between them as the problem is being solved: - at one time, one agent has the initiative — controlling the problem solving process — while the others work to assist it, contributing to this process as required; - at another time, the roles are reversed, another agent taking the initiative; and - at other times the agents might be working independently, assisting each other only when specifically asked. The agents dynamically adapt their interaction style to best address the problem at hand. Mixed-initiative interaction lets agents work most effectively as a team — that’s the key. The secret is to let the agents who currently know best how to proceed coordinate the other agents. (James Allen)
Human-agent systems Some of the component agents may include human agents. A mixed-initiative intelligent system which includes a human agent integrates human and automated reasoning to take advantage of their complementary knowledge, reasoning styles and computational strengths. Effective mixed-initiative interaction is required to build computer systems that can seamlessly interact with humans as they perform complex tasks. What are some of the complementary abilities of human and computer agents?
Research opportunity Research in mixed-initiative interaction is still in its infancy, and the research problems are significant, but its potential of developing effective human-machine systems (where humans interact seamlessly with computer agents) and powerful multi-agent systems (well above individual agents) is enormous. This course offers you an opportunity to embark in this exciting journey.
Overview Introduction of the course’s topic An abstract model of a mixed-initiative system Mixed-initiative with human agents Issues in the development of mixed-initiative systems Course organization Student discussion and literature review Case study demo and discussion: Disciple Recommended reading
An abstract model of a mixed-initiative system Based on Guinn (1998) Collaboration as an extension of single-agent problem-solving The agents in human–human collaboration are individuals. Each participant is a separate entity. The mental structures and mechanisms of one participant are not directly accessible to the other. During collaboration the two participants satisfy goals and share this information by some mean of communication. Effective collaboration takes place when each participant depends on the other in solving a common goal or in solving a goal more efficiently. It is the synergistic effect of the two problem-solvers working together that makes the collaboration beneficial for both parties.
Abstract model of a mixed-initiative system (cont) Each participant has a private plan, knowledge base, and user model. To collaborate there also must be some dialog between the two participants.
Problem solving and planning The task-reduction paradigm • A complex problem solving task is performed by: • successively reducing it to simpler tasks; • finding the solutionsof the simplest tasks; • successively composing these solutions until the solution to the initial task is obtained. T1 S1 … T11 S11 T1n S1n … S111 T111 T11m S11m
Sample task reduction tree We do not distinguish here between tasks and goals. “Satisfying a goal” is a problem solving task.
The structure of the knowledge base Knowledge Base = Object ontology + Task reduction rules The objectontology 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 reductionrules specify generic problem solving steps of reducing complex tasks to simpler tasks. They are described using the objects from the ontology.
The structure of the knowledge base (cont.) Knowledge Base = Object ontology + Task reduction rules A task reduction rule is an IF-THEN structure that expresses the condition C under which a task T1 can be reduced to the simpler tasks T1a, or to a set of simpler tasks T11, … , T1n. T1 T1 C C T1a T11 T12 … T1n
Impenetrability The only knowledge one participant has of the other is indirect. A participant may have a set of beliefs about the other. The set of beliefs a participant has about what knowledge and abilities the other participant has is called user (or agent) model. How could the information in the user/agent model be acquired?
Impenetrability (cont.) How could the information in the model be acquired? The information may be acquired in many ways: - stereotypes; - previous contact with the other participant - each participant may be given a set of facts about the other participant. In general, the user model is dynamic. During a problem-solving session, information can be learned about the knowledge or capabilities of the other participant. What else, besides modeling the knowledge of its collaborator, is required? Why?
Impenetrability (cont.) What else, besides modeling the knowledge of its collaborator, is required? Why? Each participant must also model the current plan of the other participant. Without knowing the current intentions of the other participant, a problem-solver will not be able to respond appropriately to goal requests, announcements and other dialog behaviors of the other participant. When a problem-solver cannot satisfy a goal (i.e. the goal is not known to be true, and there is no rule to reduce/decompose it), it has the option of requesting that the other participant to satisfy that goal. However, the problem-solver should only exercise that option if it believes the other participant is capable of satisfying that goal.
Overall problem solving process Problem solving process: 1. Is goal trivially true? If so, done. 2. Else if reducible, reduce goal into subgoals. Solve subgoals. 3. Else potentially ask collaborators to solve goal. 4. Else backtrack. 5. In addition, provide mechanisms for answering other’s queries.
Conflicts in collaboration Even when agents want to work together, there can be conflicts. What kind of conflicts could be? Provide an example situation with a conflict.
Conflicts in collaboration (cont) What kind of conflicts could be? Types of conflicts: - conflict over resource control, - conflict over computational effort, and - conflict over locus of problem-solving responsibility. Provide an example situation with a conflict. Two carpenters working together may both require a drill for the tasks they are doing. Or one carpenter may need help carrying a board. If the other carpenter is concurrently erecting a wall, that carpenter must interrupt his or her work to help. Thus there is a conflict of task processing effort.
Conflict over computational effort A conflict over computational effort occurs when: 1. Participant 1 and Participant 2 have a common goal G. 2. Participant 1 is exploring a reduction r1 of G. 3. Participant 2 is exploring a different reduction r2 of G. 4. Participant 1 requires Participant 2’s assistance in solving some goal g which is a subgoal in r1 and not a subgoal in r2. What should Participant 2 do?
Conflict over computational effort (cont) What should Participant 2 do? For efficiency a participant should only devote its resources to the plan most likely to succeed. What is a problem with this approach?
Conflict over computational effort (cont) What should Participant 2 do? For efficiency a participant should only devote its resources to the plan most likely to succeed. What is a problem with this approach? Each participant may have different knowledge about the world, and they may differ on which plan to take. What are the main goals of conflict resolution?
Conflict resolution What are the main goals of conflict resolution? Goals: - avoidance of deadlock - efficient allocation of resources If there is more than one concurrent demand on a resource, one demand must succeed in obtaining that resource. Otherwise, neither participant will be able to continue. Furthermore, resources should be allocated so that the collaborative problem-solving is more efficient.
Task initiative Conflicts can arise when each participant believes it should control the reduction of a goal. Even though both participants may be trying to solve the same goal, they may choose different ways of solving that goal. If there is a conflict because the participants have chosen different branches or reductions of a goal, then one participant must be given control of that goal’s reduction in order to resolve the conflict. Chris: The car won’t start. Jordan: Help me get off the distributor cap. Chris: No, let’s check the battery. Hand me the voltmeter. Who should be given the task initiative?
Task initiative (cont) Who should be given the task initiative? Ideally, the participant best able to guide a goal’s solution should be given the task initiative. Consider again the preceding dialog where both participants appear to have decided to take task initiative in determining the origin of the car’s problems. Chris: The car won’t start. Jordan: Help me get off the distributor cap. Chris: No, let’s check the battery. Hand me the voltmeter. Give an example of a different dialog where Chris had instead decided that Jordan should have task initiative.
Task initiative (cont) Chris: The car won’t start. Jordan: Help me get off the distributor cap. Chris: No, let’s check the battery. Hand me the voltmeter. Give an example of a different dialog where Chris had instead decided that Jordan should have task initiative. Chris: The car won’t start. Jordan: Help me get off the distributor cap. Chris: Ok. We’re going to need a screwdriver.
Task initiative (cont) The initiative may be attached to each goal. During problem-solving, initiative may change back and forth between participants depending on which goals the two participants are working on. Definition: A participant is said to have task initiative over a goal if the participant dictates which reduction of the goal will be used by both participants during problem-solving.
Variable initiative Definition:Variable initiative is the ability of participants to each take varying degrees of initiative for particular goals and the ability to change the degree of initiative for a particular goal during problem-solving. The level of initiative is a measure of how assertive a participant is in taking the initiative. Which are some distinguishable levels of initiative?
Variable initiative (cont) Which are some distinguishable levels of initiative? Chris: The car won’t start. Jordan: Help me get off the distributor cap. Chris: No, let’s check the battery. Hand me the voltmeter. 1. The participant working on a task does not allow its collaborator to change the current task. 2. The participant may suggest an alternative path, but it does not force its collaborator to take this path. 3. The participant allows its collaborator to define which path to take. Chris: The car won’t start. Jordan: Help me get off the distributor cap. Chris: Ok. We’re going to need a screwdriver. Suggest a dialog for the middle level.
Conflict resolution through negotiation Negotiation is a process by which problem-solvers resolve conflict through the interchange of information. We will focuses on using negotiation to resolve disputes over which reduction or branch to select for solving a goal. Negotiation resolves conflicts after they occur, being used to recover from conflicts. During negotiation each participant argues for its choice for reducing a goal. What types of arguments are provided in a negotiation?
Conflict resolution through negotiation (cont) What types of arguments are provided in a negotiation? Definition:Positive negotiation involves each participant giving facts that support its choice for reducing a goal. Definition:Negative negotiation involves giving facts that weaken the branch its collaborator wants to take. Possible branches are sorted by a best-first search heuristic function. When a participant argues for its branch choice, it gives information that will (optimistically) raise the other participant’s evaluation of that branch choice. During negative negotiation, a participant gives information that will devalue the evaluation of the other participant’s chosen branch.
Conflict resolution through negotiation (cont) The winner of the negotiation is the participant whose chosen branch is ranked highest after the negotiations. If the heuristic evaluations are effective, the branch of the winner of the negotiation should be more likely to succeed than the loser’s branch. Negotiation should result in more efficient problem-solving.
Conflict resolution through negotiation (cont) Example: Two mechanics disagree on how to proceed in repairing a car. Chris gives a fact that lends evidence to the battery being the problem (positive negotiation). Jordan then gives a fact that reduces the likelihood of the battery’s failure (negative negotiation). Jordan: Help me get the distributor cap off so we can check the spark plugs. Chris: The lights were probably left on last night. It’s the battery. Jordan: The voltage on the battery is fine.
Automating initiative change The two participants may be jointly trying to solve some goal. Each participant has its lists of possible branches ordered (from left to right), based on some best-first search ordering. The two participants do not know where the correct branch (the branch that will actually lead to the solution) is in either list; however, they would like the participant with the correct branch ordered highest in its list to be in control. In the absence of a direct request, a decision must be made by each participant as to who will have initiative over a goal if there is a conflict.
Automating initiative change (cont) Definition: An agent is said to have initiative over a mutual goal when that agent controls how that goal will be solved by the collaborators. • Consider that an initiative level is attached to each goal in the task tree: • - an agent may have initiative over one goal but not another; • as goals are achieved and new goals are pursued, initiative changes accordingly; • many initiative changes are done implicitly based on which goal is being solved.
Automating initiative change (cont) When an agent A1 asks another agent A2 to satisfy a goal G, agent A2 gains initiative over goal G and all subgoals of G until agent A2 passes control of one of those subgoals back to agent A1. A similar initiative-setting mechanism is fired if agent A1 announces that it cannot satisfy goal G. When G has been satisfied, the initiative will change again, based on the current goal.
U: How do I fix this circuit? C: What is the LED displaying? U: Nothing. C: What is the switch at? U: Where is the switch? C: In the lower left corner. U: The switch is down. C: Put the switch up.
Some initiative selection schemes Assume a goal and two agents competing to take the initiative to achieve it. What kind of initiative selection schemes could you imagine?
Some initiative selection schemes Random Selection One agent is given initiative at random in the event of a conflict. The randomly selected agent will then begin to initiate the solution of the goal using its ordered lists of possible branches as a guide. It is possible that the chosen participant will not have the correct branch in its list. In this case, after exhausting its list, the agent will pass the initiative to the other participant(s). What would be the usefulness of using such a scheme?
Some initiative selection schemes What would be the usefulness of using the random selection scheme? This scheme provides a baseline for initiative setting algorithms. Hopefully, a proposed algorithm will do better than Random. Random selection also assures that system’s behavior is not predictable.
Some initiative selection schemes Single Selection At the onset of solving a new goal the participants decide which one is more likely to have the correct goal higher in their sorted list of possible branches. The more knowledgeable agent (e.g. defined by which agent has the greater total percentage of knowledge) is given initiative. Once a leader is chosen, the participants act in a master-slave fashion, with the chosen participant using its ordered list of branches, until it encounters a subgoal it cannot achieve. At this point, a new (single) selection is made for this subgoal. What is a natural alternative to this scheme?
Some initiative selection schemes Continuous Selection The more knowledgeable agent (defined by which agent’s first-ranked branch is more likely to succeed) is initially given initiative. If that branch fails, this agent’s second-ranked branch is compared to the other agent’s first-ranked branch with the winner gaining initiative. Thus, if the chosen agent selects a branch to explore that fails to prove the goal G, a decision is made again as to who is better suited to control the solution of G. For evaluation purposes, what would be an upper bound on the effectiveness of initiative setting schemes?
Some initiative selection schemes For evaluation purposes, what would be an upper bound on the effectiveness of initiative setting schemes? Best (Oracle) Selection An all-knowing mediator (an oracle) looks at the each participant’s ordered list of possible branches and grants initiative to the participant that has the correct goal higher in its list. No initiative setting algorithm can do better than the Oracle selection.
Overview Introduction of the course’s topic An abstract model of a mixed-initiative system Mixed-initiative with human agents Issues in the development of mixed-initiative systems Course organization Student discussion and literature review Case study demo and discussion: Disciple Recommended reading
Mixed-initiative with human agents What challenges and opportunities are associated with involving human agents in mixed-initiative systems?
Mixed-initiative with human agents What challenges and opportunities are associated with involving human agents in mixed-initiative systems? Challenge: Involving a human in the interaction adds the complication that the system agents must use an interaction mode convenient to the human and support human-style problem solving. To do this, computer agents must be able to focus on different key subproblems, collaborate to find solutions—filling in details and identifying problem areas—and work with the person to resolve problems as they arise. Opportunity: Allow humans to solve more complex tasks, and to solve ther tasks better, based on the complementarity of human and automated agents.
Principles of mixed-Initiative user interfaces Eric Horvitz • Developing significant value-added automation. • It is important to provide automated services that provide genuine value over solutions attainable with direct manipulation.
Principles of mixed-Initiative user interfaces (2) Considering uncertainty about a user’s goals. Computers are often uncertain about the goals and the current focus of attention of a user. In many cases, systems can benefit by employing machinery for inferring and exploiting the uncertainty about a user’s intentions and focus.
Principles of mixed-Initiative user interfaces (cont) (3) Considering the status of a user’s attention in the timing of services. The nature and timing of automated services and alerts can be a critical factor in the costs and benefits of actions. Agents should employ models of the attention of users and consider the costs and benefits of deferring action to a time when action will be less distracting.