Learning ¡to ¡Interpret ¡Natural ¡ Language ¡Commands ¡through ¡ Human-‑Robot ¡Dialog ¡ ¡ ¡
Jesse ¡Thomason ¡ Shiqi ¡Zhang, ¡Raymond ¡Mooney, ¡Peter ¡Stone ¡ ¡ The ¡University ¡of ¡Texas ¡at ¡AusHn ¡
1 ¡
Learning to Interpret Natural Language Commands through - - PowerPoint PPT Presentation
Learning to Interpret Natural Language Commands through Human-Robot Dialog Jesse Thomason Shiqi Zhang, Raymond Mooney, Peter Stone The University
1 ¡
2 ¡
3 ¡
4 ¡
5 ¡
6 ¡
7 ¡
8 ¡
(S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ NP ¡: ¡coffee ¡ PP/NP ¡: ¡λx.λy.(recipient(y,x)) ¡ bring ¡ coffee ¡ to ¡ Bob ¡ NP ¡: ¡bob ¡ syntax ¡: ¡seman7cs ¡ token(s) ¡
University ¡of ¡Washington ¡SemanHc ¡Parsing ¡Framework ¡(SPF); ¡(Artzi, ¡2011) ¡ Known ¡possibiliHes ¡for ¡each ¡token ¡stored ¡in ¡a ¡lexicon ¡ Use ¡Combinatory ¡Categorial ¡Grammar ¡(CCG)-‑driven ¡parsing ¡
9 ¡ (S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ NP ¡: ¡coffee ¡ PP/NP ¡: ¡λx.λy.(recipient(y,x)) ¡ bring ¡ coffee ¡ to ¡ Bob ¡ NP ¡: ¡bob ¡
S/PP ¡: ¡λP.(ac7on(bring)∧pa7ent(bring,coffee)∧P(bring)) ¡ PP ¡: ¡λy.(recipient(y,bob)) ¡ S ¡: ¡ac7on(bring)∧pa7ent(bring,coffee)∧recipient(bring,bob) ¡
10 ¡
(S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ ? ¡ PP/NP ¡: ¡λx.λy.(recipient(y,x)) ¡ bring ¡ java ¡ to ¡ Bob ¡ NP ¡: ¡bob ¡
Given ¡semanHc ¡form, ¡can ¡guess ¡about ¡missing ¡token ¡syntax/semanHcs ¡ S ¡: ¡ac7on(bring)∧pa7ent(bring,coffee)∧recipient(bring,bob) ¡
11 ¡
(S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ ? ¡ PP/NP ¡: ¡λx.λy.(recipient(y,x)) ¡ bring ¡ java ¡ to ¡ Bob ¡ NP ¡: ¡bob ¡ :-‑ ¡(S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ :-‑ ¡(S/NP)/NP ¡: ¡λx. ¡λy.(ac7on(bring)∧recipient(bring,x) ¡∧pa7ent(bring,y)) ¡ :-‑ ¡NP ¡: ¡coffee ¡ :-‑ ¡NP ¡: ¡bob ¡ ac7on(bring)∧pa7ent(bring,coffee)∧ ¡recipient(bring,bob) ¡ bring ¡:-‑ ¡(S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ bring ¡:-‑ ¡(S/NP)/NP ¡: ¡λx.λy.(ac7on(bring)∧recipient(bring,x) ¡∧pa7ent(bring,y)) ¡ coffee ¡:-‑ ¡NP ¡: ¡coffee ¡ Bob ¡:-‑ ¡NP ¡: ¡bob ¡ Given ¡form: ¡ Lexicon ¡entries ¡ that ¡produce ¡ parts ¡of ¡this ¡ form: ¡ Candidates ¡for ¡ ‘java’ ¡lexical ¡ entry: ¡
(S/PP)/NP ¡: ¡λx.λP.(ac7on(bring)∧pa7ent(bring,x)∧P(bring)) ¡ NP ¡: ¡coffee ¡ PP/NP ¡: ¡λx.λy.(recipient(y,x)) ¡ bring ¡ java ¡ to ¡ Bob ¡ NP ¡: ¡bob ¡
With ¡new ¡lexicon ¡entry, ¡we ¡can ¡construct ¡the ¡correct ¡semanHc ¡form ¡
S ¡: ¡ac7on(bring)∧pa7ent(bring,coffee)∧recipient(bring,bob) ¡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ly ¡ Agree ¡ ¡ ¡ Somewhat ¡ Agree ¡ ¡ ¡ ¡ ¡ Somewhat ¡ Disagree ¡ ¡ ¡ Strongly ¡ Disagree ¡
* ¡ + ¡
22 ¡
23 ¡
24 ¡
25 ¡