Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: theory: science

Topic: biology and reaction networks


view this post on Zulip Joe Moeller (Oct 07 2025 at 18:54):

John Baez said:

I don't know a definition of "program" other than the definition in computer science! Maybe there is one.... okay, yes, you can ask for the program at a concert.

There's also non/linear programming as in optimization, the program(me) of a conference, a person's research program. My wife was involved in film festivals for a while and I was surprised when she talked about programming. My grandpa called TV shows "programs". Obviously the unifying thing is they're all about detailed instructions/planning. The only objection I could really get is that "program" seems to have a connotation of intention, somehow even more than "code" does, which doesn't exactly make sense for DNA. Well, unless you're talking about synthetic biology, which I think we might be!

view this post on Zulip John Baez (Oct 08 2025 at 09:16):

Okay, I call TV shows programs - maybe only old people do that? But I don't think bacteria have TV shows going on inside them. :upside_down:

In computer science I think there's a difference between an algorithm, and a program (which is a specific realization of an algorithm in some language), and what the physical material of the computer is doing when it's running the program. There are probably even more layers of abstraction (assembly language, etc.). I'm no expert on the ontology of computer science; someone must have thought a lot about this.

Biology probably involves different layers of abstraction: there's no reason to assume it works the same way. So if we're trying to understand the world of life, we shouldn't just transplant the concepts from computer science unthinkingly.

In synthetic biology we are, of course, free to impose any concepts we want, since we're designing new systems. There we are only limited by what works.

Personally I'm more interested in understanding the living world that came before us than synthetic biology. I think we have a very crude attitude toward technology, and we have a lot to learn from the living world if we don't flatten it out. It's been around for a lot longer than us, and it does amazing things we can barely fathom. Right now we're busy pushing the world toward an mass extinction event, which would be the first extinction event on Earth caused by a supposedly intelligent organism that messes with the biosphere too much before understanding it.

view this post on Zulip John Baez (Oct 08 2025 at 09:25):

Anyway, I'm interested in this paper by Corentin:

and would be happy to talk about it!

view this post on Zulip Corentin Briat (Oct 08 2025 at 10:11):

I am happy to answer any question regarding this paper. It is an extension of the results in the Cell Systems paper I previously mentioned.

view this post on Zulip Corentin Briat (Oct 10 2025 at 11:06):

John Baez said:

I like how your second paper blends control theory with the study of reaction networks. I wrote a book on reaction networks and Petri nets... not using category theory, but later I started working with them using category theory. I feel there's a lot left to be done, but people seem to be having trouble knowing how to start. Maybe if we talk here you can come up with something good.

I am reading at the moment the book on reaction networks and Petri Nets. I may have a few questions at some point but I am waiting to be towards the end to ask them. I am almost done with the book.

view this post on Zulip John Baez (Oct 10 2025 at 12:06):

Great! I don't have any intelligent questions about your paper yet, but I'm going to want to know how you prove ergodicity.

view this post on Zulip Corentin Briat (Oct 10 2025 at 14:03):

We construct Foster-Lyapunov functions and show irreducibility of the state-space. It does not cover all open reaction networks, only unimolecular mass-action networks, certain classes of unimolecular mass-action networks, and certain classes of bimolecular networks.

view this post on Zulip Corentin Briat (Oct 10 2025 at 14:04):

This relies on results by Meyn and Tweedie.

view this post on Zulip Corentin Briat (Oct 10 2025 at 14:07):

Our earlier paper on the topic: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003669 and the paper of Meyn and Tweedie: https://meyn.ece.ufl.edu/wp-content/uploads/sites/77/archive/spm_files/Papers_pdf/meytweIII.pdf

view this post on Zulip Corentin Briat (Oct 10 2025 at 14:12):

If this is not clear, I am happy to provide more details or answer any questions.

view this post on Zulip Corentin Briat (Oct 10 2025 at 14:13):

Regarding the PLoS paper, all the interesting stuff is in the Supplementary Information https://doi.org/10.1371/journal.pcbi.1003669.s001

view this post on Zulip Corentin Briat (Oct 12 2025 at 08:41):

@John Baez I am now done with the book. It was a very nice read. I was quite familiar with a lot of the contents, so it went fast but I learned quite a few new things that will certainly be useful in the near future, I am sure. I also got a bunch of new references I was not aware of. I will need to go through them soon.

view this post on Zulip John Baez (Oct 12 2025 at 09:32):

Great!

view this post on Zulip Corentin Briat (Nov 03 2025 at 10:09):

@John Baez @Adittya Chaudhuri The workshop I mentioned the other time is approaching (Nov. 19). We will post the full program on the website https://www.biocontrolseminars.org/workshop-2025. Maybe some of the talks could be of interest to you. Some will be technical, some more experimental.

view this post on Zulip Adittya Chaudhuri (Nov 03 2025 at 13:14):

Thanks very much @Corentin Briat. I just registered. Looking forward to attending the talks on November 19th.

view this post on Zulip Adittya Chaudhuri (Nov 03 2025 at 13:24):

I was reading about Boolean control networks for some days. I find the concept interesting (although I need some more time to learn more concretely). From the point of "controlling gene regulatory networks", it would be great to get some overview on the present state of research on the applications of Boolean control networks in gene regulatory networks.

view this post on Zulip Corentin Briat (Nov 03 2025 at 13:51):

Great, thanks for your interest. If you face any issues or anything else, feel free to contact me directly.

view this post on Zulip Corentin Briat (Nov 03 2025 at 14:12):

Boolean networks are elegant mathematical/theoretical constructs, but they can sometimes be too abstract or detached from practical biological applications. From a purely theoretical standpoint, significant work has been published on the analysis and control of Boolean networks, for instance Analysis and Control of Boolean Networks

view this post on Zulip Adittya Chaudhuri (Nov 03 2025 at 15:38):

Thank you.

view this post on Zulip Ryan Wisnesky (Nov 03 2025 at 20:44):

I'm surprised the idea of computation as re-writing didn't appear on this thread. A lot of CS theory models a program as a collection of rewrite rules, for example, 1+1 rewrites to 2 and x+0 rewrites to x, etc. (Even CQL turns category presentations into directed re-write rules.) That looks a lot to me like chemistry: H2 + O rewrites to H2O, etc. So it seems to me like you can get a very basic correspondence between chemistry and computation simply by considering "weights" in re-writing theory.

view this post on Zulip Jacques Carette (Nov 03 2025 at 21:49):

The downside of basing computation on rewriting is that for many cases, it ends up in the wrong complexity class. Polynomial arithmetic being an easy example.

That's not to say that rewriting isn't a good model for physical theories where physical proximity is important (including biology and chemistry in 'physical').

view this post on Zulip Peva Blanchard (Nov 03 2025 at 23:30):

Ryan Wisnesky said:

I'm surprised the idea of computation as re-writing didn't appear on this thread. A lot of CS theory models a program as a collection of rewrite rules, for example, 1+1 rewrites to 2 and x+0 rewrites to x, etc. (Even CQL turns category presentations into directed re-write rules.) That looks a lot to me like chemistry: H2 + O rewrites to H2O, etc. So it seems to me like you can get a very basic correspondence between chemistry and computation simply by considering "weights" in re-writing theory.

A long time ago I stumbled upon the Kappa language which seems to fit this description. They also mention Bionetgen and Mød. I don't know if these projects are still active today.

view this post on Zulip John Baez (Nov 03 2025 at 23:33):

@ww does simulations in Kappa, and he's trying to adapt some of those ideas to the AlgebraicJulia software (based on category theory) that our team is using, like AlgebraicRewriting.jl. This is the sort of thing we talk about a lot.

view this post on Zulip Nathaniel Virgo (Nov 04 2025 at 09:46):

MØD is still active for sure, there's a steady stream of papers using it.

view this post on Zulip ww (Nov 04 2025 at 22:39):

Kappa is alive and well. I started out using it for synthetic biology but during the acute phase of the pandemic found that it is well suited to epidemics. We also found ourselves chafing against some design choices (such as the "rigidity" property of port graphs that makes the expensive subgraph isomorphism checking much, much cheaper) which is a good part of my motivation for working on AlgebraicRewriting.jl. Eventually I would like to have a Kappa-like language front end for it which should get a really nice balance of expressivity and efficiency.

view this post on Zulip ww (Nov 05 2025 at 13:32):

John Baez said:

You say "the program", but I explained that there's no "program" in a bacterial cell: a "program" as we normally understand it is a symbol string that directs something to carry out a precise sequence of instructions.

I am also used to thinking of a DNA (or RNA) sequence like a program, it certainly is a symbol string and the action of proteins like RNA polymerase on the sequence is to slide along and read it and execute the instructions by producing proteins. But it is a fundamentally parallel process, it is noisy and it can have crosstalk. So quite different from our well-behaved silicon computers. And the nucleic acid computational gadget interacts with other computational gadgets in a cell like the protein-protein interactions.

view this post on Zulip John Baez (Nov 05 2025 at 17:02):

I think the mechanism of the cell is so fundamentally different that considering it a "noisy" version of our "well-behaved" computers is pretty misleading.... it can fool us into thinking the strangely different features of biology are suboptimal, while neglecting that cells need to survive under vastly more changeable conditions than a computer sitting on a shelf - and they need, most of all, to reproduce!

view this post on Zulip Corentin Briat (Nov 05 2025 at 17:38):

Interesting read on the topic: Wetware: A Computer in Every Living Cell by Dennis Bray.

view this post on Zulip ww (Nov 05 2025 at 23:50):

I certainly agree that we should not be fooled like that. The biggest difference to me is that there is no high-level language and the program, having been evolved rather than written, is unlike any program a human might write.

I am reminded of an experiment that someone (I forget who, I'll try to find the paper) did in the 1990s with an FPGA board and a genetic algorithm. An FPGA is a kind of computer chip where you can rewire the gates in software. They set an objective which was to react to some input (maybe it was temperature) and produce some output (maybe it was turn on or off the heating or turn on a light or something) and set the genetic algorithm running. The resulting hardware configuration was nothing like an engineer would do. No modularity and separation into logical blocks or anything like that. The circuit that developed used odd effects like stray capacitance between adjacent paths which engineers try to avoid and we basically pretend do not happen.

Maybe I am mangling the story a bit because it's been a long time since I read the paper, but that's the general idea.

So I think similarly about DNA and cellular processes: they truly are computational devices but the way they are programmed (or rather have programmed themselves in response to evolutionary pressures) is radically different from our computer science.

view this post on Zulip ww (Nov 05 2025 at 23:57):

"An evolved circuit, intrinsic in silicon, entwined with physics" by Adrian Thompson https://link.springer.com/chapter/10.1007/3-540-63173-9_61

(Non-paywall version: https://gwern.net/doc/ai/1997-thompson.pdf)

The task was tone discrimination.

view this post on Zulip Corentin Briat (Nov 06 2025 at 06:27):

@ww Many papers have been published recently that report curious circuit designs using genetic algorithms or similar, and researchers are trying now to decypher them and understand their structure. As you mention, those circuits do not seem to exhibit any clear modular structure, as is the case of a cell for instance, where everything is pretty much coupled with everything via cross-talk and resource sharing. The lack of modularity is certainly one of the main challenges in understanding how a cell works. From an engineering perspective, we also lack the tools to create non-modular designs, that would achieve a certain function under some constraints, such as cost/ energy constraints, in a rather monolithic manner. This is something I have been thinking about for quite some time now.

view this post on Zulip Adittya Chaudhuri (Nov 06 2025 at 16:44):

Corentin Briat said:

From an engineering perspective, we also lack the tools to create non-modular designs, that would achieve a certain function under some constraints, such as cost/ energy constraints, in a rather monolithic manner. This is something I have been thinking about for quite some time now.

Can we think of non-modular design as a kind of integrated framework?

For example, these papers:

Integration of large-scale metabolic, signaling, and gene regulatory networks with application to infection responses by Richard et al.

Dynamic Analysis of Integrated Signaling, Metabolic, and Regulatory Networks by Lee et al.

talked about integrating signalling pathways, metabolic networks and gene regulatory networks into a single framework to achive something (eg: infection response).

view this post on Zulip Kevin Carlson (Nov 06 2025 at 19:54):

ww said:

I certainly agree that we should not be fooled like that. The biggest difference to me is that there is no high-level language and the program, having been evolved rather than written, is unlike any program a human might write.

Surely it's also a central point that biological function is not actually a mathematical function of the DNA sequence? I'm not at all solid on the biology, but my impression is that this has been one of the big struggles in maximizing the impact of modern genomic science: even if you know what protein a gene codes for, you still have to figure out its geometry, and then there's all kinds of RNA and epigenetics and things that also complicate the computational metaphor.

view this post on Zulip Corentin Briat (Nov 07 2025 at 06:42):

@Adittya Chaudhuri I would make a distinction. Integrated does not mean non-modular. For instance, in the second paper you mention, the authors clearly distinguish multiple modules (regulatory, metabolic, and signaling). In this regard, the process they study is viewed as an interconnection of modules. Non-modular, would mean that would have the same system with the same functionality, however we would not be able to clearly distinguish or separate the process into submodules, each with their on clear functionality that could be disconnected and studied on its own. This is essentially equivalent to saying that a reductionist approach does not apply and that this biological system should be approach using a holistic approach.

view this post on Zulip Corentin Briat (Nov 07 2025 at 06:58):

@Kevin Carlson I am not sure to understand your point. The fact that we have difficulties predicting three dimensional structures of proteins based on their amino acid sequence is certainly one problem but this is an independent one. In any way, whether there is a mathematical function between codons and proteins and functionality or not, it does not change the fact that there is a mapping, whatever that mapping is, and biology knows and exploits that. Functionality does not stop at proteins but is also implemented at the network level and RNA/epigenetics does not complicate at all the "computational metphor", rather supports it. Epigenetics is about regulation and so are some types of mRNA such as small RNAs, microRNAs. As a side note, a non-negligible part of the DNA is human is non-coding, meaning that it does not code for proteins, and its functionality is regulatory in essence. For instance, proteins called transcription factors can bind to DNA at certain sites to modulate the activity of a gene. In the end a cell is all about computation and decision making. There are production chains (metabolic networks) to produce molecules required for the cell the survive or house keeping stuffs to make sure that everything is recycled. Oscillators are present to measure time and make decisions based on that. There are receptors (sensors) all over the place on the membrane that measure the environment and this information is transmitted to the inner working of the cells through signaling networks for the cell to make an appropriate decision, such as for instance, switching carbon source, apoptosis, compensate for shock, etc.

view this post on Zulip Adittya Chaudhuri (Nov 07 2025 at 11:07):

Corentin Briat said:

This is essentially equivalent to saying that a reductionist approach does not apply and that this biological system should be approach using a holistic approach.

Thanks!! I got your point now.

For example, one may study the time-varying gene expression data (find correlations between various gene expressions) with respect to a set of signals to a cell. One may use various methods of data analysis for the same. One may obtain certain conclusions "about how various genes are coexpressed with respect to various signals". Now, one may try to build an integrated model comprising signalling pathways, metabolic networks and gene regulatory networks associated with the given signals entering the cell in such a way that dynamics of the integrated model matches the "conclusion of the data analysis" (upto certain extent) when we fit the model with the required biolgical data. Of course, this model is not perfect as it depends on a certain hypothesis to match the output of the model with the biological conclusion coming from the conclusion of the said data analysis of gene expressions. Can we think of this model as a model built from an holistic approach? If yes, then, other than starting from data, what are some approaches to model cellular decision making which can be considered as a holistic approach?

view this post on Zulip Corentin Briat (Nov 08 2025 at 07:34):

@Adittya Chaudhuri This is a very good question. I do not have a definitive answer, only an opinion.

In general, a holistic approach means analyzing a system as a whole rather than as a collection of independent modules that can be studied separately, which would correspond to reductionism.

Let us consider a simple unicellular system such as a bacterium. A truly holistic approach would involve studying the entire cell directly, without decomposing it into subsystems that are analyzed in isolation. However, if the organism exhibits some form of modular structure, then analyzing those modules separately may be acceptable, provided that their environment is also incorporated into the model in some way to account for what we call context dependence.

It is not unreasonable to assume that living systems display some degree of modularity, and this is precisely the assumption made when we study specific mechanisms or pathways, myself included. This simplification is necessary because a fully holistic approach remains far beyond our reach. We currently lack the biological understanding, computational resources, and mathematical tools required to model a living system in its entirety.

Regarding your question, I would say that under certain weak modularity assumptions, where the overall signaling, metabolic, and regulatory networks are only loosely coupled to the rest of the cell, such an analysis could be considered holistic in a broad sense. However, this is rarely the case in practice and probably never will be completely true. Still, we need to start somewhere.

Ultimately, data are the only direct source of information we have about biological processes. We can try to build phenomenological or mechanistic models to represent these data and attempt to reverse engineer what is happening. However, we often face fundamental limitations, such as the lack of predictive power: these models frequently fail to predict the outcome of new experiments or the emergence of previously unobserved behaviors, even qualitatively.

If the goal of a model is simply to reproduce existing data, then yes, we know how to do that, and in fact, the vast majority of papers published in reputable biology journals report exactly this kind of modeling.

view this post on Zulip Adittya Chaudhuri (Nov 08 2025 at 13:37):

@Corentin Briat Thanks very much for your explanation on the holistic approach.

view this post on Zulip Adittya Chaudhuri (Nov 08 2025 at 13:50):

Corentin Briat said:

Ultimately, data are the only direct source of information we have about biological processes. We can try to build phenomenological or mechanistic models to represent these data and attempt to reverse engineer what is happening. However, we often face fundamental limitations, such as the lack of predictive power: these models frequently fail to predict the outcome of new experiments or the emergence of previously unobserved behaviors, even qualitatively.

If the goal of a model is simply to reproduce existing data, then yes, we know how to do that, and in fact, the vast majority of papers published in reputable biology journals report exactly this kind of modeling.

I agree.

If we consider a Boolean model of a gene regulatory network (although it forgets many details) and study the properties of the attractors to conclude something on the behaviour of the cell and only then we test our hypothesis on some data set, can we count the approach as a holistic approach in a trivial way (as we have ignored the existence of any other modules like signalling networks, metabolic networks,..etc) ? Thus, in a way (if I am not misunderstanding), the model of the cell reduces to the Boolean model of the gene regulatory network in the cell .

view this post on Zulip Corentin Briat (Nov 09 2025 at 19:48):

@Adittya Chaudhuri I am not sure to understand your question. But it is difficult a priori to say if a approach is "holistic enough" in the case of biology. But if you assume that the content of the cell is just regulatory networks and model that as a whole, then yes I would say that it would count as a holistic approach. In reality, that will not be the case, though.

view this post on Zulip Adittya Chaudhuri (Nov 10 2025 at 16:58):

Thanks. I am getting your points.