Sam Sinai

Logo

29 March 2018

Coupon collecting, viral sex, and evolution

by This work was done in collaboration with Jason Olejarz, Iulia Neagu and Martin Nowak.

In this blog post I give a high level overview of our recently published work: Primordial sex facilitates the emergence of evolution (preprint here). To make the model more accesible to non-biologists, I start with a famous probablity puzzle: the “coupon collector’s problem”, add a few additional twists, and argue that this is the underlying probabilities that are interesting for certain biological processes that try to generate complexity through exchange of information. The model is general enough that could find other domains of application, whenever the coupon collector is applicable (learning through merge (like Chomsky and Papadimitriou have explored) is one area I can think of). Here skip the mathematical derivation steps, which are covered in the paper, and jump straight to the results.

The probability puzzle

A well known problem in probability is the so called “ coupon collector’s” problem. It goes as follows: imagine there are \(n\) unique types of coupons and you are trying to collect all of them. Each day you get to pick up a single coupon without knowing its type. The coupon you pick up may be new, or it may be of the type that you already have. The question of interest is how many days does it take for you to collect all \(n\) coupons. In the classical case, often a question in probability courses, the answer is simple to calculate:

\[E(T)= n. H_n \approx n \log n\]

Here \(E(T)\) is the expected time to success and \(H_n\) is the nth Harmonic number. Now consider the following twist, what if, you were allowed to pick up more than one coupon per day, each with independent probability p. Let’s call this variant the “Album collector’s problem”. Each day you collect an album with some coupons in it, and add those that are new to your collection. How many days would it take for you to pick up all of the coupons?

Letting \(q=1-p\), the answer is expressed as

\[E(T)=\sum_{i=1}^n {n \choose i}\frac{(-1)^{i}}{1-q^{-i}} \approx log_q (n)\]

With a little effort one can see that if \(p > 1/n\). This is quite fast. It will take much less time to collect the coupons as compared to the “once a day” routine.

This is well known in the CS community (where it’s used for radix sort and skip lists [1,2]) and in fact some famous geneticists [2] wrote a paper about how it relates to evolutionary search processes on simple fitness ladnscapes.

In our recent work, we add an additional twist. What if, every night, there was a possibility that a “friend” would steal your album with everything you collected so far?

If this probability \(\delta\) was very high, e.g. it was certain (\(\delta=1\)) that you lost everything every night, in order to have a full album you need exponentially many days to collect all coupons at once. This is because an independent sampling of coupons gives a \(p^n\) chance that you will hit all coupons together. But if the friends stealing habits were more sporadic, you might not be in a disastrous shape.

Given p and \(\delta\),we compute the expression for this case exactly (see the article for the details). A harder task is to be able to compare this formula with the best case scenario that you never lose your album (\(\delta=0\)), and the worst case scenario that you lose everything every night.

With a bunch of approximation tricks (including some heavy lifting by Jason) we manage to boil this problem down to a functional form that can be intuitively compared with our boundary cases.

\[E(T) \approx \frac{1}{\delta}n^{(\delta/p)}\]

This quantifies the trade-off for collecting coupons between p and \(\delta\). Given a fixed \(\delta\) w.r.t \(n\), we are no longer in the exponential regime.

The Biology

Why is this interesting? This is not just a probability puzzle. As mentioned before there are collection processes that are simular to this in biology. Early biological cells needed to collect useful stuff (genes, proteins, or other material), but could also collect fatal material in the process. Of particular interest to me, and what inspired this calculation, is the process known as multiplicity reactivation (MR)[3]. In this process, functionally deficient viruses co-infect cells, and “cover” each other’s deficiencies, which allows them to generate fully functional virions and infect new cells. A lot of viral innovation through reassortment also follows this type of collection. Some Timoviruses are obligate cooperators: meaning they require other virions to co-infect with them to function. Of course, \(n\) there is usually small enough that these calculations don’t really save you from disasters, they simply don’t occur.

There are three reasons I find this line of investingation fascinating.

  1. Origin of life: An “auto-catalytic set” is a commonly invoked concept in the origin of life (and so are “compositional genomes”) [4,5]. Most people consider the starting core of this set to be necessarily small due to probabilistic arguments of co-occurence. Because protocells can merge, we argue that the small core is not necessarily a restriction. Cells could have accumulated a large set of functions, in relatively quick manner, even if parasites, division, or death would set them back during the process.

  2. Viral sex: This computation gives hints towards what could have been possible in the viral world. Huge gene transfer and trying new combinations (like MR) could have been going on all the time. Some phages save their dying photosynthetic hosts[6] by introducing necessary genes into them. I think given the efficiency of this process, it might give a bit more plausibility to the “virus first” picture, a hypothesis on the origins of viruses that is currently disfavored (for many good reasons, the “escape hypothesis” is dominant, but it is not mutually exclusive with virus first). The speculative idea here is that viruses with different simple capabilities might have been sexually mixing in their rather empty or dysfunctional protocells, and eventually, helped fully independent reproductive cells emerged. I.e. ancient protocells exchanged modules through virus like entities, and generated an auto-catalytic network of “reactor” protocells and “viral exchange packets” that through a network, resulted in reproduction. At some point a host cell contained all the necessary material to reproduce independently.

  3. Fitness landscapes: Per Wilf and Ewens[2], this type of thinking can be extended to fitness landscapes. In their work, they consider a smooth Mt. Fuji landscape with a global peak. Their model is exactly like ours, except they only consider the case that \(\delta=0\). Our work helps us quantify how in non-smooth landscapes (deaths represents unviable valleys or swamplands, or suboptimal local peaks) , the global peak may be found nonetheless, given a certain amount of local peaks and dead ends.

For a less speculative, more detailed treatment of these ideas, read the main paper. Comments, ideas to extend our work, and feedback is welcome.

Note on the applicability of the model

  1. Artem Kaznatcheev has written a great blog post on this work as well, with a slightly different lens, check it out here. In particular, he points out that the benefits of sex, in the way we describe it, are compromised if there is a strict pairing between division/death events and merging events (namely, e.g. you have to split every time you merge). This is not necessary in protocells and viruses, but certainly relevant in other scenarios. (I will amend more notes here on applicability limitations when I have the chance).

References

[1]Pugh W. 1990 Skip lists: a probabilistic alternative to balanced trees. Commun. ACM 33, 668 – 676. (doi:10.1145/78973.78977)

[2]Wilf HS, Ewens WJ. 2010 There’s plenty of time for evolution. Proc. Natl Acad. Sci. USA 107

[3]Luria, S. E. “Reactivation of irradiated bacteriophage by transfer of self-reproducing units.” Proceedings of the National Academy of Sciences 33.9 (1947): 253-264.

[4]Kauffman, Stuart A. “Autocatalytic sets of proteins.” Journal of theoretical biology 119.1 (1986): 1-24.

[5]Segré, Daniel, Dafna Ben-Eli, and Doron Lancet. “Compositional genomes: prebiotic information transfer in mutually catalytic noncovalent assemblies.” Proceedings of the National Academy of Sciences 97.8 (2000): 4112-4117.

[6]Mann, Nicholas H., et al. “Marine ecosystems: bacterial photosynthesis genes in a virus.” Nature 424.6950 (2003): 741.

tags: