Cognitive Modeling. Lecture 4: Models of Problem Solving. Sharon Goldwater. School of Informatics University of Edinburgh

Similar documents
Cognitive Modeling. Problem-solving. History. Lecture 4: Models of Problem Solving. Sharon Goldwater. January 21, 2010

Biologically-Inspired Control in Problem Solving. Thad A. Polk, Patrick Simen, Richard L. Lewis, & Eric Freedman

Cognitive Modeling. Lecture 9: Intro to Probabilistic Modeling: Rational Analysis. Sharon Goldwater

Using Diverse Cognitive Mechanisms for Action Modeling

Protocol analysis and Verbal Reports on Thinking

Capacity Limits in Mechanical Reasoning

Spatial Orientation Using Map Displays: A Model of the Influence of Target Location

Cognitive Modeling. Mechanistic Modeling. Mechanistic Modeling. Mechanistic Modeling Rational Analysis

HUMAN CIRCULATORY SYSTEM COGNITIVE TASK ANALYSIS. Darnel Degand Teachers College, Columbia University

A COMPUTATIONAL MODEL OF TOWER OF HANOI PROBLEM SOLVING. Sashank Varma. Dissertation. Submitted to the Faculty of the

Motivational and Emotional Controls of Cognition

Intro to Theory of Computation

Birkbeck eprints: an open access repository of the research output of Birkbeck College

Replacing the frontal lobes? Having more time to think improve implicit perceptual categorization. A comment on Filoteo, Lauritzen & Maddox, 2010.

Implicit learning in rule induction and problem solving

An Introduction to CLARION. Ryan Allison. Rensselaer Polytechnic Institute

Cognitive Modeling. Lecture 12: Bayesian Inference. Sharon Goldwater. School of Informatics University of Edinburgh

Modelling the Relationship between Visual Short-Term Memory Capacity and Recall Ability

Human problem solving: Introduction to human optimization

Transfer in problem solving.

Memory for Goals in Means-ends Behavior. Erik M. Altmann George Mason University Fairfax, VA

PSYC 441 Cognitive Psychology II

Neural Cognitive Modelling: A Biologically Constrained Spiking Neuron Model of the Tower of Hanoi Task

Lecture 9: Lab in Human Cognition. Todd M. Gureckis Department of Psychology New York University

Unifying Data-Directed and Goal-Directed Control: An Example and Experiments

The Benefits of Epistemic Action Outweigh the Costs

Empirical Formula for Creating Error Bars for the Method of Paired Comparison

Distributed Cognition, Representation, and Affordance

UC Merced Proceedings of the Annual Meeting of the Cognitive Science Society

Epistemology and the Feldenkrais Method

Topological Considerations of Memory Structure

ADAPT: A Cognitive Architecture for Robotics

Cognitive Design Principles and the Successful Performer: A Study on Spatial Ability

Artificial Cognitive Systems

Unifying Cognitive Functions and Emotional Appraisal. Bob Marinier John Laird University of Michigan 26 th Soar Workshop: May 24, 2006

Organizational. Architectures of Cognition Lecture 1. What cognitive phenomena will we examine? Goals of this course. Practical Assignments.

Neural Cognitive Modelling: A Biologically Constrained Spiking Neuron Model of the Tower of Hanoi Task

HIERARCHIES: THE CHUNKING OF GOAL. A Generalized Model of Practice. Abstract. Alien Newell Carnegie-Mellon University. Stanford University

Agent-Based Systems. Agent-Based Systems. Michael Rovatsos. Lecture 5 Reactive and Hybrid Agent Architectures 1 / 19

Kodu Lesson 2: Color Filters with Pursue and Consume

Memory for goals: an activation-based model

Evaluating & Teaching Yes/No Responses Based on an Analysis of Functions. Jennifer Albis, M.S., CCC-SLP

Ch 16. The Problem of Consciousness

CS 730/730W/830: Intro AI

Medical Planning. David Glasspool. Advanced Computation Laboratory, Cancer Research UK

An Evolutionary Approach to Tower of Hanoi Problem

Human experiment - Training Procedure - Matching of stimuli between rats and humans - Data analysis

Variability as an Operant?

CANTAB Test descriptions by function

Cognitive Modeling Reveals Menu Search is Both Random and Systematic

Choose an approach for your research problem

Interrupting Problem Solving: Effects of Interruption Position and Complexity

Goal Conflict Concerns. Marc

Tower of Hanoi disk-transfer task: Influences of strategy knowledge and learning on performance

Page # Perception and Action. Lecture 3: Perception & Action. ACT-R Cognitive Architecture. Another (older) view

NEUROPHILOSOPHICAL FOUNDATIONS 1

Social Learning. The concept of social learning. Introduction

Experiment Design 9/17/2015. Mini summary of Green & Bavelier

Reactive agents and perceptual ambiguity

PSYC 441 Cognitive Psychology II

An experimental investigation of consistency of explanation and graph representation

An ACT-R Approach to Reasoning about Spatial Relations with Preferred and Alternative Mental Models

Lecturer: Dr. Benjamin Amponsah, Dept. of Psychology, UG, Legon Contact Information:

Memory for goals: an activation-based model

A. Indicate the best answer to each the following multiple-choice questions (20 points)

Perception, Attention and Problem Solving on the Block Design Task. Mohamed El Banani University of Michigan

CS 4365: Artificial Intelligence Recap. Vibhav Gogate

Visual Processing (contd.) Pattern recognition. Proximity the tendency to group pieces that are close together into one object.

PSY318 Computational Modeling Tom Palmeri. Spring 2014! Mon 1:10-4:00 Wilson 316

Reactivity and Deliberation in Decision-Making Systems

Recognizing Ambiguity

Minimal conditions for the creation of a unit relationship: the social bond between birthdaymates

PS3021, PS3022, PS4040

Effect of Choice Set on Valuation of Risky Prospects

Gamification: What can pigeons teach us about highway safety?

Applying Appraisal Theories to Goal Directed Autonomy

Welcome to. Chapter No: 08 of MKT 425: Consumer Behavior. Chapter Name: Perception. Modular: Mr. Afjal Hossain Lecturer Department of Marketing, PSTU

Chapter 8: Consumer Attitude Formation and Change

Subjective randomness and natural scene statistics

Inferencing in Artificial Intelligence and Computational Linguistics

Short-Term and Working Memory. Outline. What is memory? Short-term memory Working memory Working memory and the brain. Chapter 5

Analogical Inference

Learning Theories Reviewed

The 12 pillars of wisdom

Module 1. Introduction. Version 1 CSE IIT, Kharagpur

Extensions to a Unified Theory of the Cognitive Architecture. Nishant Trivedi

Learning to classify integral-dimension stimuli

The interplay of domain-specific and domain general processes, skills and abilities in the development of science knowledge

[EN-A-022] Analysis of Positive and Negative Effects of Salience on the ATC Task Performance

The Learning Process. Learning is a Process. Behavioral Learning Theories. Chapter 3 Learning and Memory. How many of these do you remind?

innate mechanism of proportionality adaptation stage activation or recognition stage innate biological metrics acquired social metrics

The Youth, They Are in

AP Psychology Syllabus CHS Social Studies Department

CONTROL OF IMPULSIVE CHOICE THROUGH BIASING INSTRUCTIONS. DOUGLAS J. NAVARICK California State University, Fullerton

Absolute Identification is Surprisingly Faster with More Closely Spaced Stimuli

The nature of restructuring in insight: An individual-differences approach

Math Released Item Grade 3. Find the Area and Identify Equal Areas 1749-M23082

Consider the following aspects of human intelligence: consciousness, memory, abstract reasoning

Explainer: What is empathy?

Hoare Logic and Model Checking. LTL and CTL: a perspective. Learning outcomes. Model Checking Lecture 12: Loose ends

Transcription:

Cognitive Modeling Lecture 4: Models of Problem Solving Sharon Goldwater School of Informatics University of Edinburgh sgwater@inf.ed.ac.uk January 21, 2010 Sharon Goldwater Cognitive Modeling 1

1 Background Motivation History Types of problems 2 3 Reading: Cooper (2002: Ch. 4). Sharon Goldwater Cognitive Modeling 2

Problem-solving Background Motivation History Types of problems Many daily and long-term tasks involve problem-solving. buying airline tickets given particular time and money constraints; finding and following directions to a new location; figuring out why your computer isn t behaving as you expect; devising a winning strategy in a board game. How do we solve these tasks? Sharon Goldwater Cognitive Modeling 3

History Background Motivation History Types of problems Historical approaches to studying problem solving: Early work focused on reproductive problem-solving, associationist explanations (stimulus-response). 1940s Gestalt psychologists studied productive problems, believed problem-solving reduced to identifying appropriate problem structure. Today we ll look at work by Herb Simon on well-defined, knowledge-lean problems. (photo: Wikipedia) Sharon Goldwater Cognitive Modeling 4

Types of problems Background Motivation History Types of problems Problems can be categorized on two dimensions: well-defined chess fixing computer problem Towers of Hanoi diagnosing a patient ill-defined?? win an election design a better car knowledge-lean knowledge-rich Sharon Goldwater Cognitive Modeling 5

Example: Towers of Hanoi Motivation History Types of problems Starting point: all disks stacked on leftmost peg in order of size (largest on bottom); two other pegs empty. Legal moves: any move which transfers a single disk from one page to another without placing it on top of a smaller disk. Goal: transfer all disks to the rightmost peg. Using three disks: initial state goal state Sharon Goldwater Cognitive Modeling 6

Motivation History Types of problems Well-defined, knowledge-lean problems Can be characterized by a state space. Chess: configuration of pieces on the board Towers of Hanoi: configuration of disks and pegs, e.g. L123,M,R: All three disks located on leftmost peg (initial state) L3,M,R12: Largest disk on left peg, smaller two on right peg Sharon Goldwater Cognitive Modeling 7

Possible solution methods Motivation History Types of problems Computers often solve similar problems by exploring the search space in a systematic way. L123,M,R L23,M1,R L23,M,R1......... L123,M,R L23,M,R1 L3,M1,R2........................ depth-first search, breadth-first search Might humans do this as well? Sharon Goldwater Cognitive Modeling 8

Cognitive plausibility Background Motivation History Types of problems DFS and BFS strategies don t match human behavior. humans show greater difficulty at some points during solving than others not necessarily those with more choices. for complex tasks (e.g., chess), both methods can require very large memory capacity. human learn better strategies with experience: novices may not find the best solution, but experts may outperform computers. Sharon Goldwater Cognitive Modeling 9

Case study: Towers of Hanoi The problem can be decomposed into a series of sub-problems: 1 move the largest disk to the right peg; 2 move intermediate-sized disk to the right peg; 3 move the smallest disk to the right peg. Solve sub-problems in order: move largest disk to the right peg: achieve a state where this can be solved in one move (i.e., no other disks on it, no disks on right peg). Now move two-disk tower from left to middle peg: easier version of initial problem; the same principles used to solve it. Sharon Goldwater Cognitive Modeling 10

Simon (1975) Background Simon (1975) analyzed possible solution strategies and identified four classes of strategy: problem decomposition strategy (see above); two simpler strategies that move disks (rather than towers), moves triggered by perceptual features of the changing state; a strategy of rote learning. Strategies have different properties in terms of generalization to larger numbers of disks and processing requirements. Sharon Goldwater Cognitive Modeling 11

Anzai and Simon (1979) Analyzed verbal protocols of one subject in four attempts at five-disk task: 1 Initially little sign of strategy, moving disks using simple constraints avoid backtracking, avoid moving same disk twice in a row. 2 By third attempt had a sophisticated recursive strategy, with sub-goals of moving disks of various sizes to various pegs. 3 Final attempt, strategy evolved further, with sub-goals involving moving pyramids of disks. Developed adaptive production system to simulate acquisition and evolution of strategies. Sharon Goldwater Cognitive Modeling 12

Selection Without Search At each stage in the solution process: enumerate the possible moves; evaluate those moves with respect to local information; select the move with the highest evaluation; apply the selected move; if the goal state has not been achieved, repeat the process. This approach can be applied to any well-specified problem (Newell and Simon 1972). Sharon Goldwater Cognitive Modeling 13

Selection Without Search We require: one buffer to hold the current state; one buffer to hold the representation of operators; and one process to manipulate buffer contents. Sharon Goldwater Cognitive Modeling 14

Representing the Current State Each disk may be represented as a term: disk(size,peg,position) With this representation, the initial state of the five disk problem might be represented as: disk(30,left,5) disk(40,left,4) disk(50,left,3) disk(60,left,2) disk(70,left,1) Sharon Goldwater Cognitive Modeling 15

Operator Proposal Background In the operator proposal phase, we propose moving the top-most disk on any peg to any other peg: IF not operator(anymove,anystate) is in Possible Operators top disk on peg(size,peg1) other peg(peg1,peg2) THEN add operator(move(size,peg1,peg2),possible) to Possible Operators Some possible operators may violate task constraints. Sharon Goldwater Cognitive Modeling 16

Operator Evaluation Background In operator evaluation phase, assign numerical evaluations to all possible operators: IF operator(move,possible) is in Possible Operators evaluate operator(move,value) THEN delete operator(move,possible) from Possible Operators add operator(move,value(value)) to Possible Operators Possible operators that violate task constraints receive low evaluations. Other operators receive high evaluations. Sharon Goldwater Cognitive Modeling 17

Evaluation Function Background Further aspects of the subject s first attempt: she avoids backtracking and moving the same disk twice. she never moves the small disk back to the peg it was on two moves previously. How would we incorporate these into the evaluation function? Sharon Goldwater Cognitive Modeling 18

Operator Selection Background The selection rule should fire at most once on any cycle: IF not operator(anymove,selected) is in Possible Operators operator(move,value(x)) is in Possible Operators not operator(othermove,value(y)) is in Possible Operators Y is greater than X THEN add operator(move,selected) to Possible Operators Once an operator has been selected, others can be deleted: IF exists operator(move,selected) is in Possible Operators operator(anymove,value(v)) is in Possible Operators THEN delete operator(anymove,value(v)) from Possible Operators Sharon Goldwater Cognitive Modeling 19

Operator Application Background Applying an operator involves changing the current state: IF operator(move(size,frompeg,topeg),selected) is in Possible Operators disk(size,frompeg,fromposition) is in Current State get target position(topeg,toposition) THEN delete disk(size,frompeg,fromposition) from Current State add disk(size,topeg,toposition) to Current State clear Possible Operators Sharon Goldwater Cognitive Modeling 20

Properties Background Properties of selection without search: selection of the first move is random; if the model selects the wrong first move, it can go off into an unproductive region of the problem space; the model will find a solution eventually, but it can be very inefficient. Nevertheless subjects seem to use this strategy first (Anzai and Simon 1979). Sharon Goldwater Cognitive Modeling 21

Goal Directed Selection Strategy: set intermediate goals and move disks to achieve them. subgoal: move the largest blocking disk to the middle peg. maintain a stack for further subgoals, in case initial subgoal is not directly achievable. when completed, top subgoal is popped from the stack. Sharon Goldwater Cognitive Modeling 22

A Revised Diagram Background Possible Operators becomes a stack buffer, now called Goal Stack. Sharon Goldwater Cognitive Modeling 23

Setting Primary Goals IF the goal stack is empty there is a difference between the current and goal states THEN find the biggest difference between the current and goal states (the largest disk out of place) set a goal to eliminate that difference (move the largest disk to its goal location) Sharon Goldwater Cognitive Modeling 24

Setting Subgoals and Making Moves Setting Subgoals: IF the current goal is not directly achievable THEN set a goal to achieve current goal s preconditions Moving Disks and Popping Subgoals: IF the current goal is directly achievable THEN move the disk pop the goal off the goal stack Sharon Goldwater Cognitive Modeling 25

Properties Background Properties of goal-directed selection: selection of moves is no longer random; selection is guided by the goal of moving the largest disk that is in an incorrect position; if the goal is not directly achievable, it is recursively broken down into subgoals; efficient strategy that avoids unproductive regions of the search space. Goal-directed selection seems to be used by experienced players (evidence for learning; Anzai and Simon 1979). Sharon Goldwater Cognitive Modeling 26

The problem solving strategy in the previous model is known as means-ends analysis. In general, MEA involves locating the largest difference between current and goal state, and selecting an operator to eliminate this difference. To apply to a specific problem, must identify appropriate distance measure for differences; identify operators that can eliminate differences. Most people seem to have access to this general strategy. Sharon Goldwater Cognitive Modeling 27

Switching to MEA Background Why didn t the subject use MEA from the outset? She may have assumed a simpler solution strategy (selection without search) was sufficient. She may have lacked the knowledge of the problem space needed to perform MEA (operators and differences that they can be used to eliminate). Hypothesis: during her first attempt the subject acquired an understanding of how to decompose the problem into subgoals. Evidence: the explicit mention of subgoals became more common as she gained experience with the task. Sharon Goldwater Cognitive Modeling 28

Learning to Solve Background At least three types of learning were seen in the subject: switching from to Goal-directed strategy; changing the goal type from moving disks to moving pyramids; chunking subtasks (treating movement of top 3 disks as a single move). How could these be modeled? Sharon Goldwater Cognitive Modeling 29

Summary Tower of Hanoi case study shows how people s problem-solving strategies change over time. Strategies include: selection without search: enumerate all solutions, select the best one; goal-directed selection: decompose the problem into subgoals and solve those; generalized means-ends analysis: find the largest difference between the current state and the goal state and select an operator to eliminate it. Anzai and Simon s (1979) model captures individual stages, but less satisfactory explanation of transitions between stages. Sharon Goldwater Cognitive Modeling 30

References Anzai, Y. and H. A. Simon. 1979. The theory of learning by doing. Psychological Review 86:124 140. Cooper, Richard P. 2002. Modelling High-Level Cognitive Processes. Lawrence Erlbaum Associates, Mahwah, NJ. Newell, Alan and Herbert A. Simon. 1972. Human Problem Solving. Prentice-Hall, Englewood Cliffs, NJ. Simon, H. A. 1975. The functional equivalence of problem solving skills. Cognitive Psychology 7:268 288. Sharon Goldwater Cognitive Modeling 31