Information Processing and the General Problem Solver
Introductionβ
The information processing approach revolutionized cognitive psychology by conceptualizing the human mind as an information-processing system analogous to a computer. Emerging in the 1950s-1960s, this perspective bridged behaviorism and cognitive science, offering precise, testable models of mental processes.
At the heart of this revolution was the General Problem Solver (GPS), developed by Allen Newell, Herbert Simon, and Clifford Shaw in 1957. GPS represented the first comprehensive computational model of human problem solving, introducing concepts that remain foundational to cognitive science today: problem spaces, heuristic search, means-end analysis, and production systems.
Information processing treats problem solving as symbolic computation: the manipulation of mental representations through rule-based operations, constrained by the architecture of human cognition.
The Information Processing Frameworkβ
Core Assumptionsβ
The information processing view conceptualizes cognition through several key assumptions:
1. Information Flow Modelβ
Problem solving involves a sequence of stages:
Input β Processing β Output
| Stage | Function | Characteristics |
|---|---|---|
| Sensory Registers | Brief storage of sensory input | Large capacity, very brief duration (<1 sec) |
| Working Memory | Active processing and manipulation | Limited capacity (7Β±2 items), temporary storage |
| Long-Term Memory | Permanent knowledge storage | Unlimited capacity, relatively slow retrieval |
| Central Processor | Executes operations, makes decisions | Serial processing, one operation at a time |
2. Mental Representationsβ
Information is represented symbolically in the mind:
- Declarative knowledge: Facts and concepts (semantic networks, schemas)
- Procedural knowledge: How to do things (production rules, procedures)
- Problem states: Configurations of problem information
- Goals: Desired end states
3. Mental Operationsβ
Cognitive operations transform representations:
- Encoding: Converting external information to internal format
- Storage: Placing information in memory
- Retrieval: Accessing stored information
- Comparison: Evaluating similarities/differences
- Transformation: Modifying representations
- Execution: Implementing actions
The information processing approach specifies a cognitive architectureβthe fixed structural constraints within which all cognition occurs. Key constraints include:
- Working memory capacity limitations (typically 7Β±2 chunks)
- Serial processing (one operation at a time)
- Variable retrieval times from long-term memory
- Decay and interference in working memory
Computer Simulation Methodβ
Rationale and Approachβ
Why simulate on computers?
- Precision: Forces explicit specification of all assumptions
- Testability: Computer models make precise, verifiable predictions
- Complexity: Can model intricate processes beyond verbal theory
- Discovery: Running simulations reveals unexpected implications
Methodologyβ
Protocol Analysis:
- Participants "think aloud" while solving problems
- Verbalizations recorded and transcribed
- Protocols analyzed for strategies, heuristics, knowledge accessed
- Models built to reproduce observed behavior
Early Success: Logic Theorist (1956)β
Before GPS, Newell and Simon created Logic Theorist:
- First program to prove mathematical theorems
- Successfully proved 38 of first 52 theorems in Whitehead & Russell's Principia Mathematica
- One proof was more elegant than the original
- Demonstrated AI could perform intellectual tasks
The General Problem Solver (GPS)β
Historical Significanceβ
GPS (1957-1972) was groundbreaking because it:
- Was domain-general: Could solve various problem types
- Used weak methods: General heuristics, not domain-specific knowledge
- Modeled human cognition: Based on protocol analysis
- Introduced key concepts: Problem spaces, means-end analysis, production systems
Herbert Simon won the 1978 Nobel Prize in Economics partly for work on bounded rationality and satisficing, concepts developed through GPS research.
GPS Architectureβ
GPS was designed with four key components that mirror human cognitive limitations:
1. Limited Capacity Working Memoryβ
- Function: Temporary storage and active processing
- Characteristics:
- Small capacity (analogous to 7Β±2 chunks)
- Fast storage and retrieval
- Information lost if not maintained
- Human parallel: Conscious awareness, immediate memory
2. Large Capacity Long-Term Memoryβ
- Function: Permanent knowledge storage
- Characteristics:
- Essentially unlimited capacity
- Slower storage and retrieval than working memory
- Contains declarative and procedural knowledge
- Human parallel: All learned information, skills, experiences
3. Serial Processorβ
- Function: Executes cognitive operations
- Characteristics:
- Performs one operation at a time (serial, not parallel)
- Relatively slow compared to modern computers
- Must wait for each operation to complete
- Human parallel: Conscious, deliberate thinking
4. Heuristic Methods (Not Algorithms)β
- Function: Guide search through problem space
- Characteristics:
- Heuristics: Rules of thumb that usually work but aren't guaranteed
- Algorithms: Guaranteed solutions but computationally expensive
- GPS uses heuristics to avoid exhaustive search
- Human parallel: Shortcuts, intuitions, strategies
Why Heuristics?β
Computational Explosion Problem:
Consider the game of chess:
- Average 35 legal moves per position
- Looking ahead 10 moves: 35^10 β 2.8 Γ 10^15 positions
- Impossible to evaluate exhaustively in reasonable time
Solution: Use heuristics to evaluate most promising moves, ignoring obviously poor options.
Problem Spaces: The Conceptual Foundationβ
Definitionβ
A problem space consists of:
- States: All possible configurations of problem information
- Operators: Permissible actions that transform one state into another
- Initial state: Starting configuration
- Goal state: Desired end configuration
Visual Representationβ
State-Action Tree: Shows all possible paths from initial to goal state.
Example: Tower of Hanoiβ
Problem: Move all disks from peg A to peg C, following rules:
- Only one disk moved at a time
- Larger disk never on top of smaller disk
Problem Space Components:
| Component | Tower of Hanoi Example |
|---|---|
| States | All legal disk configurations (3 pegs, N disks) |
| Operators | Move top disk from peg X to peg Y (if legal) |
| Initial State | All disks on peg A (largest to smallest) |
| Goal State | All disks on peg C (largest to smallest) |
Size of Problem Space (3 disks):
- 27 possible states
- Most states reachable via multiple paths
- Optimal solution: 7 moves (2^n - 1 moves for n disks)
Problem solving = Search through problem space for a path from initial to goal state. The challenge is finding that path efficiently without exhaustive search.
Means-End Analysis: GPS's Main Heuristicβ
The Strategyβ
Means-end analysis is a goal-directed heuristic that works by:
- Identifying the difference between current state and goal state
- Finding an operator that reduces that difference
- Applying that operator (if possible)
- If blocked, set up subgoals to enable the operator
- Recursively apply means-end analysis to subgoals
Algorithm Stepsβ
Geometric Problem Exampleβ
Problem: Given rectangle ABCD, prove that sides AD and BC have equal length.
GPS Approach Using Means-End Analysis:
Step 1: Compare current knowledge to goal
- Current state: Know ABCD is a rectangle
- Goal state: Want to prove AD = BC
- Difference: Need equality of opposite sides
Step 2: Find operator to reduce difference
- Operator: If two triangles are congruent, corresponding sides are equal
- Problem: Don't yet know triangles are congruent (precondition not met)
Step 3: Set up subgoal
- Subgoal 1: Prove triangles ACD and BDC are congruent
- Recursively apply means-end analysis to subgoal
Step 4: Address subgoal
- Operator: Prove congruence using Side-Angle-Side (SAS) theorem
- Problem: Need to establish equal sides and angle
Step 5: Set up sub-subgoals
- Subgoal 2a: Prove AC = BD (diagonals equal in rectangle)
- Subgoal 2b: Prove DC = DC (reflexive property)
- Subgoal 2c: Prove angle ACD = angle BDC
Step 6: Solve sub-subgoals using known properties of rectangles
Step 7: Work back up through subgoal hierarchy to original goal
GPS maintains a goal stack: a last-in-first-out (LIFO) structure of goals and subgoals. It always works on the most recent subgoal (top of stack), popping it when solved and returning to parent goal.
Advantages of Means-End Analysisβ
- Goal-directed: Focuses on reducing distance to goal
- Handles complexity: Breaks hard problems into manageable subgoals
- General applicability: Works across diverse problem types
- Psychologically plausible: Matches human verbal protocols
- Computationally feasible: Avoids combinatorial explosion
Limitationsβ
- Can get stuck: If goal states are misleading (e.g., moving away to go around obstacle)
- Requires good difference metrics: Must accurately assess progress toward goal
- Not always optimal: May find suboptimal solutions
- Knowledge-lean: Ignores domain-specific knowledge that could help
Production Systemsβ
What Are Productions?β
GPS was implemented as a production system: a set of IF-THEN rules (productions):
Format:
IF (condition) THEN (action)
Example Productions for GPS:
| Production | Condition | Action |
|---|---|---|
| P1 | IF goal is to reduce difference D between current and goal states | THEN search for operator that reduces D |
| P2 | IF operator O reduces difference and preconditions of O are satisfied | THEN apply O |
| P3 | IF operator O reduces difference but preconditions not satisfied | THEN set up subgoal to satisfy preconditions |
| P4 | IF subgoal achieved | THEN pop goal stack and return to parent goal |
Production System Cycleβ
Production System Advantages:
- Modularity: Individual productions are independent
- Flexibility: Easy to add, remove, or modify rules
- Psychological plausibility: Resembles human skill learning
- Parallelism: Multiple productions can match (though one selected)
Wickelgren's General Problem Solving Strategiesβ
Seven Core Strategiesβ
Wayne Wickelgren (1974) extended GPS ideas by identifying seven general problem-solving techniques for efficiently searching state-action trees:
1. Inferenceβ
- Definition: Deducing new information from givens, goals, and operations
- Application: Logical reasoning, mathematical proof
- Example: From "All birds have wings" and "Sparrows are birds," infer "Sparrows have wings"
2. Classification of Action Sequencesβ
- Definition: Grouping equivalent action sequences into equivalence classes
- Reduces search: Treat equivalent paths as identical
- Example: In Tower of Hanoi, certain move sequences produce same result
3. State Evaluation and Hill Climbingβ
- Definition: Define evaluation function; choose actions moving "uphill" toward goal
- Hill climbing: Always select action with best evaluation
- Limitation: Can get stuck at local maxima (not global optimum)
4. Subgoalsβ
- Definition: Breaking main goal into intermediate subgoals
- Advantages: Reduces complexity, provides milestones, enables planning
- Example: To write a paper, subgoals might be: outline, draft sections, revise, edit
5. Contradictionβ
- Definition: Deriving inferences inconsistent with goal; eliminates impossible paths
- Application: Proof by contradiction, constraint satisfaction
- Example: In Sudoku, if placing "5" leads to duplicate in row, that placement is impossible
6. Working Backwardβ
- Definition: Starting from goal state, work toward initial state
- When useful: When goal more constrained than start, or branching factor lower
- Example: Proving mathematical theorems by assuming conclusion and deriving known facts
7. Finding Relations Between Problemsβ
- Definition: Connecting new problem to previously solved problems
- Application: Analogical reasoning, transfer of learning
- Example: Recognizing new problem has same structure as familiar one
Wickelgren's strategies complement means-end analysis, providing a richer toolkit for problem solving. Modern cognitive architectures incorporate many of these strategies.
Contemporary Significanceβ
Enduring Contributionsβ
GPS introduced concepts that remain central today:
- Problem space hypothesis: Problems as search through state space
- Heuristic search: Efficient navigation without exhaustive search
- Means-end analysis: Goal decomposition strategy
- Production systems: Formal model of procedural knowledge
- Computer simulation: Methodology for testing cognitive theories
- Bounded rationality: Recognition of computational constraints
Limitations Identifiedβ
Why GPS wasn't the final answer:
- Domain knowledge matters: Expert problem solving relies heavily on specific knowledge
- Weak methods insufficient: General heuristics can't match expert performance
- Knowledge representation: How knowledge is structured matters enormously
- Pattern recognition: Humans use perceptual chunking extensively
- Learning: GPS didn't learn from experience
- Creativity: Couldn't handle true insight or creative restructuring
Evolution Beyond GPSβ
Subsequent developments:
| System/Approach | Innovation | Year |
|---|---|---|
| STRIPS | Planning in robotics | 1971 |
| ACT (later ACT-R) | Learning productions through practice | 1976-present |
| SOAR | Unified cognitive architecture | 1983-present |
| Expert systems | Domain-specific knowledge bases | 1970s-1980s |
| Machine learning | Data-driven rather than rule-based | 1990s-present |
Real-World Applicationsβ
1. Artificial Intelligenceβ
GPS pioneered AI problem solving:
- Automated planning: Robot action planning
- Game playing: Chess programs, Go AI
- Theorem proving: Mathematical reasoning systems
- Natural language processing: Parse tree generation
2. Cognitive Scienceβ
Influenced understanding of human cognition:
- Cognitive architecture models (ACT-R, SOAR)
- Working memory research
- Problem-solving expertise studies
- Skill acquisition theories
3. Educationβ
Informed instructional design:
- Cognitive task analysis: Breaking down complex skills
- Intelligent tutoring systems: Adaptive instruction
- Worked examples: Showing solution paths explicitly
- Problem-based learning: Structured problem decomposition
4. Human-Computer Interactionβ
Design implications:
- User interface design: Match cognitive capabilities
- Error prevention: Account for working memory limits
- Help systems: Provide appropriate scaffolding
- Search interfaces: Support heuristic exploration
Memory Aid: SHIPS Frameworkβ
Remember information processing and GPS with SHIPS:
- Symbolic representations and mental operations
- Heuristics guide search (not exhaustive algorithms)
- Information flow: sensory β working β long-term memory
- Problem spaces: states, operators, initial, goal
- Serial processing with limited working memory
Self-Assessment Questionsβ
-
Basic Understanding: Explain the four key components of GPS's cognitive architecture. How does each mirror human cognition?
-
Problem Space Analysis: For a problem of your choice, identify: (a) the initial state, (b) the goal state, (c) possible operators, and (d) constraints. Draw a partial state-action tree.
-
Means-End Analysis Application: Use means-end analysis to solve the following: You need to write a 10-page research paper due in two weeks, but you haven't chosen a topic yet. Show your subgoal hierarchy.
-
Critical Evaluation: What types of problems is GPS/means-end analysis well-suited for? What types would it struggle with? Explain why.
-
Heuristics vs. Algorithms: Why did GPS use heuristics rather than algorithms? Give an example where an algorithm would be preferred and where a heuristic would be necessary.
-
Wickelgren's Strategies: Select three of Wickelgren's seven strategies and explain with original examples how each reduces the search through a problem space.
-
Historical Impact: How did GPS influence the development of modern cognitive science and artificial intelligence? Name at least three specific contributions.
-
Production Systems: Write three productions (IF-THEN rules) that could be part of a GPS system for solving algebra equations.
External Resourcesβ
Research Articlesβ
- Newell, A., & Simon, H. A. (1972). Human Problem Solving. Englewood Cliffs, NJ: Prentice-Hall. [Comprehensive GPS theory]
- Newell, A., Shaw, J. C., & Simon, H. A. (1958). "Elements of a theory of human problem solving." Psychological Review, 65(3), 151-166. [Original GPS paper]
- Wickelgren, W. A. (1974). How to Solve Problems. San Francisco: W. H. Freeman. [Practical problem-solving strategies]
- Laird, J. E., Newell, A., & Rosenbloom, P. S. (1987). "SOAR: An architecture for general intelligence." Artificial Intelligence, 33(1), 1-64. [GPS successor]
Educational Videosβ
- Newell and Simon's General Problem Solver - AI History
- Means-End Analysis Explained - Problem-Solving Strategies
- Information Processing Theory - Cognitive Psychology
Wikipedia Referencesβ
- General Problem Solver
- Meansβend analysis
- Allen Newell
- Herbert A. Simon
- Production system (computer science)
Source PDFs:
- π Block-4/Unit-3.pdf - Pages 31-35
- π MPC-001 Cognitive Psychology, Learning and Memory