Homeostasis and Rein Control: From Daisyworld To Active Perception
Homeostasis and Rein Control: From Daisyworld To Active Perception
Homeostasis and Rein Control: From Daisyworld To Active Perception
Inman Harvey
Evolutionary and Adaptive Systems Group
Centre for Computational Neuroscience and Robotics
Centre for the Study of Evolution
COGS/Informatics, School of Science and Technology, University of Sussex, BN1 9QH, UK
inmanh@cogs.susx.ac.uk
0.6
provides viable living conditions for the biota; for a review response
0.4
see (Lenton 1998). No immediate explanation was
available for the origin or cause of any such regulation, as 0.2
clearly the Earth as a whole had not evolved through 0
successive generations of selection within a population of 0 10 20 30 40 50
-0.2
Earths. Further, as species within the biota, and individuals Temperature
within each species, were competing with each other, it was
difficult to see how selection at the individual level could Figure 1.Hat function: daisy response to temperature
favour behaviour that led to global cooperation in
The dependency of growth rates on temperature is to stay within their sensitive regions; in other words,
assumed to be a Hat-shaped function as in figure 1. The phototaxis despite the random nature of the feedback.
Daisyworld model demonstrates how these feedbacks via +ve
the environment, both positive for black and negative for
white daisies, result in regulation of the planetary DB TB
temperature. Watson and Lovelock (1983) demonstrate that
External
with their particular parameter values and equations, the Forcing
resulting close-coupled system regulates the temperature to Hat-functions Leakage
within the viability zone (here 50 to 400C) over a far wider
range of solar luminosities than would have been the case
in the absence of any daisies. D TW
W
Comprehensibility of Daisyworld
-ve
Daisyworld is intentionally a simplified model; temperature
is taken as just one example of an essential variable that
Figure 2. Interactions in the cut-down model: a black
can be regulated, and the lessons from the Daisyworld
daisybed above, separate white one below. Both receive
parable are meant to have far wider scope. One point made
external forcing from the sun, and the only interaction
early on is that the precise form of the Hat function is
between them is by ‘leakage’ or heat conductance.
unimportant, provided it has the general peaked character
around an optimum temperature, with the brim of the hat
representing here a zero growth rate outside the viability Cut-down Daisyworld
range. Nevertheless, the use of the Stefan-Boltzmann law to
calculate absorbed and emitted radiation, and use of the The simplifications are twofold: firstly, the model is
equations governing the comparative and indeed idealized into a simpler form with fewer interactions;
competitive growth rates of the different daisies, means that secondly, the Hat function and the putative underlying laws
analysis of this system is not a trivial problem. of radiation and heat conductance are simplified into linear
I have therefore adopted the strategy of radically or piecewise linear form.
simplifying the usual Daisyworld model, to see how much The black and white daisies can be modeled as growing
can be left out whilst still retaining the homeostatic on separate daisybeds, in other words not competing for
regulation. In doing so, firstly it becomes clearer how space. The interactions and feedbacks are then limited to
crucial is the difference in local temperatures between those shown in figure 2. The Hat function can be replaced
black and white daisies, something often obscured by the by a piecewise linear function of similar general form,
conventional graphs shown; secondly it becomes much which I call a ‘Witch’s Hat’ function. TB and TW are the
easier to visualize the very simple underlying feedback average temperatures of each daisybed, DB and DW are the
interactions; thirdly it becomes plainer just how much can proportional coverage of each daisybed by black and white
be generalized from this one example to other domains. daisies respectively, as determined by the Witch’s Hat
function. The temperature T of each bed (taken as uniform
Organisation of Paper within the bed) is determined by a combination of factors:
external forcing by the sun, feedback (positive or negative)
In the following sections I shall start by describing the cut-
proportional to D (the coverage of daisies in that bed), and
down version of Daisyworld. Visualisations of the
a ‘leakage’ factor whereby some (parameterized)
conditions for steady state will be shown. Then results
proportion of the heat flows from the hotter to the cooler
obtained through computer simulations integrating the
daisybed. Unlike the original model, there is no direct
equations to a steady state will be given. The conditions
interaction between DB and DW.
and parameter values will be manipulated to see just how
far they can change whilst maintaining robustness.
I shall draw some very general conclusions, and to A Single Daisybed
demonstrate their generality apply them to a very different Initially we can simplify still further by just looking at the
domain of active perception. Here a simulated robot is behaviour of a single daisybed; consider one half only of
supplied with oriented light-sensors that display a similar figure 2. T is the temperature of a bed with albedo , S the
α
Hat function response to a light source. Feedback directly temperature of the Sun, and deep space is at zero
coupled to this response will change the orientation of the temperature. In a simplified, distorted version of physics,
light-sensor in (a random choice of) either positive or heat flow into the bed from the Sun is (1 - )(S - T), and
α
negative direction. Collectively the coupling between many out of the bed into deep space is (T – 0), i.e. T.
such individual light-sensors determines the global D is now the quantity of daisies (rather than growth rate),
orientation of the robot. The result is homeostasis in the which varies according to a Hat function of the local
sense that collectively the system acts so as to maintain, as temperature T: D=H(T). In the simplest version, where we
far as possible, the light-sensors oriented to the light so as assume there is feedback linearly proportional to D to raise
(or lower) the local temperature T, this feedback is uD: for towards A, rather than its default left limit of D. Clynes
black daisies u is a positive feedback to increase the (1969) put forward the notion of Rein Control, in
temperature, for white daisies u is negative. commenting that biological systems typically have (at least)
The rate of change of flowerbed temperature is two channels for sensing and regulating variables: one (or
dT more) in one direction from the norm, another in the other
=(1−α)(S −T) −T +u.H(T) direction. This notion has received relatively little currency,
dt
although it is taken up in recent work drawing ideas from
Equilibrium is when the rate of change is zero: Daisyworld theory and applying them in modified form to
0 = (1 − α ) S − (2 − α )T + u.H (T ) physiological control (Saunders et al. 1998). The rein
(2 − α )T − (1 − α ) S metaphor is appropriate as a rein can only pull, not push.
H (T ) =
u Hence for control in both directions we need a further
For fixed S , u , α , this is linear in T with zero value when feedback loop, as in the following extension to the
(1 − α ) S simulation; we need both reins.
T=
(2 − α )
Two Daisybeds
The line has slope ( 2 − α ) / u . The equilibrium points are
For the simulation, we assume 2 daisybeds whose bare
where this straight line crosses the Hat function.
ground is grey with albedo 0.5. One bed can support only
black daisies with a lower albedo (typical value used 0.0);
Amount of Daisies
140
120
D_B
100 60
T_B D_W
80 T_W 40
Avge Temp
60 20
%age Daisies
D_B
D_W
40 0
50 60 70 80 90 100 110 120 130 140 150
20
200
Figure 7. The daisies are given different, narrower, Hat
T_B functions: black’s from 115-120, white’s from 80-85. There
150 T_W is coexistence of both daisies between 93 and 112.
Avge Temp
100 D_B
D_W Moving the Hat functions. Figure 7 shows that there is
still homeostasis when the viability zones (Hat functions) of
50 the daisies are shifted relative to each other. Note from the
figures in the caption, black is here shifted towards the
0 hotter end, white towards the cooler end.
50 70 90 110 130 150 170 190 210
Figure 5. L=0. Daisybeds are independent, and only in the Moving to Active Perception
range 90-110 on horizontal axis do both daisies coexist.
We have seen above how the simple yet powerful
Minimum conductance. When L=0, the two daisybeds are combination of a Hat function with a feedback loop (either
completely unconnected, and behave as if they were positive or negative) produces Rein Control, and in the
separate planets each regulating itself; the black bed context of Daisyworld, homeostasis; the Hat function
extends its viability only towards lower sun temperatures, directly relates to the idea of a zone of viability, and Rein
the white bed only towards higher. See figure 5. Control tends to regulate a system to stay within it. The cut-
down Daisyworld has reproduced the basic homeostatic rotation of the robot, are calculated in simulation with
results of the usual version; though the simpler equations similar liberties and simplifications used for modeling the
used means that it does not reproduce the phenomenon physics as were used in modeling Daisyworld, whilst
whereby the average planetary temperature actually respecting the general principles. The end result is that,
decreases slightly as solar luminosity increases. despite the random parameterization of all the tentacles,
Such a powerful principle can be extended to other this robot efficiently performs phototaxis.
0.6
domains, and here it is demonstrated with active perception
in a simple simulated 2-dimensional robot. Despite the very 0.4
different domain, the underlying principles are identical.
D 0.2
Target Orientation
Radians
Robot Orientation
0
1 10000
-0.2
B A -0.4
C -0.6
Figure 9. Time runs horizontally across this graph from the
left, and the heavy line indicates the orientation of the nose
in radians. The lighter line indicates a light source passing
Figure 8.Circular agent can only rotate about its centre; in wide, sinusoidal fashion across the front of the robot.
orientation is indicated by nose C, currently facing East.
One tentacle is shown, with sensor at end A. As indicated in figure 9, the robot will immediately pick
up on a passing light source, and track it so accurately that
One sensory tentacle is shown in the plan view of figure thereafter the plots coincide. Further testing shows that this
8. For fans of Doctor Who, think in terms of a Dalek. The behaviour is exceptionally robust to changes in the allowed
tentacle rotates around the centre of the robot, and has a ranges for the randomly chosen parameters. The maximum
sensory angle of acceptance as indicated at the end A. If a angle of acceptance can be allowed to vary over 3 orders of
light source passes across this receptive field, the sensor magnitude, out as far as 3 radians (or nearly 1800) each
response is given by a Witch’s Hat function, with maximum side. The upper limit on torque parameters and spring
response when the tentacle points directly at the source. constants can be allowed to vary over more than 2 orders of
This response produces a torque D on the tentacle A, in this magnitude; phototaxis is still reliable.
case shown as left or counter-clockwise. D is counteracted 1.2
by a restraining spring B attached to the nose C. Two
parameters, specific to this tentacle, modulate the torque 1