SlideShare a Scribd company logo
1 of 32
Download to read offline
IF THE SINGULARITY ARRIVES,
WILL IT BE BY DESIGN OR
EVOLUTION?
Bill Worzel billwzel@gmail.com
Evolution Enterprises http://evolver.biz
Data Day Texas 11 Jan 2014
Austin, TX

Monday, January 13, 14
NATURE HAS MANY ROOMS
• Animals

solve the problem
of survival in many ways

• Most

are adapted to specific
ecological niches

• Genetics

forms the common
language of living creatures

Monday, January 13, 14
EVOLUTIONARY ALGORITHMS
(EA) BORROW FROM NATURE
• Based

on natural selection
and population dynamics

• Create

a population of
solutions

• Preferentially

select and
recombine better individuals
to find better solutions

Monday, January 13, 14
AN ELEGANT SEARCH
• EAs

combine global search
with local search

• Randomly

generated
individuals test many niches

• Selection

and recombination
hones in on the best
neighborhoods

Monday, January 13, 14
GENETIC ALGORITHMS (GA)
• GAs

encode information
and then combine and
mutate individuals

Population

• In

simplest case, encoding is
a bit string mapped to
variable values

• Initial

population of
individuals are created
randomly

Monday, January 13, 14

P/E Trend
101001011010
SELECTION & FITNESS
• Subset

of individuals are
selected at random from
population

• Fitness

of each is calculated

pair are combined to
produce offspring

32

16

• Best

Monday, January 13, 14

32

18

x

90

90

Fitness
CROSSOVER & MUTATION
crossover pt
• Crossover

strings

• Mutation

combines bit

changes bits

• Both

operations are
stochastic

• Offspring

replace parents or
weaker individuals in
population

Monday, January 13, 14

101001011010
x
011101101110
=
011101111010
+
101011001110
mutation
BUILDING BLOCKS AND
SCHEMAS
• Building

block hypothesis states that GAs find good simple
components that confer better fitness on individuals

• The

Schema Theorem shows that better building blocks
accrue to produce best individuals: E(m(H,t+1)) ≥ ((m(H,t)
f(H))/at)[1-p].

Monday, January 13, 14
CASE STUDY: AGRICULTURAL
MODELING
• Decision

support software for
farmers: With large number of
new hybrids, what to choose?

• Needed

to integrate
agronomic, weather,
economic, personal factors

• GA

not as an optimizer but as
an optionizer in a multiobjective space

Monday, January 13, 14
RICH LITERATURE FOR GA
• Many

conferences, particularly GECCO (Genetic and
Evolutionary Computing COnference)

• D. Goldberg, Genetic

algorithms in search, optimization, and
machine learning, Addison-Wesley, 1989

• J. Holland, Hidden

Order: How adaptation builds complexity,
Helix Books, 1995

• J. Holland, Adaptation

1975

Monday, January 13, 14

in Natural and Artificial Systems, MIT Press
GENETIC PROGRAMMING
(GP)

• GP

evolves computer programs (usually functions)

• Essentially
• Extends

Monday, January 13, 14

a program that produces programs as its output

idea of combining bit strings to parse trees
GP OVERVIEW
Input Data

GP Parameters

?
Program
Population

Replace
Least Fit
With
Offspring

Yes
Terminate?

GP
Cycle
?

Crossover
and
Mutate

Monday, January 13, 14

No

Select
Mating
Group

SelectTwo
Best
Programs

Output
Results

?

? = stochastic process
CONSTRUCTING TREES
• Randomly

assemble a population of function trees as
constrained by GP parameters

From: ‘A Field Guide To Genetic Programming’

Monday, January 13, 14
CROSSOVER
(RECOMBINATION)

From: ‘A Field Guide To Genetic Programming’
Monday, January 13, 14
MUTATION

From: ‘A Field Guide To Genetic Programming’

Monday, January 13, 14
THE DEVIL IN THE DETAILS

• How

do you correct syntax errors?

• Type

coherence?

• Control

overfitting?

• Computationally

Monday, January 13, 14

intensive
BUT HEAVEN’S ON OUR SIDE
• Naturally

iterative

parallel algorithm - linear speedup, mostly not

• Sub-populations

may be run asynchronously in parallel: m*n/p
where m is individuals in a sub-population, n is the number of
sub-populations, and p is number of processors

• Matches

Monday, January 13, 14

up well with cloud computing
THE SKGP
• Uses

purely functional combinators to represent programs

• Efficient, powerful, reusable
• Algorithm

code

becomes superlinear in parallel application because
of code reuse

Monday, January 13, 14
COMBINATORS
• Applicative

algebra, derived from Lambda calculus,
binds left-to-right
• Sxyz
• Kxy
• Ix

= xz(yz)

=x

=x

• Bxyz

= x(yz)

• Cxyz

= xzy

Monday, January 13, 14
VARIABLE ABSTRACTION
• D.A. Turner

showed that all bound variables could be
removed completely using combinators (Turner 1979, A New
Implementation Technique for Applicative Languages, Software–
Practice and Experience, vol 9, 31-49 )

• Essentially

this provides a way to create expressions that are,
combinators applied to data with no reference to variables

Monday, January 13, 14
EXAMPLE COMBINATOR
FUNCTION
Example:
‘S(S(K +)(K 1))I’
is the function
that adds 1so
S(S(K +)(K 1)I
applied to 3 is:

S(S(K +)(K 1))I 3
S(K +)(K 1)3(I 3)
K+3((K 1)3)(I 3)
+K 1 3 (I 3)
+ 1 (I 3)
+13
4

Monday, January 13, 14
COMBINATORS FUNCTIONS
QUICKLY BECOME COMPLEX
Here is the function for factorial:
def fac = S(S(S(K cond)(S(S(K =)(K 0)))I))(K 1))(S(S(K *)I)
(S(K fac)(S(S(K -)I)(K 1))))
Evaluation is left as an “exercise to the reader.”

Monday, January 13, 14
THE SKGP
• Implements

programs as graphs
using both combinators with GP
to produce pure functional
(combinator) expressions

• Combinators

have the property
of being ‘structure altering
operators’

• There

is evidence that GP can
be limited in its search ability
without such a capability

Daida, unpublished based on Daida2004
Demonstrating Constraints to Diversity with a
Tunably Difficulty Problem for Genetic Programming

Monday, January 13, 14
CHURCH-ROSSER THEOREM
• The

Church-Rosser Theorem says pure function evaluation
can be order independent: Regardless of order of evaluation,
result will be the same

• Because

of this, each functional piece, when evaluated, can be
stored for re-use since order of evaluation does not matter

• Because

GP shares pieces across generations, reuse gives
super-linear speed up: you don’t have to recompute each
component

Monday, January 13, 14
CASE STUDY: MODELING THE
MODEL
• Modeling

chemical kinetics for NASA

• NASA

had a set of first principle models used to simulate
combustion of jet fuel and its exhaust gases: accurate but
very slow

• By

using the simulator to train the SKGP, it was able to
produce a highly accurate function for predicting output gas
amounts across a wide range of values

• Functional
• Function
Monday, January 13, 14

results was 2370x faster than running simulation

was highly accurate empirical solution of PDEs
CASE STUDY: LISTENING TO DATA
• Collaboration

with Dr. Richard Cote and USC to study
bladder cancer

• Is

there a molecular signature that matches T-stage of
tumors? No! Attempt produced complicated, poorly
performing functions

• Examining

data showed that tumors with local metastasis
were consistently misclassified

• Is

there a signature in tumor that indicates local mets? Yes!
Produced a set of concise, highly accurate, biologically
sensitive functions that could identify when a tumor had
metastasized

Monday, January 13, 14
SOME APPLICATIONS
• Inferential

sensors (Dow Chemical)

• Financial

modeling (Analytic Research Foundation, State
Street Global Advisors)

• Antenna
• Analog
• Solid

Monday, January 13, 14

design (NASA)

circuit layout (Solido Design)

State Memory management (NVM durance)
OPEN SOURCE SOLUTIONS
• Java: ECJ

- a well known Java implementation from one
of the well known researchers in GP

• Python: DEAP

Python

- an “all-in one package” written in

• Clojure: PushGP

- a stack-based version of GP with
many nice features, also written developed by a
respected GP researcher

Monday, January 13, 14
PROPRIETARY

• Evolver

by Evolution Enterprises: http://evolver.biz

Modeler by Evolved Analytics: http://
www.evolved-analytics.com/

• Data

Monday, January 13, 14
GP REFERENCES
• J. Koza, Genetic

and Kluwer.

Programming I-IV, Morgan Kauffman

• R. Poli, W.B. Langdon

and N.F. McPhee, A Field Guide
to Genetic Programming

•

<Various> Genetic Programming Theory and Practice IX1, 2002-2013

•

Mitra et al, The use of genetic programming in the
analysis of quantitative gene expression profiles for
identification of nodal status in bladder cancer, BMC
Cancer, 6(159) 2006

Monday, January 13, 14
POSSIBLE FUTURES
•

Some immediate areas of application include Smart Grid
and energy efficient designs, intrusion detection, discovery of
protein-gene-SNP networks

•

Since evolutionary algorithms give a multi-dimensional
analysis in the form of a population of solutions they provide
more information than a single solution

•

EAs can continuous analyze data as it comes in, adapting to a
changing environment while still providing high performance
solutions

•

There is a bridge from functions to full programs, though
functional methods reduce the gap and could lead to
functional co-applications (an ecology of functions)

Monday, January 13, 14
“THE BEST WAY TO PREDICT
THE FUTURE IS TO INVENT IT.”
-ALAN KAY

Monday, January 13, 14

More Related Content

Viewers also liked (11)

Personality types
Personality typesPersonality types
Personality types
 
1N4148-1N4448 Transistor datasheet
1N4148-1N4448 Transistor datasheet1N4148-1N4448 Transistor datasheet
1N4148-1N4448 Transistor datasheet
 
At89s52
At89s52At89s52
At89s52
 
Atmega16 Microconntroller Data sheet
Atmega16 Microconntroller Data sheetAtmega16 Microconntroller Data sheet
Atmega16 Microconntroller Data sheet
 
AT89C52 Data sheet
AT89C52 Data sheetAT89C52 Data sheet
AT89C52 Data sheet
 
At89s51
At89s51At89s51
At89s51
 
AT89C51 Data sheets
AT89C51 Data sheetsAT89C51 Data sheets
AT89C51 Data sheets
 
BC548/BC548A/BC548B/BC548C Transistor data sheet
BC548/BC548A/BC548B/BC548C Transistor data sheetBC548/BC548A/BC548B/BC548C Transistor data sheet
BC548/BC548A/BC548B/BC548C Transistor data sheet
 
Потенциал России на глобальном рынке инжиниринговых услуг
Потенциал России на глобальном рынке инжиниринговых услугПотенциал России на глобальном рынке инжиниринговых услуг
Потенциал России на глобальном рынке инжиниринговых услуг
 
1N4001-1N4007 Transistor data sheet
1N4001-1N4007 Transistor data sheet1N4001-1N4007 Transistor data sheet
1N4001-1N4007 Transistor data sheet
 
2N2222/2N222A Transistor data sheet
2N2222/2N222A Transistor data sheet2N2222/2N222A Transistor data sheet
2N2222/2N222A Transistor data sheet
 

Similar to If The Singularity Arrives, Will It Be By Design Or Evolution?

Pig and Python to Process Big Data
Pig and Python to Process Big DataPig and Python to Process Big Data
Pig and Python to Process Big DataShawn Hermans
 
The Materials Project: Experiences from running a million computational scien...
The Materials Project: Experiences from running a million computational scien...The Materials Project: Experiences from running a million computational scien...
The Materials Project: Experiences from running a million computational scien...Anubhav Jain
 
Introduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary ComputationIntroduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary ComputationAleksander Stensby
 
Software tools for calculating materials properties in high-throughput (pymat...
Software tools for calculating materials properties in high-throughput (pymat...Software tools for calculating materials properties in high-throughput (pymat...
Software tools for calculating materials properties in high-throughput (pymat...Anubhav Jain
 
And Introduction To R, Presented by Philip best
And Introduction To R, Presented by Philip bestAnd Introduction To R, Presented by Philip best
And Introduction To R, Presented by Philip bestNashvilleTechCouncil
 
Genestack BioIT-World-2013
Genestack BioIT-World-2013Genestack BioIT-World-2013
Genestack BioIT-World-2013genestack
 
Strata San Jose 2016: Scalable Ensemble Learning with H2O
Strata San Jose 2016: Scalable Ensemble Learning with H2OStrata San Jose 2016: Scalable Ensemble Learning with H2O
Strata San Jose 2016: Scalable Ensemble Learning with H2OSri Ambati
 
X-omics Data Integration Challenges
X-omics Data Integration ChallengesX-omics Data Integration Challenges
X-omics Data Integration ChallengesCOST action BM1006
 
Android meetup
Android meetupAndroid meetup
Android meetupTy Smith
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyChris Johnson
 
AppEngine Performance Tuning
AppEngine Performance TuningAppEngine Performance Tuning
AppEngine Performance TuningDavid Chen
 
Data Tactics Analytics Brown Bag (Aug 22, 2013)
Data Tactics Analytics Brown Bag (Aug 22, 2013)Data Tactics Analytics Brown Bag (Aug 22, 2013)
Data Tactics Analytics Brown Bag (Aug 22, 2013)Rich Heimann
 
Cassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and SparkCassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and SparkEvan Chan
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Aleksander Stensby
 
Open-source tools for generating and analyzing large materials data sets
Open-source tools for generating and analyzing large materials data setsOpen-source tools for generating and analyzing large materials data sets
Open-source tools for generating and analyzing large materials data setsAnubhav Jain
 

Similar to If The Singularity Arrives, Will It Be By Design Or Evolution? (20)

Pig and Python to Process Big Data
Pig and Python to Process Big DataPig and Python to Process Big Data
Pig and Python to Process Big Data
 
The Materials Project: Experiences from running a million computational scien...
The Materials Project: Experiences from running a million computational scien...The Materials Project: Experiences from running a million computational scien...
The Materials Project: Experiences from running a million computational scien...
 
Introduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary ComputationIntroduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary Computation
 
Priority inversion
Priority inversionPriority inversion
Priority inversion
 
Data visualizations Concepts
Data visualizations ConceptsData visualizations Concepts
Data visualizations Concepts
 
Software tools for calculating materials properties in high-throughput (pymat...
Software tools for calculating materials properties in high-throughput (pymat...Software tools for calculating materials properties in high-throughput (pymat...
Software tools for calculating materials properties in high-throughput (pymat...
 
And Introduction To R, Presented by Philip best
And Introduction To R, Presented by Philip bestAnd Introduction To R, Presented by Philip best
And Introduction To R, Presented by Philip best
 
Genestack BioIT-World-2013
Genestack BioIT-World-2013Genestack BioIT-World-2013
Genestack BioIT-World-2013
 
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
 
RESUME
RESUMERESUME
RESUME
 
Strata San Jose 2016: Scalable Ensemble Learning with H2O
Strata San Jose 2016: Scalable Ensemble Learning with H2OStrata San Jose 2016: Scalable Ensemble Learning with H2O
Strata San Jose 2016: Scalable Ensemble Learning with H2O
 
X-omics Data Integration Challenges
X-omics Data Integration ChallengesX-omics Data Integration Challenges
X-omics Data Integration Challenges
 
Android meetup
Android meetupAndroid meetup
Android meetup
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at Spotify
 
AppEngine Performance Tuning
AppEngine Performance TuningAppEngine Performance Tuning
AppEngine Performance Tuning
 
Data Tactics Analytics Brown Bag (Aug 22, 2013)
Data Tactics Analytics Brown Bag (Aug 22, 2013)Data Tactics Analytics Brown Bag (Aug 22, 2013)
Data Tactics Analytics Brown Bag (Aug 22, 2013)
 
Cassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and SparkCassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and Spark
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014
 
Open-source tools for generating and analyzing large materials data sets
Open-source tools for generating and analyzing large materials data setsOpen-source tools for generating and analyzing large materials data sets
Open-source tools for generating and analyzing large materials data sets
 
Intro to Data Science Concepts
Intro to Data Science ConceptsIntro to Data Science Concepts
Intro to Data Science Concepts
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

If The Singularity Arrives, Will It Be By Design Or Evolution?

  • 1. IF THE SINGULARITY ARRIVES, WILL IT BE BY DESIGN OR EVOLUTION? Bill Worzel billwzel@gmail.com Evolution Enterprises http://evolver.biz Data Day Texas 11 Jan 2014 Austin, TX Monday, January 13, 14
  • 2. NATURE HAS MANY ROOMS • Animals solve the problem of survival in many ways • Most are adapted to specific ecological niches • Genetics forms the common language of living creatures Monday, January 13, 14
  • 3. EVOLUTIONARY ALGORITHMS (EA) BORROW FROM NATURE • Based on natural selection and population dynamics • Create a population of solutions • Preferentially select and recombine better individuals to find better solutions Monday, January 13, 14
  • 4. AN ELEGANT SEARCH • EAs combine global search with local search • Randomly generated individuals test many niches • Selection and recombination hones in on the best neighborhoods Monday, January 13, 14
  • 5. GENETIC ALGORITHMS (GA) • GAs encode information and then combine and mutate individuals Population • In simplest case, encoding is a bit string mapped to variable values • Initial population of individuals are created randomly Monday, January 13, 14 P/E Trend 101001011010
  • 6. SELECTION & FITNESS • Subset of individuals are selected at random from population • Fitness of each is calculated pair are combined to produce offspring 32 16 • Best Monday, January 13, 14 32 18 x 90 90 Fitness
  • 7. CROSSOVER & MUTATION crossover pt • Crossover strings • Mutation combines bit changes bits • Both operations are stochastic • Offspring replace parents or weaker individuals in population Monday, January 13, 14 101001011010 x 011101101110 = 011101111010 + 101011001110 mutation
  • 8. BUILDING BLOCKS AND SCHEMAS • Building block hypothesis states that GAs find good simple components that confer better fitness on individuals • The Schema Theorem shows that better building blocks accrue to produce best individuals: E(m(H,t+1)) ≥ ((m(H,t) f(H))/at)[1-p]. Monday, January 13, 14
  • 9. CASE STUDY: AGRICULTURAL MODELING • Decision support software for farmers: With large number of new hybrids, what to choose? • Needed to integrate agronomic, weather, economic, personal factors • GA not as an optimizer but as an optionizer in a multiobjective space Monday, January 13, 14
  • 10. RICH LITERATURE FOR GA • Many conferences, particularly GECCO (Genetic and Evolutionary Computing COnference) • D. Goldberg, Genetic algorithms in search, optimization, and machine learning, Addison-Wesley, 1989 • J. Holland, Hidden Order: How adaptation builds complexity, Helix Books, 1995 • J. Holland, Adaptation 1975 Monday, January 13, 14 in Natural and Artificial Systems, MIT Press
  • 11. GENETIC PROGRAMMING (GP) • GP evolves computer programs (usually functions) • Essentially • Extends Monday, January 13, 14 a program that produces programs as its output idea of combining bit strings to parse trees
  • 12. GP OVERVIEW Input Data GP Parameters ? Program Population Replace Least Fit With Offspring Yes Terminate? GP Cycle ? Crossover and Mutate Monday, January 13, 14 No Select Mating Group SelectTwo Best Programs Output Results ? ? = stochastic process
  • 13. CONSTRUCTING TREES • Randomly assemble a population of function trees as constrained by GP parameters From: ‘A Field Guide To Genetic Programming’ Monday, January 13, 14
  • 14. CROSSOVER (RECOMBINATION) From: ‘A Field Guide To Genetic Programming’ Monday, January 13, 14
  • 15. MUTATION From: ‘A Field Guide To Genetic Programming’ Monday, January 13, 14
  • 16. THE DEVIL IN THE DETAILS • How do you correct syntax errors? • Type coherence? • Control overfitting? • Computationally Monday, January 13, 14 intensive
  • 17. BUT HEAVEN’S ON OUR SIDE • Naturally iterative parallel algorithm - linear speedup, mostly not • Sub-populations may be run asynchronously in parallel: m*n/p where m is individuals in a sub-population, n is the number of sub-populations, and p is number of processors • Matches Monday, January 13, 14 up well with cloud computing
  • 18. THE SKGP • Uses purely functional combinators to represent programs • Efficient, powerful, reusable • Algorithm code becomes superlinear in parallel application because of code reuse Monday, January 13, 14
  • 19. COMBINATORS • Applicative algebra, derived from Lambda calculus, binds left-to-right • Sxyz • Kxy • Ix = xz(yz) =x =x • Bxyz = x(yz) • Cxyz = xzy Monday, January 13, 14
  • 20. VARIABLE ABSTRACTION • D.A. Turner showed that all bound variables could be removed completely using combinators (Turner 1979, A New Implementation Technique for Applicative Languages, Software– Practice and Experience, vol 9, 31-49 ) • Essentially this provides a way to create expressions that are, combinators applied to data with no reference to variables Monday, January 13, 14
  • 21. EXAMPLE COMBINATOR FUNCTION Example: ‘S(S(K +)(K 1))I’ is the function that adds 1so S(S(K +)(K 1)I applied to 3 is: S(S(K +)(K 1))I 3 S(K +)(K 1)3(I 3) K+3((K 1)3)(I 3) +K 1 3 (I 3) + 1 (I 3) +13 4 Monday, January 13, 14
  • 22. COMBINATORS FUNCTIONS QUICKLY BECOME COMPLEX Here is the function for factorial: def fac = S(S(S(K cond)(S(S(K =)(K 0)))I))(K 1))(S(S(K *)I) (S(K fac)(S(S(K -)I)(K 1)))) Evaluation is left as an “exercise to the reader.” Monday, January 13, 14
  • 23. THE SKGP • Implements programs as graphs using both combinators with GP to produce pure functional (combinator) expressions • Combinators have the property of being ‘structure altering operators’ • There is evidence that GP can be limited in its search ability without such a capability Daida, unpublished based on Daida2004 Demonstrating Constraints to Diversity with a Tunably Difficulty Problem for Genetic Programming Monday, January 13, 14
  • 24. CHURCH-ROSSER THEOREM • The Church-Rosser Theorem says pure function evaluation can be order independent: Regardless of order of evaluation, result will be the same • Because of this, each functional piece, when evaluated, can be stored for re-use since order of evaluation does not matter • Because GP shares pieces across generations, reuse gives super-linear speed up: you don’t have to recompute each component Monday, January 13, 14
  • 25. CASE STUDY: MODELING THE MODEL • Modeling chemical kinetics for NASA • NASA had a set of first principle models used to simulate combustion of jet fuel and its exhaust gases: accurate but very slow • By using the simulator to train the SKGP, it was able to produce a highly accurate function for predicting output gas amounts across a wide range of values • Functional • Function Monday, January 13, 14 results was 2370x faster than running simulation was highly accurate empirical solution of PDEs
  • 26. CASE STUDY: LISTENING TO DATA • Collaboration with Dr. Richard Cote and USC to study bladder cancer • Is there a molecular signature that matches T-stage of tumors? No! Attempt produced complicated, poorly performing functions • Examining data showed that tumors with local metastasis were consistently misclassified • Is there a signature in tumor that indicates local mets? Yes! Produced a set of concise, highly accurate, biologically sensitive functions that could identify when a tumor had metastasized Monday, January 13, 14
  • 27. SOME APPLICATIONS • Inferential sensors (Dow Chemical) • Financial modeling (Analytic Research Foundation, State Street Global Advisors) • Antenna • Analog • Solid Monday, January 13, 14 design (NASA) circuit layout (Solido Design) State Memory management (NVM durance)
  • 28. OPEN SOURCE SOLUTIONS • Java: ECJ - a well known Java implementation from one of the well known researchers in GP • Python: DEAP Python - an “all-in one package” written in • Clojure: PushGP - a stack-based version of GP with many nice features, also written developed by a respected GP researcher Monday, January 13, 14
  • 29. PROPRIETARY • Evolver by Evolution Enterprises: http://evolver.biz Modeler by Evolved Analytics: http:// www.evolved-analytics.com/ • Data Monday, January 13, 14
  • 30. GP REFERENCES • J. Koza, Genetic and Kluwer. Programming I-IV, Morgan Kauffman • R. Poli, W.B. Langdon and N.F. McPhee, A Field Guide to Genetic Programming • <Various> Genetic Programming Theory and Practice IX1, 2002-2013 • Mitra et al, The use of genetic programming in the analysis of quantitative gene expression profiles for identification of nodal status in bladder cancer, BMC Cancer, 6(159) 2006 Monday, January 13, 14
  • 31. POSSIBLE FUTURES • Some immediate areas of application include Smart Grid and energy efficient designs, intrusion detection, discovery of protein-gene-SNP networks • Since evolutionary algorithms give a multi-dimensional analysis in the form of a population of solutions they provide more information than a single solution • EAs can continuous analyze data as it comes in, adapting to a changing environment while still providing high performance solutions • There is a bridge from functions to full programs, though functional methods reduce the gap and could lead to functional co-applications (an ecology of functions) Monday, January 13, 14
  • 32. “THE BEST WAY TO PREDICT THE FUTURE IS TO INVENT IT.” -ALAN KAY Monday, January 13, 14