teaching a robot to interpret natural language navigation
play

Teaching a robot to interpret natural language navigation - PowerPoint PPT Presentation

Teaching a robot to interpret natural language navigation instructions Ryan Eloff Supervisor: Dr. H. Kamper Department of Electrical & Electronic Engineering Maties Machine Learning Stellenbosch University 23 February 2018 UNIVERSITEIT


  1. Teaching a robot to interpret natural language navigation instructions Ryan Eloff Supervisor: Dr. H. Kamper Department of Electrical & Electronic Engineering Maties Machine Learning Stellenbosch University 23 February 2018 UNIVERSITEIT • STELLENBOSCH • UNIVERSITY • your knowledge partner jou kennisvennoot

  2. Natural language for human-robot interaction The Gambit platform which learns to identify and pick up objects from a users speech and gestures. 1 1 C. Matuszek, L. Bo, L. Zettlemoyer, et al. , “Learning from unscripted deictic gesture and language for human-robot interactions,” in Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence , 2014. 2 / 20

  3. Natural language for human-robot interaction A robotic wheelchair that learns about the environment from a narrated tour. 2 2 M. R. Walter, S. Hemachandra, B. Homberg, et al. , “A framework for learning semantic maps from grounded natural language descriptions,” The International Journal of Robotics Research , 2014. 3 / 20

  4. Natural language for human-robot interaction ◮ Still face challenges in building robots that can understand our written natural language instructions. 4 / 20

  5. Natural language for human-robot interaction ◮ Still face challenges in building robots that can understand our written natural language instructions. ◮ Most existing systems are only available in most commonly used languages: English, German, Spanish ... 4 / 20

  6. Natural language for human-robot interaction ◮ Still face challenges in building robots that can understand our written natural language instructions. ◮ Most existing systems are only available in most commonly used languages: English, German, Spanish ... ◮ These technologies are not available for low-resource languages. ◮ This is a problem in South Africa! 4 / 20

  7. Natural language instructions for route direction Sofa Hatrack 5 / 20

  8. Natural language instructions for route direction ◮ “Walk forward once” ◮ “Move to the sofa” ◮ “Go down till the chair” Sofa Hatrack ◮ “Go forward one segment to the intersection with a bare concrete floor” 5 / 20

  9. Natural language instructions for route direction ◮ “Walk forward once” ◮ “Move to the sofa” ◮ “Go down till the chair” Sofa Hatrack ◮ “Go forward one segment to the intersection with a bare concrete floor” Can we build a language independent system for interpreting written natural language navigation instructions that is also less dependent on data? 5 / 20

  10. Evaluation, virtual environments, & web application 6 / 20

  11. Example instruction data ◮ Example 1: “Walk two steps forward” 7 / 20

  12. Example instruction data ◮ Example 2: “Move forward and turn right” 8 / 20

  13. Example instruction data ◮ Example 3: “Move to the easel” 9 / 20

  14. Unseen instruction problem ◮ Unseen: “Walk three steps to the easel” 10 / 20

  15. General model 11 / 20

  16. General model Testing Training Observations Test Input x ( j ) Sentence x ( i ) Sentence Instruction x ( i ) embedded Instruction x ( j ) embedded Embeddings Embeddings World State w ( i ) World State w ( j ) Model (“Black Box” p ( j ) Learning Action Navigation Output Action Navigation p ( i ) Sequence a ( i ) Algorithm) Sequence a ( j ) Plan Plan Constructor Executor 11 / 20

  17. General model Testing Training Observations Test Input x ( j ) Sentence x ( i ) Sentence Instruction x ( i ) embedded Instruction x ( j ) embedded Embeddings Embeddings World State w ( i ) World State w ( j ) Model (“Black Box” p ( j ) Learning Action Navigation Output Action Navigation p ( i ) Sequence a ( i ) Algorithm) Sequence a ( j ) Plan Plan Constructor Executor 11 / 20

  18. General model Testing Training Observations Test Input x ( j ) Sentence x ( i ) Sentence Instruction x ( i ) embedded Instruction x ( j ) embedded Embeddings Embeddings World State w ( i ) World State w ( j ) Model (“Black Box” p ( j ) Learning Action Navigation Output Action Navigation p ( i ) Sequence a ( i ) Algorithm) Sequence a ( j ) Plan Plan Constructor Executor 11 / 20

  19. General model Testing Training Observations Test Input x ( j ) Sentence x ( i ) Sentence Instruction x ( i ) embedded Instruction x ( j ) embedded Embeddings Embeddings World State w ( i ) World State w ( j ) Model (“Black Box” p ( j ) Learning Action Navigation Output Action Navigation p ( i ) Sequence a ( i ) Algorithm) Sequence a ( j ) Plan Plan Constructor Executor 11 / 20

  20. General model Testing Training Observations Test Input x ( j ) Sentence x ( i ) Sentence Instruction x ( i ) embedded Instruction x ( j ) embedded Embeddings Embeddings World State w ( i ) World State w ( j ) Model (“Black Box” p ( j ) Learning Action Navigation Output Action Navigation p ( i ) Sequence a ( i ) Algorithm) Sequence a ( j ) Plan Plan Constructor Executor 11 / 20

  21. General model Testing Training Observations Test Input x ( j ) Sentence x ( i ) Sentence Instruction x ( i ) embedded Instruction x ( j ) embedded Embeddings Embeddings World State w ( i ) World State w ( j ) Model (“Black Box” p ( j ) Learning Action Navigation Output Action Navigation p ( i ) Sequence a ( i ) Algorithm) Sequence a ( j ) Plan Plan Constructor Executor 11 / 20

  22. Proposed models k-Nearest neighbours (kNN) models: f 2 Class labels: Turn ( LEFT ) Turn ( RIGHT ) Distance metric q 3 q 2 q 1 f 1 Proposed distance metrics: ◮ Levenshtein distance ◮ Euclidean distance 12 / 20

  23. Proposed models k-Nearest neighbours (kNN) models: Basic one-vs-rest (OVR) logistic f 2 Class labels: regression model: Turn ( LEFT ) Turn ( RIGHT ) Distance metric Output plan label p ( i ) k max index k q 3 Output class y 0 y 1 . . . y k . . . y m probabilities q 2 OVR . . . q 1 Parameter θ (0) θ (1) θ ( m ) Vectors f 1 Input Encoded World Proposed distance metrics: State w ( i ) features Instruction n − 1 ◮ Levenshtein distance x ( i ) ◮ Euclidean distance 12 / 20

  24. Results: Overall model performance ◮ Overall performance of the proposed models and that of previous work: Model Accuracy F 1 kNN with Levenshtein distance 77.10 55.25 kNN with Euclidean distance 75.44 51.65 Basic logistic regression 78.18 57.32 Stepwise logistic regression 72.58 44.36 Chen and Mooney (2011) 68.37 54.40 Chen (2012) 69.43 57.28 Mei et al. (2016) - 69.98 13 / 20

  25. Results: Performance on small datasets ◮ Average strict accuracy of the proposed models when trained on different sample sizes n : 70 60 50 Accuracy [%] Legend: 40 kNN with Levenshtein distance 30 kNN with Euclidean distance 20 Basic logistic regression 10 Stepwise logistic regression 0 64 128 192 256 320 384 448 512 576 640 Number of samples [ n ] 14 / 20

  26. Results: Performance on an Afrikaans corpus ◮ Proposed models evaluated on an Afrikaans translation of the benchmark English corpus*: 90 70 78.18 80 77.1 76 75.05 73.52 73.5 60 57.32 72.58 71.29 55.25 54.9 52.39 70 51.39 51.52 50 44.36 60 42.75 F1-score [%] Accuracy [%] 40 50 40 30 30 20 20 10 10 0 0 English corpus Afrikaans corpus English corpus Afrikaans corpus kNN with Levenshtein distance kNN with Euclidean distance kNN with Levenshtein distance kNN with Euclidean distance Basic logistic regression Stepwise logistic regression Basic logistic regression Stepwise logistic regression * English corpus translated to Afrikaans using Google’s state-of-the-art Neural Machine Translation system. 15 / 20

  27. Contributions ◮ Simple machine learning models used for the novel purpose of learning from limited datasets, which is competitive with complex systems of previous work. 16 / 20

  28. Contributions ◮ Simple machine learning models used for the novel purpose of learning from limited datasets, which is competitive with complex systems of previous work. ◮ Web application has data collection capabilities which is ideal for future research on human-robot interaction. 16 / 20

  29. Contributions ◮ Simple machine learning models used for the novel purpose of learning from limited datasets, which is competitive with complex systems of previous work. ◮ Web application has data collection capabilities which is ideal for future research on human-robot interaction. ◮ These models are the first steps and foundation for future research on more complex models for limited data. (and speech!!) 16 / 20

  30. Contributions ◮ Simple machine learning models used for the novel purpose of learning from limited datasets, which is competitive with complex systems of previous work. ◮ Web application has data collection capabilities which is ideal for future research on human-robot interaction. ◮ These models are the first steps and foundation for future research on more complex models for limited data. (and speech!!) ◮ First Afrikaans system for Robotic instruction following. The system may also be trained in any language, so it is ideal for low-resource languages. 16 / 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend