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: event: Categorical Probability and Statistics 2020 workshop

Topic: Jun 8: Alex Simpson's talk


view this post on Zulip Paolo Perrone (Jun 04 2020 at 19:17):

Hey all,
This is the discussion thread of Alex Simpson's talk, "Synthetic probability theory".
The talk, besides being on Zoom, is livestreamed here: https://youtu.be/wsSpaIWqszQ

view this post on Zulip Paolo Perrone (Jun 04 2020 at 19:22):

Date and time: Monday, 8 Jun, 12h UTC.

view this post on Zulip Paolo Perrone (Jun 08 2020 at 11:40):

Hello all! We start in 20 minutes.

view this post on Zulip Arthur Parzygnat (Jun 08 2020 at 12:19):

This is nice, I initially heard an earlier version of some of these ideas from Tao’s blog. This functor viewpoint seems to encode those ideas quite nicely. I'll post a link when I find it... Update: Okay the link is https://terrytao.wordpress.com/2010/01/01/254a-notes-0-a-review-of-probability-theory/ and the notion is that of an extension of a random variable. Alex has a paper developing this in the language of sheaves here.

view this post on Zulip Paolo Perrone (Jun 08 2020 at 12:27):

Yep, this is very very nice!

view this post on Zulip Robert Furber (Jun 08 2020 at 12:51):

:clap: (sorry can't zoom)

view this post on Zulip Bas Spitters (Jun 08 2020 at 12:59):

@Alex Simpson Just to repeat it here. What are your plans for a computable development?

view this post on Zulip Manuel Bärenz (Jun 08 2020 at 13:01):

@Alex Simpson

Maybe a beginner question: By having only sets, do you somehow lose the ability to treat random variables with topology? E.g. real valued ones?

Also, what about probabilities that can't be generated from a random coin toss?

view this post on Zulip Dario Stein (Jun 08 2020 at 13:04):

@Alex Simpson Thanks for the great talk -- are there any notes/papers published on your developments?

To flesh out my comment about random sets. I've showed that in quasi-Borel spaces, the (2^R)-valued random variables {X} and {} have the same law, when X is sampled from a continuous distribution on R. In particular there can be no measurable way of checking if a Borel set is empty. I came to consider this a feature instead of a bug, as it has a nice interpretation in terms of privacy/information hiding of the value of X. I wondered what happens in your theory in this example.

view this post on Zulip Alex Simpson (Jun 08 2020 at 13:58):

Bas Spitters said:

Alex Simpson Just to repeat it here. What are your plans for a computable development?

Thank you for the question, Bas. I very much like the general approach to dealing with "probability measures" constructively/computably that you talked about yesterday. I wonder if this can be combined with an axiomatic notion of random variable, similar to that in my talk. So probability measures on the powerset PX would be replaced by continuous probability valuations on X -> S (where S is your Sierpinski object, I don't remember what notation you used).

(I would prefer to have probability valuations than subprobability as basic and derive subprobability valuations as probability valuations on a "lifted" space. )

view this post on Zulip Tobias Fritz (Jun 08 2020 at 14:00):

Alex's slides are now here (and many other ones are also downloadable from the schedule).

view this post on Zulip Alex Simpson (Jun 08 2020 at 14:09):

Manuel Bärenz said:

Alex Simpson

Maybe a beginner question: By having only sets, do you somehow lose the ability to treat random variables with topology? E.g. real valued ones?

Thanks for the questions, Manuel. Regarding topology, one indeed has a notion of random variable in a set irrespective of whether the set comes with a topology. However, in the case that you do have a topological space, it still makes sense to ask questions about how the probability laws of random variables relate to the topology. I actually use this possibility in what I call the "near Borel axiom", for standard Borel spaces probability laws on the powerset end up being determined by their values on Borel sets, which are (in one way of looking at things) derived from a topology. In particular, I think the treatment of real-valued random variables goes through perfectly smoothly.

view this post on Zulip Tobias Fritz (Jun 08 2020 at 14:10):

This has been super interesting! I'd have two further questions if you don't mind.

view this post on Zulip Alex Simpson (Jun 08 2020 at 14:19):

Manuel Bärenz said:

Alex Simpson

Also, what about probabilities that can't be generated from a random coin toss?

This is a real limitation of my approach. I rely on the "universality of λ\lambda" axiom for many things. It is well known that all Borel probability measures on standard Borel spaces are obtained as pushforwards of λ\lambda along measurable functions. So all such measures are included, which is a lot. However, I have no means, for example, of dealing with something like Haar probability measures on non-separable compact groups. (If one does want to include such measures, the whole framework probably needs re-thinking, including the decision to reject the axiom of choice.)

view this post on Zulip Alex Simpson (Jun 08 2020 at 14:37):

Arthur Parzygnat said:

This is nice, I initially heard an earlier version of some of these ideas from Tao’s blog. This functor viewpoint seems to encode those ideas quite nicely. I'll post a link when I find it... Update: Okay the link is https://terrytao.wordpress.com/2010/01/01/254a-notes-0-a-review-of-probability-theory/ and the notion is that of an extension of a random variable. Alex has a paper developing this in the language of sheaves here.

Hi Arthur, thanks for the excellent chairing, and for making the connection to Tao's blog. Well connected! Indeed, this whole development has been greatly influenced by that blog post. I began by refining Tao's "preservation under extension", which is a presheaf property, to "preservation under extension and restriction", which is a sheaf property. This produces a boolean topos of what I call "probability sheaves". The topos model of the axiomatisation I gave today is obtained by constructing the Grothendieck topos of probability sheaves relative to a topos model of "all subsets of R\mathbb{R} are measurable".

Unfortunately, I still haven't finished writing any of this up. For those who would like more details about "probability sheaves", a talk I gave on them at the IHES workshop on topos theory in 2015 is on Youtube here

view this post on Zulip Alex Simpson (Jun 08 2020 at 14:54):

Tobias Fritz said:

This has been super interesting! I'd have two further questions if you don't mind.

Thanks Tobias! I make use of excluded middle and dependent choice everywhere. Excluded middle is needed to talk about (ordinary Dedekind)-real-valued probability measures on powersets, as well as for lots of the reasoning. Dependent choice plays a fundamental role in constructing families of independent and also interdependent random variables (in addition to the iid sequences I considered in the talk, it is e.g. used in constructing Brownian motion).

Nevertheless, I do think of constructive/computable probability theory as very interesting, and for that one of course needs to drop excluded middle at least. As in my reply to @Bas Spitters , I very much like his approach to choice-free constructive probability theory. I think it would be interesting to investigate having an abstract account of random variables in that setting.

I shall postpone your second question (along with that of @Dario Stein , which is related) until after the discussion session.

view this post on Zulip Paolo Perrone (Jun 08 2020 at 18:45):

Hi all! Here's the video.
https://youtu.be/XtsBsLM9ofk

view this post on Zulip Alex Simpson (Jun 08 2020 at 19:32):

Dario Stein said:

Alex Simpson Thanks for the great talk -- are there any notes/papers published on your developments?

To flesh out my comment about random sets. I've showed that in quasi-Borel spaces, the (2^R)-valued random variables {X} and {} have the same law, when X is sampled from a continuous distribution on R. In particular there can be no measurable way of checking if a Borel set is empty. I came to consider this a feature instead of a bug, as it has a nice interpretation in terms of privacy/information hiding of the value of X. I wondered what happens in your theory in this example.

Thank you Dario for this interesting example. It is indeed possible to define these two "random sets" as random variables in my setting, that is as elements of RV(2R)RV(2^\mathbb{R}). These random variables are different. More importantly their probability laws are different, for the reason one would expect. The first has probability 00 of being the empty set. The second has probability 11. There is no issue with this distinction in my setting, and measurability concerns cannot be a source of trouble. For example, it is not the case in my theory that all functions between standard Borel spaces are Borel measurable.

Presumably in qBS, you consider the above random sets as random elements in P(2R)P(2^\mathbb{R}). Is the issue that arises in qBS something like the following? In P(2R)P(2^\mathbb{R}), as defined in the qBS way, is it the case that the underlying σ\sigma-algebra, using which random elements are compared for equivalence, contains only the emptyset and the whole set? (It seems to me that something like this might occur due to the fact that Borel sets are not closed under projection. But I haven't thought it through.) I'm guessing a bit here, and I'd be very interested to hear from you what the actual situation is.

Regarding written material, I am afraid I don't have anything available yet. This is quite a priority now.

view this post on Zulip Dario Stein (Jun 08 2020 at 20:22):

Alex Simpson said:

Dario Stein said:

Alex Simpson Thanks for the great talk -- are there any notes/papers published on your developments?

To flesh out my comment about random sets. I've showed that in quasi-Borel spaces, the (2^R)-valued random variables {X} and {} have the same law, when X is sampled from a continuous distribution on R. In particular there can be no measurable way of checking if a Borel set is empty. I came to consider this a feature instead of a bug, as it has a nice interpretation in terms of privacy/information hiding of the value of X. I wondered what happens in your theory in this example.

Thank you Dario for this interesting example. It is indeed possible to define these two "random sets" as random variables in my setting, that is as elements of RV(2R)RV(2^\mathbb{R}). These random variables are different. More importantly their probability laws are different, for the reason one would expect. The first has probability 00 of being the empty set. The second has probability 11. There is no issue with this distinction in my setting, and measurability concerns cannot be a source of trouble. For example, it is not the case in my theory that all functions between standard Borel spaces are Borel measurable.

Presumably in qBS, you consider the above random sets as random elements in P(2R)P(2^\mathbb{R}). Is the issue that arises in qBS something like the following? In P(2R)P(2^\mathbb{R}), as defined in the qBS way, is it the case that the underlying σ\sigma-algebra, using which random elements are compared for equivalence, contains only the emptyset and the whole set? (It seems to me that something like this might occur due to the fact that Borel sets are not closed under projection. But I haven't thought it through.) I'm guessing a bit here, and I'd be very interested to hear from you what the actual situation is.

Regarding written material, I am afraid I don't have anything available yet. This is quite a priority now.

You're right, Borel sets not being closed under projection plays a role -- the emptyness check is not a morphism in qbs. The σ\sigma-algebra consists precisely of the qbs morphisms 2R22^\R \to 2, of which there are many useful examples. You can test for membership, take s-finite measures of your set etc... The precise condition is known as "Borel on Borel" in the literature. But we managed to show that such morphisms can't distinguish the emptyset from almost all singletons.

view this post on Zulip Alex Simpson (Jun 08 2020 at 20:25):

Tobias Fritz said:

Yes this does follow from my axioms. I am going to use a version of the example serendipitously provided by @Dario Stein in his question. In a conventional stochastic process formulation this example consists of two processes: {X}\{X\} is the process (using Kronecker delta)

ω,yδω(y) ⁣:[0,1]×R{0,1}\omega,y \mapsto \delta_\omega(y) \colon [0,1] \times \mathbb{R} \to \{0,1\}

where [0,1][0,1] is the sample space with uniform distribution. And {}\{\} is the process

ω,y0 ⁣:[0,1]×R{0,1}\omega,y \mapsto 0 \colon [0,1] \times \mathbb{R} \to \{0,1\}

These two processes are modifications of each other: for every yy, the random variables ω{X}(ω,y)\omega \mapsto \{X\}(\omega, y) and ω{}(ω,y)\omega \mapsto \{\}(\omega,y) are almost surely equal (the latter is the constant map to 00). But they are not indistinguishable: the probability, for a randomly selected ω\omega that the functions y{X}(ω,y)y \mapsto \{X\}(\omega, y) and y{}(ω,y)y \mapsto \{\}(\omega,y) are equal is not 11 - in fact it is 00.

These processes are easily definable in my setting from a uniform random variable XRV[0,1]X \in RV[0,1]. Namely, {X}\{X\} is obtained by transporting XX along (xλy.δx(y)):[0,1]{0,1}R(x \mapsto \lambda y.\, \delta_x(y)) : [0,1] \to \{0,1\}^\mathbb{R}. And {}RV({0,1}R)\{\} \in RV( \{0,1\}^\mathbb{R}) is simply the Dirac-delta for λy.0\lambda y.\,0.

Due to the above observations about the processes being distinguishable modifications of each other, it holds that {X}{}RV({0,1}R)\{X\} \neq \{\} \in RV( \{0,1\}^\mathbb{R}), but the natural map from RV({0,1}R)RV( \{0,1\}^\mathbb{R}) to RV({0,1})RRV( \{0,1\})^\mathbb{R} identifies them.

view this post on Zulip Alex Simpson (Jun 08 2020 at 21:01):

Dario Stein said:

You're right, Borel sets not being closed under projection plays a role -- the emptyness check is not a morphism in qbs. The σ\sigma-algebra consists precisely of the qbs morphisms 2R22^\R \to 2, of which there are many useful examples. You can test for membership, take s-finite measures of your set etc... The precise condition is known as "Borel on Borel" in the literature. But we managed to show that such morphisms can't distinguish the emptyset from almost all singletons.

Thank you for the explanation, Dario! That is more subtle than I thought. I agree with you it sounds like a very interesting feature of qBS rather than a bug. On the other hand, distinguishing the two examples in my setting is also not a bug, as it corresponds to what happens if they are considered as stochastic processes, as in my reply to @Tobias Fritz .

view this post on Zulip Tobias Fritz (Jun 08 2020 at 21:26):

Thanks, Alex! That's very useful input and I'll have to let that sink in for a while (even if it's not specific to what you're doing). Independently of that, I'm also very much looking forward to reading your paper when it's ready.

view this post on Zulip Oscar Cunningham (Jun 09 2020 at 14:23):

@Alex Simpson I just watched the video of the talk and found it very interesting. Thank you!
One thing I noticed was that you could phrase what you call 'functional dependence' in terms of the category of elements of the functor RVRV. This category has all random variables as its objects, and a unique morphism from XX to YY if and only if YY is functionally dependent on XX (so it is in fact a poset). Another interesting thing about this category is that products give joint distributions.

view this post on Zulip Alex Simpson (Jun 09 2020 at 15:07):

Oscar Cunningham said:

Alex Simpson I just watched the video of the talk and found it very interesting. Thank you!
One thing I noticed was that you could phrase what you call 'functional dependence' in terms of the category of elements of the functor RVRV. This category has all random variables as its objects, and a unique morphism from XX to YY if and only if YY is functionally dependent on XX (so it is in fact a poset). Another interesting thing about this category is that products give joint distributions.

Thank you for your comments, Oscar. I hadn't thought about the category of elements in this context before. I like the observation that joint distributions are products. A small correction: the uniqueness statement is not true in general. Given XRV(A)X \in RV(A) and YRV(B)Y \in RV(B) there may be many functions f:ABf: A \to B for which f(X)=Yf(X) = Y. Uniqueness holds in the sense that any two functions will be PX\mathbf{P}_X-almost-everywhere equal. But for functions ABA \to B almost everywhere equality is not the same as equality (they are functions and the notion of equality for them is predetermined by the background set/type theory).