Consider a continuous time Markov process on the time interval and with value in the state space . This defines a probability on the set of -valued paths. Now, it is often the case that one has to consider a perturbed probability distribution defined as
for a (typically unknown) normalization constant and some function . For example, collecting a noisy observation at time , the distribution defined with the log-likelihood function describes the dynamics of the Markov process conditioned on the observation ; we will use this interpretation in the following since this is the most common use case and gives the most intuitive interpretation. Doob h-transforms are a powerful tool to describe the dynamics of the conditioned process.
For convenience, let us use the notation . For a test function and a time increment , we have
We have introduced the important function defined as
One can readily check that the function satisfies the Kolmogorov equation
with boundary condition . Furthermore, denoting by the infinitesimal generator of the Markov process , we have:
The infinitesimal generator of the conditioned process is
Plugging Equation 3 within Equation 2 directly gives that
The generator describes the dynamics of the conditioned process. In fact, the same computation holds with a more general change of measure of the type
for some function . One can define the function similarly as
This function satisfies the Feynman-Kac formula and one obtains entirely similarly that the probability distribution describes a Markov process with infinitesimal generator
To see how this works, let us see a few examples:
General diffusions
Consider a diffusion process
with generator and initial distribution . We are interested in describing the dynamics of the “conditioned” process given by the probability distribution defined in Equation 4. Algebra applied to Equation 5 then shows that
where the function is described in Equation 5. Since , this reveals that the probability distribution describes a diffusion process with dynamics
The additional drift term is involves a “control” with
Note that the initial distribution of the conditioned process is
Unfortunately, apart from a few straightforward cases such as a Brownian motion or an Ornstein-Uhlenbeck process, the function is generally intractable. However, there are indeed several numerical methods available to approximate it effectively.
Brownian bridge
What about a Brownian motion in conditioned to hit the state at time , i.e. a Brownian bridge? In that case, the function is given by
for some irrelevant normalization constant that only depends on . Plugging this into Equation 7 gives that the conditioned Brownian motion has dynamics
The additional drift term is intuitive: it points in the direction of and gets increasingly large as .
Positive Brownian motion
What about a scalar Brownian conditioned to stay positive at all times? Let us consider and let us condition first on the event that the Brownian motion stays positive within and later consider the limit . The function reads
This can easily be calculated with the reflection principle. It equals
for a standard Gaussian . Plugging this into Equation 7 gives that the additional drift term is
as . This shows that a Brownian motion conditioned to stay positive at all times has a upward drift of size ,
Incidentally, it is the dynamics of a Bessel process of dimension , i.e. the law of the modulus of a three-dimensional Brownian motion. More generally, if one conditions a Brownian motion to stay within a closed domain , the conditioned dynamics exhibit a repulsive drift term of size about near the boundary of the domain, as described below.
Brownian motion staying in a domain
What about a Brownian motion conditioned to stay within a domain forever? As before, consider an time horizon and define the function as
One can see that the function satisfies the PDE
and equals zero on the boundary of the domain. Furthermore as for all . Consider the eigenfunctions of the negative Laplacian with Dirichlet boundary conditions on . Recall that is a positive operator with a discrete spectrum of non-negative eigenvalues. The eigenfunction corresponding to the smallest eigenvalue is the principal eigenfunction and it is standard that it is a positive function within the domain , as a “slight” generalization of the Perron-Frobenius in linear algebra shows it. Expanding in the basis of eigenfunctions gives that
Since we are interested in the regime , it holds that
This shows that the conditioned Brownian motion has a drift term expressed in terms of the principal eigenfunction of the Laplacian:
For example, if for a 1D Brownian motion, the principal eigenfunction is . This shows that there is a upward drift of size near and a downward drift of size near .