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: learning: questions

Topic: Hoel et al on emergence


view this post on Zulip David Corfield (Oct 24 2025 at 11:44):

Erik Hoel has a series of papers with coauthors looking to understand emergence. Seeing the most recent one come out the other day reminded me that I was contemplating a category-theoretic understanding of his approach a while ago.

Central to his position is the idea of seeing how near we are to situations where a cause necessarily and sufficiently brings about its effect. So Comolatti and Hoel (Causal emergence is widespread across measures of causation) explore emergence in terms of differences in causal strength (CS) calculated at different levels, where CS is measuring the control one has on effects (E) via causes (C). If this were perfect, there would be an isomorphism CEC \to E.

In general, the process is a probabilistic mapping, a matrix with non-negative entries, each row summing to 1.1. A cause is sufficient for an effect if P(ec)=1P(e|c) = 1, and necessary if P(e¬c)=0P(e|\neg c) = 0. Departures over the set of causes and effects correspond to indeterminacy and degeneracy, respectively. A good coarse-graining of a system will display high determinacy and low degeneracy.

I had thought to tie this to

which looks to provide measures of departure from isomorphism via mono and split epi characteristics. They end with a comment on generalizing beyond Set\mathbf{Set}:

Most importantly, we hope to have opened a new avenue in “formal compositionality theory”. The greatest challenge will be to graduate from proof-of-concept examples to ones that reveal more interesting structure, perhaps in non-Set\mathbf{Set}-like categories where a split epi or mono is not simply a surjective or injective map. We have been looking at case studies of this sort, which nevertheless have manageable combinatorics permitting an exhaustive study of their homotopy posets, and we hope to discuss them in future work.

I was thinking then that we might consider departures from isomorphism in the Markov category of finite sets and probability distributions. I think we have that: if each effect has a sufficient cause, then the morphism is a split epi. If each cause is necessary to its effects, then it's mono.

Does that sound right?

view this post on Zulip Matteo Capucci (he/him) (Oct 25 2025 at 09:03):

David Corfield said:

I think we have that: if each effect has a sufficient cause, then the morphism is a split epi. If each cause is necessary to its effects, then it's mono.

How does that work? What is a split epi in the Markov category of finite sets and probability distributions [aka FinStoch\bf FinStoch]?

view this post on Zulip David Corfield (Oct 25 2025 at 09:11):

I think a split epi from AA to BB should be such that for every bBb \in B there's an aa such that P(ba)=1P(b|a)=1. Then there's a suitable deterministic map backwards.

view this post on Zulip David Corfield (Oct 27 2025 at 13:06):

Does something like this crop up in category-theoretic probability theory, where (proximity to) being mono/split epi in a Markov category has the flavour of necessary/sufficient causation? (Hoping the likes of @Tobias Fritz, @Paolo Perrone, @Sam Staton might be able to answer.)

view this post on Zulip Paolo Perrone (Oct 27 2025 at 13:42):

I don't quite know the 'causation' meaning of what follows, but maybe someone finds it suggestive.

I don't know how to relate this to causality, but I hope it helps!

view this post on Zulip David Corfield (Oct 27 2025 at 15:00):

Thanks, Paolo! It seems that many people were after some way of measuring a process as causally efficacious, where the ideal is for a specific effect to be brought about uniquely and deterministically by a specific cause:

image.png

(Causal emergence is widespread across measures of causation, Fig. 1)

For their version of this measure, the latest Hoel paper (with Jansma), Engineering Emergence, looks at how it varies under coarse-graining a Markov chain. Greater determinacy and less degeneracy may emerge after coarse-graining from the microscale.

view this post on Zulip Tobias Fritz (Oct 28 2025 at 05:40):

David Corfield said:

I think a split epi from AA to BB should be such that for every bBb \in B there's an aa such that P(ba)=1P(b|a)=1. Then there's a suitable deterministic map backwards.

Just to confirm this, yes, those are precisely the split epis. You've already explained why the condition is sufficient, and the fact that it's necessary follows from Paolo's comment on almost sure determinism.

The split monos are those P:ABP : A \to B for which the distributions P(a)P(-|a) have disjoint support as aa varies.

view this post on Zulip Tobias Fritz (Oct 28 2025 at 05:44):

David Corfield said:

So Comolatti and Hoel (Causal emergence is widespread across measures of causation) explore emergence in terms of differences in causal strength (CS) calculated at different levels, where CS is measuring the control one has on effects (E) via causes (C). If this were perfect, there would be an isomorphism CEC \to E.

In general, the process is a probabilistic mapping, a matrix with non-negative entries, each row summing to 1.1. A cause is sufficient for an effect if P(ec)=1P(e|c) = 1, and necessary if P(e¬c)=0P(e|\neg c) = 0.

Is this in the setting of a Bayesian network where the DAG is simply CEC \to E? Or are we merely given a stochastic matrix P:CEP : C \to E without a distribution on CC? In the latter case, what does P(e¬c)P(e|\neg c) mean if cc has more than two elements? Perhaps the condition formally reads as P(ec)=0P(e|c') = 0 for all ccc' \neq c?

view this post on Zulip Tobias Fritz (Oct 28 2025 at 05:57):

Assuming that my interpretation of necessary is correct, it looks to me like your idea that "split epi = each effect has a sufficient cause" and "split mono = each cause is necessary to its effects" works out very nicely. Interesting!

view this post on Zulip David Corfield (Oct 28 2025 at 08:46):

Thanks, Tobias! As to the setting for this, in the most recent paper

we see them considering a transition probability matrix, each node considered as a cause probabilistically realising its effects. Then starting out with a distribution over nodes (chosen to be uniform), they can calculate a specificity (= 11- degeneracy) measure and a determinacy measure for the network, TT, and so a value measuring how near the transition probability matrix is to being a permutation matrix, (CP=1CP = 1):

CP=determinacyT+specificityT1CP = \text{determinacy}_T + \text{specificity}_T - 1

I was wondering whether, if we put things in a good category-theoretic setting, then there would be a natural measure of the departure from isomorphism between causes and effects.

Jansma and Hoel then consider all the possible coarse-grainings of the network of a transition probability matrix to see how this CPCP value changes, how the causality appears at different scales.

view this post on Zulip Tobias Fritz (Oct 28 2025 at 09:24):

So in other words, one can more directly write CP=determinacydegeneracyCP = \mathrm{determinacy} - \mathrm{degeneracy}? In this form it reminds me of the index of a linear map. It's not a perfect analogy because of CP = 1 for isomorphisms while index = 0 for invertible linear maps, but perhaps one can make the analogy more precise by using different conventions?

view this post on Zulip David Corfield (Oct 28 2025 at 10:00):

Tobias Fritz said:

So in other words, one can more directly write CP=determinacydegeneracyCP = \mathrm{determinacy} - \mathrm{degeneracy}?

Yes, I was wondering why they did that ("For simplicity’s sake").

I reckon there could be something useful in the paper I mentioned above, Puca et al. Obstructions to Compositionality, and their measure of divergence from isomorphism.

I had a brief exchange with @Caterina Puca on X a while ago. I was wondering about comparison of their work with the cohomological approach of Elie Adam's thesis Systems, Generativity and Interactional Effects

image.png
image.png

and their

image.png

She supported the idea that you can view emergence as failure of compositionality.

view this post on Zulip Tobias Fritz (Oct 28 2025 at 10:00):

On the other hand, you may not want a measure of causal strength to behave like an index, because an index can be negative, and having index 0 is necessary but not sufficient for being an isomorphism.

view this post on Zulip David Corfield (Oct 28 2025 at 11:53):

One might hope for Jansma-Hoel meets Baez-Courser on Coarse-Graining Open Markov Processes. Let's see if @John Baez can help me out.

Is there some kind of measure on open Markov processes which generalizes (and maybe modifies) the quantities that Jansma-Hoel are assigning to closed Markov processes (failure to be a deterministic permutation) so that we can get a handle on what makes for a "good" coarse-graining? Some kind of lax double functor from Mark\mathbb{M}\mathbf{ark} which detects how close a Markov process is to being deterministic and non-degenerate.

view this post on Zulip John Baez (Oct 28 2025 at 16:36):

I don't know the Jansma-Hoel metric (or whatever it is). For finite n, there's a unique nice topology on n x n stochastic matrices, coming from the Euclidean topology on n x n real matrices. Any decent metric should give that topology. But some metrics might be well-motivated.

view this post on Zulip John Baez (Oct 28 2025 at 16:37):

In the infinite-dimensional case things get more tricky.

view this post on Zulip David Corfield (Oct 31 2025 at 09:47):

So it seems that people are thinking about two different things when it comes to emergence, two things which could be jointly treated via double categories.

Loose: The loose direction of double categories of systems is usually associated with composition: the cospan-like composition of open Petri nets, etc.; the span-like composition of the Jan Willems' behavioral approach; the operadic composition of Moore machines.

Tight: The loose direction of double categories of systems is usually associated with comparison of systems which may include locating trajectories of a kind by maps in, but in the context of emergence is usually considered by coarse-graining maps out (think surjections, equivalence classes).

So in the Loose direction we're wondering about the relationship between the properties and behaviours of systems with respect to some kind of sum of properties and behaviours of their parts. We need some kind of mapping (double functor) from our systems and their composition to some measure of their performance.

We're seeing this in

image.png

One example is given of cospan composition of open graphs and the connectedness of nodes. They're looking for deviations from isomorphism of the composition of the connections of subgraphs and the connections of the composition of subgraphs.

We see a comparable approach in Elie Adam's thesis

Meanwhile, in the Tight direction, we're wondering about the effects of coarse-graining on some measurable property/structure. So in the work by Hoel et al. I've mentioned at the start, it's about what coarse-graining does to the description of a system in terms of the quantity they call "CP" at a scale. This is the measure of a system as 'deteminacy minus degeneracy', a distance from there being necessary and sufficient causes for each effect, so an isomorphism between causes and effects.

Hence my interest above in @John Baez's Coarse-Graining Open Markov Processes, since he and Courser place systems (open Markov processes) in a double category and think about the tight direction as coarse-graining. They even provide us with a double functor from the double category of open Markov processes to that of Linear relations, known as "black-boxing". But this is strict so no chance to think about emergence via Puca et al's laxator.

It might be interesting then to have a double category of systems with a lax double functor to a double category of quantities to explore emergence in both directions simultaneously.

view this post on Zulip John Baez (Oct 31 2025 at 10:50):

All this is very nice!

view this post on Zulip David Corfield (Oct 31 2025 at 11:03):

One could perhaps get persistent homology to appear in the tight direction, as in Persistent Homology of Coarse Grained State Space Networks.