nLab stochastic process

Redirected from "stochastic processes".

Contents

Idea

A stochastic process describes a dynamical system evolving over a linearly ordered set TT (“time”), typically taken to be the (positive) integers or real numbers, whose dynamical laws of motion are morphisms in the Kleisli category of the Giry monad (or any other probability monad). By working in the larger category of algebras of that monad, a characterization of a stochastic processes can be modeled in terms of the expected value of measurements on that process.

By a random process physicists usually mean the same, but mathematicians sometimes allow random processes indexed by more general sets, not usually with meaning of time or equipped with a linear order.

The most studied examples include Markov processes (Def. ), Brownian motion, Ornstein-Uhlenbeck processes? and Lévy processes?.

Definitions

We denote by:

  • \mathbb{N} the category with countably many objects, {0,1,2,...}\{0,1,2,...\}, and no non-identity morphisms,

  • Meas G\mathbf{Meas}_G the Kleisli category of the Giry monad,

  • Meas G \mathbf{Meas}_G^{\mathbb{N}} the category whose objects Ω\mathbf{\Omega} are sequences Ω 0,Ω 1,\Omega_0, \Omega_1,\ldots of objects in Meas G\mathbf{Meas}_G which are measurable spaces,

  • Meas G NΦMeas G N\mathbf{Meas}_G^{N} \xrightarrow{\mathbf{\Phi}} \mathbf{Meas}_G^{N} the endofunctor given by

    (1)Φ(Ω ) n k<nΩ k, \mathbf{\Phi}\big(\Omega_\bullet\big)_n \,\coloneqq\, \textstyle{\prod_{k \lt n}} \Omega_k \mathrlap{\,,}

    where k<nΩ k\prod_{k \lt n} \Omega_k denotes the product measurable space with the smallest σ \sigma -algebra such that all the coordinate-projection functions are measurable.

    So if Ω n\Omega_n is thought of as the space of all possible states of a system at time nn, then Φ(Ω ) n= k<nΩ k\mathbf{\Phi}(\Omega_\bullet)_n = \prod_{k \lt n}\Omega_k is the space of all possible histories of the system before time nn.

Stochastic processes

The following definition in category-theoretic probability theory is due to Lawvere 1962 §3.2.

Definition

A discrete time stochastic process is an algebra over the endofunctor Φ\mathbf{\Phi} (1).

This means that a discrete time stochastic process is:

  1. a sequence Ω \Omega_\bullet of measurable spaces Ω n\Omega_n (an object in Meas G \mathbf{Meas}_G^{\mathbb{N}}),

  2. a morphism Q Q_\bullet in Meas G \mathbf{Meas}_G^{\mathbb{N}}:

Q :Φ(Ω )Ω . Q_\bullet \,\colon\, \mathbf{\Phi}(\Omega_\bullet) \longrightarrow \Omega_\bullet \mathrlap{\,.}

Because \mathbb{N} is a discrete category, the morphism Q Q_\bullet consists of a sequence of component morphisms Q nQ_n (which are Kleisli morphisms)

Q n: k<nΩ kΩ n Q_n \,\colon\, \textstyle{\prod_{k \lt n}} \Omega_k \longrightarrow \Omega_n

also called dynamic laws (of motion) at time nn.

Definition

The homomorphisms between stochastic processes are homomorphisms of algebras of endofunctors. This means:

Given a pair Q\mathbf{Q} and Q\mathbf{Q}' of such (discrete time) stochastic processes (Def. ) a morphism

QQ \mathbf{Q} \longrightarrow \mathbf{Q}'

is a sequence (f n:Ω nΩ n ) n\big(f_n \colon \Omega_n \to \Omega_n^{'}\big)_{n \in \mathbb{N}} of morphisms in Meas G\mathbf{Meas}_G such that for each nn \in \mathbb{N}, the following Meas G\mathbf{Meas}_G-diagram commutes:

With the evident notion of composition, this defines the category of discrete time stochastic processes, dStoch\mathbf{dStoch}.

Remark

Beware that some authors use the notation Stoch Stoch instead to denote the Kleisli category of the Giry monad, traditionally denoted by Meas G\mathbf{Meas}_G or 𝒦(G)\mathcal{K}(G), which can also be interpreted (for modeling) as the category of Markov stochastic processes.

Markov processes

The following definition is as in Lawvere 1962 §3.3.

Definition

A stochastic process Q Q_\bullet (Def. ) is called a Markov process if each Q nQ_n for n1n \geq 1 depends only on the current state in that it factors as:

where π n1\pi_{n-1} is the canonical coordinate projection (measurable) function which specifies the deterministic Kleisli morphism (with the same notation).

In the special case where Ω \Omega_\bullet is constant on some Ω\Omega, n:Ω n=Ω\forall_n \colon \Omega_n = \Omega, then a Markov stochastic process on Ω \Omega_\bullet is called a Markov chain.

Remark

When a non-Markov stochastic process can be re-expressed as a Markov stochastic process by formally augmenting its states with a suitable collection of unobservable variables, then the resulting process is called a hidden Markov model. The unobservable variables added to make the process look Markov are said to be latent or hidden variables. For example, pilot wave theories can be viewed as Hidden Markov Models (Barandes 2026)

(In)Divisible processes

The term “(in)divisible stochastic process” is not classical but has been brought up by Barandes 2025 in a suggestion to give an “indivisible stochastic process interpretation of quantum mechanics”. Here is a way to state the definition in line with the above category-theoretic definitions and beyond finite state spaces:

Definition

Given a discrete time stochastic process Q Q_\bullet (Def. ), its multi-step marginal transition from time 00 to time nn, denoted Q 0,n:Ω 0Ω nQ_{0,n} \colon \Omega_0 \to \Omega_n, is the Kleisli morphism obtained by forming the joint distribution over all intermediate states up to time nn, and subsequently projecting onto the state space at time nn.

Explicitly, one constructs a sequence of history-accumulating morphisms J n:Ω 0 knΩ kJ_n \colon \Omega_0 \to \prod_{k \le n} \Omega_k in Meas G\mathbf{Meas}_G by induction:

  1. Base case (n=0n=0): J 0:Ω 0Ω 0J_0 \colon \Omega_0 \to \Omega_0 is the identity morphism in Meas G\mathbf{Meas}_G (representing the deterministic assignment xδ xx \mapsto \delta_x).
  2. Inductive step (n1n \ge 1): Given J n1:Ω 0 k<nΩ kJ_{n-1} \colon \Omega_0 \to \prod_{k \lt n} \Omega_k, define J nJ_n as the Kleisli composition:
    J nid,Q nJ n1 J_n \;\coloneqq\; \langle \mathbf{id}, Q_n \rangle \circ J_{n-1}

    where id,Q n: k<nΩ k knΩ k\langle \mathbf{id}, Q_n \rangle \colon \prod_{k \lt n} \Omega_k \longrightarrow \prod_{k \le n} \Omega_k is the morphism given by pairing the deterministic identity on the history with the dynamic law Q nQ_n. In the context of the Giry monad, this pairing is canonically constructed via the monadic tensorial strength (or equivalently, via the copy morphism in the framework of Markov categories).

The multi-step marginal transition Q 0,nQ_{0,n} is then defined as the Kleisli composition of J nJ_n with the canonical coordinate projection π n\pi_n:

Q 0,nπ nJ n Q_{0,n} \;\coloneqq\; \pi_n \circ J_n

where π n: knΩ kΩ n\pi_n \colon \prod_{k \le n} \Omega_k \to \Omega_n is pushed forward as a deterministic Kleisli morphism. This construction is summarized by the following commuting diagram in Meas G\mathbf{Meas}_G:

Definition

A stochastic process Q Q_\bullet (Def. ) is called divisible if its multi-step marginal transitions Q 0,n:Ω 0Ω nQ_{0,n} \colon \Omega_0 \to \Omega_n (Def. ) satisfy the Chapman-Kolmogorov property:

Namely, for all stages mnm \le n, there exists a Kleisli morphism Q˜ m,n:Ω mΩ n\tilde{Q}_{m,n} \colon \Omega_m \to \Omega_n such that the following diagram in Meas G\mathbf{Meas}_G commutes:

Meaning that Q 0,n=Q˜ m,nQ 0,mQ_{0,n} = \tilde{Q}_{m,n} \circ Q_{0,m}.

Example

In discrete time, every Markov process (Def. ) is automatically divisible (Def. ) by defining Q˜ m,n\tilde{Q}_{m,n} as the composition of its 1-step transitions.

Therefore, indivisibility is inherently a feature of non-Markovian processes (or continuous-time processes where intermediate transition kernels may fail to exist).

Examples

Example

A 3-stage Markov stochastic process Q\mathbf{Q} with measurements Ω if i\Omega_i \xrightarrow{f_i} \mathbb{R}, modeled within the category of algebras of the Giry monad (G,η,μ)(G, \eta, \mu) so that the process Q\mathbf{Q} can be characterized in terms of the expected values of the measurements, is given by

The standard Borel space \mathbb{R}_{\infty} is the one point compactification of the real line. (There is no GG-algebra G()G(\mathbb{R}) \rightarrow \mathbb{R}; so to model any process with measurement Ωf\Omega \xrightarrow{f} \mathbb{R} we first need to embedd \mathbb{R} into \mathbb{R}_{\infty}.) The operator 𝔼 (id )\mathbb{E}_{\bullet}(id_{\mathbb{R}_{\infty}}) is defined at each PG( )P \in G(\mathbb{R}_{\infty}) by 𝔼 P(id )=id dP\mathbb{E}_{P}(id_{\mathbb{R}_{\infty}}) =\int id_{\mathbb{R}_{\infty}} \, dP.

Note that measurements ΩfX\Omega \xrightarrow{f} X can be taken over any object XX which lies in the category of algebras of the monad GG. In the case where XX is a standard Borel space the GG-algebra G(X)𝔼 (id X)XG(X) \xrightarrow{\mathbb{E}_{\bullet}(id_X)} X, which is a morphism in the category of algebras, is defined as: 𝔼 P(id X)\mathbb{E}_{P}(id_X) is the unique element in XX such that for all affine measurable maps Xm X \xrightarrow{m} \mathbb{R}_{\infty}, the property

m(𝔼 P(id X))= XmdP m(\mathbb{E}_P(id_X)) = \int_X m \, dP

holds. (Every algebra XX necessarily possesses a convex space structure. The case X= X=\mathbb{R}_{\infty} is just a special case which trivially satisfies the above property since the affine maps m \mathbb{R}_{\infty} \xrightarrow{m} \mathbb{R}_{\infty} are of the form m(r)=λr+tm(r) =\lambda r + t (scale + translate) and hence 𝔼 (id )\mathbb{E}_{\bullet}(id_{\mathbb{R}_{\infty}}) simplifies to the standard expectation operator. A derivation of the category of algebras for standard Borel space is given on the Giry monad page.)

Example

Here are two elementary examples of an indivisible stochastic process due to Barandes 2025. Taking the finite space Ω={1,2}=Ω n\Omega = \{1,2\}=\Omega_n for all nn, and defining the dynamic law ΩQ˜ nΩ\Omega \xrightarrow{\tilde{Q}_n} \Omega by

Q˜ n=(e t n 2τ 2 1e t n 2τ 2 1e t n 2τ 2 e t n 2τ 2) \tilde{Q}_n = \begin{pmatrix} e^{-\frac{t_n^2}{\tau^2}} & 1-e^{-\frac{t_n^2}{\tau^2}} \\ 1-e^{-\frac{t_n^2}{\tau^2}} & e^{-\frac{t_n^2}{\tau^2}} \end{pmatrix}

where t nt_n is the time at stage nn, and τ\tau is a constant. (For a finite space Ω\Omega a dynamic law ΩΩ\Omega \rightarrow \Omega can be represented by a matrix.)

Similarly, on the same space Ω\Omega, we can define

Q˜ n=(cos 2(ωt n) sin 2(ωt n) sin 2(ωt n) cos 2(ωt n)) \tilde{Q}_n = \begin{pmatrix} \cos^2(\omega t_n) & \sin^2(\omega t_n) \\ \sin^2(\omega t_n) & \cos^2(\omega t_n) \end{pmatrix}

where ω\omega is a constant.

References

General:

Discussion in the context of category-theoretic approaches to probability theory:

  • William Lawvere: The Category of Probabilistic Mappings With Applications to Stochastic Processes, Statistics, and Pattern Recognition (1962), including abstract and commentary added by Lawvere in 2020, Lawvere Archive (2025) [pdf]

  • Xiao-Qing Meng: Categories of convex sets and of metric spaces with applications to stochastic programming and related areas, PhD thesis, New York (1988) [djvu, pdf]

With an eye towards quantum noise;

On some kind of supersymmetry in stochastic PDEs:

In the context of a proposed “indivisible stochastic process interpretation of quantum mechanics”:

Last revised on June 6, 2026 at 16:43:25. See the history of this page for a list of all contributions to it.