# Long-term survival of a species requires diversity: a case of Tribbles

We will see that the long-term survival of the species requires diversity.

Here, the word “diversity” means the difference in personal preferences and, eventually, their divergence from rationality on the personal level. It might be related, or completely unrelated to the physical parameters, such as shape, size, social background or skin/eye colour.

The species with 100% fully rational individuals (within the frame of their experience and current circumstances) are expected to die off. The alternative approach that we tend to follow naturally – it ensures our survival as the species – is the probability matching. A simple example of the probability matching is as follows: suppose there are 2 possible outcomes, one that occurs with the probability of 95% and the other one that occurs with the probability of 5%; then we optimize for the first outcome with the frequency of 95% and for the second outcome with the frequency of 5%.

The ideas below come from Professor Andrew Lo‘s book Adaptive Markets, which I warmly recommend. Even though its subject is a financial markets theory, it discusses a wide range of subjects. One of them is a simple mathematical model that shows that long-term survival of a species requires diversity (see pages 190-205).

# The Model: The Valley vs. Mountains

In the model presented in the book, a tribble is a simple creature that lives only for one season, produces 3 offsprings, then dies of old age, unless it dies of a natural disaster earlier.

Any tribble can choose where to live: in the valley or in the mountains. Once their choice is made, it cannot be changed.

Each season, a natural disaster strikes. If the weather is sunny, which is more likely, the draught in the mountains will kill all tribbles that live there. Those who are in the valley will survive.

If it is not sunny, it will rain, and the valley will be flooded. All tribbles who have chosen to nest in the valley will drown. Those who are up in the mountains will survive.

# Individual Survival vs. Species Survival: Quick Conclusions

Obviously, on the individual level, it makes sense to live in the valley, because the sunny weather is more likely, and thus the chances of survival of those who live in the valley are greater.

However, if all tribbles were making this rational (on the individual level) choice, the whole population would be wiped out during the first rainy season.

Therefore, individual irrationality (the “unhealthy obsession” with the mountains?) of a part of the population seems to be a prerequisite of species survival. In other words, the eccentricity of mountain tribbles seems to be an adaptation feature on the level of the population as a whole.

# The Optimal Number of Irrational Tribbles

## Naive Approach: Maximizing The Expected Number

We need to define what “optimal” means; this is not trivial.

If we were wishing to maximize the expected number of tribbles, then it is easy to show that there should be 0 irrational tribbles. However, with a substantial probability, the population of tribbles will be wiped out. Thus, this is a very risky strategy.

Let’s put some numbers on this claim.

- Let
*s*be the probability that it is sunny; this implies that the probability of rain is*1-s*. - Let
*v*be the proportion of tribbles who choose the valley; it means that*1-v*out of all tribbles will choose the mountains. - Let
*k*be the number of children (*k*for kids) each tribble has. - Let
*G*be the number of generations that we set as the horizon for our study. - Let
*N*be the number of tribbles at the beginning of our study.

So, if there are 0 irrational tribbles (v=1), the population will grow by the factor and will be

If each tribble has 3 children, the chances of rain are 5% and we have the horizon of 100 generations,

- with the probability of 99.4%, the tribbles will become extinct;
- with the probability of 0.6%, there will be approximately 515377520732011000000000000000000000000000000000 times more tribbles that there were initially.

So, even though this strategy maximizes the expected number of tribbles, it is too risky to be accepted because of the high probability of tribbles’ extinction.

Thus, we need to find a balance between the expected size of the population and the risk. The “optimal strategy” is, in fact, a subjective concept, its choice depends on the risk appetite of the decision maker(s).

## Approach From The Book: Maximizing The Expected Growth Rate

Now let us consider optimizing the expected logarithmical growth rate of population growth, as suggested in the book. If it is sunny, the number of tribbles in the next generation will grow by the factor of

and if it rains, the number of tribbles in the next generation will grow by the factor of

Therefore, the expected logarithmical rate of population growth per generation will be

Solving its first derivative w.r.t. *v* yields that the maximal rate of growth is reached when

That is, if the chances of sunny weather are 95% (s = 95%), then 95% of tribbles should nest in the valley (v = 95%) in order to maximise the expected growth rate of the population. As mentioned in the book, this strategy is called probability matching.

## Reasons For Maximizing The Expected Growth Rate

There is no immediate reason to optimize the expected population growth rate: unlike the expected population size, it has no “physical” meaning. However, we would expect the risk to be much lower since the strategy is much less extreme than the “always choose the best” strategy we have seen earlier. Also, it is very convenient from numerical/computational point of view.

As one could have expected, a similar problem arises in finance, in money management studies. Optimization of the growth rate in the context of money management is called the Kelly criterion. In the original paper, published by John Larry Kelly Jr. in 1956, the author shows that choosing to optimize the growth rate helps to avoid ruin, but he does not explore the alternatives. As per this discussion, it is claimed that there is no reason why optimizing for the growth rate is à priori optimal. In fact, this is just one of many criterions that (implicitly in this case) include the penalty on risk.

To decide on the optimal strategy, we need measures that factor in both expected growth and the risk of drastic reduction/extinction of the population. The science of finance, that deals with similar problems (maximize the profit and minimize the risk of default) offers us several measures that we could study.

## Penalty On Risk

There are several possible explicit measures of risk that can be used for defining the penalty:

- Volatility: roughly speaking, this is the average deviation from the mean;
- Expected shortfall: this is the average over α% worst outcomes, α being a user-defined threshold, typically 1% or 0.1%;
- Maximum drawdown: it is the maximum loss from a peak to a trough before a new peak is attained;
- Lower partial moments, a.k.a. downside deviation: roughly speaking, this is the average return over all returns that are below a certain user-defined threshold.

The first two measures only take the final size of the population as the input, whereas the other two require the information about the evolution of the population size. Since we are only interested in the final number of tribbles, the first two measures are more relevant for our study.

## The Formulae For The Number of Tribbles

One can show that the number of tribbles can be defined using the binomial distribution (over a number of sunny days). We can use it to derive several closed-form formulae.

We have a slight technical difficulty because of the discretization. Indeed, suppose there are 50 tribbles, and 5% are expected to go to the mountains. 5% of 50 is 2.5 tribbles, and we can only expect an integer number of tribbles to go to the mountains! So we will do the roundings randomly, with the probability of rounding up or down such that the expectations are matched!

With this assumption, the probability of having exactly g rainy reasons is

The number of tribbles after g rainy reasons (and (G-g) sunny seasons) is

The expected number of tribbles is

The variance of the number of tribbles is

The log growth of the number of tribbles is

We can compute the expected shortfall as a sum of a series. The probability that there will be R or more rainy days is

The expected number of tribbles is there were R or more rainy days is

To compute the shortfall, we will first need to find R such that the resulting probability matches the expected shortfall we had defined, then use this R to compute expected number of tribbles is there were R or more rainy days – this will be our expected shortfall.

# The Optimal Number of Irrational Tribbles: Numerical Model

My simulation results agree with Professor Lo’s statement about the optimality of probability matching for logarithmic growth maximization.

However, the expected number of tribbles and our risk measures – the volatility and the expected shortfalls – computed for a range of values for mountains probability do not immediately suggest that the probability matching is fully optimal. However, for each setting, it appears to be a “good enough” choice, thus making it a great rule of the thumb for the situations when a more sophisticated analysis is not available.

The decision on the best strategy ought to depend on the risk appetite of the decision maker.

The code I have used for simulation can be found here. The results can be viewed here.

# Additional Information

- “It is not the strongest of the species that survives, nor the most intelligent that survives. It is the one that is most adaptable to change.” Supposedly from On the Origin of Species, this quote is all over the web. However, Charles Darwin never said that. This quote comes from a management studies text.
- As per Adaptive Markets, people find the probability matching strategy seems intuitive. Indeed, we can even use it wrongly when a simpler, “always choose the best”, strategy is optimal, thus creating a cognitive bias.

## Leave a Reply