Cognitive Language Processing for Rosie

Slides:



Advertisements
Similar presentations
CS107: Introduction to Computer Science Lecture 2 Jan 29th.
Advertisements

Proceedings of the Conference on Intelligent Text Processing and Computational Linguistics (CICLing-2007) Learning for Semantic Parsing Advisor: Hsin-His.
Compilers and Language Translation
Learning Tasks through Situated Interactive Instruction James Kirk, John Laird Soar Workshop
Statistical Methods and Linguistics - Steven Abney Thur. POSTECH Computer Science NLP Lab Shim Jun-Hyuk.
Introduction and Jurafsky Model Resource: A Probabilistic Model of Lexical and Syntactic Access and Disambiguation, Jurafsky 1996.
Introduction to SOAR Based on “a gentle introduction to soar: an Architecture for Human Cognition” by Jill Fain Lehman, John Laird, Paul Rosenbloom. Presented.
C. Varela; Adapted w/permission from S. Haridi and P. Van Roy1 Declarative Computation Model Defining practical programming languages Carlos Varela RPI.
1 Chunking with Confidence John Laird University of Michigan June 17, th Soar Workshop
The Importance of Architecture for Achieving Human-level AI John Laird University of Michigan June 17, th Soar Workshop
PSY 369: Psycholinguistics Some basic linguistic theory part3.
1 Information Retrieval and Extraction 資訊檢索與擷取 Chia-Hui Chang, Assistant Professor Dept. of Computer Science & Information Engineering National Central.
Syntax LING October 11, 2006 Joshua Tauberer.
Models of Human Performance Dr. Chris Baber. 2 Objectives Introduce theory-based models for predicting human performance Introduce competence-based models.
1.3 Executing Programs. How is Computer Code Transformed into an Executable? Interpreters Compilers Hybrid systems.
Statistical Natural Language Processing. What is NLP?  Natural Language Processing (NLP), or Computational Linguistics, is concerned with theoretical.
Lecture 1, 7/21/2005Natural Language Processing1 CS60057 Speech &Natural Language Processing Autumn 2005 Lecture 1 21 July 2005.
Invitation to Computer Science 5th Edition
Learning Prepositions for Spatial Relationships in BOLT Soar Workshop 2012 James Kirk, John Laird 6/21/
Interference in Short-Term Memory The Magical Number Two (or Three) in Sentence Processing ` (Sat.) / Chan-hoon Park Hypernetwork Models of Learning.
INTRODUCTION TO COMPUTING CHAPTER NO. 06. Compilers and Language Translation Introduction The Compilation Process Phase 1 – Lexical Analysis Phase 2 –
For Friday Finish chapter 23 Homework: –Chapter 22, exercise 9.
A Multi-Domain Evaluation of Scaling in Soar’s Episodic Memory Nate Derbinsky, Justin Li, John E. Laird University of Michigan.
Parser-Driven Games Tool programming © Allan C. Milne Abertay University v
Chapter 10: Compilers and Language Translation Invitation to Computer Science, Java Version, Third Edition.
A Cognitive Substrate for Natural Language Understanding Nick Cassimatis Arthi Murugesan Magdalena Bugajska.
1 Natural Language Processing Lecture 11 Efficient Parsing Reading: James Allen NLU (Chapter 6)
David L. Chen Fast Online Lexicon Learning for Grounded Language Acquisition The 50th Annual Meeting of the Association for Computational Linguistics (ACL)
Soar and Construction Grammar Peter Lindes, Deryle Lonsdale, David Embley Brigham Young University 2014 Soar Workshop © 2014 Peter Lindes 6/19/2014PL 2014.
Chapter 6 Programming Languages (2) Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Cognition & Language Claudia Stanny PSY What is Cognition? Processes of knowing  Attending  Remembering  Reasoning Content of these processes.
인공지능 연구실 황명진 FSNLP Introduction. 2 The beginning Linguistic science 의 4 부분 –Cognitive side of how human acquire, produce, and understand.
1 Relationship between Cognitive Psychology and Other Disciplines Eysenck, Michael W. and Mark T. Kean Cognitive Psychology: A Student's Handbook,
Introduction to Embodied Construction Grammar March 4, 2003 Ben Bergen
Future Memory Research in Soar Nate Derbinsky University of Michigan.
The Functions and Purposes of Translators Syntax (& Semantic) Analysis.
Chapter 8. Situated Dialogue Processing for Human-Robot Interaction in Cognitive Systems, Christensen et al. Course: Robots Learning from Humans Sabaleuski.
OntoSoar: Soar Finds Facts in Text Peter Lindes, Deryle Lonsdale, David Embley Brigham Young University 33 rd Soar Workshop, June 2013 pl 6/6/201333rd.
1 Situation Comprehension and Emotion Bob Marinier University of Michigan June 2005.
NATURAL LANGUAGE PROCESSING
Competence-Preserving Retention of Learned Knowledge in Soar’s Working and Procedural Memories Nate Derbinsky, John E. Laird University of Michigan.
CLT with Grammar Instruction People learned languages before institutionalized education existed. Natural learning processes always assert themselves over.
Chapter 11 Language. Some Questions to Consider How do we understand individual words, and how are words combined to create sentences? How can we understand.
Figure and Ground Part 2 APLNG 597C LEJIAO WANG 03/16/2015.
Listening. Communication Implies at least 2 people: One to create a meaningful message and one to recreate the message.
Interactive Task Learning: Language Processing for Rosie John E. Laird and Peter Lindes University of Michigan 1.
Advanced Computer Systems
Component 1.6.
Software Development.
Agenda Preliminaries Motivation and Research questions Exploring GLL
Approaches to Machine Translation
Learning Fast and Slow John E. Laird
Chapter 11: Artificial Intelligence
Statistical NLP: Lecture 3
Basic Parsing with Context Free Grammars Chapter 13
Reading and Frequency Lists
Understanding Agent Knowledge through Conversation
How can Rosie tell me what it can do for me?
Introduction What is a Database?.
Natural Language Understanding
Compiler Design 4. Language Grammars
John Laird, Nate Derbinsky , Jonathan Voigt University of Michigan
Cognitive Language Comprehension in Rosie
An ICALL writing support system tunable to varying levels
Learning the Task Definition of Games through ITL
Symbolic cognitive architectures
SECOND LANGUAGE LISTENING Comprehension: Process and Pedagogy
Approaches to Machine Translation
Linguistic Essentials
Chapter 10: Compilers and Language Translation
Presentation transcript:

Cognitive Language Processing for Rosie Peter Lindes University of Michigan 37th Soar Workshop 7 June 2017

Rosie ROSie A Soar agent for interactive task learning Learns novel games [Kirk and Laird, ACS 2016] Learns fetching and delivery tasks [Mininger and Laird, ACS 2016] This is how we know if it understands.

Example Sentences Red is a color. The large one is red. This is a big triangle. Store the green block. What is inside the pantry? It is on the big green block. Move the green block to the left of the large green block to the pantry. Pick a green block that is larger than the green box. If the green box is large then go forward. Move forward until you see a doorway.

Rosie Parser (2015-2016) Linguistic processing knowledge written by hand Ad hoc lexical and construction knowledge written by hand Soar Long-Term Memories Procedural Semantic Episodic Reinforcement Learning Chunking Decision Procedure Episodic Learning Working Memory Visual Buffer controllers Perception Action

A language comprehension system for Rosie Lucia A language comprehension system for Rosie Goals: Embedded in Rosie Produces grounded meanings Results are actionable Efficient: runs in simulated real time Scalable to a wide range of language Cognitive: models aspects of human language processing

Some personal experiences Motivation Why would we want to build a cognitive computational model of human language processing? Some personal experiences

How do they do that? Me gusta dibujar muchas cosas. A mí también, y con muchos colores. How do they do that?

How does he do that? Blah, blah, blah ... in English en español

How can we get it to do that? Rosie, please clean up the kitchen. How can we get it to do that?

How can we get it to do that? How do they do that? How does he do that? Science informs engineering Engineering informs science How can we get it to do that?

Two interrelated questions: How does human processing work? How can we make robots understand us?

Build a cognitive computational model of how humans process language. A possible answer: Build a cognitive computational model of how humans process language. Where do we get the knowledge? Will it actually work with a robot?

Lucia solution The How to model cognition Computer Science How to represent language knowledge Linguistics Soar Embodied Construction Grammar (ECG) Pick up the green sphere. Comprehender The Lucia solution How human language processing works Psychology Incremental, single path processing

Sentence Processing in Lucia ECG Grammar Files Translator Grammar Rules Context Rules Action Messages Soar Agent Comprehender Pick up the green sphere on the stove. Rosie Operations World Model Input Words Ontology

Lucia in Soar Soar Linguistic processing knowledge written by hand Lexical and construction knowledge translated from ECG Soar Long-Term Memories Procedural Semantic Episodic Ontology Reinforcement Learning Chunking Decision Procedure Episodic Learning Working Memory World Model Visual Buffer controllers Perception Action

Translating ECG to Soar Constructions: Schemas: Generalize Recognize form Evoke meaning Unify ActionVerb + RefExpr → TransitiveCommand TransitiveCommand –evoke-> ActOnIt ActOnIt –generalize-to-> Action TransitiveCommand –generalize-to-> Imperative self.m.action ↔ verb.m self.m.object ↔ object.m

End-to-end process Comprehender Pick up the green sphere. 1 Pick 2 up Real time Actionable Comprehender 1 Pick 2 up 3 the 4 green 5 sphere. ActOnIt action: initiate-pick-up1 object: large-green-sphere1 Grounded Incremental

Construction Schema Agent item Pick up the green sphere. Interpret ActOnIt action: initiate-pick-up1 object: large-green-sphere1 Ground Evoke object block sphere1 green1 large1 large-green-sphere1 ActOnIt action pick-up1 initiate-pick-up1 <object> Recognize Transitive Command Reference Descriptor Action Descriptor action pick-up1 PickUp RefExpr Property Descriptor color green1 Pick Verb Ground Entity block sphere1 PICK UP THE GREEN SPHERE Pick up the green sphere. Construction Schema Agent item

A local repair ? ? ! Construction Schema Agent item Snip Pick up the object block rectangle1 green1 medium1 medium-green-block1 ActOnIt Snip action pick-up1 initiate-pick-up1 <object> Reference Descriptor object block sphere1 green1 large1 large-green-sphere1 ActOnIt Transitive Command Action Descriptor action pick-up1 Reference Descriptor PickUp Transitive Command RefExprPrepPhrase ? Prep Relation on1 RefExpr ? ! PrepPhrase Reference Descriptor RefExpr location stove1 Pick up the green block on the stove. Construction Schema Agent item

Approaches to ambiguity Traditional approaches Parallel paths Global optimization Ranked list of possible parses Corpus statistics Can an incremental, single path system resolve ambiguities?

Ambiguity resolution in Lucia Type Examples Resolutions Lexical The sphere is green. Put that in the pantry. Phrasal construction Multiple senses Put the square in the square box. Local repair Grammatical This is a sphere. Preference for construction based on context Structural Pick up the green block on the stove. Verb semantics, local repair Put the green sphere in the pantry. Verb semantics, no local repair Semantic Go to the kitchen. General prep phrase Go down the hall. Specific prep phrase Garden path The horse raced past the barn fell. Local repair fails -> garden path effect

Evaluating Lucia Does it work? Does it scale? 130/200 sentences tested against gold standard Some preliminary simulation tests Needs more integrated tests with Rosie Does it scale? No barriers found in 130 Rosie sentences Needs testing with wider range of language Does it match human performance? It gives correct results on those 130 sentences It runs at about ½ human reading speed Needs work to compare to detailed human data

Next Gen (2017?) Soar Linguistic processing knowledge written by hand Lexical and construction knowledge translated from ECG Soar Long-Term Memories Procedural Semantic Episodic Reinforcement Learning Chunking Decision Procedure Episodic Learning Working Memory Visual Buffer controllers Perception Action

Next Gen II (2018?) Linguistic processing knowledge written by hand Lexical and construction knowledge learned… Soar Long-Term Memories Procedural Semantic Episodic Reinforcement Learning Chunking Decision Procedure Semantic Learning Episodic Learning Working Memory These two slides will be developed more fully before the tutorial. This is to give the participants the big picture on how Soar works. Visual Buffer controllers Perception Action

Lucia Nuggets & Coal Nuggets It works Grammar in ECG It scales Coal Incremental processing Local repair Embedded in Rosie Near real-time Grammar in ECG It scales Ambiguity resolution Garden path effect Coal Integration testing Limited language range No implicit context Limited model of human processing No language learning!