Title: Computational Complexity in the Social Sciences (???????????)
1Computational Complexity in the Social Sciences
(???????????)
- Will Tracy
- CSSS-China 2005
2What is Complexity?
- A hard question to answer
- Different things to different people
- Big Tent
- Tent Poles
- Interdisciplinary
- Models capturing non-linear interactions/effects
- Multiple and new prospective
3Value of Multiple Perspectives Video
Example??????? ?????
- Watch Video(???)
- Count each time a person in a (????a?????)
- black t-shirt passes a ball to a person in a
black t-shirt (??T?????????????T???) AND - white t-shirt passes a ball to a person in a
white-shirt (??T?????????????T???) - Many individuals will get the wrong number, but
the rooms average should be correct.
(??????,????????????????????) - No Talking(????)
4Play Video
5Is the lesson real?
- Are social sciences misdirected?
- Economics seems to be.
- Economic Transition Late 20th Century Challenge
- Former Soviet Union follewed HMG/WBs advice
- China did not
- Chinas recent growth a singular event in econ
history - 78 95 over 200 million people raised above
poverty line - Tragedy in Eastern Europe
- Russia poverty from 1.3 to 40 of pop. (late
80s 93) - Need new views/perspectives/paradigms(??)
6Whats Past is Prolog
- Intro Social Sciences Need New Paradigms
- The Agent-based Approach
- The Spectrum of Computational Modeling
- Introduction to Evolutionary(???) Computation
- Foundations of a New Social Science
7Agenda
- Intro Social Sciences Need New Paradigms
- The Agent-based Approach
- The Spectrum of Computational Modeling
- Introduction to Evolutionary Computation
- Foundations of a New Social Science
8Agent-based Modeling
- Agent-based Modeling is a conceptual approach
- Agents typically possess a data structure and an
instruction list. - Agent-based models are interesting when
-interesting macro-level phenomena emerge
(?????????) from the interaction of agents
following simple rules produces - Related to the idea of Emergence(??)
9Emergence Example Slime Mold
- Dictyostelium (Slime Mold) eats as individual
cells - Moves as on unified organism
- No leader or brain cells
- Coordinated movement emerges from simple rules.
10Consider a Simple ABM of City Traffic
- City Layout
- Agent Rules
- Start Points, Destinations, and Timing
- Road Knowledge / Decision Rules
- Driving Rules
- Many Uses
- Light timing / driving rules / new intersections
11Agenda
- Intro Social Sciences Need New Paradigms
- The Agent-based Approach
- The Spectrum of Computational Modeling
- Introduction to Evolutionary Computation
- Foundations of a New Social Science
12The Spectrum of Computational Modeling
Theory Driven
Data Driven
13The Spectrum of Computational Modeling
Theory Driven
Data Driven
?
14The Spectrum of Computational Modeling
Theory Driven
Data Driven
?
15The Spectrum of Computational Modeling
Theory Driven
Data Driven
?
16The Spectrum of Computational Modeling
Theory Driven
Data Driven
?
17Agenda
- Intro Social Sciences Need New Paradigms
- The Agent-Based Approach
- The Spectrum of Computational Modeling
- Introduction to Evolutionary Computation
- Foundations of a New Social Science
18What is an Algorithm(??)?
- Evolutionary Computation mostly deals with
Evolutionary Algorithms - Genetic Algorithms are the most common type of
Evolutionary Algorithm - Before discussing a Genetic Algorithm we should
define an algorithm - Definition An algorithm is a list of
well-defined instructions for completing a task - Example Call Centers
19What is a Genetic Algorithm?
- A population(?) of algorithms
- The efficacy of each algorithm can be quantified
in a fitness score - A stochastic(???) selection of the fittest
mechanism identifies winners in each generation
(?) - Winners get to have children, who will live in
the populations next generation - Crossover(??) and mutation(??) add variety(???)
20Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
21The Human Face Example
- A drawing of a human face can be the result of an
algorithm - The first instruction IDs what type of eyebrows
- The second instruction IDs what type of eyes
- The third instruction IDs what type of nose
- The fourth instruction IDs what type of mouth
-
- This type of algorithm can easily be represented
as a string of numbers (called Chromosomes (???))
22Chromosome Scheme
Source John Holland
23Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
24A Population of Random Algorithms
- (432653)
- (234652)
- (335421)
- (321456)
- (113245)
- (634522)
- (445615)
25Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
26www.HotOrNot.com
1.1
27The efficacy of each algorithm can be quantified
(???) as a fitness score
- (432653) - Fit 1.1
- (234652) - Fit 5.4
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
28Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
29Selection of the Fittest Mechanism Random draw
three chromosomes
- (432653) - Fit 1.2
- (234652) - Fit 5.4
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
30Selection of the Fittest Mechanism Random draw
three chromosomes
- (432653) - Fit 1.2
- (234652) - Fit 5.4
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
31Selection of the Fittest Mechanism Select the
chromosome with the highest fitness
- (432653) - Fit 1.2
- (234652) - Fit 5.4
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
32Selection of the Fittest Mechanism Copy the
selected chromosome
- (432653) - Fit 1.2
- (234652) - Fit 5.4 (234652)
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
33Selection of the Fittest Mechanism Repeat the
process to select second parent
- (432653) - Fit 1.2
- (234652) - Fit 5.4 (234652)
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
34Selection of the Fittest Mechanism Repeat the
process to select second parent
- (432653) - Fit 1.2
- (234652) - Fit 5.4 (234652)
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
35Selection of the Fittest Mechanism Repeat the
process to select second parent
- (432653) - Fit 1.2
- (234652) - Fit 5.4 (234652)
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1
36Selection of the Fittest Mechanism Repeat the
process to select second parent
- (432653) - Fit 1.2
- (234652) - Fit 5.4 (234652)
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1 (445615)
37Selection of the Fittest Mechanism Repeat the
process to select second parent
- (432653) - Fit 1.2
- (234652) - Fit 5.4 (234652)
- (335421) - Fit 4.3
- (321456) - Fit 2.1
- (113245) - Fit 5.6
- (634522) - Fit 3.2
- (445615) - Fit 4.1 (445615)
38Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
39Example of Stochastic Variation
Parent 1 (234652)
Parent 2 (445615)
40Step One Randomly Select Genes for Mutation
Parent 1 (234652)
Parent 2 (445615)
41Step One Randomly Select Genes for Mutation
Parent 1 (234652)
Parent 2 (445615)
42Step Two Randomly Select a Crossover Point
Parent 1 (234652)
Parent 2 (445615)
43Step Two Randomly Select a Crossover Point
Parent 1 (234652)
Parent 2 (445615)
44Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
45Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 ( )
Child 2 ( )
46Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 (2 )
Child 2 (4 )
47Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 (23 )
Child 2 (44 )
48Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 (231 )
Child 2 (445 )
49Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 (2316 )
Child 2 (4456 )
50Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 (23161 )
Child 2 (44565 )
51Create Child Agents
Parent 1 (234652)
Parent 2 (445615)
Child 1 (231615)
Child 2 (445653)
52A note on the Population and Generations
Parents are drawn from this bucket
(234652)
(445615)
Generation 2
Generation 1
53A note on the Population and Generations
Their Children will live in this bucket
(231615)
(445653)
Generation 2
Generation 1
54A note on the Population and Generations
Their Children will live in this bucket
(231615)
(445653)
Generation 2
Generation 1
- Sampling with replacement!
- Keep repeating process population size in
- Generation 2 equals that of Generation 1
55Genetic Algorithm Flow Chart
Population of Random Algorithms
(Generation1) ?????(???)
Each Algorithm obtains a Fitness
Score ?????????????
Fitness-based Selection - (??????????)
Stochastic Variation - (????)
New Generation (????)
Create New CS Agents - (??????????)
56A note on the Population and Generations
Generation 9004
57www.HotOrNot.com
58Original GA Uses
- Evolving me an imaginary girlfriend is of limited
scientific benefit unfortunately - GAs often excel at finding near optimal solutions
to NP Complete (???????????) problems - Ex The traveling salesmen problem
- No Free Lunch in optimization(???) techniques.
59Agenda
- Intro Social Sciences Need New Paradigms
- The Agent-Based Approach
- The Spectrum of Computational Modeling
- Introduction to Evolutionary Computation
- Foundations of a New Social Science
60The Curtain (??) View in 20th Century
Economics
- The system is at equilibrium(??)
- The system is shocked(????)
- Pull a curtain over the system
- Calculate the new equilibrium
- Pull the curtain back, to reveal the system at
its new equilibrium -
- Dont worry about the dynamic, disequilibrium
behavior that takes place behind the curtain.
61Why the Curtain View? And Whats Wrong with
It?
- Limited pre-WWII computational abilities
- Analytical abilities underlying the Curtain View
since Newton and Leibniz
62Why the Curtain View? And Whats Wrong with
It?
- Limited pre-WWII computational abilities
- Analytical abilities underlying the Curtain View
since Newton and Leibniz - Homogenous(???), Hyper-rationality(???)
-
- Equilibrium
63No Disequilibrium? - So What?
- Error of Shock Therapy driven by deep level
belief in the Curtain View - Deng Xiaoping rejection of the Shock Therapy
was based on his belief in the importance of
disequilibrium behavior - Crossing the River by Feeling for Stones
- ??????
- Evolutionary Computation allows us to model and
analyze dynamic disequilibrium behavior
64An Evolutionary Computational Approach
- The agent (i.e. firm, investor, government,
voter, consumer) isnt brilliant. - The agent tries something.
- If what the agent tries works well, relative to
the agents peers, the agent keeps it up. - If what the agent tries works poorly, the agent
copies (a) more successful peer(s) - Here the chromosome details the strategy.
65Example Game Theory Chromosome (I)
- The ? are either C or D
- The agents query their History of their
opponents last 3 moves and then do what their
chromosome tells them to do
66Example Game Theory Chromosome (II)
67An Evolutionary Computational Approach
- Increased Process Validity
- Outcomes
- Typically converge on economic answer (Game
Theory Dawid 1999) - Some research suggests GA offer better
predictions of human behavior (Ãœnver 2001, Tracy
2008, Andreoni Miller 1995 ), - Observable Dynamic, Disequilibrium Behavior
68Where is this going?
Theory Driven
Data Driven
?
69Thank you
- And thanks to Lu Liping for help with the
translations!