emergence & the information processing paradigm (alt: ants vs clocks!)

27
Emergence & The Information Processing Paradigm (alt: Ants vs Clocks!) Deepak Kumar Computer Science Bryn Mawr College

Upload: fauna

Post on 06-Jan-2016

20 views

Category:

Documents


0 download

DESCRIPTION

Emergence & The Information Processing Paradigm (alt: Ants vs Clocks!). Deepak Kumar Computer Science Bryn Mawr College. Emergence. Information Processing. Problem Solving (Investigation of Processes). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Emergence & The Information Processing Paradigm(alt: Ants vs Clocks!)

Deepak Kumar

Computer Science

Bryn Mawr College

Page 2: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Emergence

Page 3: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Information Processing

Page 4: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Problem Solving(Investigation of Processes)

• Given a dictionary of english words, what are all the anagram classes? (e.g. earthling, haltering, lathering)

• Given the details of a tropical depression, can you predict if it will become a hurricane? What path will it take?

• Can you play the game of chess in a way that guarantees a win or a draw?

• How does the mind work?

• What is the most optimal way to get from here to there?

• What is the square root of 42?

• If the Fed. Raises the short term interest rates? What impact will it have on international currencies?

• What is the meaning of life?

Page 5: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Investigation: Asking Questions

Given: A problem/process.

• Does it have a model?• Is the model solvable?• Is it computable?• What is the best algorithm for it?• Write a computer program that implements the

algorithm.• Is the program equivalent to the model?• Does the model lend any new insights into the

problem/process?

Page 6: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Given: A ProblemDoes it have a model?

Is the model solvable?

Is it computable?

What is the best algorithm?

Write a program thatimplements the algorithm thatmodels the problem

Is the program correct?

Do the solutions offered bythe program work in the realworld?

Does the model/program offerany new insights into the problem?

Page 7: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Information Processing

Program thatimplements themodel that solvesthe problem.

Page 8: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Information Processing

Program thatimplements themodel that solvesthe problem.

Page 9: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Computers & Clocks• 1 flop = 1 floating-point operation (+, -, *, /) per second.• 1 megaflop = 1 MF = 106 flops• 1 gigaflop = 1 GF = 109 flops• 1 teraflop = 1 TF = 1012 flops• 1 petaflop = 1 PF = 1015 flops

The fastest PC can give a peak performance of 1GF/second

World’s fastest computer operates at approximately 35 TF/sec(as of 11/16/2003): NEC’s Earth Simulator at the Earth Simulator Center in Yokohama, Japan

Examining a single move of a chess game is roughly equivalent to 1000 FLOPS.

To make one move the computer will have to examine approximately 1065 board situations.

This will take the Earth Simulator approximately 1050 years to make one move!

Page 10: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Computability: Problems that can be solved by algorithms (Turing Machines)

Does it have a model?

Is the model solvable?

Is it computable?

What is the best algorithm?

Write a program thatimplements the algorithm thatmodels the problem

Is the program correct?

Do the solutions offered bythe program work in the realworld?

Does the model/program offerany new insights into the problem?

Page 11: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Complexity Theory: Resources required during computation to solve a given problem

(time & space)Does it have a model?

Is the model solvable?

Is it computable?

What is the best algorithm?

Write a program thatimplements the algorithm thatmodels the problem

Is the program correct?

Do the solutions offered bythe program work in the realworld?

Does the model/program offerany new insights into the problem?

Page 12: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

What is an algorithm?

A set of instructions arranged in a specific order is a procedure.

Similar to a recipe, process, method, technique, procedure, routine, rigmarole, except the word “algorithm” connotes just a little something different.

An algorithm is a finite, definite, effective procedure, with some output.

Donald Knuth: The Art of Computer Programming, Volume 1: Fundamental Algorithms, 3 rd edition, 1997.

Page 13: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Algorithm (origins)Abu ‘Abd Allah Muhammad ibn Musa al-Khwarizmi

(Father of Abdullah, Mohammad, son of Moses, native of Khwarizm)

Kitab al jabr wa’l-muqabala (Rules of restoring and equating)

Page 14: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Finitethere must be an end to it within a reasonable time

DefinitePrecisely definable in clearly understood terms, no “pinch of salt” type vagaries, or possible ambiguities

EffectiveIt must be possible to actually carry out the steps

ProcedureThe sequence of specific steps

Outputunless there is something coming out of the computation, the result will be unknown!

Algorithm (properties)

Page 15: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Problem Size

• Time complexity of a problem is the number of steps that it takes to solve an instance of the problem as a function of the size of the input. i.e. if the input is of size, n, it will take f(n) steps to solve it.

Program thatimplements themodel that solvesthe problemIn f(n) steps.

Problem size = 4

Page 16: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Complexity Classes(# steps it takes to solve a problem)

• Constant time: O(1)• Logarithmic time: O(log n)• Linear time: O(n)• Quadratic Time: O(n2)• Polynomial time (P): O(nk)• Non-deterministic Polynomial Time (NP): O(nk)

on some inputs.• Exponential time: O(2n)• Exponential time (in general): O(2p(n))

Page 17: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

# timesteps

Page 18: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Solving hard problems: Options

• solve small problem sizes

• use heuristics• get a close enough

answer!

• Emergence!

Page 19: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Emergence as a methodology for solving problems

• What kinds of problems?no models exist, unsolvable models, uncomputable models, exponential problems!

• How? “many ants are better than one”Train ‘em!

Page 20: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

The Emergence Approach to Problem Solving

TrainingRegime

ProblemInstance

Solution“ANTS”

Key Idea: Known solutions to problem instances are used in training.

Page 21: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

On “Graduation”

ProblemInstance

Solution“ANTS”

The system will generalize to solve other problem instances!

Page 22: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Examples: Neural Networks

ProblemInstance

Solution

SupervisedTraining

Page 23: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Examples: Self-Organizing Maps

ProblemInstance

Solution

Unsupervised Training!

Page 24: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Examples: Genetic Programming

ProblemInstances

Solutions

FitnessFunction

Page 25: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Emergence & Problem Solving

Are solutions to severalproblem instances known?

Given a solution, is it possibleto quantify the “quality” of the solution?

Identify the training regimeand implement it.

Does the solution offered by thetrained program work in the real world?

Does the resulting program offer anyinsights into the problem?

Page 26: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)

Some characteristics of emergent problem solving

• Rather than starting from a model, start with a set of known problem-solution instances

• Solutions may not be exact, but characterized as “best” solutions under the circumstances

• Training takes time• Once trained, all solutions take the same

amount of time, independent of the size of the problem!

• Emergent solutions can beat the clock!• Emergent Computation = Surreal computation?

Page 27: Emergence & The Information Processing Paradigm (alt: Ants  vs  Clocks!)