Replicator dynamics and the simplex as a vector space

December 1, 2017 by Artem Kaznatcheev

Over the years of TheEGG, I’ve chronicled a number of nice properties of the replicator equation and its wide range of applications. From a theoretical perspective, I showed how the differential version can serve as the generator for the action that is the finite difference version of replicator dynamics. And how measurements of replicator dynamics can correspond to log-odds. From an application perspective, I talked about how replicator dynamics can be realized in many different ways. This includes a correspondance to idealized replating experiments and a representation of populations growing toward carrying capacity via fictitious free-space strategies. These fictitious strategies are made apparent by using a trick to factor and nest the replicator dynamics. The same trick can also help us to use the symmetries of the fitness functions for dimensionality reduction and to prove closed orbits in the dynamics. And, of course, I discussed countless heuristic models and some abductions that use replicator dynamics.

But whenever some object becomes so familiar and easy to handle, I get worried that I am missing out on some more foundational and simple structure underlying it. In the case of replicator dynamics, Tom Leinster’s post last year on the n-Category Cafe pointed me to the simple structure that I was missing: the vector space structure of the simplex. This allows us to use linear algebra — the friendliest tool in the mathematician’s toolbox — in a new way to better understand evolutionary dynamics.

Given my interest in operationalization of replicator dynamics, I will use some of the terminology and order of presentation from Aitchison’s (1986) statistical analysis of compositional data. We will see that a number of operations that we define will have clear experimental and evolutionary interpretations.

I can’t draw any real conclusions from this, but I found it worth jotting down for later reference. If you can think of a way to make these observations useful then please let me know.

Given a list of arbitrary positive numbers — say the population sizes of D types — we will define their closure as

where is the total of the numbers. The closure operator also takes us from to the simplex interior . Dynamically and experimentally, we can think of this — as we did before — as replating.

To make into a vector space over , we need to define addition of vectors and multiplication by scalars . Given and , we can do this as:

I encourage you, dear reader, to check that these two operations satisfy the axioms of a vector space, with zero element given by the uniform distribution .

This vector addition has a straightforward evolutionary interpretation. To notice this, we just need to look at the suggestively labelled and see what each entry in the vector expands to:

where .

In other words, in this vector space, the discrete time replicator equation is just the addition of the fitness vector to the population distribution.

If the fitness vector w is constant then starting with a population distribution x and iterating forward n times gives us . In the limit as , this dynamic forgets the initial distribution and takes us to the boundry of the simplex, giving us a uniform distribution over the maximum elements of w and setting all other elements to zero. Survival of the fittest.

We can also search for friendly faces among the linear operators on this vector space. One of the nicest ones is the cross entropy:

It is not difficult to check that this is indeed linear:

With this observation in mind, we could define a dual space over the elements with the normal addition and multiplication on x. The dual pairs would have a natural interpretation, but wouldn’t form an inner-product.

But linear algebra is nicer for inner-product spaces. And in compositional data analysis, it is customary to turn the simplex into an inner-product space by defining the Aitchison inner-product as:

Unfortunately, I don’t know an intuitive interpretation for this inner-product or what aspect of typical evolutionary experimental set-ups it would be capturing. Do you have ideas?

With these observations hanging out right near information theoretic constructs like entropy (and also linear algebra) suggests that there should be some ways to use this to push for better algorithms for learning replicator dynamics or measuring effective games. Maybe a way to push forward on estimating reductive games and spacial structure together. Things I’ll continue to think about in the future. Even if I have no new ideas right now.

References

Aitchison J. (1986), The Statistical Analysis of Compositional Data, Chapman & Hall