Resolving Unachievable Goals through Collaborative...

69
Resolving Unachievable Goals through Collaborative Diagnosis - Aero & Astro PhD Proposal Defense Peng Yu September 30 th , 2014

Transcript of Resolving Unachievable Goals through Collaborative...

Page 1: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Resolving Unachievable Goals through Collaborative Diagnosis

- Aero & Astro PhD Proposal Defense

Peng Yu September 30th, 2014

Page 2: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Opportunity

Resolving Unachievable Goals through Collaborative Diagnosis 2/37

• We are working with robots in industry and in our daily lives.

Page 3: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Challenges

Resolving Unachievable Goals through Collaborative Diagnosis 3/37

• We don’t trust our robots: – Communication barrier: they do not understand plain

English. – Unreliable: they often can’t do what they are told. – Uncommunicative: they do not communicate why they fail. – Risky: robots do not understand risk in real world.

Page 4: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Objective

Resolving Unachievable Goals through Collaborative Diagnosis 4/37

• Enable robots to be trustworthy teammates. – Working with robots should be as easy and as safe as with

humans.

• Trusted robots should embody four behaviors: – Communicate simply. – Explain causes. – Propose alternatives. – Sensitive to risk.

• Solution: Uhura executive. • Focus: real-world task planning problems.

Page 5: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Outline

Resolving Unachievable Goals through Collaborative Diagnosis 5/37

• Example Interaction

• Problem Statement

• Approach

• Progress

• Thesis Plan

Page 6: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Example: Wing Sub-assembly for Aircraft Manufacturing

Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration 6/37

• A technician is working with a team of industrial robots on the production line.

• His task is to assemble two wing boxes.

A Completed Wing Sub-assembly

Page 7: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

(Simplified) Wing Assembly Procedures

7/37

• Step 1: Lift and Align aluminum skin with a wing box assembly.

– This is done by a pair mobility platforms.

Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

Page 8: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

(Simplified) Wing Assembly Procedures

8/37

• Step 2: Rivet the skin to the wing box using Cleco fixture. – This is done by a riveting robot (Baxter).

Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

Page 9: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

An Unexpected Failure Just Occurred

9/37

• The assembly process is interrupted by the unexpected failure of the riveting robot.

– The plan is no long feasible, since no other robot is capable of riveting wing boxes.

Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

• The technician turns to his decision support system, Uhura, to discuss about the impact and options to repair the broken plan:

Page 10: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

A Failure-Driven Dialog For Problem Resolution

10/37 Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

I cannot find a plan to complete our task. Why? Because Riveting is necessary for making the wing box, but the remaining robots are incapable of riveting.

OK, what options do we have?

I want to assemble two wingboxes by 7pm.

1 Communicates Simply

2 Explains causes

Page 11: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

A Failure-Driven Dialog For Problem Resolution

11/37 Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

Alternatively, we can still complete the tasks for today if the riveting robot is back online by noon. Can we have the riveting robot repaired in an hour?

No. The workshop is repairing it, but it will be offline for at least 12 hours.

3 Propose Alternatives

Page 12: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

A Failure-Driven Dialog For Problem Resolution

12/37 Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

OK, can you call in off-duty staff to help us? If he arrives in 2 hours, there is 80% chance that we can complete the task by 8pm.

I can call in staff to help, but the wing assembly must be completed before 7pm.

4 Sensitive to Risk

Page 13: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

A Failure-Driven Dialog For Problem Resolution

13/37 Resolving Over-constrained Temporal Planning Problems through A Fluent Human-Robot Collaboration

Could you help rivet the wing boxes until the staff arrives? You are qualified for this task. We can then complete the wing repair on time.

OK, lets go with that plan.

Page 14: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Recap of Objective

Resolving Unachievable Goals through Collaborative Diagnosis 14/37

• Enable robots to be trustworthy teammates. – Working with robots should be as easy and as safe as with

humans.

• Trusted robots should embody four behaviors: – Communicate simply. – Explain causes. – Propose alternatives. – Sensitive to risk.

• Solution: Uhura executive. • Focus: real-world task planning problems.

Page 15: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Demonstration

Resolving Unachievable Goals through Collaborative Diagnosis 15/37

• Demonstrate Uhura on:

Collaborative manufacturing tasks

Planning missions for deep-sea expeditions

Page 16: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Problem Statement

Resolving Unachievable Goals through Collaborative Diagnosis 16/37

• Input to Uhura is a temporal planning problem[5]: – Goals; – Initial state; – Planning domain; – Objective function;

Initial

State Goals

Planning

Domain

Objective Function

Uhura

Page 17: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Time-evolved Goal Representation

Resolving Unachievable Goals through Collaborative Diagnosis 17/37

• Goals are represented as Qualitative State Plans (QSPs), with three key elements:

– Episodes: desired state trajectories. – Temporal: timing requirements between episodes. – Resource and Chance constraints: desired resource levels

and risk bound over episodes.

Risk < 5% Remaining Power > 50%

Page 18: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Planning Domain Specifications

Resolving Unachievable Goals through Collaborative Diagnosis 18/37

• Extend PDDL descriptions (“STRIPS”)

• with – Simple temporal constraints (Simple Temporal Network). – Resource constraints (Simple Resource Network). – Uncertainty (pSTN, pSRN).

(:durative-action rivet :parameters (?r – rivet-robot ?w - wingbox) :condition (and (at start (in-fixture ?w)) (at start (available ?r))) :effect (and (at start (not (available ?r))) (at end (available ?r)) (at end (assembled ?w)) (at end (decrease (battery−level ?r) (normal 0.1 0.05)))) :duration (= ?duration (normal 3.5 0.5))) :resource ())

Page 19: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Solutions

Resolving Unachievable Goals through Collaborative Diagnosis 19/37

• A solution is a candidate plan that: – Satisfies all goal states and constraints in the QSP. – Meets all specifications in the planning domain. – Is executable.

Page 20: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

For Over-subscribed Problems

Resolving Unachievable Goals through Collaborative Diagnosis 20/37

• A planning problem maybe over-subscribed. – that is, no feasible plan can be found for it.

• Uhura can compute a set of relaxations to the problem that resolves the over-subscription.

• Relaxations apply to both goals and planning domains.

Uhura Planning Problem

FEASIBLE

INFEASIBLE RELAXATIONS

Page 21: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Types of Relaxations

Resolving Unachievable Goals through Collaborative Diagnosis 21/37

Time ‘Extend the assembly time by one hour.’ – Resource ‘Reduce the power consumption by 5 kWh.’ Risk ‘Increase the acceptable risk level from 5% to 20%.’ – Goal ‘Assemble only one instead of two wingboxes today.’ – Action ‘Ask an off-duty staff to rivet the parts.’

Page 22: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Example Relaxations

Resolving Unachievable Goals through Collaborative Diagnosis 22/37

• ‘Asking the technician to call in an off-duty staff ’.

• ‘Asking the technician to rivet the wingbox’.

Page 23: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Approach: Research Questions

Resolving Unachievable Goals through Collaborative Diagnosis 23/37

1. Collaborative plan diagnosis and repair.

2. Risk assessment and management.

3. Generate succinct explanations.

Page 24: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

1. Collaborative Plan Diagnosis and Repair

Resolving Unachievable Goals through Collaborative Diagnosis 24/37

• Over-subscription is caused by incompleteness and/or inconsistency.

• Diagnosis: – Incompleteness: find the subset of goals that are not

supported by the planning domain. – Inconsistency: detect sets of goals and constraints that are

in conflicts.

• Repair:

– Find a set of relaxations that addresses all issues. – Restore the feasibility of the problem.

Page 25: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Uhura as a PAV Pilot

Resolving Unachievable Goals through Collaborative Diagnosis 25/37

Page 26: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Possible Collaborations with Humans

Resolving Unachievable Goals through Collaborative Diagnosis 26/37

• For approval to a candidate relaxation. – “Extend the assembly time by one hour, is it ok?”

• For preferences and constraints.

– “How long does it take to repair the riveting robot?”

• For assistance.

– “Can you rivet the wingbox before the staff arrives?”

Page 27: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Finding Good Relaxations

Resolving Unachievable Goals through Collaborative Diagnosis 27/37

• Good relaxations are similar alternatives.

• Temporal and resource relaxations: similarity is measured by the linear distance.

– “30-minute delay” is better than “3-hour delay”.

• Goal and action relaxations: similarity is measured by

semantic relations[7]. – “Chinese Thai restaurant” is better than “Burger King”. – “Trader Joe’s Star Market”. – “roast turkey roast chicken”.

Page 28: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Key Elements of Uhura Architecture

Resolving Unachievable Goals through Collaborative Diagnosis 28/37

USER INTERFACE

CONSISTENCY TESTER

RELAXATION GENERATOR

CONSISTENCY

ADJUSTMENT

PREFERRED RELAXATION

CANDIDATE PLAN

CONVERSATIONAL & GRAPHICAL

ADJUSTMENT

INCOMPLETE

ADJUSTMENT

PLANNING PROBLEM

FEASIBLE PLAN

GENERATIVE PLANNER

Page 29: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Key Elements of Uhura Architecture

Resolving Unachievable Goals through Collaborative Diagnosis 29/37

• Planner: – Generating complete plans. – Detecting incompleteness.

• Tester:

– Evaluating plan activities, temporal and resource constraints. – Detecting inconsistency between goals and constraints.

• Relaxation generator:

– Generating relaxations to resolve any incompleteness and inconsistency.

Page 30: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

2. Risk Assessment and Management

Resolving Unachievable Goals through Collaborative Diagnosis 30/37

• Pin-point the source of risk in a plan: – ‘Off-duty staff will arrive in 2 hours with only 80% chance.’

• Suggest trade-offs between risk-taken and performance:

– “Accept 5% more risk of not having the staff helping assembly, so that I can complete the task on time”

Page 31: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Chance-constrained Temporal and Resource Problems

Resolving Unachievable Goals through Collaborative Diagnosis 31/37

• Uncertainty exists in both time and resource. – “Bus is likely to arrive at 6:08,

with a SD=2 minutes.”

• Chance-constrained probabilistic STN and SRN: – Uncertainty in both temporal duration and resource

consumption/generation. – A risk-bound on the chance of violating any constraint.

18:08 18:10 18:06

< 5% Risk

Page 32: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Consistency Tester

Resolving Unachievable Goals through Collaborative Diagnosis 32/37

• Evaluate the consistency of candidate plans: – If inconsistent, return a set of temporal and resource

constraints that are in conflict. – The conflict also includes the chance constraint.

TESTER

RELAXATION GENERATOR

TEMPORAL CONFLICTS

TEMPORAL CONSISTENCY

RESOURCE CONSISTENCY

RESOURCE CONFLICTS

Candidate Plan Consistent

Page 33: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

3. Generate Succinct Explanations

Resolving Unachievable Goals through Collaborative Diagnosis 33/37

• Uhura communicates: – explanations on failures and resolutions. – reasons for the robot’ decisions and actions.

• Present only key ideas that users can draw conclusion from:

– Include everything that is hard to find. – Omit less important or easy to infer results.

Uhura Convers

-ational Interfa

ce

Rivet the wingbox before the off-duty staff arrives.

Page 34: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Challenges in Generating Succinct Explanations

Resolving Unachievable Goals through Collaborative Diagnosis 34/37

• Definition of ‘succinct’ explanation.

• Identify key ideas in the explanations for an over-subscribed problem.

• Identify what the users already know, and only present what they do not know.

Page 35: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Progress

Resolving Unachievable Goals through Collaborative Diagnosis 35/37

Application

Research

Yu, Williams IJCAI 2013

Yu, Fang, Williams ICAPS 2014

Fang, Yu, Williams AAAI 2014

Yu, Fang, Williams AAAI 2015 (submitted)

Personal Transportation System

Flexible Manufacturing Test-bed

Commuter Advisory System

Deep-sea Expedition Plan Advisor

Resolving Over-constrained Temporal Problems

Resolving Temporal Problems with Uncertainty

Scheduling Chance-constrained Probabilistic Temporal Problems

Relaxing Chance-constraints to resolve Probabilistic Temporal Problems

Page 36: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Research Questions

Resolving Unachievable Goals through Collaborative Diagnosis 36/37

1. Collaborative plan diagnosis and repair. Temporal problems. – Planning problems

2. Risk assessment and management. Temporal uncertainty and risk. – Resource uncertainty and risk.

3. Generate succinct explanations.

Page 37: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Thesis Plan

Resolving Unachievable Goals through Collaborative Diagnosis 37/37

• Current time: 09/2014.

09/2014 2015 2016 06/2016

• Thesis defense: 06/2016.

• Semantic relaxation of goals: 11/2014 (ICAPS15).

• Relaxing resource constraints: 01/2015 (IJCAI15). • Generating succinct explanations: 09/2015

(AAAI16). • System demonstration and thesis writing: Spring 2016.

Page 38: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

38/37 Resolving Unachievable Goals through Collaborative Diagnosis

Appendix

• Additional examples and technical details. • Reference publications. • More demos.

Page 39: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Objective Function

Resolving Unachievable Goals through Collaborative Diagnosis 39/37

• The objective function specifies the users’ preferences over the relaxations for the problem, and is defined over alternatives to the goals, constraints and actions.

• Example: in the assembly example, different relaxations have different costs for the technician:

– Delaying the completion time costs $10,000. – Calling in an off-duty staff costs $300. – Joining the riveting himself costs $0.

• This helps us prioritize the resolutions and simplify the interaction.

Page 40: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Applications

Resolving Unachievable Goals through Collaborative Diagnosis 40/37

• Peer-to-peer: Human-Robot Collaboration in manufacturing tasks.

• Supervision: Trip advisor for WHOI deep-sea explorations, PTS and city commuters.

Page 41: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Remaining Work

Resolving Unachievable Goals through Collaborative Diagnosis 41/37

• Plan generation and incompleteness detection.

• Resource uncertainty.

• Semantic Relaxation.

• Simple explanation.

Page 42: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Uncertainty in Time and Resource

Resolving Unachievable Goals through Collaborative Diagnosis 42/37

• For each action, the duration and resource consumption may be random cannot be determined by Uhura.

• Example: transit from MIT to Logan airport may take any time between 10 to 100 minutes.

• We model such uncertainty using two approaches: – A simple set-bounded representation.

– A probabilistic distribution representation.

18:08 18:10 18:06

18:08 18:10 18:06

Page 43: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Resolving Over-constrained Temporal Problems

Resolving Unachievable Goals through Collaborative Diagnosis 43/37

• Uhura enumerates relaxations in best-first order: – It searches over subsets of constraints by making different

variable assignments. – It resolves a conflict by relaxing a constraint, partially and

completely.

Dequeue node

Expand on conflict

Expand on variable

Check consistenc

y

Learn conflict

Enqueue node

Relaxation

Response

Page 44: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Learn Conflicts From Uncontrollable Problems

Resolving Over-constrained Temporal Problems with Uncertain Durations 44/32

• Learning conflicts from controllability checking algorithms is more difficult.

– For consistency checking, there is a one-to-one mapping between the distance edges and the bounds of constraints.

– No such mapping exists for controllability checking (strong and dynamic) due to the reduction procedures, making it difficult to extract conflicts from the reduced graph.

• Key: during the reduction, record the ‘contribution’ of

each constraint and duration in the temporal problem.

Page 45: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

A Strong Controllability Example

Resolving Over-constrained Temporal Problems with Uncertain Durations 45/32

Page 46: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Resolving Uncontrollable Conflicts

Resolving Over-constrained Temporal Problems with Uncertain Durations 46/32

• Constraint for resolving continuous conflict (negative value -1):

Δ𝐶𝐿 + Δ𝐵𝐿 + Δ𝐴𝐿 ≥ 1 where:

• Δ𝐵𝐿,Δ𝐶𝐿 are relaxations for B and C. • Δ𝐴𝐿 is tightening for A.

and

Δ𝐴𝐿 ≤ 5

Page 47: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Learning Dynamically Uncontrollable Conflict

Resolving Over-constrained Temporal Problems with Uncertain Durations 47/32

• Record supporting constraints for both requirement and conditional edges while generating the directed graphs.

Paul Morris. A structural characterization of temporal dynamic controllability. In Proceedings of the 12th International Conference on Principles and Practice of Constraint Programming (CP-2006), pages 375–389, 2006

𝑨 − (𝒙) → 𝑨′ ABLower

𝑨′ − (−𝒙) → 𝑨 -ABLower

𝑨′ − (𝒚 − 𝒙) → 𝑩 -ABUpper

-ABLower

𝑨′ − (𝒃:𝟎) → 𝑩 None 𝑩− (𝟎) → 𝑨′ None 𝑩− (𝑩: 𝒙 − 𝒚) → 𝑨′ ABUpper

Page 48: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Learning Dynamically Uncontrollable Conflict

Resolving Over-constrained Temporal Problems with Uncertain Durations 48/32

• Record supporting constraints and durations during the iterative reduction procedure.

• Note that a constraint may be recorded multiple times during reduction.

Page 49: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Another Way to Resolve DC Conflicts

Resolving Over-constrained Temporal Problems with Uncertain Durations 49/32

• A STNU is dynamically controllable if and only if it does not have a semi-reducible negative loop [Morris 2006].

– We can resolve a conflict by disabling reductions that lead to edges in the negative loop.

Page 50: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Another Way to Resolve DC Conflicts

Resolving Over-constrained Temporal Problems with Uncertain Durations 50/32

• We can resolve a conflict by disabling reductions that lead to edges in the negative loop*.

Relax the lowerbound of A from 1 to 0 to disable the reduction.

*A STNU is dynamically controllable if and only if it does not have a semi-reducible negative loop [Morris 2006].

Page 51: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Chance-constrained Relaxation

Resolving Unachievable Goals through Collaborative Diagnosis 51/37

• No existing temporal feasibility checking algorithm applies to probabilistic problems.

• Key: ground the problem to a deterministic one with set-bounded uncertainty.

– Then iteratively adjust the bounds to satisfy both chance and temporal constraints.

– During the process, we can relax constraints to achieve

Page 52: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Example

Resolving Over-constrained Temporal Problems with Uncertain Durations 52/32

𝐿𝐿𝐿𝐿𝐿 𝑎𝑎 𝑌 ≥ 75

Drive 𝐵 → 𝑌

Arrive home [0,180]

𝐻𝐻𝐻𝐻 → 𝐵

𝑌 →𝐻𝐻𝐻𝐻

𝑆𝐿𝐻𝑆 𝑎𝑎 𝐵 ≥ 35

Page 53: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Example

Resolving Over-constrained Temporal Problems with Uncertain Durations 53/32

𝐿𝐿𝐿𝐿𝐿 𝑎𝑎 𝑌 ≥ 75

Drive 𝐵 → 𝑌

Arrive home [0,180]

𝐻𝐻𝐻𝐻 → 𝐵

𝑌 →𝐻𝐻𝐻𝐻

𝑆𝐿𝐻𝑆 𝑎𝑎 𝐵 ≥ 35

Page 54: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Example

Resolving Over-constrained Temporal Problems with Uncertain Durations 54/32

𝐿𝐿𝐿𝐿𝐿 𝑎𝑎 𝑌 ≥ 75

Drive 𝐵 → 𝑌

Arrive home [0,180]

𝐻𝐻𝐻𝐻 → 𝐵

𝑌 →𝐻𝐻𝐻𝐻

𝑆𝐿𝐻𝑆 𝑎𝑎 𝐵 ≥ 35

𝐿𝐿𝐿𝐿𝐿 𝑎𝑎 𝑌 ≥ 75

Drive 𝐵 → 𝑌 [25,40]

Arrive home [0,180]

𝐻𝐻𝐻𝐻 → 𝐵 [35,40]

𝑌 →𝐻𝐻𝐻𝐻 [40,50]

𝑆𝐿𝐻𝑆 𝑎𝑎 𝐵 ≥ 35

Page 55: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Conflict-directed Risk Allocation + Relaxation

Resolving Over-constrained Temporal Problems with Uncertain Durations 55/32

Page 56: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Conflict-directed Risk Allocation + Relaxation

Resolving Over-constrained Temporal Problems with Uncertain Durations 56/32

Extract Conflict

𝐶𝐻𝐿𝐶𝐶𝐶𝐿𝑎1 > 𝐿1; 𝐶𝐻𝐿𝐶𝐶𝐶𝐿𝑎2 > 𝐿2; 𝐶𝐻𝐿𝐶𝐶𝐶𝐿𝑎3 > 𝐿3;

… …

Re-allocate Risk + Relax Constraints

𝑇𝐶: 𝐿𝐵 ↓ 𝐻𝑜 𝑈𝐵 ↑; 𝐶𝐶: 𝑅𝐶𝑅𝑅 𝑏𝐻𝐿𝐿𝑏 ↑.

Page 57: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Conflict-directed Risk Allocation + Relaxation

Resolving Over-constrained Temporal Problems with Uncertain Durations 57/32

• We start with a very conservative allocation, then iteratively tighten them to reach an agreement between temporal and chance constraints.

Extract Conflict Re-allocate Risk + Relax Constraints

Page 58: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Formulation of the Optimization Problem

Resolving Over-constrained Temporal Problems with Uncertain Durations 58/32

• We construct a non-linear optimization problem from known conflicts (Linear constraints), chance constraint (non-linear constraints) and user preferences (linear objective).

Δ𝑆𝑆𝑆𝑆𝑆 + Δ𝐿𝐿𝐿𝐿𝑆𝑌 + Δ𝐷𝐷𝐷𝐷𝐷𝐻 ≥ 30; Δ𝐷𝐷𝐷𝐷𝐷𝑆 + Δ𝐷𝐷𝐷𝐷𝐷𝑆𝑌 + Δ𝑇𝐷𝑇𝐷 ≥ 10;

… …

𝑹𝑹𝑹𝑹 𝑫𝑫𝑹𝑫𝑫𝑩 + 𝑹𝑹𝑹𝑹 𝑫𝑫𝑹𝑫𝑫𝑩𝑫 + 𝑹𝑹𝑹𝑹 𝑫𝑫𝑹𝑫𝑫𝑫 ≤ CC; where 𝑅𝐶𝑅𝑅 𝛼 = 1 − ∫ 𝑆𝑏𝐶(𝐷𝐿𝑜𝑎𝑎𝐶𝐻𝐿(𝛼))𝑈𝑆

𝐿𝑆

min𝐶𝐻𝐶𝑖𝐻 𝐶 Δ𝑆𝑆𝑆𝑆𝑆 + 𝐶 Δ𝐿𝐿𝐿𝐿𝑆𝑌 + 𝐶 Δ𝑇𝐷𝑇𝐷 + 𝒇 𝑪𝑪 .

Temporal conflicts: Chance constraints: Objective function:

Page 59: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Deep-sea Expeditions

Resolving Unachievable Goals through Collaborative Diagnosis 59/37

• Uhura as a task scheduling assistant for WHOI scientists.

• http://youtu.be/yuVEUvFZENQ

Page 60: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Robust Trip Planning and Execution of PAV

Resolving Unachievable Goals through Collaborative Diagnosis 60/37

• PTS with integrated Kirk, Uhura and pSulu for robust trip planning and execution.

• http://youtu.be/cxbYCrd5ho4

Page 61: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Intelligent Manufacturing Testbed

Resolving Unachievable Goals through Collaborative Diagnosis 61/37

• Kirk + Uhura + Pike for flexible assembly tasks.

• http://youtu.be/kjaEJvJnbXY

Page 62: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

TATA Smart Grid Project

Resolving Unachievable Goals through Collaborative Diagnosis 62/37

• (New) Household activity advisor for smart grid users.

– A centralized controller determines how much power to supply to each household, given limited power supply and uncertainty.

– Uhura communicates with residents of each household and manages their daily activities to meet the demand constraints while maximizing their convenience.

Page 63: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Risk Management in A Deep-sea Mission

Resolving Unachievable Goals through Collaborative Diagnosis 63/37

• A scientist (ST) is planning to deploy an under-water robot to survey a volcano eruption on the sea floor.

• After evaluating all the requirements, the Uhura (DA) determines that no solution meets all requirements.

Page 64: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Risk Management in A Deep-sea Mission

Resolving Unachievable Goals through Collaborative Diagnosis 64/37

• DA: I cannot meet all requirements due to the limited mission time and the uncertainty in eruption. Can you extend the mission to 4 hours and 10 minutes.

• ST: You can have at most 4 hours for this mission.

Page 65: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Risk Management in A Deep-sea Mission

Resolving Unachievable Goals through Collaborative Diagnosis 65/37

• DA: May I increase the risk bound for this mission to 7.3% in order to meet the duration requirement?

• ST: I do not want to take that much risk on this task.

Page 66: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Risk Management in A Deep-sea Mission

Resolving Unachievable Goals through Collaborative Diagnosis 66/37

• DA: Ok, can you shorten the traversal time from the site to the ship by 6 minutes? My plan can then cover 95% of the possible eruption time, between 8:45 and 10:51.

• ST: That’s fine. Thanks.

Page 67: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

Summary for Uhura’s Development Plan

Resolving Unachievable Goals through Collaborative Diagnosis 67/37

USER INTERFACE

CONSISTENCY TESTER

RELAXATION GENERATOR

PLANNER

• These questions are the keys for making Uhura an effective decision aid on collaborative plan diagnosis.

– Intelligent. – Reliable. – Conversational.

Page 68: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

References

68/37

• [1] Peng Yu and Brian Williams, Continuously Relaxing Over-constrained Conditional Temporal Problems through Generalized Conflict Learning and Resolution, Proceedings of the Twenty- third International Joint Conference on Artificial Intelligence (IJCAI-13), Beijing, 2013.

• [2] Peng Yu and Cheng Fang and Brian Williams, Resolving Uncontrollable Conditional Temporal Problems using Continuous Relaxations, Proceedings of the Twenty-fourth International Conference on Automated Planning and Scheduling (ICAPS-14), Portsmouth, 2014 (Honorable Mention for Best Paper Award).

• [3] Cheng Fang and Peng Yu and Brian Williams, Chance-constrained Probabilistic Simple Temporal Problems, In Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence (AAAI-14), Quebec City, 2014.

• [4] Peng Yu and Cheng Fang and Brian Williams, Resolving Over-constrained Probabilistic Temporal Problems through Chance Constraint Relaxation, submitted to the Twenty-Ninth AAAI Conference on Artificial Intelligence (AAAI-15), Austin, 2015.

Resolving Unachievable Goals through Collaborative Diagnosis

Page 69: Resolving Unachievable Goals through Collaborative Diagnosispeople.csail.mit.edu/yupeng/public_files/seminars/PhD Proposal... · Resolving Unachievable Goals through Collaborative

References

69/37

• [5] Amanda Coles, Andrew Coles, Maria Fox, and Derek Long. Colin: Planning with continuous linear numeric change. Journal of Artificial Intelligence Research (JAIR), 44:1–96, 2012.

• [6] I-hsiang Shu, Robert Effinger, and Brian C. Williams. Enabling fast flexible planning through incremental temporal reasoning with conflict extraction. In Proceedings of the 15th International Conference on Automated Planning and Scheduling (ICAPS-05), pages 252– 261, 2005.

• [7] Richard Socher, Jeffrey Pennington, Eric H. Huang, Andrew Y. Ng, and Christopher D. Manning. Semi-supervised recursive autoencoders for predicting sentiment distributions. In Proceedings of the Conference on Empirical Methods on Natural Language Processing, 2011.

• [8] Traum David, Approaches to Dialogue Systems and Dialogue Management - Lecture Notes and Bibliography, http://people.ict.usc.edu/~traum/ESSLLI08/, accessed Sep 23, 2014.

Resolving Unachievable Goals through Collaborative Diagnosis