Content uploaded by Julian Francis Miller
Author content
All content in this area was uploaded by Julian Francis Miller on May 11, 2014
Content may be subject to copyright.
GECCO 2004, Tutorial 1
1
Evolvable Physical Media
(or Evolution in materio)
Julian Francis Miller
Department of Electronics
The University of York, UK
http://www.evolutioninmaterio.com
jfm@ohm.york.ac.uk
2
Evolution in materio
• The manipulation of a physical system by
computer controlled evolution (CCE) of its
physical properties
• Does this mean optimisation? NO!
– It means the discovery of physical properties
that can be utilized to help solve the imposed
task
• I think that we might be able to use CCE to
invent a new technology!
GECCO 2004, Tutorial 2
3
Why we should be interested in
evolution in materio?
• Natural evolution is par excellence an algorithm
that exploits the physical properties of materials
• Artificial Evolution may be more effective when
the configurable medium has a rich and complex
physics
4
The price of programmability
• In conventional design the vast majority of
interactions that could possibly contribute to
the problem are deliberately excluded
(Michael Conrad 1988)
GECCO 2004, Tutorial 3
5
What are evolvable physical
media?
• Systems whose physical properties can be
affected by changes to controllable physical
variables
• To be evolvable the media must be
– able to be reset
– strong genetic inheritance of physical
characteristics
6
A tricky question
• What kinds of physical systems are
most easily exploited by an artificial
intrinsic evolutionary process?
GECCO 2004, Tutorial 4
7
How do you evolve matter to
compute? (view 1)
Configuration data
Incident signal
Modified signal
Test for
desired
response
Configuration population subject to artificial
evolution
Fitness
calculation
8
The Field Programable Matter
Array (View 2)
wires
Chemical
substrate
A single piece of
material?
Region to which
voltage may be
applied
KEY REQUIREMENT
Removing the voltage
must cause the material
to relax to its
former state
GECCO 2004, Tutorial 5
9
Has anybody demonstrated
evolvable physical media?
• Gordon Pask - Ferrous sulphate
• Adrian Thompson - silicon
• Adrian Stoica, Didier Keymeulen, Riccardo
Zebulum - silicon
• Huelsbergen, Rietman and Slous - silicon
• Derek Linden - reed switch array
• Paul Layzell and Jon Bird - silicon
• Simon Harding and Julian Miller -liquid crystal
10
Gordon Pask
“Physical analogues to the
Growth of a Concept”
Mechanization of Thought
Processes, Symposium 10,
National Physical Laboratory,
H.M.S.O (London) pp 765-
794, 1958.
GECCO 2004, Tutorial 6
11
Some background
• “We believe that if the ‘complexity barrier’ is to
be broken, a major revolution in production and
programming techniques is required…We may as
well start that with the notion that with 10
10
parts
per cubic foot there will be no circuit diagram
possible…We would manufacture ‘logic by the
pound’, using techniques more like a bakery than
of an electronics factory” [see Cariani 1993].
• People were looking for self-wiring, self-
organising machines way back then!
12
What Pask was trying to do
• Build a machine without any explicit definition of
its parts (self-building)
• Able to build its own “relevance criteria” and find
the observables required to solve the task
• The device would choose its own training set and
the type of training variables
• He needed a physically rich machine which could
be adaptively steered
GECCO 2004, Tutorial 7
13
Schematic of Electrode array and
Ferrous sulphate medium
14
What Pask did
“…the rewarding procedure acts by supplying more
current for constructing threads whenever the
mode of problem solution, implied by the
existence of a certain thread structure, satisfies an
external criterion, such as maximising the output
of the process. In this learning by reward
procedure some threads flourish, others will prove
abortive. It is a lengthy and inefficient kind of
learning not unlike natural selection” - (Pask 58)
GECCO 2004, Tutorial 8
15
“We have made an ear…”
• “We have made an ear and a magnetic receptor.
The ear can discriminate two frequencies, one of
the order of fifty cycles per second and the other
on the order of one hundred cycles per second.
The ‘training procedure’ takes approximately half
a day and once having got the ability to recognize
sound at all, the ability to recognize and
discriminate two sounds comes more rapidly…” -
(see Cariani 1993)
16
View of actual apparatus
GECCO 2004, Tutorial 9
17
Modern generic evolvable
platform
18
Generic in silico
evolvable
patform
GECCO 2004, Tutorial 10
19
The Xilinx 6216 Field
Programmable Gate Array (FPGA)
Function unit
20
Adrian Thompson’s experiment
GECCO 2004, Tutorial 11
21
What were the active parts of the
circuit?
22
Logic circuit representation of
evolved circuit
Numbers in hexagons
are estimates of nanosec
delays
Assumption: FPGA cells acting
as Boolean logic gates
GECCO 2004, Tutorial 12
23
Analysis of circuit
• When input is 1, parts A and B settle to a constant
logic state (in 20ns) until next input goes to 0 (part
B settles to 1). This selects the Mux in part C own
output as input (so oscillates but settles to a logic
value). So circuit inactive until end of pulse.
24
Further analysis
• Thompson and Layzell checked that there were no
circulating glitches (short duration pulses) during
static phase
• PSPICE simulation (with extensive variation of
gate delays and parasitic capacitance) did not
produce real circuit behaviour
• Build CMOS Mux version of circuit didn’t
reproduce actual circuit behaviour.
• Time delays on connection from A to B&C crucial
to evolved circuit behaviour
GECCO 2004, Tutorial 13
25
Conclusion
• Core of timing mechanism is a subtle
property of the VLSI medium
• They ruled out:
– glitches, beat frequencies
– metastability
– thermal time-constants (self-heating)
• Evolution has exploited properties of the
system that are at present unknown
26
Evolution of antennas
• Physical evolution of antennas using reed
switches
• evolution of wire segment antennas in
simulation.
GECCO 2004, Tutorial 14
27
Toplogies of Reed Switches
28
Evolve and test apparatus
GECCO 2004, Tutorial 15
29
Test set-up
30
Results
GECCO 2004, Tutorial 16
31
Evolution of Astable
Multivibrators in Silico
• Huelsbergen, Rietman and Slous
• Also used the Xilinx 6216
32
Paul Layzell: Evolvable
Motherboard
GECCO 2004, Tutorial 17
33
Evolution of inverter fitness
34
An evolved inverter that used the
measurement apparatus as a
circuit component!
GECCO 2004, Tutorial 18
35
Evolving an Oscillator
• Fitness function chosen to reward high-amplitude
signals present at output
• Huelsbergen et al. sampled through an a/d
converter and were troubled by aliasing errors.
• Layzell used a frequency to voltage converter to
avoid aliasing errors
• target frequency was 25KHz
36
Evolving an oscillator
GECCO 2004, Tutorial 19
37
Evolved Oscillator: fitness
function
• a and f represent output amplitude and
frequency average over 20 samples, f
min
and f
max
are the maximum and minimum of 20 frequencies
sampled.
38
Evolved circuit and output response
In 20 runs 10 were successful to within 1% with a minimum
amplitude of 100mV
GECCO 2004, Tutorial 20
39
Analysis of evolved oscillators
• Difficult to clarify how the circuits work
• If transistors are replaced by nominally identical
ones, the output frequency can change by up to
30%
• Simulation of circuits with parasitic capacitance
failed to oscillate
• Some oscillators only worked while a nearby
soldering iron was switched on!
• Programmable switches’ characteristics are almost
certainly important for circuit operation
40
An evolved radio
• Some circuits that achieved high fitness
were found to be amplifying radio signals
(generated by nearby PCs) that were stable
enough over the sampling period to give
good fitness scores
• The circuit board tracks were being used as
an aerial!
GECCO 2004, Tutorial 21
41
Evolution in silico or in materio?
• Unconstrained evolution in silicon is possible
• Intrinsic evolution often utilizes incidental
environmental effects to achieve a solution
• Although these can be a nuisance we should not
give up. It is too early to worry about analysis.
• Other material systems may have advantages. At
the very least evolution may tell us that
computational circuits can be constructed in
unusual systems. This may inspire conventional
design in such systems (i.e. evolution as a
discovery tool)
42
Should Evolvable Matter be on
the “edge of chaos”
• Langton observed that interesting computation in
cellular automata occurs on the “edge of chaos”.
This suggests a good place to look in materials.
• Supramolecular systems
• Mesoscale systems (see “The Middle Way” in refs)
• IDEA: Use a genotype to define a physical order in
a resetable material where chaos removes the order
GECCO 2004, Tutorial 22
43
What material systems should we
use?
• Liquid crystal
• Conducting and electroactive polymers
• Voltage controlled colloids
• Irradiated Silicon
• Langmuir-Blodgett films
• nanoparticle suspensions
• microbial consortia
44
Growing wires in nanoparticle
suspensions
• "
Dielectrophoretic Assembly of Electrically
Functional Microwires from Nanoparticle
Suspensions" Science Vol 294 November 2001
GECCO 2004, Tutorial 23
45
Liquid crystal programmable
matter?
• Mesoscopic organisation
Smectic nematic
Organic elongated Polar
molecules
Many other types
46
Twisted nematic LC Display
GECCO 2004, Tutorial 24
47
Types and uses of liquid crystal
• Dye doped
• polymer dispersed
• discotic
• in plane systems
48
Evolution in Liquid Crystal
• This year Simon Harding and myself
carried out evolution in a novel medium:
liquid crystal
• We have evolved a number of functions
using a Liquid Crystal Display
• The rest of the tutorial is about that work
GECCO 2004, Tutorial 25
49
Experimental setup
50
In materio evolution in progress
GECCO 2004, Tutorial 26
51
Inputs and Outputs to LCD
8 connectors:
Ground (fixed)
input signal
(fixed)
output signal
(fixed)
5 voltages (-10v
- 10v)
52
Genetic representation
• Genotype in two parts
• First part
– 64 integers in range 0-8:
• 64 contacts on the LCD that can be connected to any
of eight points (or not connected - left to float)
• constrained: only one contact can connect to the
incident applied signal and one to the output pickup
• Second part
– 5, 16 bit integers that represents voltages -10v
to +10v
GECCO 2004, Tutorial 27
53
Genetic Algorithm
• Population 40
• Top 5 genotypes promoted. Population
filled with tournament selected (size 5)
others that were mutated (5 mutations each)
• 100 generations.
• It took approximately 1 minute to evalute
each generation
54
Task: Tone discriminator
• Evolve a “circuit” that can discriminate between
two possible applied signals:
• Signals were square waves, 0-5V, 100Hz, 5kHz*
• Test sequence:
• 250ms 5Khz, 250ms 100Hz, 250ms 5KHz (i.e.
1250 pulses 5KHz, 25 pulses 100 Hz, 1250 pulses)
• Reward: count percentage output < 0.1V for
100Hz and output >0.1V for 5kHz
• * Many pairs of frequencies have now been
tried and proved successful
GECCO 2004, Tutorial 28
55
Best evolved “circuit” response
56
Analysis (preliminary)
• Crosspoint switches unlikely to be involved as
they are designed for high frequency audio/video
signals. The feedthrough capacitance is 0.2pF and
the switch capacitance is 20pF.
• Our current hypothesis is that the LCD is acting as
a configurable RC network but there is much more
work to be done to confirm/deny this
• When an evolved configuration is reloaded it fails
to work, however if a population contains that
individual it evolves to work in 2-3 generations
GECCO 2004, Tutorial 29
57
Further work
• Increase density of connections to Liquid crystal
display
• Increase number of applied voltages
• Robot control
• Use different types of LC
• Attempt to evolve solutions to much harder
problems
• Understand how the devices work
• Examine potential of other physical systems
58
Conclusions
• To be able to evolve things you need richness
• It is time to let evolution to create technology for
us. Not tell it what technology it must use.
• We know it has already created the technology of
living things.
• I would like to see the growth of “evolution in
materio” as a research community
GECCO 2004, Tutorial 30
59
References and Recommended reading
H. Abelson, D. Allen, D. Coore, C. Hanson, G. Homsy, T. F. Knight Jr., R.
Nagpal, E. Rauch, G. J. Sussman, R. Weiss, "Amorphous Computing",
MIT Technical report, AI Memo 1665, 1999.
Y. Bar-Cohen, Electroactive Polymer (EAP) Actuators as Artificial Muscles -
Reality, Potential and Challenges, SPIE Press, Vol. PM98, 2001.
J. Bird, P. Layzell. “An Evolved Radio and its Implications for Modelling the
Evolution of Novel sensors”, Proceedings of Congress on Evolutionary
Computation, pp 1836-1841, 2002.
S. Borman, "Combinatorial Chemistry", Chemical and Engineering News,
February 24, 1997. (available at: http://pubs.acs.org)
P. Cariani, "To evolve an ear: epistemological implications of Gordon Pask's
electrochemical devices", Systems Research, Vol 10, No. 3, pp 19-33,
1993
60
S. Chandrasekhar, "Columnar, Discotic Nematic and Lamellar Liquid
Crystals: Their Structure and Physical Properties", in [12], Vol.
2B, pp. 749-780.
M. Conrad, "The price of programmability", in R. Herken (ed.), The
Universal Turing Machine: A Fifty Year Survey, pp 285-307,
Oxford University Press, 1988.
W. A Crossland and T. D. Wilkinson, "Nondisplay applications of
liquid crystals" in [12 ], Vol. 1, pp 763-822.
D. Demus, J. Goodby, G. W. Gray, H. -W. Spiess, V. Vill (eds.),
Handbook of Liquid Crystals, Vol 1, 2A, 2B, 3, Wiley-VCH,
1998.
J. Devillers (ed.), Genetic Algorithms in Molecular Modelling,
Academic Press, NY, 1996.
S. L. Harding and J. F. Miller. "A scalable platform for intrinsic
hardware and in materio evolution", 2003 NASA/DOD Conference
on Evolvable Hardware, pp. 221-224, IEEE Computer Society
Press.
GECCO 2004, Tutorial 31
61
S. L. Harding, J. F. Miller. Evolution in materio: Initial experiments
with liquid crystal", NASA/DOD Conference on Evolvable
Hardware 2004
S. L. Harding, J. F. Miller. "A Tone Discriminator In Liquid Crystal",
Proceedings of CEC 2004
K. D. Hermanson, S. O. Lumsdon, J. P. Williams, E. W. Kaler, O. D.
Velev, "Dielectrophoretic Assembly of Electrically Functional
Microwires from Nanoparticle Suspensions", Science, Vol. 294, pp
1082 - 1086, 2001.
I-C. Khoo, Liquid Crystals: physical properties and nonlinear optical
phenomena, Wiley, 1995.
I-C. Khoo, S. Slussarenko, B. D. Guenther, Min-Yi Shih, P. Chen, W.
V. Wood, "Optically induced space-charge fields, dc voltage, and
extraordinarily large nonlinearity in dye-doped nematic liquid
crystals", Optics Letter, Vol. 23, No. 4, pp 253-255, 1998.
62
B. Khusid and A Activos, "Effects of interparticle electric interactions
on dielectrophoresis in colloidal suspensions", Physical Review E,
Vol. 54, No. 5, pp 5428-5435, 1996.
C. Langton, "Computation at the Edge of Chaos: Phase Transitions
and Emergent Computation", in S. Forrest (ed.) Emergent
Computation, pp 12-37, MIT Press, 1991.
R. B. Laughlin, D. Pines, J. Schmalian, B. P. Stojkovic, P. Wolynes,
"The middle way", Proc. Nat. Acad. Sci, Vol. 97, No. 1, pp 32-37,
2000.
P. Layzell. “A new research tool for intrinsic hardware evolution”, in
M. Sipper, D. Mange, A. Pérez-Uribe (eds.), Proc. of The 2
nd
Int.
Conf. on Evolvable Systems: From Biology to Hardware, LNCS,
vol. 1478, Springer-Verlag, pp. 47- 56, 1998.
P. Layzell, Dphil thesis, School of Cognitive and Computing
Sciences, University of Sussex, 2001
GECCO 2004, Tutorial 32
63
D. Linden, E. E. Altshuler, "Evolving Wire Antennas using Genetic
Algorithms", in, A. Stocia, D. Keymeulen and J. Lohn, Proc. of
The 1st NASA/DoD Workshop on Evolvable Hardware, IEEE
Computer Soc. Press, pp 225-232, 1999.
D. Linden, "A System for Evolving Antennas In-Situ", in D.
Keymeulen, A. Stocia J. Lohn,, and R. Zebulum, Proc. of The 3rd
NASA/DoD Workshop on Evolvable Hardware, IEEE Computer
Society Press, pp 249-255, 2001.
L. F. Lindoy and I. M. Atkinson, Self-assembly in Supramolecular
Systems, Royal Society of Chemistry, 2000.
J. D. Lohn, D. S. Linden, G. S. Hornby, William F. Kraus, A.
Rodriquez-Arroyo, “Evolutionary Design of an X-Band Antenna
for NASA's Space Technology 5 Mission”, Proc. of The 2003
NASA/DoD Conference on Evolvable Hardware, IEEE Computer
Soc. Press, 2003 (not in published proceedings): available at
http://csdl.computer.org/comp/proceedings/eh/2003/
64
J. F. Miller, "Evolvable hardware: some directions for the future",
Second NASA/DOD Workshop on Evolvable Hardware: available
http://www.elec.york.ac.uk/intsys/users/jfm7/eh00/index.htm
J. F. Miller, K. Downing, “Evolution in materio: Looking Beyond the
Silicon Box", in Adrian Stoica et al (Eds. ) 2002 NASA/DOD
Conference on Evolvable Hardware, pp. 167-176, IEEE Computer
Society Press, 2002.
R. J. Mortimer, "Electrochromic materials", Chem. Soc. Rev, Vol 26,
pp 147-156, 1997.
G. Pask, "Physical analogues to the growth of a concept",
Mechanization of Thought Processes, Symposium 10, National
Physical Laboratory, H.M.S.O (London) pp 765-794, 1958.
M. Pope and C. E. Swenberg, Electronic Processes of Organic
Crystals and Polymers, 2
nd
edition, Oxford University Press, 1999.
GECCO 2004, Tutorial 33
65
S. R. Restaino, D. Dayton, S. Browne, J. Gonglewski, J. Baker, S.
Rogers, S. McDermott, J. Gallegos and M. Shapiro, "On the use of
dual frequency nematic material for adaptive optics systems: first
results of a closed-loop experiment", Optics Express, Vol. 6, No. 1,
pp 2-6, 1999.
D. Sadagopan, R. Pitchumani, "Application of Genetic Algorithms to
Optimal Tailoring of Composite Materials", Composites Science
and Technology , Vol. 58, pp 571-589, 1998.
T. Scharf, J. Fontannaz, M. Bouvier and J. Grupp, "A adaptive
microlens formed by homeotropic aligned liquid crystals with
positive dielectric anisitropy", Molecular Crystals and Liquid
Crystals, Vol 331, pp 235-243, 1999.
A. Stoica, D. Keymeulen, R. Zebulum, A. Thakoor, T. Daud, G.
Klimeck, Y. Jin, R. Tawel and V. Duong. "Evolution of analogue
circuits on Field Programmable Transistor Arrays", in J. Lohn, A.
Stocia, D. Keymeulen and S. Colombano, Proc. of The 2nd
NASA/DoD Workshop on Evolvable Hardware, IEEE Computer
Soc. Press, 2000
66
A. Stoica, R. Zebulum, D. Keymeulen, "Mixtrinsic Evolution", In, J.
F. Miller, A. Thompson, P. Thomson, T. C. Fogarty (eds.). Proc. of
the 3
rd
Int. Conf. on Evolvable Systems: From Biology to
Hardware, LNCS, vol. 1801, Springer-Verlag, pp 208 - 217, 2000.
A. Thompson. ”Hardware Evolution: Automatic design of electronic
circuits in reconfigurable hardware by artificial evolution”. Dphil
thesis, School of Cognitive and Computing Sciences, University of
Sussex, 1996.
A. Thompson. "An evolved circuit, intrinsic in silicon, entwined with
physics", in T. Higuch, M. Iwata, W. Liu (eds.), Proc. of The 1
st
Int. Conf. on Evolvable Systems: From Biology to Hardware,
LNCS, vol. 1259, Springer-Verlag, pp. 390 - 405, 1997
A. Thompson. "On the Automatic design of Robust Electronics
through Artificial Evolution", in M. Sipper, D. Mange, A. Pérez-
Uribe (eds.), Proc. of The 2
nd
Int. Conf. on Evolvable Systems:
From Biology to Hardware, LNCS, vol. 1478, Springer-Verlag, pp.
13- 24, 1998.
GECCO 2004, Tutorial 34
67
A. Thompson, P. Layzell. “Analysis of Unconventional Evolved
Electronics”, Communications of the ACM, Vol. 42, Part 4, pp.
71-79
A. Thompson, P. Layzell. "Evolution on Robustness in an Electronics
Design", in J. Miller, A. Thompson, P. Thomson, T.C. Fogarty
(eds.), Proc. of The 3rd Int. Conf. on Evolvable Systems: From
Biology to Hardware, LNCS, vol. 1801, Springer-Verlag, pp. 218 -
228, 2000.
J. V. Vincent, "From Cellulose to Cell", The Journal of Experimental
Biology, Vol. 202, pp 3263-3268, 1999.
L. Weber, "Evolutionary Combinatorial Chemistry. Applications of
Genetic Algorithms", Drug Discovery Today, Vol. 8, pp 379-385,
1998.
G. Whitesides, J. P. Mathias, C. P. Seto, "Molecular Self-Assembly
and Nanochemistry: A Chemical Strategy for the Synthesis of
Nanostructures", Science, Vol. 29, pp 1312-1319, 1991.