Problem Solving.

Slides:



Advertisements
Similar presentations
The people Look for some people. Write it down. By the water
Advertisements

Presentation on Artificial Intelligence
Exams and Revision Some hints and tips.
Restructuring Problems. Some aspects of problems are not solved through a gradual search process. The problem may be solved suddenly by ‘seeing’ the problem.
Thinking.
Cognition.
Introduction to Cognition. Cognition The mental activities associated with thinking, knowing, and remembering Thinking Thinking: process in which the.
Cognitive Psychology Lecture 8: Problem Solving October 2007 John Toner.
PROBLEM SOLVING COGNITIVE 2012.
Problem of the Day Problem of the Day next Geometry - Connect the Dots
Child Development. Bellringer: Name a time when you said to yourself, “I’ll never do that again.” Describe the experience. How did you learn from the.
Cognition Domain. Thinking Module 24 Module Overview Concepts Problem Solving Problems Solving Problems Click on the any of the above hyperlinks to go.
Problem Solving What is a problem? How do we go about solving problems? How can we be better problem-solvers?
Problem Solving. Well-defined problems –Much studied in AI –Requires search –Domain general heuristics for solving problems What about ill-defined problems?
Problem Solving and the Brain. Behavioral Studies of Insight Metcalfe’s experiment (from earlier). –Ss. studied insight problems (e.g. algebra) as well.
Computer Simulation (1). 8 A (8) Initial State 44 Goal State B (5) C (3) A (8) B (5) C (3) Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7.
Problem Solving Shortcuts through the Problem Space.
Problem Solving. Well-defined problems –Much studied in AI –Requires search –Domain general heuristics for solving problems What about ill-defined problems?
Cognitive - problem_solving.ppt © 2001 Laura Snodgrass, Ph.D.1 Problem Solving Well-defined versus ill-defined problems Creativity Polya’s stages of problem.
Cognitive Processes PSY 334 Chapter 8 – Problem Solving.
1 What do we have so far? Basic biology of the nervous system Motivations Senses Learning Perception Memory Thinking and mental representations.
Problem Solving.
Problem Solving & Creativity Dr. Claudia J. Stanny EXP 4507 Memory & Cognition Spring 2009.
Solve this maze at your leisure. Start at phil’s house. At first, you can only make right turns through the maze. Each time you cross the red zigzag sign.
Wolfgang Kohler The Foundations of Gesaltism. Introduction to Kohler Kohler was born in Estonia, and earned his Ph.D from the University of Berlin in.
Warm Up Answers 3. YYURYYUBICURYY4ME Coffin
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
Problem-Solving and Reasoning
MODULE 23 COGNITION/THINKING. THINKING Thinking is a cognitive process in which the brain uses information from the senses, emotions, and memory to create.
PSY 323 – Cognition Chapter 12: Problem Solving.
Cognitive Psychology: Thinking, Intelligence, and Language
Psychology of Thinking: Embedding Artifice in Nature.
Human Cognitive Processes: psyc 345 Ch. 11: Problem Solving Takashi Yamauchi © Takashi Yamauchi (Dept. of Psychology, Texas A&M University)
Changing and reorganizing information stored in memory to create new or transformed information.
© 2008 The McGraw-Hill Companies, Inc. Chapter 8: Cognition and Language.
Chapter 12 Language and Thought. Theories on the Evolution of Language Language evolved because it was a social adaptation that solved the problem of.
Introduction to Problem Solving
Cognitive Processes PSY 334
1 Thinking. 2 Thinking Thinking, or cognition, refers to a process that involves knowing, understanding, remembering, and communicating.
Usability 1 Usability evaluation Without users - analytical techniques With users - survey and observational techniques.
C Pearson Allyn & Bacon Problem Solving Chapter 11.
Thinking. Cognition Another term for thinking, knowing and remembering Maybe by studying the way we think, we can eventually think better. Does the way.
Thinking part III Problem Solving. Solve this maze at your leisure. Start at phil’s house. At first, you can only make right turns through the maze. Each.
Problem solving What is problem solving? Weak and strong methods.
Phenomena in Problem Solving Insight Problems Functional Fixedness Using external representations.
Cognitive Process. Brain Teaser  I cdnuolt blveiiee that I cluod aulaclty uesdnatnrd what I was rdanieg. The phaonmneal pweor of the human mnid. Aoccdrnig.
Ways of solving problems
Sight Words.
Chapter 10: Thinking and Problem Solving Olivia Sheridan, Deanna Fugate, and Sarah Oberman.
Joe, wearing a mask and carrying an empty sack, leaves his house. He returns an hour later with a full sack. He goes into a room and turns out the light.
Chess Strategies Component Skills Strategies Prototype Josh Waters, Ty Fenn, Tianyu Chen.
Problem Solving: Cognitive processes aimed at achieving a specific goal (a solution to a problem) Early Research: Wolfgang Kohler (Gestalt Psychologist)
Warm Up Answers 2. The maker doesn’t want it, the buyer doesn’t use it, and the user doesn’t see it. What is it.  Coffin 3. YYURYYUBICURYY4ME  Answer:
Psychology - Warm Up April 10, 2012 Senior Exit Projects - Metacognition If you have not chosen your senior exit topic, please choose chose one for this.
Problem Solving PERTEMUAN Early research on problem- solving A cat placed in a box with a trapdoor was not observed to show behaviour approximating.
Thought & Problem Solving Tell a partner: What are you thinking about?
Other considerations in operant conditioning Cognitive Maps Latent Learning The Overjustification Effect and Intrinsic/Extrinsic Motivation Learned Helplessness.
Release your creative abilities! Test 1: From the Torrance Creativity Test
Cognitive Processes PSY 334
Problem-solving
Human Cognition What is cognition? 1.
Cognitive Processes PSY 334
Cognitive Processes: Thinking and Problem Solving
Creative Meta-seeing: Constructive Visual Thinking
How do we Problem Solve?
Thinking & Language (Chapter 10)
Thinking.
Cognitive Processes PSY 334
Psychology of Thinking: Embedding Artifice in Nature
Thinking.
Presentation transcript:

Problem Solving

Views of Problem solving Well-defined problems Much studied in AI Requires search Domain general heuristics for solving problems What about ill-defined problems? No real mechanisms for dealing with these The problem may be solved suddenly by ‘seeing’ the problem differently Often requires developing a suitable representation Well defined problems: all aspects of problem are clearly specified: Initial state Set of allowable moves Goal state (it is clear when it is reached)

Gestalt View of Problem Solving Reaction against Thorndike’s (1898) trial-and-error learning Focused on Productive as opposed to reproductive thinking Insight vs. trial and error Structural understanding vs. rote memory Ill-defined vs. well-defined problems Structural understanding: the ability to comprehend how the problem elements fit together to form a structure in order to solve a problem. Reproductive thinking: re-use of previous experiences

Kohler (1945): monkey and banana problem. Kohler suggested that the chimpanzees suddenly restructured the problem which allowed them to rapidly solve the problem Kohler observed that chimpanzees appeared to have an insight into the problem before solving it

Kohler’s two-stick problem Difficult to show insight in animals – what is their previous exposure to the problem? Is this the first time that they are solving this problem? However, Birch (1945) showed that apes raised in captivity did not show insightful problem solving

Insight Gestaltists claim that insight is special and involves moments of sudden comprehension resulting from: a) extended unconscious leaps in thinking b) greatly accelerated mental processing c) short-circuiting of normal reasoning processes Gestaltists were vague on these processes. Others have argued that insight is nothing special -- Insights are merely significant products of ordinary thinking processes (e.g. Perkins, 81; Weisberg, 1986,1995; Langley, Simon, Bradshaw & Zytkow, 1986)

Evidence for concept of insight: Metcalfe and Weibe (1987) experiment Noninsight problem (algebra): factor 16y^2 – 40yz + 25z^2 2) Insight problem (nonroutine): A prisoner was attempting escape from a tower. He found in his cell a rope which was half long enough to permit him to reach the ground safely. He divided the rope in half and tied the two parts together and escaped. How could he have done this? Solution: He unraveled the rope lengthwise and tied the remaining strands together

Results (1) First result: subjects “feelings of knowing” (beforehand) only predicted eventual success of solving the problem for noninsight problems. At 15 seconds intervals, ss. rated how close they felt to solving the problem: 1=cold (nowhere close to solution) …. 7=hot (problem is virtually solved)

Results (2) Number of times a particular warmth rating was given

Different Interpretations of Insight Problems Problems where solvers cannot recognize when they are getting close OR Problems that involve sudden moments of comprehension This study does not prove that insight is special Difficulty of relying on introspective measures to assess problem solving behavior

Brain Imaging of Insight Processes Difficult to link behavioral data to internal processes -- e.g., do warmness ratings really show that insight occurs rapidly? With brain imaging techniques, we can get converging evidence for a special insight process. Does insight occur suddenly, in the brain, as behavioral data suggests? Jung-Beeman et al. (2004). Studied neural correlates of “aha” moment using fMRI and EEG

Jung-Beeman et al. (2004) Compound word problems Example: pine, crab, sauce Question: what word can form a familiar compound word or phrase with the each of these words? Solution: apple (pineapple, crabapple, applesauce)

Example Problems

Solutions school turn box paper clock shower coffee farm

Experimental Setup Measure brain response here Ss. press button when they solved a problem Ss. press button when they felt insight during problem solving Measure brain response here

Areas showing greater fMRI signal for insight than non-insight solutions Do the fMRI results show that insight occurs rapidly? increased activity in the right hemisphere anterior Superior Temporal Gyrus

Representational Change Theory Ohlsson (1992) A problem occurs when the problem is represented in a way that does not permit retrieval of the necessary operators or possible actions The impasse is broken when the problem representation is changed Changes in problem representation: Elaboration or adding of new problem information Remove constraints Re-interpret old information

Rigidity in problem solving: Functional Fixedness Cannot reach one string while holding the other Maier’s (1931) two-string problem

Only 39% of subjects were able to see solution within 10 minutes

Why people get stuck solving problems Functional Fixedness: Subjects who utilize an object for a particular function will have more trouble in a problem-solving situation that requires a new and dissimilar function for the object.

Duncker’s problem: support a candle on a door People fixate on the box’s function as a container as opposed to a platform A box of tacks, some matches, and a candle

Hat Rack Problem

Why people get stuck solving problems (2) Mental set Einstellung Entrenchment Problem-solving set A frame of mind involving a particular way of representing problem or solving a problem

Luchins Water Jar Problems How would you use 3 jars A,B, and C with the indicated capacities to measure out the desired amount of water? Solution A-3C

Luchins Water Jar Problems How would you use 3 jars with the indicated capacities to measure out the desired amount of water? LEFT SIDE OF CLASS Note that problem 5 and 6 are the same for both groups. Easy solution for 5: C-A. Easy solution for 6: A+C. Left group (experimental group) is more inclined to stick with solution of B-C-2A that worked before (and also works for problems 5 and 6). For the right group, there are multiple solutions for each problem and different solutions are required going from problem 1 to 2, etc., encouraging the exploration of novel strategies. RIGHT SIDE OF CLASS

Luchins Results Group Einstellung Solution (percent) Direct Solution (percent) No Solution (percent) Control 100 Experimental 74 26

But… Are functional fixedness, mental sets, etc. really a problem? Generalization from experience leads to efficiency How often do mental sets and functional fixedness save time and computation?

Problem solving as search INITIAL STATE GOAL STATE INITIAL STATE GOAL STATE Newell and Simon general problem solver ? Play the game: http://www.mazeworks.com/hanoi/

Solving most games involves search Examples: Cannibals and missionaries: http://www.learn4good.com/games/puzzle/boat.htm Theseus and the Minotaur: http://www.logicmazes.com/theseus.html More special mazes http://www.logicmazes.com/

Problem Solving is a search problem Search Space Problem Solving is a search problem Initial state Solution Goal state

Working memory capacity limits how many states can be processed Initial state

What if the search space is too large? It is not possible to enumerate the entire search space for many well-defined problems. Chess: After a few moves, there are too many possible moves and counter moves to consider all of them. We must use constraints Often called heuristics A heuristic is a general guideline It is likely to lead to a good solution Not guaranteed to work

Hill Climbing Find some measure of the distance between your present state and the end state. Take a step in the direction that most reduces that distance

Might lead to suboptimal solutions: local maximum Hill Climbing Might lead to suboptimal solutions: local maximum 3 4 5 FOOD 5 4 3 fence 1 2 3 2 1 1 2 1 1

Means-end analysis Try to reduce the largest difference between the initial state and the goal state first. That creates new sub-problems Each of these new sub-problems needs to be solved.

Setting subgoals in means-end analysis Painting your house (GOAL 1) Apply paint (SUBGOAL 2) Need paint and brush (SUBGOAL 3) Go to hardware store (SUBGOAL 4) Went to hardware store (SUBGOAL 4) Got paint and brush (SUBGOAL 3) Paint the house (GOAL 1)

Other Example Problems

The Handcuffs Puzzle The Set-Up For this puzzle you need two people, some rope and some empty space to do the puzzle in. Each person will need a piece of rope with a loop tied in both ends, so it can be worn as handcuffs. The rope should be reasonably long, so that the person wearing it can easily step over it if they want.    Each person puts on a complete set of handcuffs. Before putting them on, they loop their handcuffs around each other so they are tied together. Each person should wear a complete set of handcuffs. They then have to get themselves apart while following these rules:  The handcuffs cannot be removed.  Do not break, cut, saw through, bite through or in any other way damage the rope. Damaging each other is probably a bad idea too. content copied from: http://ccins.camosun.bc.ca/~jbritton/jbhandcuff.htm

Interesting Maze Start at phil’s house. At first, you can only make right turns through the maze. Each time you cross the red zigzag sign (under Carl’s auto repair), the direction in which you turn changes. So, after the first time you cross that sign, you can then only make left turns; after the second time, you switch back to right turns only, etc. How can Carl’s auto repair be reached?

True Story A professor comes to a University to give a talk. They set up a slide projector for him, but neglect to test it. During the talk it becomes apparent that the projector is set too low. Graduate students and professors gather around the projector trying to fix the problem. They call out for a book to raise the front end of the projector. The book turns out to be too thick. They call out for a thinner book... While everyone is searching for another book, one person comes over and quietly solves the problem... Punchline. All these academics in one room, and nobody knows how to open a book?? (from Ashcroft, 2002)

Another problem A man climbs a mountain on Sat, leaving at daybreak and arriving at the top at sundown. He spends the night, gets up the next day at daybreak and heads down the mountain, following exactly the same path he climbed the day before. Question: will there be any time during the second day when he will be at exactly the same point on the mountain he was at that time the first day? A B SAT SUN

5 x 5 Checkerboard Problem Start at the dot Draw a line through all squares using only vertical and horizontal steps Stay inside board, do not lift pencil Visit each square just once Can this be done?

Six stick problem Wrong solution: With these six sticks: Answer: Make four of these: Answer:

9 dot problem