Effective games from spatial structure

For the last week, I’ve been at the Institute Mittag-Leffler of the Royal Swedish Academy of Sciences for their program on mathematical biology. The institute is a series of apartments and a grand mathematical library located in the suburbs of Stockholm. And the program is a mostly unstructured atmosphere — with only about 4 hours of seminars over the whole week — aimed to bring like-minded researchers together. It has been a great opportunity to reconnect with old colleagues and meet some new ones.

During my time here, I’ve been thinking a lot about effective games and the effects of spatial structure. Discussions with Philip Gerlee were particularly helpful to reinvigorate my interest in this. As part of my reflection, I revisited the Ohtsuki-Nowak (2006) transform and wanted to use this post to share a cute observation about how space can create an effective game where there is no reductive game.

Suppose you were using our recent game assay to measure an effective game, and you got the above left graph for the fitness functions of your two types. On the x-axis, you have seeding proportion of type C and on the y-axis you have fitness. In cyan you have the measured fitness function for type C and in magenta, you have the fitness function for type D. The particular fitnesses scale of the y-axis is not super important, not even the x-intercept — I’ve chosen them purely for convenience. The only important aspect is that the cyan and magenta lines are parallel, with a positive slope, and the magenta above the cyan.

This is not a crazy result to get, compare it to the fitness functions for the Alectinib + CAF condition measured in Kaznatcheev et al. (2018) which is shown at right. There, cyan is parental and magenta is resistant. The two lines of best fit aren’t parallel, but they aren’t that far off.

How would you interpret this sort of graph? Is there a game-like interaction happening there?

Of course, this is a trick question that I give away by the title and set-up. The answer will depend on if you’re asking about effective or reductive games, and what you know about the population structure. And this is the cute observation that I want to highlight.

Read more of this post


Plato and the working mathematician on Truth and discourse

Plato’s writing and philosophy are widely studied in colleges, and often turned to as founding texts of western philosophy. But if we went out looking for people that embraced the philosophy — if we went out looking for actual Platonist — then I think we would come up empty-handed. Or maybe not?

A tempting counter-example is the mathematician.

It certainly seems that to do mathematics, it helps to imagine the objects that you’re studying as inherently real but in a realm that is separate from your desk, chair and laptop. I am certainly susceptible to this thinking. Some mathematicians might even claim that they are mathematical platonists. But there is sometimes reasons to doubt the seriousness of this claim. As Reuben Hersh wrote in Some Proposals for Reviving the Philosophy of Mathematics:

the typical “working mathematician” is a Platonist on weekdays and a formalist on Sundays. That is, when he is doing mathematics, he is convinced that he is dealing with an objective reality whose properties he is attempting to determine. But then, when challenged to give a philosophical account of this reality, he finds it easiest to pretend that he does not believe in it after all.

What explains this discrepency? Is mathematical platonism — or a general vague idealism about mathematical objects — compatible with the actual philosophy attributed to Plato? This is the jist of a question that Conifold asked on the Philosophy StackExchange almost 4 years ago.

In this post, I want to revisit and share my answer. This well let us contrast mathematical platonism with a standard reading of Plato’s thought. After, I’ll take some helpful lessons from postmodernism and consider an alternative reading of Plato. Hopefully this PoMo Plato can suggest some fun thoughts on the old debate on discovery vs invention in mathematics, and better flesh out my Kantian position on the Church-Turing thesis.

Read more of this post

Models as maps and maps as interfaces

One of my favorite conceptual metaphors from David Basanta is Mathematical Models as Maps. From this perspective, we as scientists are exploring an unknown realm of our particular domain of study. And we want to share with others what we’ve learned, maybe so that they can follow us. So we build a model — we draw a map. At first, we might not know how to identify prominent landmarks, or orient ourselves in our fields. The initial maps are vague sketches that are not useful to anybody but ourselves. Eventually, though, we identify landmarks — key experiments and procedures — and create more useful maps that others can start to use. We publish good, re-usable models.

In this post, I want to discuss the Models as Map metaphors. In particular, I want to trace through how it can take us from a naive realist, to critical realist, to interface theory view of models.

Read more of this post

Bourbaki vs the Russian method as a lens on heuristic models

There are many approaches to teaching higher maths, but two popular ones, that are often held in contrast to each other, are the Bourbaki and Russian methods. The Bourbaki method is named after a fictional mathematician — a nom-de-plume used by a group of mostly French mathematicians in the middle of the 20th century — Nicholas Bourbaki, who is responsible for an extremely abstract and axiomatic treatment of much of modern mathematics in his encyclopedic work Éléments de mathématique. As a pedagogical method, it is very formalist and consists of building up clear and most general possible definitions for the student. Discussions of specific, concrete, and intuitive mathematical objects is avoided, or reserved for homework exercises, Instead, a focus on very general axioms that can apply to many specific structures of interest is favored.

The Russian method, in contrast, stresses specific examples and applications. The instructor gives specific, concrete, and intuitive mathematical objects and structures — say the integers — as a pedagogical examples of the abstract concept at hand — maybe rings, in this case. The student is given other specific instances of these general abstract objects as assignments — maybe some matrices, if we are looking at rings — and through exposure to many specific examples is expected to extract the formal axiomatic structure with which Bourbaki would have started. For the Russian, this overarching formalism becomes largely an afterthought; an exercise left to the reader.

As with many comparisons in education, neither method is strictly “better”. Nor should the names be taken as representative of the people that advocate for or are exposed to each method. For example, I am Russian but I feel like I learnt the majority of my maths following the Bourbaki method and was very satisfied with it. In fact, I am not sure where the ‘Russian’ in the name comes from, although I suspect it is due to V.I. Arnol’d‘s — a famous Russian mathematician from the second half of the 20th century — polemical attack on Bourbaki. Although I do not endorse Arnol’d attack, I do share his fondness for Poincaré and importance of intuition in mathematics. As you can guess from the title, in this article I will be stressing the Russian method as important to the philosophy of science and metamodeling.

I won’t be talking about science education, but about science itself. As I’ve stressed before, I think it a fool’s errand to provide a definition or categorization of the scientific method; it is particularly self-defeating here. But for the following, I will take the perspective that the scientific community, especially the theoretical branches that I work in, is engaged in the act of educating itself about the structure of reality. Reading a paper is like a lesson, I get to learn from what others have discovered. Doing research is like a worksheet: I try my hand at some concrete problems and learn something. Writing a paper is formalizing what I learned into a lesson for others. And, of course, as we try to teach, we end up learning more, so the act of writing often transforms what we learned in our ‘worksheet’.
Read more of this post

The wei wu wei of evolutionary oncology

The world was disordered, rains would come and the rivers would flood. No one knew when. When it rained, plants would grow, but no one knew which were fit to eat and which were poisonous. Sickness was rife. Life was precarious.

The philosopher-king Yu dredged the rivers, cleaned them so they would flow into the sea. Only then were the people of the Middle Kingdom able to grow the five grains to obtain food.

Generations later, Bai Gui — the prime minister of Wei — boasted to Mengzi: “my management of the water is superior to that of Yu.”

Mengzi responded: “You are wrong. Yu’s method was based on the way of the water. It is why Yu used the four seas as receptacles. But you are using the neighbouring states as receptacles. When water goes contrary to its course, we call if overflowing. Overflowing means flooding water, something that a humane man detests… As for Yu moving the waters, he moved them without interference.”

Although Yu made changes to the environment by digging channels, he did so after understanding how the water flowed and moved naturally. He did so with knowledge of the Way. Yu’s management of water was superior to Bai Gui’s because Yu’s approach was in accordance with the Way. This is what evolutionary oncology seeks to achieve with cancer treatment. By understanding how the dynamics of somatic evolution drive tumour growth, we hope to change the selective pressures in accordance with this knowledge to manage or cure the disease.
Read more of this post

Techne and Programming as Analytic Philosophy

This week, as I was assembling furniture — my closest approach to a traditional craft — I was listening to Peter Adamson interviewing his twin brother Glenn Adamson about craft and material intelligence. Given that this interview was on the history of philosophy (without any gaps) podcast, at some point, the brothers steered the conversation to Plato. In particular, to Plato’s high regard for craft or — in its Greek form — techne.

For Peter, Plato “treats techne, or craft, as a paradigm for knowledge. And a lot of the time in the Socratic dialogues, you get the impression that what Socrates is suggesting is that we need to find a craft or tekne for virtue or ethics — like living in the world — that is more or less like the tekne that say the carpenter has.” Through this, the Adamson twins proposed a view of craft and philosophy as two sides of the same coin.

Except, unlike the carpenter and her apprentice, Plato has Socrates trying to force his interlocutors to formulate their knowledge in propositional terms and not just live it. It is on this point that I differ from Peter Adamson.

The good person practices the craft of ethics: of shaping their own life and particular circumstances into the good life. Their wood is their own existence and their chair is the good life. The philosopher, however, aims to make the implicit (or semi-implicit) knowledge of the good person into explicit terms. To uncover and specify the underlying rules and regularities. And the modern philosopher applies these same principles to other domains, not just ethics. Thus, if I had to give an incomplete definition for this post: philosophy is the art of turning implicit knowledge into propositional form. Analytic philosophy aims for that propositional form to be formal.

But this is also what programmers do.

In this post, I want to convince you that it is fruitful to think of programming as analytic philosophy. In the process, we’ll have to discuss craft and the history of its decline. Of why people (wrongly) think that a professor is ‘better’ than a carpenter.
Read more of this post

On the Falsehood of Philosophy: a skeptic’s pastiche of Schopenhauer

Unless falsehood is the direct and immediate object of philosophy, our efforts must entirely fail of its aim.[1] It is absurd to look upon the enormous amount of wrong that abounds everywhere in philosophy, and originates in the words and writings of the greatest thinkers themselves, as serving no purpose at all and the result of mere error. Each separate mistake, as it topples an intricate system of thought, seems, no doubt to be something exceptional; but mistake in general is the rule.

I know of no greater absurdity than that propounded by the jury of Whig historians in declaring failure to be negative in its character. Failure is just what is positive; it feeds its own generating process. Plato is particularly concerned to defend failure as negative. To idealize a world for Forms and eternal Truths. Absurdly, he seeks to strengthen his position by dialogue with a man who knew but one things, he knew nothing. For Socrates recognized that it is success which is negative; in other words, truth and fact imply some discussion silenced, some process of inquiry brought to an end. If we have truth then there is no need for gadflies.

When the gadfly bites: the best consolation for mistake or wrong of any kind will be the thought of past great minds who erred still more than yourself. This is a form of consolation open for all time. But what an awful fate this means for philosophy as a whole!

Read more of this post

Hobbes on knowledge & computer simulations of evolution

Earlier this week, I was at the Second Joint Congress on Evolutionary Biology (Evol2018). It was overwhelming, but very educational.

Many of the talks were about very specific evolutionary mechanisms in very specific model organisms. This diversity of questions and approaches to answers reminded me of the importance of bouquets of heuristic models in biology. But what made this particularly overwhelming for me as a non-biologist was the lack of unifying formal framework to make sense of what was happening. Without the encyclopedic knowledge of a good naturalist, I had a very difficult time linking topics to each other. I was experiencing the pluralistic nature of biology. This was stressed by Laura Nuño De La Rosa‘s slide that contrasts the pluralism of biology with the theory reduction of physics:

That’s right, to highlight the pluralism, there were great talks from philosophers of biology along side all the experimental and theoretical biology at Evol2018.

As I’ve discussed before, I think that theoretical computer science can provide the unifying formal framework that biology needs. In particular, the cstheory approach to reductions is the more robust (compared to physics) notion of ‘theory reduction’ that a pluralistic discipline like evolutionary biology could benefit from. However, I still don’t have any idea of how such a formal framework would look in practice. Hence, throughout Evol2018 I needed refuge from the overwhelming overstimulation of organisms and mechanisms that were foreign to me.

One of the places I sought refuge was in talks on computational studies. There, I heard speakers emphasize several times that they weren’t “just simulating evolution” but that their programs were evolution (or evolving) in a computer. Not only were they looking at evolution in a computer, but this model organism gave them an advantage over other systems because of its transparency: they could track every lineage, every offspring, every mutation, and every random event. Plus, computation is cheaper and easier than culturing E.coli, brewing yeast, or raising fruit flies. And just like those model organisms, computational models could test evolutionary hypotheses and generate new ones.

This defensive emphasis surprised me. It suggested that these researchers have often been questioned on the usefulness of their simulations for the study of evolution.

In this post, I want to reflect on some reasons for such questioning.

Read more of this post

Looking for species in cancer but finding strategies and players

Sometime before 6 August 2014, David Basanta and Tamir Epstein were discussing the increasing focus of mathematical oncology on tumour heterogeneity. An obstacle for this focus is a good definitions of heterogeneity. One path around this obstacle is to take definitions from other fields like ecology — maybe species diversity. But this path is not straightforward: we usually — with some notable and interesting examples — view cancer cells as primarily asexual and the species concept is for sexual organisms. Hence, the specific question that concerned David and Tamir: is there a concept of species that applies to cancer?

I want to consider a couple of candidate answers to this question. None of these answers will be a satisfactory definition for species in cancer. But I think the exercise is useful for understanding evolutionary game theory. With the first attempt to define species, we’ll end up using the game assay to operationalize strategies. With the second attempt, we’ll use the struggle for existence to define players. Both will be sketches that I will need to completely more carefully if there is interest.

Read more of this post

Darwin as an early algorithmic biologist

In his autobiography, Darwin remarked on mathematics as an extra sense that helped mathematicians see truths that were inaccessible to him. He wrote:

Darwin Turing HeadbandDuring the three years which I spent at Cambridge… I attempted mathematics… but got on very slowly. The work was repugnant to me, chiefly from my not being able to see any meaning in the early steps in algebra. This impatience was very foolish, and in after years I have deeply regretted that I did not proceed far enough at least to understand something of the great leading principles of mathematics, for [people] thus endowed seem to have an extra sense. But I do not believe that I should ever have succeeded beyond a very low grade. … in my last year I worked with some earnestness for my final degree of B.A., and brushed up … a little Algebra and Euclid, which later gave me much pleasure, as it did at school.

Today, this remark has become a banner to rally mathematicians interested in biology. We use it to convince ourselves that by knowing mathematics, we have something to contribute to biology. In fact, the early mathematical biologist were able to personify the practical power of this extra sense in Gregor Mendel. From R.A. Fisher onward — including today — mathematicians have presented Mendel as one of their own. It is standard to attributed Mendel’s salvation of natural selection to his combinatorial insight into the laws of inheritance — to his alternative to Darwin’s non-mathematical blending inheritance.

But I don’t think we need wait for the rediscovery of Mendel to see fundamental mathematical insights shaping evolution. I think that Darwin did have mathematical vision, but just lacked the algorithmic lenses to focus it. In this post I want to give examples of how some of Darwin’s classic ideas can be read as anticipating important aspects of algorithmic biology. In particular, seeing the importance of asymptotic analysis and the role of algorithms in nature.
Read more of this post