GENETIC PROGRAMMING John R. Koza Foresight Institute Workshop May - - PowerPoint PPT Presentation

genetic programming
SMART_READER_LITE
LIVE PREVIEW

GENETIC PROGRAMMING John R. Koza Foresight Institute Workshop May - - PowerPoint PPT Presentation

GENETIC PROGRAMMING John R. Koza Foresight Institute Workshop May 28, 2017 GENETIC PROGRAMMING MAIN POINT No. 1 G e n e t i c p r o g r a m m i n g n o w routinely delivers high-return human-competitive machine intelligence MAIN POINT


slide-1
SLIDE 1

GENETIC PROGRAMMING

John R. Koza Foresight Institute Workshop May 28, 2017

slide-2
SLIDE 2

GENETIC PROGRAMMING

slide-3
SLIDE 3

MAIN POINT No. 1

  • Genetic programming now

routinely delivers high-return human-competitive machine intelligence

slide-4
SLIDE 4

MAIN POINT No. 2

  • Genetic programming is an

automated invention machine

slide-5
SLIDE 5

INVENTION MACHINE

slide-6
SLIDE 6

MAIN POINT No. 3

  • Genetic programming has

delivered a progression of qualitatively more substantial results in synchrony with fjve approximately order-of- magnitude increases in the expenditure of computer time

slide-7
SLIDE 7

PROGRESSIVELY MORE SUBSTANTIAL RESULTS

slide-8
SLIDE 8

MAIN POINT No. 1

  • Genetic programming now

routinely delivers high-return human-competitive machine intelligence

slide-9
SLIDE 9

“HUMAN-COMPETITIVE”

slide-10
SLIDE 10

CRITERIA FOR “HUMAN- COMPETITIVENESS”

  • The result is equal or better

than human-designed solution to the same problem

slide-11
SLIDE 11
  • Previously patented, an

improvement over a patented invention, or patentable today

  • 6 more criteria
slide-12
SLIDE 12

DEFINITION OF “HIGH- RETURN”

The AI ratio (the “artifjcial-to- intelligence” ratio) of a problem- solving method as the ratio of that which is delivered by the automated

  • peration of the artifjcial method to

the amount of intelligence that is supplied by the human applying the method to a particular problem

slide-13
SLIDE 13

THE “AI” RATIO

slide-14
SLIDE 14

DEFINITION OF “ROUTINE”

A problem solving method is routine if it is general and relatively little human effort is required to get the method to successfully handle new problems within a particular domain and to successfully handle new problems from a different domain.

slide-15
SLIDE 15

“ROUTINE”

slide-16
SLIDE 16

PROGRESSION OF QUALITATIVELY MORE SUBSTANTIAL RESULTS PRODUCED BY GP

  • Toy problems
  • Human-competitive non-patent results
  • 20th-century patented inventions
  • 21st-century patented inventions
  • Patentable new inventions
slide-17
SLIDE 17

GENETIC PROGRAMMING: ON THE PROGRAMMING OF COMPUTERS BY MEANS OF NATURAL SELECTION (Koza 1992)

slide-18
SLIDE 18

A COMPUTER PROGRAM

slide-19
SLIDE 19

GENETIC PROGRAMMING

  • Create initial population (random)
  • Main generational loop

– Execute all programs – Evaluate fjtness of all programs – Select single individuals or pairs of individuals

based on fjtness to participate in the genetic

  • perations (mutation, crossover, reproduction,

architecture-altering operations)

  • Termination Criterion
slide-20
SLIDE 20

CREATING RANDOM PROGRAMS

slide-21
SLIDE 21

CREATING RANDOM PROGRAMS

slide-22
SLIDE 22

DARWINIAN SELECTION

slide-23
SLIDE 23

MUTATION OPERATION

slide-24
SLIDE 24

CROSSOVER OPERATION

slide-25
SLIDE 25

 Symbolic Regression

 Intertwined Spirals

 Truck Backer Upper

 Broom Balancing

 Wall Following

 Artifjcial Ant

 Box Moving

 Discrete Pursuer-Evader Game

 Differential Pursuer-Evader Game

 Co-Evolution of Game-Playing Strategies

 Inverse Kinematics

 Emergent Collecting

 Central Place Foraging

 Block Stacking

 Randomizer

 Cellular Automata

 Task Prioritization

 Programmatic Image Compression

 Econometric Exchange Equation

 Optimization (Lizard)

 Boolean 11-Multiplexer

 11-Parity–Automatically Defjned Functions

slide-26
SLIDE 26

2 MAIN POINTS FROM 1992 BOOK

  • Virtually all problems in artifjcial intelligence,

machine learning, adaptive systems, and automated learning can be recast as a search for a computer program.

  • Genetic programming provides a way to

successfully conduct the search for a computer program in the space of computer programs.

slide-27
SLIDE 27

GENETIC PROGRAMMING II: AUTOMATIC DISCOVERY OF REUSABLE PROGRAMS (Koza 1994)

slide-28
SLIDE 28

COMPUTER PROGRAMS

  • Subroutines provide one way to REUSE code  possibly

with different instantiations of the dummy variables (formal parameters)

  • Loops (and iterations) provide a 2nd way to REUSE code
  • Recursion provide a 3rd way to REUSE code
  • Memory provides a 4th way to REUSE the results of

executing code

slide-29
SLIDE 29

AUTOMATICALLY DEFINED FUNCTION volume

(progn (defun volume (arg0 arg1 arg2) (values (* arg0 (* arg1 arg2)))) (values (- (volume L0 W0 H0) (volume L1 W1 H1))))

slide-30
SLIDE 30

AUTOMATICALLY DEFINED FUNCTION FOR volume

slide-31
SLIDE 31

AUTOMATICALLY DEFINED FUNCTIONS (SUBROUTINES)

  • ADFs provide a way to REUSE code
  • Code is typically reused with different

instantiations of the dummy variables (formal parameters)

slide-32
SLIDE 32

MAIN POINTS OF 1994 BOOK

  • Scalability is essential for solving non-trivial

problems in artifjcial intelligence, machine learning, adaptive systems, and automated learning

  • Scalability can be achieved by reuse
  • Genetic programming provides a way to

automatically discover and reuse subprograms in the course of automatically creating computer programs to solve problems

slide-33
SLIDE 33

GENETIC PROGRAMMING III: DARWINIAN INVENTION AND PROBLEM SOLVING (Koza, Bennett, Andre, Keane 1999)

slide-34
SLIDE 34

MEMORY

Settable (named) variables Indexed vector memory Matrix memory

Relational memory

slide-35
SLIDE 35

ADL

slide-36
SLIDE 36

ADR

slide-37
SLIDE 37

HUMAN-COMPETITIVE RESULTS (NOT RELATED TO PATENTS)

Transmembrane segment identifjcation problem for proteins Motifs for D–E–A–D box family and manganese superoxide dismutase family of proteins Cellular automata rule for Gacs-Kurdyumov-Levin (GKL) problem Quantum algorithm for the Deutsch-Jozsa “early promise” problem Quantum algorithm for Grover’s database search problem Quantum algorithm for the depth-two AND/OR query problem Quantum algorithm for the depth-one OR query problem Protocol for communicating information through a quantum gate Quantum dense coding Soccer-playing program that won its fjrst two games in the 1997 Robo Cup competition Soccer-playing program that ranked in the middle of fjeld in 1998 Robo Cup competition Antenna designed by NASA for use on spacecraft Sallen-Key fjlter

slide-38
SLIDE 38

AUTOMATIC SYNTHESIS OF BOTH THE TOPOLOGY AND SIZING OF ANALOG ELECTRICAL CIRCUITS

slide-39
SLIDE 39

COMPONENT-CREATING FUNCTIONS

slide-40
SLIDE 40

TOPOLOGY-MODIFYING FUNCTIONS

  • SERIES division
  • PARALLEL division
  • VIA
  • FLIP
slide-41
SLIDE 41

TOPOLOGY-MODIFYING FUNCTIONS

slide-42
SLIDE 42

DEVELOPMENTAL GP

(LIST (C (– 0.963 (– (– -0.875 -0.113) 0.880)) (series (flip end) (series (flip end) (L -0.277 end) end) (L (–

  • 0.640 0.749) (L -0.123 end)))) (flip

(nop (L -0.657 end)))))

slide-43
SLIDE 43

DEVELOPMENTAL GP

slide-44
SLIDE 44

EVALUATION OF FITNESS

Program Tree

+

IN OUT z0 Embryonic Circuit

Fully Designed Circuit (NetGraph) Circuit Netlist (ascii) Circuit Simulator (SPICE) Circuit Behavior (Output) Fitness

slide-45
SLIDE 45

DESIRED BEHAVIOR OF A LOWPASS FILTER

slide-46
SLIDE 46

EVOLVED CAMPBELL FILTER

  • U. S. patent 1,227,113

George Campbell American Telephone and Telegraph 1917

slide-47
SLIDE 47

EVOLVED ZOBEL FILTER

  • U. S. patent 1,538,964

Otto Zobel American Telephone and Telegraph Company 1925

slide-48
SLIDE 48

EVOLVED SALLEN-KEY FILTER

slide-49
SLIDE 49

EVOLVED DARLINGTON EMITTER- FOLLOWER SECTION

  • U. S. patent 2,663,806

Sidney Darlington Bell Telephone Laboratories 1953

slide-50
SLIDE 50

NEGATIVE FEEDBACK

slide-51
SLIDE 51

HAROLD BLACK’S RIDE ON THE LACKAWANNA FERRY

Courtesy of Lucent Technologies

slide-52
SLIDE 52

20th-CENTURY PATENTS

Campbell ladder topology for fjlters Zobel “M-derived half section” and “constant K” fjlter sections Crossover fjlter Negative feedback Cauer (elliptic) topology for fjlters PID and PID-D2 controllers Darlington emitter-follower section and voltage gain stage Sorting network for seven items using only 16 steps 60 and 96 decibel amplifjers Analog computational circuits Real-time analog circuit for time-optimal robot control Electronic thermometer Voltage reference circuit Philbrick circuit NAND circuit Simultaneous synthesis of topology, sizing, placement, and routing

slide-53
SLIDE 53

SIX POST-2000 PATENTED INVENTIONS

slide-54
SLIDE 54

EVOLVED HIGH CURRENT LOAD CIRCUIT

slide-55
SLIDE 55

REGISTER-CONTROLLED CAPACITOR CIRCUIT

slide-56
SLIDE 56

LOW-VOLTAGE CUBIC CIRCUIT

slide-57
SLIDE 57

VOLTAGE-CURRENT-CONVERSION CIRCUIT

slide-58
SLIDE 58

LOW-VOLTAGE BALUN CIRCUIT

slide-59
SLIDE 59

TUNABLE INTEGRATED ACTIVE FILTER

slide-60
SLIDE 60

21st-CENTURY PATENTED INVENTIONS

Low-voltage balun circuit Mixed analog-digital variable capacitor circuit High-current load circuit Voltage-current conversion circuit Cubic function generator Tunable integrated active fjlter

slide-61
SLIDE 61

CIRCUIT SYNTHEIS PLUS LAYOUT

slide-62
SLIDE 62

100%-COMPLIANT LOWPASS FILTER GENERATION 25 WITH 5 CAPACITORS AND 11 INDUCTORS  AREA OF 1775.2

slide-63
SLIDE 63

100%-COMPLIANT LOWPASS FILTER BEST-OF-RUN CIRCUIT OF GENERATION 138 WITH 4 INDUCTORS AND 4 CAPACITORS  AREA OF 359.4

slide-64
SLIDE 64

REVERSE ENGINEERING OF METABOLIC PATHWAYS

slide-65
SLIDE 65

ANTENNA DESIGN

slide-66
SLIDE 66

AUTOMATED DESIGN OF OPTICAL LENS SYSTEMS

  • Tackaberry-Muller lens system
slide-67
SLIDE 67

EVOLVED SORTING NETWORK

slide-68
SLIDE 68

GENETIC NETWORK FOR lac

  • peron
slide-69
SLIDE 69

SUBROUTINE DUPLICATION

slide-70
SLIDE 70

SUBROUTINE CREATION

slide-71
SLIDE 71

SUBROUTINE DELETION

slide-72
SLIDE 72

ARGUMENT DUPLICATION

slide-73
SLIDE 73

ARGUMENT DELETION

slide-74
SLIDE 74

PARAMETERIZED TOPOLOGIES

  • One of the most important characteristics
  • f computer programs is that they
  • rdinarily contain inputs (free variables)

and conditional operations

slide-75
SLIDE 75

PARAMETERIZED TOPOLOGY FOR LOWPASS FILTER

slide-76
SLIDE 76

PARAMETERIZED TOPOLOGY FOR HIGHPASS FILTER

slide-77
SLIDE 77

AUTOMATIC SYNTHESIS OF BOTH THE TOPOLOGY AND TUNING OF CONTROLLERS

slide-78
SLIDE 78

PARAMETERIZED TOPOLOGY FOR GENERAL-PURPOSE CONTROLLER

slide-79
SLIDE 79

EVOLVED EQUATIONS FOR GENERAL- PURPOSE CONTROLLER

slide-80
SLIDE 80

EVOLVED EQUATIONS FOR GENERAL- PURPOSE CONTROLLER

slide-81
SLIDE 81

2 PATENTED INVENTIONS CREATED BY GENETIC PROGRAMMING

PID tuning rules that outperform the Ziegler-Nichols and Åström-Hägglund tuning rules General-purpose controllers outperforming Ziegler-Nichols and Åström-Hägglund rules

slide-82
SLIDE 82

PARALLELIZATION OF GP

slide-83
SLIDE 83

PARALLELIZATION WITH SEMI-ISOLATED SUBPOPULATIONS

slide-84
SLIDE 84

GP PARALLELIZATION

  • Like Hormel, Get Everything Out of the

Pig, Including the Oink

  • Keep on Trucking
  • It Takes a Licking and Keeps on Ticking
  • The Whole is Greater than the Sum of

the Parts

slide-85
SLIDE 85

PETA-OPS

  • Human brain operates at 1012 neurons
  • perating at 103 per second = 1015 ops per

second

  • 1015 ops = 1 peta-op = 1 bs (brain second)
slide-86
SLIDE 86

GP 1987–2002

System Dates Speed-up

  • ver fjrst

system Human- competitive results Problem Category Serial LISP 1987–1994 1 (base) toy problems 64 transputers 1994–1997 9 2 human-competitive results not related to patented inventions 64 PowerPC’s 1995–2000 204 12 20th-century patented inventions 70 Alpha’s 1999–2001 1,481 2 20th-century patented inventions 1,000 Pentium II’s 2000–2002 13,900 12 21st-century patented inventions 4-week runs on 1,000 Pentium II’s 2002-2003 130,000 2 patentable new inventions

slide-87
SLIDE 87

RIDING THE MOORE’S LAW WAVE

slide-88
SLIDE 88

“[Koza’s] made a sport of reinventing patented devices, turning them out by the

  • dozen. [A] milestone came in 2005, when the

U.S. Patent and Trademark Offjce awarded a patent to a genetically designed factory

  • ptimization system. If the Turing test had

been to fool a patent examiner instead of a conversationalist, then January 25, 2005 would have been a date for the history books.

  • – The Master Algorithm by Pedto Domingos (2015)
slide-89
SLIDE 89

SOURCES OF INFORMATION

slide-90
SLIDE 90
  • Genetic Programming and Evolvable Machines

journal

  • Genetic and Evolutionary Computation

Conference (GECCO)

  • Euro-GP Conference
  • Genetic Programming Theory and Practice

(GPTP) conference in Ann Arbor

  • Genetic Programming book series
  • Humies (Human-Competitive awards)
slide-91
SLIDE 91

CONCLUSION

  • Genetic programming

routinely delivers high-return human-competitive machine intelligence