DAVID NIEVES CORDONES - daniecor@dsic.upv.es
SUPERVASION PROJECT
SUPERVISION BY OBSERVATION USING INDUCTIVE PROGRAMMING DAVID NIEVES CORDONES daniecor@dsic.upv.es
CARLOS MONSERRAT ARANDA cmonserr@dsic.upv.es JOSÉ HERNÁNDEZ ORALLO jorallo@dsic.upv.es
SUPERVASION PROJECT SUPERVISION BY OBSERVATION USING INDUCTIVE - - PowerPoint PPT Presentation
SUPERVASION PROJECT SUPERVISION BY OBSERVATION USING INDUCTIVE PROGRAMMING DAVID NIEVES CORDONES daniecor@dsic.upv.es CARLOS MONSERRAT ARANDA cmonserr@dsic.upv.es JOS HERNNDEZ ORALLO jorallo@dsic.upv.es DAVID NIEVES CORDONES -
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
SUPERVISION BY OBSERVATION USING INDUCTIVE PROGRAMMING DAVID NIEVES CORDONES daniecor@dsic.upv.es
CARLOS MONSERRAT ARANDA cmonserr@dsic.upv.es JOSÉ HERNÁNDEZ ORALLO jorallo@dsic.upv.es
2
INDEX
INTRODUCTION APPROACH RESULTS QUESTIONS
3
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
DOMAIN
Minimally Invasive Surgery (MIS)
HOW GOAL Automated assistants that after the observation of how an expert performs a task are able to supervise whether
The system should be capable of learning from
The learning process should take from one/few demonstrations. The acquired knowledge must be intelligible to humans.
Automated supervision by observation
4
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
MIS resources for trainees
High-level description Video exercise
5
Starts or ends a fluent (e.g., forceps has just crossed the 5 cm line)
A direct observable property that is true along a period
the forceps to the bin with the objects)
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
* Artikis, A., Sergot, M., & Paliouras, G. (2015). An event calculus for event recognition. IEEE Transactions on Knowledge and Data Engineering, 27(4), 895-908.
6
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
“System learns the rules that connect the low-level fluents with the high-level fluents.”
Domain approach
initiatesF(clip_object(i1,o1),T) :- holdsAt(open(i1),T), holdsAt(in5(i1,g1),T)
7
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION
The system learns from example performances and the narrative The system uses the acquired knowledge to supervise the training process of the novel surgeons
Knowledge builder [XHAIL]
Event Builder Narrative [Surgeon explanation] General and Specific Knowledge Acquired knowledge
Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration]
8
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration] Knowledge builder [XHAIL]
Event Builder Narrative [Surgeon explanation] General and Specific Knowledge Acquired knowledge
9
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration] Knowledge builder [XHAIL]
Narrative [Surgeon explanation] General and Specific Knowledge Acquired knowledge
Event Builder
10
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Event Builder (EB)
recordings of experts performing the training task.
thus generating the corresponding predicates in EC.
Knowledge Builder [XHAIL]
Event Builder
Narrative [Surgeon explanation] General and Specific Knowledge Acquired knowledge
{E1, TF1} {E2, TF2} {E3, TF3} {E4, TF4} {E5, TF5} ….
happensAt(E1, T1). happensAt(E2, T2). happensAt(E3, T3). happensAt(E4, T4). happensAt(E5, T5). … Predicates in EC Events detected
11
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
12
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION Event detection [RTEC]
Event builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration] Knowledge builder [XHAIL] Narrative [Surgeon explanation]
General and Specific Knowledge Acquired knowledge Event Builder
13
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Narrative [Surgeon explanation]
from the expert high-level explanation and translated to a sequence of fluents in EC.
any instant of time
Knowledge Builder [XHAIL]
Event Builder Narrative [Surgeon explanation] General and Specific Knowledge Acquired knowledge
#example not holdsAt(F1, T1). #example not holdsAt(F1, T2). #example holdsAt(F1, T3). #example holdsAt(F1, T4). #example not holdsAt(F1, T5). #example not holdsAt(F1, T6). ….
14
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration] Knowledge builder [XHAIL]
Acquired knowledge Event Builder Narrative [Surgeon explanation]
General and Specific Knowledge
Event Builder Narrative [Surgeon explanation] General and Specific Knowledge Acquired knowledge
15
Knowledge Builder [XHAIL]
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
PREDICATES holdsAt(F, T) happensAt(E, T) initiates(E, F, T) terminates(E, F, T) initially(F) stoppedIn(T1, F, T2) GENERAL AXIOMS holdsAt(F, T) :- initially(F), not stoppenIn(0, F, T) holdsAt(F, T) :- happensAt(E, T1), not stoppedIn(T1, F,T),T1<T stoppedIn(T1, F, T2) :- happensAt(E, T), T1<T, T<T2, terminates(E, F, T). PREDICATES holdsAtF(FF, T). initiatesF(FF, T). terminatesF(FF, T). GENERAL AXIOMS holdsAt(FF, T+1) :- not holdsAt(FF, T), initiatesF(FF, T). holdsAt(FF, T+1) :- holdsAt(FF, T), not terminatesF(FF, T).
High-level fluents Low-level fluents
16
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION
Knowledge builder [XHAIL]
Event Builder Narrative [Surgeon explanation] General and Specific knowledge in EC Acquired knowledge
Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration]
17
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Phase 1: KNOWLEDGE ACQUISITION Phase 2: ONLINE SUPERVISION
Knowledge builder [XHAIL]
Event Builder Narrative [Surgeon explanation] General and Specific knowledge in EC Acquired knowledge
Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration]
18
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
Detected fluents
the Online Supervision phase is the detection
starts and ends.
process depends on whether the initiatesF/2 and/or terminatesF/2
the corresponding temporal window.
Event detection [RTEC]
Event Builder
Acquired knowledge Specific Knowledge
Detected fluents [surgeon narration]
19
Evaluation
We have analysed the ability of the system to learn and monitor the MIS high-level fluent clipping.
Exercise Starts just before one object o1 (contained in one bin g1) is clamped by an instrument i1. Scenarios
Two performance examples: Scenario A & Scenario B
Finishes just when this object o1 is released (in a second bin g2).
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
20
Scenario A Scenario B
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
https://github.com/cmonserr/SUPERVASION More examples
21
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
initiatesF(clip_object(i1,o1),T) :- holdsAt(open(i1),T), holdsAt(in5(i1,g1),T) terminatesF(clip_object(i1,o1),T) :- holdsAt(waiting(i1),T), holdsAt(in5(i1,g2),T) Rules Scenario A
22
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
How can we automate the synchronisation / matching of the high-level fluents (narratives) from the high-level descriptions (natural language)? Any alternative to this approach? How can we generalise from multiple examples (different performances) of the same exercise? Is it possible to extract constraints between low-level events from a high-level description?
23
DAVID NIEVES CORDONES - daniecor@dsic.upv.es
How can we identify whether all the low-level fluents are proper for this task? Is IP suitable for this task?
24
DAVID NIEVES CORDONES daniecor@dsic.upv.es
CARLOS MONSERRAT ARANDA cmonserr@dsic.upv.es JOSÉ HERNÁNDEZ ORALLO jorallo@dsic.upv.es