Spreading Activation in Soar: An Update

Similar documents
CS472 Foundations of Artificial Intelligence. Final Exam December 19, :30pm

For IEC use only. Technical Committee TC3: Information structures, documentation and graphical symbols

Application of Bayesian Networks to Shopping Assistance

Commonsense Knowledge Acquisition and Applications

Lesson Objectives. Core Content Objectives. Language Arts Objectives

Using Perceptual Context to Ground Language

Different Size, Same Shape

CRICKET ONTOLOGY. Project Description :- Instructor :- Prof: Navjyothi Singh

Character A person or animal in a story Solution The answer to a problem. Inference A conclusion based on reasoning

Petacat: Applying ideas from Copycat to image understanding

Lesson Objectives. Core Content Objectives. Language Arts Objectives

Sentiment Analysis Symposium - Disambiguate Opinion Word Sense via Contextonymy

EVALITA 2011 The News People Search Task: Evaluating Cross-document Coreference Resolution of Named Person Entities in Italian News

Supplementary Material for Bayes Merging of Multiple Vocabularies for Scalable Image Retrieval

Refining the Notions of Depth and Density in WordNet-based Semantic Similarity Measures

In memory of Dr. Kevin P. Granata, my graduate advisor, who was killed protecting others on the morning of April 16, 2007.

Sreyasi Nag Chowdhury, Niket Tandon, Gerhard Weikum. Max Planck Institute for Informatics, Saarbrücken, Germany

We release Mascot Server 2.6 at the end of last year. There have been a number of changes and improvements in the search engine and reports.

How Do Injuries in the NFL Affect the Outcome of the Game

PtHA Trademarks Usage Policy Version 1.2

Level 5 Materials (Units 1 4) including The Superkids Hit Second Grade. Level 6 Materials (Units 5 8) including The Superkids Take Off

Investigating Content Selection for Language Generation using Machine Learning

Evaluating and Classifying NBA Free Agents

FEATURES. Features. UCI Machine Learning Repository. Admin 9/23/13

Sequence Tagging. Today. Part-of-speech tagging. Introduction

DATA MINING ON CRICKET DATA SET FOR PREDICTING THE RESULTS. Sushant Murdeshwar

Visual Traffic Jam Analysis Based on Trajectory Data

The Orienteering Problem

my fruit & veg diary name...

Reducing Code Size with Run-time Decompression

BALLGAME: A Corpus for Computational Semantics

Special Olympics College Clubs Branding Guidelines. Version 1.0/ English

ComfRide - A Smartphone based Comfortable Public Route Recommendation

#19 MONITORING AND PREDICTING PEDESTRIAN BEHAVIOR USING TRAFFIC CAMERAS

Flyweight Pattern. Flyweight: Intent. Use sharing to support large numbers of fine-grained objects efficiently. CSIE Department, NTUT Chien-Hung Liu

Working with Object- Orientation

Twitter Analysis of IPL cricket match using GICA method

Navy Guidance and Tips for Using DOEHRS-IH Ventilation NAVY & MARINE CORPS PUBLIC HEALTH CENTER

/435 Artificial Intelligence Fall 2015

CMSC131. Introduction to Computational Thinking. (with links to some external Scratch exercises) How do you accomplish a task?

Satoshi Yoshida and Takuya Kida Graduate School of Information Science and Technology, Hokkaido University

A Novel Approach to Predicting the Results of NBA Matches

Working with Marker Maps Tutorial

Rearrangement of Recognized Strokes in Online Handwritten Gurmukhi. words recognition.

Lesson 14: Games of Chance and Expected Value

swmath - Challenges, Next Steps, and Outlook

Lecture 10: Generation

Comp115: Databases. Relational Algebra

Walking up Scenic Hills: Towards a GIS Based Typology of Crowd Sourced Walking Routes

1 Konan University Yuki Hattori Akiyo Nadamoto

Exploring the NFL. Introduction. Data. Analysis. Overview. Alison Smith <alison dot smith dot m at gmail dot com>

Special Olympics Unified Champion Schools Branding Guidelines

Using MATLAB with CANoe

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag

Website Analysis: Penn State Club Cheerleading

The system design must obey these constraints. The system is to have the minimum cost (capital plus operating) while meeting the constraints.

Teacher Edition. AlphaWorld. Food. For Animals Written by Sarah O Neil

A Shallow Dive into Deep Sea Data Sarah Solie and Arielle Fogel 7/18/2018

ENGLISH. uemis ZURICH. SDA Scuba Diver Assistant Quick Reference Guide

IRB Staff Administration Guide

A physicist, an engineer and a programmer were in a car driving over a steep alpine pass when the brakes failed. The car was getting faster and

COMP 406 Lecture 05. Artificial. Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University

American Thoroughbred Handicapping Program

Novel Resource for: Oliver s Game by Matt Tavares

IDENTITY GUIDE Elizabethtown College. All rights reserved.

CATCHING PUNCTUATION

Cooperation and Competition: S.O.R. Losers. For Use with Open Court 5 th Grade, Unit 1, Lesson 5

Applied Econometrics with. Time, Date, and Time Series Classes. Motivation. Extension 2. Motivation. Motivation

Sequence Similarity Networks for the Protein Universe!! John A. Gerlt! University of Illinois, Urbana-Champaign! Blue Waters Symposium! May 13, 2014!

PROBABILITY I BEGINNER CIRCLE 4/14/2013

Open Research Online The Open University s repository of research publications and other research outputs

Math Module 1- Topic D Review- Classwork

Approximate Grammar for Information Extraction

Database Management Systems. Chapter 5

Iteration: while, for, do while, Reading Input with Sentinels and User-defined Functions

Tecniche di Progettazione: Design Patterns

Cuneiform. A Functional Workflow Language Implementation in Erlang. Jörgen Brandt Humboldt-Universität zu Berlin

A THESIS SUBMITTED TO THE FACULTY OF GRADUATE SCHOOL OF THE UNIVERSITY OF MINNESOTA

4. Please Do Break the Crystal

Cyrus Soccer 2D Simulation

Integrating Best of Breed Outage Management Systems with Mobile Data Systems. Abstract

Table of Contents. 1 Command Summary...1

How to Make, Interpret and Use a Simple Plot

CPCCWHS1001 Prepare to work safely in the construction industry

Transposition Table, History Heuristic, and other Search Enhancements

Perception Model to Analyze Football Players' Performances

FACE DETECTION. Lab on Project Based Learning May Xin Huang, Mark Ison, Daniel Martínez Visual Perception

Fast Software-managed Code Decompression

CS 528 Mobile and Ubiquitous Computing Lecture 7a: Applications of Activity Recognition + Machine Learning for Ubiquitous Computing.

Purpose. Scope. Process flow OPERATING PROCEDURE 07: HAZARD LOG MANAGEMENT

Farm to Fork Local Food Production and Marketing

EasyWay. Urban Travel Times on VMSs around Eindhoven. Evaluation Expert Group Document. Version 0.9. Issue: 1 st edition. Date: August 27 th, 2013

DESIGN AND ANALYSIS OF ALGORITHMS (DAA 2017)

Thinking Guide and Activities - Narrative Title of the Selection: Anansi Goes Fishing by Eric Kimmel Genre: Fiction Narrative Problem/Solution Plot

MEADE COUNTY 4-H CHATTER FEBRUARY/MARCH 2017

7. No food coloring allowed unless recipe calls for it. If used, attach recipe to jar.

Supplementary Material. Speaking the Same Language: Matching Machine to Human Captions by Adversarial Training

Review questions CPSC 203 midterm

Thinking Guide and Activities - Narrative Title of the Selection: Anansi Goes Fishing by Eric Kimmel Genre: Fiction Narrative Problem/Solution Plot

Learn Words About a New Subject

Transcription:

Spreading Activation in Soar: An Update Steven Jones Computer Science and Engineering, University of Michigan, Ann Arbor scijones@umich.edu June 13, 2016 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 1 / 28

Overview 1 Problem: Ambiguous Contextualized Retrieval 2 Approach: Spreading Activation The Naive Way 3 Evaluation Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 2 / 28

Problem: Ambiguous Contextualized Retrieval Symbolic Long Term Memories Procedural Semantic Episodic Reinforcement Chunking Cued Retrieval Episodic Learning Appraisal Detector Symbolic Short-Term Memory Decision Procedure Clustering LT Visual Memory Perception ST Visual Memory Action Body Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 3 / 28

Problem: Ambiguous Contextualized Retrieval Ambiguous Cue-based Retrieval The postman[1] mailed[1] the letter[2]. mail noun SMEM instance mailed message To disambiguate: message, character character string string "letter" WMEM prev input mailed "letter" Query string "letter" Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 4 / 28

Problem: Ambiguous Contextualized Retrieval Ambiguous Cue-based Retrieval The postman[1] mailed[1] the letter[2]. SMEM To disambiguate: message, character What if we have more information? mail noun instance character mailed string message string "letter" WMEM prev input mailed "letter" Query string "letter" Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 4 / 28

Problem: Ambiguous Contextualized Retrieval Ambiguous Cue-based Retrieval The postman[1] mailed[1] the letter[2]. To disambiguate: message, character mail noun SMEM instance mailed message P(message mailed) > P(character mailed)? character string string "letter" WMEM input Query prev mailed "letter" string "letter" Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 4 / 28

Approach: Spreading Activation 1 Problem: Ambiguous Contextualized Retrieval 2 Approach: Spreading Activation The Naive Way 3 Evaluation Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 5 / 28

Spreading Activation: The Model.45.45 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 6 / 28

Spreading Activation: The Model.45.405.135.45.135.135 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 6 / 28

Spreading Activation: The Model.45.405.45.4995.135.06075.19575 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 6 / 28

Spreading Activation: The Model.45 Properties Decays with distance from context. More connections to a node give higher value..405.4995.45.135.06075.19575 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 7 / 28

The Naive Way How to calculate? What algorithm?.3.3.135.435 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 8 / 28

The Naive Way How to calculate? What algorithm? 1.2.3.135.435 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 8 / 28

The Naive Way How to calculate? What algorithm? Problems Always recompute from scratch 1.2.3.135.435 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 8 / 28

The Naive Way How to calculate? What algorithm? Problems Always recompute from scratch Won t reuse good values 1.2.3.135.435 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 8 / 28

The Naive Way How to calculate? What algorithm? Problems Always recompute from scratch Won t reuse good values Might not even need calculated values 1.2.3.135.435 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 8 / 28

The Naive Way How to calculate? What algorithm? Problems Wasted Computation 1.2.3.135.435 Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 8 / 28

How to avoid wasteful computation during a task Only process changes Cache already-calculated spread Precalculate Defer processing until queries Don t process in unambiguous queries Only process spread for potential query results Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 9 / 28

How to avoid wasteful computation during a task Only process changes Cache already-calculated spread Precalculate Defer processing until queries Don t process in unambiguous queries Only process spread for potential query results Bold improvements already exist in ACT-R. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 9 / 28

An Example of Waste List for Context: Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon orange Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon orange grape Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon orange grape potato Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon orange grape potato Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon orange grape Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste List for Context: apple banana watermelon orange grape Then, ask questions (do queries). Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 10 / 28

An Example of Waste A1 B1 O1 G1 W1 provides is-a is-a is-a provides provides has-sense provides is-a provides is-a apple banana T1 O2 E2 grape V1 watermelon has-sense has-property tree O3 orange edible edible_fruit vine P1 E4 is-a provides is-a C4 E3 T2 potato has-property edible_meat edible has-property color edible_vegetable edible tuber Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 11 / 28

An Example of Waste Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Bold indicates spreading activation calculation. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 12 / 28

Change-Only Processing Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 13 / 28

Change-Only Processing Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 13 / 28

Spread Caching Suppose that at t=-3 and -5, the agent had already encountered apple and watermelon, respectively. Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 14 / 28

Spread Caching Suppose that at t=-3 and -5, the agent had already encountered apple and watermelon, respectively. Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Blue italics indicates reduced computation by caching. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 14 / 28

Precalculation Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 15 / 28

Precalculation Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 15 / 28

Query-Deferred Processing Postpone the spreading calculations until the query (when they are needed). Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 16 / 28

Query-Deferred Processing Postpone the spreading calculations until the query (when they are needed). Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 16 / 28

Ambiguity-Only Processing Cue: Answer: Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 17 / 28

Ambiguity-Only Processing Cue: ˆcapital-of Michigan Answer: Lansing Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 17 / 28

Ambiguity-Only Processing Cue: ˆhas-property edible Answer: Edible Fruit, Edible Vegetable, Edible Meat Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 17 / 28

Ambiguity-Only Processing A1 B1 O1 G1 W1 provides is-a is-a is-a provides provides has-sense provides is-a provides is-a apple banana T1 O2 E2 grape V1 watermelon has-sense has-property tree O3 orange edible edible_fruit vine P1 E4 is-a provides is-a C4 E3 T2 potato has-property edible_meat edible has-property color edible_vegetable edible tuber Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 18 / 28

Candidate-Only Processing A1 B1 O1 G1 W1 provides is-a is-a is-a provides provides has-sense provides is-a provides is-a apple banana T1 O2 E2 grape V1 watermelon has-sense has-property tree O3 orange edible edible_fruit vine P1 E4 is-a provides is-a C4 E3 T2 potato has-property edible_meat edible has-property color edible_vegetable edible tuber Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 19 / 28

Candidate-Only Processing Cue: ˆhas-property edible Answer: Edible Fruit, Edible Vegetable, Edible Meat Recipients of Spread: Edible Fruit, Tree, Color, Vine Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 20 / 28

Candidate-Only Processing Cue: ˆhas-property edible Answer: Edible Fruit, Edible Vegetable, Edible Meat Recipients of Spread: Edible Fruit, Tree, Color, Vine Decision Cycle LTI source 12345678 @A1 (apple) 2345678 @B1 (banana) 345678 @W1 (watermelon) 45678 @O2 (orange) 5678 @G1 (grape) 678 @P1 (potato) Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 20 / 28

Candidate-Only Processing A1 B1 O1 G1 W1 provides is-a is-a is-a provides provides has-sense provides is-a provides is-a apple banana T1 O2 E2 grape V1 watermelon has-sense has-property tree O3 orange edible edible_fruit vine P1 E4 is-a provides is-a C4 E3 T2 potato has-property edible_meat edible has-property color edible_vegetable edible tuber Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 21 / 28

Evaluation Evaluation 1 Problem: Ambiguous Contextualized Retrieval 2 Approach: Spreading Activation The Naive Way 3 Evaluation Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 22 / 28

Evaluation Word Sense Disambiguation Original sentence: The postman put the letter in the mailbox. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 23 / 28

Evaluation Word Sense Disambiguation Original sentence: The postman put the letter in the mailbox. Corpus annotation: The postman[1] put[1] the letter[2] in the mailbox[1]. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 23 / 28

Evaluation Word Sense Disambiguation Original sentence: The postman put the letter in the mailbox. Corpus annotation: The postman[1] put[1] the letter[2] in the mailbox[1]. What the agent receives: postman[?] put[?] letter[?] mailbox[?] letter corresponding to message, not character Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 23 / 28

Evaluation Measure of Task Performance How many guesses does it take to get the right word sense? Time How long does a processing cycle take? Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 24 / 28

Evaluation Measure of Task Performance How many guesses does it take to get the right word sense? Time How long does a processing cycle take? Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 24 / 28

Evaluation Word Sense Disambiguation Data Set - SemCor: Annotated version of a subset of the Brown corpus 352 texts of 2000 words each from fiction, nonfiction, books, journals, but no poetry >200,000 WordNet 3.0 sense references for nouns and verbs Semantic Memory - WordNet 3.0: WordNet synonyms, antonyms, hypernyms, hyponyms, part-of, derivationally-related 470,000 nodes, 1,500,000 edges.5gb Working Memory (Context): Previous words Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 25 / 28

Evaluation Results Spreading Activation Mechanism Spread Time (s) Naive Spreading >100,000 + Change-Only Processing 3316 + Caching 1200 + Precalculation 810 + Query-Deferred Processing 803 + Ambiguity-Only Processing 778 + Candidate-Only Processing 245 Timed performance on the WSD task across seven variants. Rows with prefaced with + denote an additional cumulative improvement. Bold indicates an improvement implemented in ACT-R. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 26 / 28

Conclusion Nuggets and Coal Nuggets Coal Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 27 / 28

Conclusion Nuggets and Coal Nuggets Much faster spreading activation Coal Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 27 / 28

Conclusion Nuggets and Coal Nuggets Much faster spreading activation Worst case is only as bad as previous worst case Coal Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 27 / 28

Conclusion Nuggets and Coal Nuggets Much faster spreading activation Worst case is only as bad as previous worst case Coal No demonstration of spreading activation s utility Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 27 / 28

Conclusion Nuggets and Coal Nuggets Much faster spreading activation Worst case is only as bad as previous worst case Coal No demonstration of spreading activation s utility Precalculation requires large database files Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 27 / 28

Conclusion Future Work Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 28 / 28

Conclusion Future Work Edge Weights Spreading Activation could be made to change over time similarly to Base-level Activation. Steven Jones (U-M) Spreading Activation in Soar June 13, 2016 28 / 28