Presentation is loading. Please wait.

Presentation is loading. Please wait.

Imitation Programming Larry Bull University of the West of England.

Similar presentations


Presentation on theme: "Imitation Programming Larry Bull University of the West of England."— Presentation transcript:

1 Imitation Programming Larry Bull University of the West of England

2 Alan Mathison Turing Further research into intelligence of machinery will probably be very greatly concerned with ‘searches’ …. There is the genetical or evolutionary search by which a combination of genes is looked for, the criterion being survival value …. The remaining form of search is what I should like to call the ‘cultural search’ … the search for new techniques must be regarded as carried out by the human community as a whole. Intelligent Machinery 1948

3 Culture-inspired Search Artefacts - left between evolutionary generations [Hutchins & Hazelhurst 1990, ALife II procs.] Cultural Algorithms - belief space to store knowledge to guide evolutionary search [Reynolds1994, EP III procs.] Ant Colony Optimization – social insect mechanisms for path finding in graphs [Dorigo et al. 1996, IEEE SMC-B]

4 (Socio) Cultural Evolution The use of an evolutionary metaphor has being applied to culture since Darwin’s time, e.g., by Herbert “survival of the fittest” Spencer. The most direct use of evolutionary biology to understand culture is based on Edward Wilson’s “sociobiology” [1975], e.g., see [Boyd & Richerson, 1985].

5 Imitation: Memes Dawkins’ meme [1976] is a unit of cultural ideas, symbols or practices, which can be transmitted from one mind to another through: ◦ Writing ◦ Speech ◦ Gestures ◦ Rituals ◦ Other imitable phenomena. Meme = Cultural gene.

6 Imitation Computation Supervised Learning - controller design through copying of human movement [e.g., review by Schaal et al. 2003, Phil. Trans.] Reinforcement Learning - value function approximation sharing between multiple agents [e.g., Price & Boutilier 1999, ML 16 procs.] Particle Swarm Optimization – boids inspired model of social behaviour [Kennedy & Eberhart 1995, IEEE NN procs.]

7 Unorganised Machines: A-Type In the same 1948 paper, Turing presented a general knowledge representation scheme. Parallel, recurrent networks of 2-input NAND gates.

8 Discrete Dynamical Systems Unorganised machines have a finite number of possible states and they are deterministic. Hence such networks eventually fall into a basin of attraction.

9 Motivation Discrete dynamical systems are known to (potentially) exhibit an inherent robustness to faults. Unorganised machines are made from uniform components. How to design dynamical circuits from such systems through culture-inspired mechanisms?

10 Related Work Evolving Cellular Automata ◦ [Packard, 1988][Mitchell et al., 1991][Sipper, 1997] Evolving Random Boolean Networks ◦ [Kauffman, 1993][Lemke et al., 2001] Evolving Graph Representations ◦ [Fogel et al., 1966][Teller & Veloso, 1996][Poli, 1997][Miller, 1999][Teuscher, 2002] …

11 Imitation Programming Create initial random population Evaluate For each individual ◦ Select individual in population to imitate ◦ Copy a randomly chosen aspect (with error) ◦ Evaluate ◦ Adopt new solution if better (or if smaller but =) Repeat

12 Imitation Pick an individual ◦ Best used here ◦ Smallest in case of ties (or random) Pick a trait at random ◦ Node start state ◦ Node connection ◦ Network size Test for error (p e = 0.5 here) which moves connection +/- 1 node id

13 Size Imitator is smaller ◦ Copy next node in imitatee and connect into network Imitator is larger ◦ Cut end node and reassign connections to it Same size ◦ Randomly add a copied node or cut last node Size limited [inputs+outputs, max.]

14 Unorganised Machines as Circuits 1 4 5 6 Input 1 Input 2 Input 3 2 3 Output Each node encoded as two integers and a binary start state. Nodes are initialised, inputs applied, network run for T cycles, and the output node(s) value is read.

15 Multiplexer  =20, T=15, N=I+O+30

16 a0 a1 d1 d2 d3 d4 out 1 1 0 0 0 0 1 1 0 1 1 0 1 0 1 0 0 0 0 1 1 0 1 1 1 1 0 0 0 1 1 1

17 Demultiplexer

18 Comparison with Evolution EP [Fogel et al., 1966] was designed for graph representations using mutation: ◦ Change output ◦ Change transition ◦ Add state ◦ Remove state ◦ Change initial state One operator used per offspring here. (  +  ’) selection AB AC 1/  0/  1/  0/  1/  0/ 

19 Multiplexer – IP vs EP

20 Demultiplexer – IP vs EP

21 Summary of Brief Comparison Imitation always faster and smaller. But selection process in particular is very different. IP described akin to a population of hill- climbers. If alter imitation to copy a randomly created individual stat. same on demux but still better on mux.

22 Conclusions Culture appears to be a somewhat under- explored source of ideas for AI. Imitation a ubiquitous process in nature. Can be viewed as both a component-wise xover operator and mutation. Initial results suggest competitive with genetic evolution schemes. Much more exploration needed.


Download ppt "Imitation Programming Larry Bull University of the West of England."

Similar presentations


Ads by Google