Sticky Brownian Motion and its Numerical Solution
Nawaf Bou-Rabee, Miranda Holmes-Cerfon

TL;DR
This paper introduces a new, efficient simulation method for sticky Brownian motion, a diffusion process with boundary interaction, with applications in biology, materials science, and finance, and demonstrates significant speed improvements over existing methods.
Contribution
It presents a simple sticky random walk model for simulating sticky Brownian motion, offering substantial computational speed gains and insights into its properties.
Findings
Sticky random walk is 100 to 10,000 times faster than existing methods.
The model accurately captures mesoscale particle behavior near boundaries.
Potential extension to multi-dimensional sticky diffusions is discussed.
Abstract
Sticky Brownian motion is the simplest example of a diffusion process that can spend finite time both in the interior of a domain and on its boundary. It arises in various applications such as in biology, materials science, and finance. This article spotlights the unusual behavior of sticky Brownian motions from the perspective of applied mathematics, and provides tools to efficiently simulate them. We show that a sticky Brownian motion arises naturally for a particle diffusing on with a strong, short-ranged potential energy near the origin. This is a limit that accurately models mesoscale particles, those with diameters nm-m, which form the building blocks for many common materials. We introduce a simple and intuitive sticky random walk to simulate sticky Brownian motion, that also gives insight into its unusual properties. In parameter regimes of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\newsiamremark
remarkRemark \newsiamremarkhypothesisHypothesis
\newsiamthmclaimClaim \headersSticky Brownian MotionN. Bou-Rabee, M. Holmes-Cerfon
\newsiamthmquestionQuestion \newsiamthmassumptionAssumption \newsiamthmexampleExample \newsiamthmdefnDefinition
Sticky Brownian Motion
and its Numerical Solution††thanks: \fundingN. B.-R. was supported in part by the NSF under Grant No. DMS-181637. M.H.-C. was supported in part from the Department of Energy Grant DE-SC0012296 and the Alfred P. Sloan foundation.
Nawaf Bou-Rabee Department of Mathematical Sciences, Rutgers University Camden, 311 N 5th Street, Camden, NJ 08102, USA (). [email protected]
Miranda Holmes-Cerfon Courant Institute of Mathematical Sciences, New York University, 251 Mercer Street, New York, NY 10012-1185 USA (). [email protected]
Abstract
Sticky Brownian motion is the simplest example of a diffusion process that can spend finite time both in the interior of a domain and on its boundary. It arises in various applications such as in biology, materials science, and finance. This article spotlights the unusual behavior of sticky Brownian motions from the perspective of applied mathematics, and provides tools to efficiently simulate them. We show that a sticky Brownian motion arises naturally for a particle diffusing on with a strong, short-ranged potential energy near the origin. This is a limit that accurately models mesoscale particles, those with diameters nm-m, which form the building blocks for many common materials. We introduce a simple and intuitive sticky random walk to simulate sticky Brownian motion, that also gives insight into its unusual properties. In parameter regimes of practical interest, we show this sticky random walk is two to five orders of magnitude faster than alternative methods to simulate a sticky Brownian motion. We outline possible steps to extend this method towards simulating multi-dimensional sticky diffusions.
keywords:
Sticky Brownian motion, Feller boundary condition, Generalized Wentzell boundary condition, Fokker-Planck equation, Kolmogorov equation, Sticky random walk, Markov jump process, Markov chain approximation method, finite difference methods
{AMS}
60H10, 65C30 (60J60, 60J65, 35K05, 35K20, 65M06)
1 Introduction
Sticky diffusion processes are solutions to stochastic differential equations (SDE) which can ‘stick’ to, i.e. spend finite time on, a lower-dimensional boundary. The sticking is reversible, so the process can hit the boundary and leave again, and while on the boundary it can move according to dynamics that are different from those in the interior, even when continuously extended to the boundary. A simple example is a (root-2) Brownian motion which can stick to the origin, called a sticky Brownian motion, whose forward and backward Kolmogorov equations are identically with boundary condition , where is a parameter measuring how sticky the boundary is. On the other hand Dirichlet (), Neumann (), Wentzell () and Robin () boundary conditions lead to stopped, reflected, absorbed and elastic Brownian motions, respectively [48].
Discovered in the 1950s by Feller in an attempt to find the most general behaviour of one-dimensional diffusion processes at a boundary [27, 80], sticky diffusions have been studied in the theoretical mathematical literature for several decades. Probabilists have studied the construction and properties of sticky diffusions via martingales or other representations such as random walks in random environments or interacting particle systems [28, 29, 87, 45, 86, 53, 44, 1, 91, 75, 76, 5], and very recently, sticky diffusions have been used to expand the scope of probabilistic coupling techniques [43, 20, 96]. In PDE theory, analysts have studied well-posedness and semigroup generation for parabolic and elliptic problems with sticky boundary conditions, called generalized Wentzell or Wentzell-Robin boundary conditions in the PDE literature [67, 93, 2, 3, 25, 24].
In applications, sticky diffusions arise in a variety of models of physical and natural processes which are naturally described by a set of variables that can change dimension. Examples arise in biology, where molecules diffuse near a sticky wall or cell membrane [31, 37]; in epidemics, [10], where the concentration of pathogens in an individual can be sticky at concentration level zero; in operations research, as a particular limit of storage processes modeling queues, inventories, insurance risks, etc [38]; and in finance, where the evolution of interest rates can be sticky near zero [65, 46].
Our own interest is in the dynamics of mesoscale particles, those with diameters of , which occur widely and form the building blocks of common materials like paint, toothpaste, concrete, ketchup, and many others [66]. Such particles interact attractively over ranges typically much smaller than their diameters [70, 41]. Remarkably, systems with short-ranged interactions are often insensitive to the exact shape of the attractive well of the interaction potential, with most behaviour depending only on one or two parameters such as some combination of the well depth and well width [77, 81]. Therefore, it is often effective to model such systems in the sticky limit, where the well width is taken to zero, and the well depth to infinity, such that the probability of forming a contact remains constant. In this limit the dynamics of the collection of particles approaches a sticky diffusion process, with a boundary when a pair of particles are exactly in contact [6, 85, 23, 72, 42, 47]. The sticky boundary conditions behave in a similar way to holonomic constraints in molecular dynamics, which eliminate fast bond-length or bond-angle vibrations, and thus reveal the molecular structure more clearly and allow a larger time step in simulations [84].
In the sticky limit, one may be interested in studying the forward and backward Kolomgorov equations to obtain analytical, asymptotic, or numerical solutions that give physical insight, or in simulating the sticky processes themselves to obtain pathwise results. However, neither of these goals is readily attainable: the first, since sticky processes are relatively unknown in the applied math community, techniques to study them are rare and usually invented on a case-by-case basis. Indeed, by-and-large, applied mathematicians focus on PDEs with classical boundary conditions, and sticky diffusions are beyond this scope, since their transition probability measures have a part that is singular with respect to the Lebesgue measure in the domain. The second, because there are currently no methods to simulate a sticky diffusion directly: there is no practical way to extend existing methods for discretizing SDEs based on choosing discrete time steps, such as Euler-Maruyama or its variants [50, 35, 7], to sticky processes; a rough explanation for why is that in these methods one will never hit the boundary exactly. One can approximate a sticky diffusion by a reflecting diffusion with an artificial force near the boundary to encourage the particle to stay there when it gets near, but for a good approximation, the force must be strong and short-ranged. Most SDE solvers are explicit, especially in molecular dynamics applications where evaluating forces is the most costly step, so one must take a prohibitively small timestep to resolve these forces, which unfortunately, severely limits the timescales one can simulate.
Our aim in this article is twofold: one, we wish to bring the topic of sticky diffusions and their associated PDEs to the attention of the applied math community, and to introduce tools to study them from an applied math perspective. To this end, we show how a sticky Brownian motion arises as a limit of reflected Brownian motions with a strong short-ranged force at the origin, and discuss the limiting forward and backward equations, which must be used with care because of their unusual boundary conditions (Section 2.) Two, we wish to introduce a numerical method to simulate a sticky diffusion, which simulates the process directly without introducing an artificial force, and which allows one to take a relatively large timestep. The method is based on discretizing the increments of the process in space, rather than in time, and constructing a Markov jump process whose generator locally approximates the generator of the sticky diffusion (Section 3.) We derive a Feynman-Kac formula to show that this Markov jump process can be used to solve certain PDEs to second-order accuracy in the spatial step. Basic implementations of the two main numerical approximations used in the paper are provided in Appendix A.
Throughout the paper we focus on a one-dimensional sticky Brownian motion, because this illustrates most of the key ideas and differences from traditional diffusion processes with a minimum of technical difficulties. We discuss the connection between our approaches to understanding sticky Brownian motion and those taken in the earlier probability literature (Section 4.) We expect the methods we introduce to be fully adaptable to higher-dimensional diffusion processes, and outline the steps required to do so in the conclusion (Section 5.)
2 Sticky Brownian motion
In this section we consider how a sticky Brownian motion (SBM) arises naturally for a particle diffusing in a potential energy landscape that has a strong, short-ranged potential well near the origin.111In Sections 2-3.4, what we call a sticky Brownian motion is traditionally called a root-2 sticky Brownian motion, because it is scaled by a factor of from a traditional Brownian motion. In Section 4 we use SBM to refer to a traditional sticky Brownian motion. In turn, this motivates the generator and the backward and forward Kolmogorov equations for an SBM, equations and operators which require working in an unusual function space because the transition probabilities will have a singular part.
2.1 Setup
Consider a diffusion process on , depending on a parameter , which solves
[TABLE]
with a reflecting boundary condition at the origin. Here is a standard Brownian motion, and is a function parameterized by . If is the position at time of a particle moving on the real axis, then the force it feels is . Recall that, if , then is the non-normalized stationary (or equilibrium) probability density of .
Equation (1) is a special case of the Brownian dynamics equations, which are a good model for the dynamics of mesoscale particles in a fluid [30]. For a more general system of particles, would be the configuration, a vector of particle positions, would represent the potential energy of a particular configuration (nondimensionalized by temperature), which is usually a sum of the potential energy between each pair of particles, and the equations may additionally include a friction tensor, depending on the configuration and the velocity, modeling hydrodynamic interactions between particles. We specialize to a single scalar equation and ignore friction, but still think of as a potential energy, representing the energy of the particle as a function of its distance to another particle. Physically, this equation could be realized by holding one particle in place at the origin while another is particle moves on a line.
An important point is that for mesoscale particles, outside an interval that is very narrow compared to the particles’ diameters [70, 41]. For example, for particles interacting with a so-called “depletion” interaction [4], the range of the interaction in a typical experiment was estimated to be about 5% of the particles’ diameters [71]. Therefore, when two particles’ surfaces are within this range of each other, they stay close together for a long time, but when they are further apart they don’t feel each other at all, and diffuse independently. An even shorter range is achieved by particles that interact via sticky single-stranded DNA coated on their surfaces: here, the range of the interaction is the average radius of a coiled DNA strand, which is typically around 10nm, about 1% of the diameter of a 1m particle [90]. Such DNA-coated particles are studied extensively because the DNA allows one to code complex interactions between different types of particles, and hence, to program them to assemble into a great many different materials [68, 12, 90, 83, 95].
2.2 Assumptions on the potential energy function
With these remarks in mind, we consider a family of potential energy functions with a narrow, deep attractive well, which becomes narrower and deeper as . We consider the dynamics of as , and call this the sticky limit. Specifically, we impose the following assumptions on .
{assumption}
For any , is a function in satisfying:
- (A1)
, , for ;
- (A2)
possesses a unique local minimum in with minimizer and no local maximum for ;
- (A3)
There exists such that
[TABLE]
We briefly comment on the physical interpretation of (A1)-(A3). Assumption (A1) ensures the potential and its first two derivatives are negligible outside of the interval , which we call the boundary layer. Outside the boundary layer, feels virtually no force and simply diffuses.
Assumption (A2) ensures that the dynamics in (1) has at most one timescale within the boundary layer. A typical timescale for a diffusion process is its mean first passage time (MFPT) to overcome an energy barrier . Under Assumption (A2), the barrier to leaving the interval is the depth of the potential at its minimum, leading to an MFPT of approximately [32]. The assumption rules out pathological potentials with many large oscillations in the boundary layer, which would give rise to longer dynamical timescales in the boundary layer.
Assumption (A3) is the one that gives rise to stickiness at the origin. It requires that the measure of with respect to the weighted Lebesgue measure , or in the language of physics, the partition function for this interval, approaches a constant. This constant determines how sticky the origin is – larger means the process will spend longer near the origin on average. For this reason we call the sticky parameter. Applying Laplace asymptotics to (2) shows that
[TABLE]
where is the minimizer of in . Ignoring the second derivative shows that the depth must scale very nearly as , the logarithm of the width of the potential. This implies the timescale computed from the MFPT for leaving the boundary layer is . If the scaling of the depth of the well is larger than , then large deviation theory would be more appropriate to describe the dynamics of the limiting process [14, 36]. However, if the scaling is smaller, then the limiting process spends no time on the boundary, and simply reflects off of it, as we will see momentarily.
The requirement that has two derivatives is not necessary, but is included to simplify our calculations and avoid dealing with discontinuities in the coefficients of (1). An example of a potential energy function which doesn’t satisfy this condition, but which is commonly used to model short-ranged potentials, is the square-well potential.222Square-well potentials have the form for , for , for ; where is a constant which depends on . By introducing a smooth approximation, we expect our asymptotic results to hold for a square-well potential as well, though we do not pursue this here.
Assumption 2.2 can be verified for two families of potentials frequently used to model attractive interactions between mesoscale particles, the Morse and generalized Lennard-Jones potential energy functions [18, 69, 72, 88, 11, 94].
Example 2.1** (Morse Potential).**
Fix , let , and consider the potential energy function defined by
[TABLE]
*with parameters , , and defined implicitly via . This potential is illustrated in Figure 1 for several different values of . It has a unique global minimum at with depth , and hence, (A2) holds. The width of the basin of attraction of the minimum is . Moreover and all of its derivatives are exponentially small for , which implies that (A1) holds. Lastly, as , with parameters chosen as above, straightforward Laplace asymptotics gives that Thus, (A3) holds. *
Example 2.2** (Lennard-Jones(,) potential).**
Fix , let , and consider the potential energy function defined by
[TABLE]
*with parameters , and defined implicitly via . This potential has a unique global minimum at with depth , and hence, (A2) holds. The width of the basin of attraction of the minimum is . Moreover and all of its derivatives are exponentially small for , which implies that (A1) holds. Similar to the preceding example, one can verify that (2) holds. Hence, Assumption 2.2 is satisfied. *
2.3 Dynamics of for
Consider the dynamics of in (1) when is small. When is far enough away from the origin, it feels no force, and simply diffuses, like a Brownian motion. When is within a distance of from the origin, it feels a strong force keeping it near the minimum of for a long time, until an occasional large fluctuation pushes it out of the range of the force.
How long does it stay near the origin, and does this time remain significant as ? We start by computing the mean first-passage time (MPFT) to escape from a region near the origin.
Lemma 2.3**.**
Let be the MFPT of out of for some with initial condition . Then
[TABLE]
When , we recover the MFPT of a reflecting Brownian motion starting at [math]. The time scales as the distance squared, , a traditional diffusive scaling. When , the MFPT is infinite, consistent with the MFPT of an absorbing Brownian motion starting at [math]. For intermediate , the MFPT at the origin scales as , which is a ballistic scaling – slower (for small ) than the diffusive scaling. Therefore, we expect the limiting probability density near the origin to be correspondingly large.
Proof 2.4**.**
The MFPT satisfies the boundary value problem
[TABLE]
By integrating twice, the semi-analytic solution to this equation is given by
[TABLE]
and at we obtain,
[TABLE]
*Assumptions 2.2 (A1) and (A3) imply that the last two terms converge to the right-hand side of (3), while Assumption 2.2 (A3) implies the first term converges to 0.333 To see this last point, let be the minimizer of on , and let be the maximum of the energy to the right of the minimum. By Assumption 2.2 (A2), there is at most one point such that , and since the energy monotonically increases as decreases below , we have for , . For , , we have . Therefore by Assumption 2.2 (A3),
To gain further insight into the dynamics, consider the evolution of the probability density of . It evolves according to the Fokker-Planck equation
[TABLE]
where is the associated probability current, or probability flux. The equation is to be solved in the domain , with boundary condition for all , and given initial condition .
For this one-dimensional problem we could compute to high accuracy by solving the PDE (4) numerically. However, such an approach won’t work in the high dimensions characteristic of systems of particles, so to illustrate the difficulties that may arise, we simulate trajectories of (1) numerically and estimate the density by kernel density estimation. We use a Morse potential for as in Example 2.1, and a symmetrized Euler-Maruyama approximation to solve (1), a method that is first-order weakly accurate method for domains with a smooth enough boundary [35, 7]. The method works as follows: given a time-step size , we set for , and compute the approximation to as
[TABLE]
See Appendix A for Matlab code implementing this method. Unfortunately, when the Morse potential used is short-ranged and strong, an accurate approximation requires a small time step size: when the time step size required for a qualitatively correct solution is approximately – Figure 2 shows that larger timesteps fail to see the boundary layer entirely.
Figure 3 plots on a log scale for various values of , and shows that as decreases, has an increasingly large peak in density near the origin. Although the width of the peak decreases, the total probability in the peak remains nearly constant with . Therefore, we expect the probability density to contain a singularity of the form when .
Furthermore, notice that is slowly varying for and rapidly varying for . This suggests using the method of matched asymptotic expansions to study (4) as [40, 49]. This approach, which is very similar to boundary-layer theory in fluids, proceeds by finding a local ‘inner’ solution near the origin and a local ‘outer’ solution far enough away from the origin, and then matching these local solutions in an intermediate region.
2.4 Asymptotics of the probability density in the sticky limit
We pursue the method of matched asymptotic expansions to show that the leading-order probability density of (leading-order in the sense of a measure) is
[TABLE]
where solves
[TABLE]
with a given initial condition . We assume that is continuously differentiable on and that and are bounded on ; assumptions which guarantee that (6) is well-posed [79, Theorem 1]. Equations (6), (7) are the main results of this section, and describe the evolution of probability of a SBM [27].
To derive these equations we adopt a formal approach to highlight the main ideas, but expect that the argument could be turned into a more rigorous proof of weak convergence by the interested reader.
Let us make the ansatz that the solution to (4) away from the origin (), or outer solution, and near the origin (), or inner solution, have the asymptotic expansions, respectively,
[TABLE]
where and are the leading order terms in the expansions, and , as . We do not assume any particular scaling for these terms, nor the leading-order solutions; it will turn out that but , because of Assumption 2.2 (A3).
By Assumption 2.2 (A1), the outer solution satisfies the following linear PDE to leading order as :
[TABLE]
with . Near the origin, the density changes rapidly so it is convenient to change variables to . Keeping the leading-order terms gives
[TABLE]
with the reflecting boundary condition . We have used Assumption 2.2 (A2) and the timescale it implies to argue that is lower order than the terms retained in (10).
Equation (10) is the equation for the stationary density of a particle diffusing in a potential with a reflecting boundary condition at the origin. The solution is
[TABLE]
where is some unknown function of time, to be determined by matching to the outer solution.
Now we match the outer solution and the inner solution at , . Unlike the traditional method of matched asymptotic expansions, we do not match in an overlap region, but rather at a single point, which is possible because the perturbation is not singular (the diffusion terms do not change with .) We match using two conditions: one, probability is continuous, and two, probability is conserved. The first condition requires that
[TABLE]
to leading order in , where we used that , by Assumption 2.2 (A1), and . The condition that probability be conserved requires that
[TABLE]
to leading order in . We moved the time derivative into the integrals, substituted for using (9), and substituted using Assumption 2.2 (A3).
Putting these results together gives a boundary condition for the outer solution at the origin, which can be written in two ways:
[TABLE]
Combining with (9) and removing the subscript on gives (7).
To obtain (6), notice that by continuity of probability, the leading-order density is . Assumption 2.2 implies that converges weakly to as , giving a limiting density of (6).
2.5 Fokker-Planck equation
We make a few remarks concerning the limiting dynamics (7) and their relationship to a sticky Fokker-Planck equation.
Notice that, as expected, the limiting probability density (6) is singular with respect to Lebesgue measure on . Its structure shows that an SBM can spend finite time on any interval in its domain, as well as at the origin, , sets with intrinsically different dimensions. This is an unusual property for diffusion processes; it does not occur for processes with the more typically-studied Dirichlet, Neumann, or Robin boundary conditions.
It turns out that the measure in (6) is infinitesimally invariant, and is proportional to the invariant measure if the SBM is confined to a compact space, as the following lemma shows.
Lemma 2.5**.**
Suppose the function in (6), (7) additionally satisfies a reflecting boundary condition at . Then the unique invariant probability measure is
[TABLE]
This is also the measure obtained as the weak limit of the stationary densities for (4).
Proof 2.6**.**
*Solve for the steady-state solution of (7) to obtain for some constant , and use (6) to obtain (13). *
It is sometimes helpful to work with a formulation of (7) directly in terms of the probability density. This is possible by first writing the density as a sum of densities on the different manifolds in its support, as
[TABLE]
where is the delta-function measure on , and is the Lebesgue measure on . We must impose a ‘continuity condition’
[TABLE]
to be consistent with the asymptotic derivation. Calculating using (7) and (6) gives the system of equations
[TABLE]
System (16) and the continuity condition (15) can be interpreted as the Fokker-Planck equation for the evolution of the probability density . If we write the system formally as for some linear operator , then (16) shows that should, formally at least, be interpreted as being a different partial differential operator, for the densities on each different manifold in the support of the process. Indeed, it turns out that for higher-dimensional sticky diffusions one can impose different dynamics in the interior of a domain and on the boundary, and these dynamics don’t have to bear any relation to each other [44].
The system (16) gives a more physical interpretation of the boundary condition in (7). It shows the boundary condition simply balances fluxes: the rate of change of the probability at the origin, , equals the flux of probability which leaves the open interval on the left, . Here again we see how the sticky boundary condition interpolates between a reflecting condition, when and the condition is , and an absorbing one, when , and the condition approaches .
2.6 Generator
We now consider how to obtain the generator of a SBM, starting from the Fokker-Planck equation (16). The generator forms the basis for our numerical method, and is in fact the more fundamental quantity describing a Markov process. Recall that the generator is the operator which is the formal adjoint of , i.e. , for all densities of the form (6), and all test functions that satisfy an appropriate boundary condition at zero (to be determined.) Because properly defining is somewhat subtle due to the singularities at the origin, we find it more transparent to work with a weakly equivalent formulation, which asks that satisfy
[TABLE]
To proceed, compute the left-hand side of (17) as
[TABLE]
In the first step we substituted for and integrated by parts, assuming a decay condition at , and in the second step we used the boundary condition on at and rewrote the integral in terms of .
We see that (17) is satisfied if we choose the generator and its associated boundary conditions to be
[TABLE]
For a SBM, the generator and its formal adjoint are equal.
Notice that if in (17) we had replaced with , the function solving (7), we would not have found appropriate boundary conditions for . This shows the importance of interpreting the weak formulation of (7) in the correct function space.
From the generator we obtain another way to verify that (13) is an infinitesimally invariant measure, by showing for all test functions satisfying the appropriate boundary conditions. Calculations very similar to the above show this equation holds.
2.6.1 Example: MFPT of a sticky Brownian motion
As a simple application of (18), we directly calculate the MFPT of an SBM.
Lemma 2.7**.**
*The MFPT of an SBM out of with initial condition is . In particular, . *
Proof 2.8**.**
The MFPT of an SBM satisfies the boundary value problem , , plus any other boundary conditions associated with . Specifically,
[TABLE]
*The solution is where and are constants determined by imposing the boundary conditions. *
Note that , the limit of the MFPT for the reflecting diffusions, as in Lemma 2.3.
2.6.2 Example: transition rates between sticky points
As another application of (18), we consider a Brownian motion on a line segment with sticky endpoints, and calculate the transition rates between the endpoints. Such a setup is a good model for the transition paths between clusters of mesoscale particles, and quantitatively predicts their transition rates [78]. Suppose the endpoints have sticky parameters and the line has length , as shown below.
\kappa_{1}$$\kappa_{2}$$L[math]
The generator for this problem is
[TABLE]
The sign of is reversed for the boundary condition at , because the probability flux is in the opposite direction from the flux at [math].
A framework for calculating transition rates between disjoint sets , exactly is given by Transition Path Theory [19]. These transition rates can be determined from empirical averages by using the following limit relations
[TABLE]
where is the time of observation, is the total number of transitions observed from to in time , and are the total times during which the process last hit respectively; they satisfy . We apply Transition Path Theory to the sets and to compute the quantities above, and refer the reader to [19] for more justification of these calculations.
Lemma 2.9**.**
Given a process with generator defined in (19), and let , . Then the stationary distribution is , and the transition rates are
[TABLE]
It is worth noting that the transition rates depend inversely on , the total distance that the process must diffuse. This is a contrast to theories of transition rates derived from the Arrhenius formula or Transition State Theory, for which the transition rates depend only on local properties of critical points, such as the energy difference between critical points and their curvatures [32]. In the problem above, the energy differences are contained solely in .
Proof 2.10**.**
One can verify that for all twice-differentiable functions satisfying the boundary conditions, so given above is the stationary distribution. Now we turn to calculating the transition rates. We first calculate the committor function , a function that gives the probability of hitting first before starting from . It solves the boundary value problem
[TABLE]
*whose solution is . Next we calculate the overall rate of transition , as for any , giving . Then we calculate the “reactive probabilities” , . These are computed as , , giving , . Finally, the reaction rates are computed as , , giving the result above. *
3 Numerical method to simulate a sticky Brownian motion
It is not obvious from either the Fokker-Planck equation or the generator how one should simulate trajectories of a sticky Brownian motion. One option is to return to the derivation as a limit as of , and choose a small and simulate (1). However, our earlier calculations (Figure 2) showed that for small one must use a very small timestep; for large the solution will be inaccurate.
Therefore, we turn to an entirely different method, based on constructing a continuous-time Markov chain whose generator approximates the generator of an SBM. Specifically, we spatially discretize the infinitesimal generator and boundary conditions of the SBM, for example using a finite difference approximation, to obtain the generator of a Markov jump process on the set of discretization points. This Markov jump process may be simulated using a simple Monte Carlo method known variously as the Stochastic Simulation Algorithm, kinetic Monte Carlo, the Doob-Gillespie algorithm or the Gillespie algorithm [16, 17, 33, 34].
These approximations of sticky diffusions go back to the Markov Chain Approximation Method (MCAM) invented by Harold Kushner in the 1970s to approximate optimally controlled diffusion processes [51, 61, 62, 52, 53, 54, 55, 60, 56, 57, 58, 59]. However, because of their interest in stochastic control problems, these works mainly focus on numerical solutions with gridded state spaces and use numerical linear algebra to construct an approximation. In the physics literature, a Monte-Carlo method was developed to construct the approximation [21, 89, 73, 74, 63], an approach which seems to go back to at least [21]. More recently, a new “gridless” framework was introduced for constructing Markov jump process approximations for diffusions [9], which allows the domain of the diffusion process to be unbounded, does not require that the diffusion process is symmetric, and does not assume that the infinitesimal covariance matrix of the diffusion process is diagonally dominant. This generalization allows the jump size of the numerical solution to be uniformly bounded, which makes it easier to numerically treat boundary conditions. Very recently, these ideas have been extended to SPDE problems [8].
3.1 Numerical Algorithm
To apply this approach, let us discretize the interval into a set of grid points , where is the spacing between neighboring grid points. Let and let be the values of the function at the grid points, i.e. as illustrated below.
[math]h$$2h$$f_{-1}$$f_{0}$$f_{1}$$f_{2}$$\dotsc
The white dot indicates a ghost grid point, which we recruit in our construction.
At each interior grid point, the generator (see (18)) can be approximated by
[TABLE]
This approximation is a second-order centered finite difference approximation to the second derivative operator . At the boundary grid point, , we do not know the value of the ‘ghost’ point that is needed in (20), so we solve for it using the boundary condition in (18). The discretized boundary condition is
[TABLE]
where again we used a second-order centered finite difference scheme to evaluate . Using this equation to eliminate in (20) with gives an approximation to the generator at the boundary as
[TABLE]
This local error estimate suggests that this approximation is globally second-order accurate in when . When , which corresponds to a reflecting Brownian motion, the remainder term in (21) may lead one to surmise that the approximation is only first-order spatially accurate. However, it turns out that even in this case, the global error is still second-order in , because roughly speaking, the local error at the boundary is also proportional to the mean occupation time of a reflecting Brownian motion near the boundary, which is .
Now, we construct a continuous-time Markov chain with state space , whose generator is the discrete approximation to . That is, we set
[TABLE]
The infinite matrix associated to the generator has nonzero entries if and , if , , . One can verify that is the generator of a continuous-time Markov chain, since the coefficients with are nonnegative, and . Note that when in (22) one obtains the generator of a reflecting random walk.
Realizations of this sticky random walk can be simulated exactly using a simple Monte Carlo method [16, 17, 33, 34]. Suppose at time . The process is updated in two steps.
- •
Pick a state with probabilities proportional to , respectively. Specifically, for , we jump to the left or right states with equal probability, and for , we always jump to .
- •
Choose a random time , where is the distribution of an exponential random variable with mean . Set for and set . That is, the process jumps to a new state after a random time .
To sum up, the process is a continuous-time random walk, a “sticky random walk” (SRW), with mean waiting time at interior grid points and at the sticky boundary. See Appendix A for Matlab code implementing this method.
Realizations of for and different values of are plotted in Figure 4. Away from 0, the process is a random walk with random waiting times, which looks increasingly like a Brownian motion as . When the process hits 0, however, it spends much longer there on average than it does at interior points. Overall the process looks like a Brownian motion which has been “slowed down” near 0, an observation that can be made rigorous as we discuss in Section 4.
3.2 Properties of the numerical solution
This difference in the scaling with of the waiting times at boundary and interior points, nicely illustrates the unusual behavior of an SBM at the origin and gives insight into why it is sticky there. The mean waiting time at interior points is , the usual scaling for diffusion motion, which requires that , where is the jump at each step of the algorithm. The mean waiting time at the origin is – longer by a factor of about , so the scaling is ballistic at the origin. The amount of time the process spends at the origin is the same as it would spend at about interior grid points, which is the number one would use to discretize an interval of length . Therefore, we expect we expect this SWR to spend a finite, non-zero amount of time at the origin as , an amount of time which increases in proportion to .
Interestingly, although the SRW spends finite time at the origin as , in the limit it never spends a whole interval of time at the origin. This is evident from the numerical solution, since the waiting time at the origin approaches zero as . This implies that every time an SBM hits the origin, it leaves right away, just as does a Brownian motion; yet somehow the total measure of the points at which it equals zero is positive.
We have seen the ballistic scaling of times near the origin before, in Lemmas 2.3 and 2.7. Indeed, the mean holding time of the sticky random walk at [math] is identically the MFPT of a SBM with (see Lemma 2.7.) The additive property of the MFPT then implies the following lemma.
Lemma 3.1**.**
*Given and , the MFPT of out of with initial condition is . In particular, . *
Another useful property of is that once a simulation has been performed for some fixed , one can obtain a trajectory for any other value simply by scaling the holding time of the jumps which leave the origin, since the probabilities of jumping to each state do not change; see Figure 5 for an illustration. This is a useful property as it allows one to investigate multiple values of with one single simulation.
3.3 Accuracy and efficiency of the numerical method
We compare the accuracy and efficiency of this numerical method for simulating a SBM, to the accuracy and efficiency of a method which simulates (1) directly using a symmetrized Euler-Maruyama (EM) approximation (5) and a Morse potential for . Figure 6 shows that 1% accuracy for the sticky random walk requires a mean time step of about 0.1. Contrast this to the EM scheme, which, for an accuracy of about 2%, requires a potential width no more than about and a time step of about . In this example, the time step of the sticky random walk method is about five orders of magnitude larger, to obtain a comparable level of accuracy.
In applications, one may with to use a SBM to model a potential with a small, but not infinitesimal range. How much more efficient is the sticky random walk in capturing the statistics of (1) for finite , and how accurately does it do so? To test this we ran a high-resolution simulation of (1) () using a Morse potential (Example 2.1) with sticky parameter , and range parameters (well depth ), characteristic of certain depletion interactions [72, 78], and (), characteristic of certain DNA-mediated interactions [90]. We computed the statistics , , and compared them to statistics estimated using the sticky random walk method with . Figure 7 shows that the sticky random walk method gives virtually the same estimates for all time steps; in particular the largest mean time step used, , is as good as any smaller timestep. In contrast, statistics computed from a direct simulation of (1) are nowhere near their converged values until a timestep of for respectively, more than 2 orders of magnitude smaller than for the sticky random walk.
The sticky random walk method will always contain a non-zero relative error no matter what the timestep, since it is only an approximation to the true dynamics. How large is this error? For the mean, , the relative error between the sticky random walk and the high-resolution simulation is for respectively, and for , the relative errors are . While the relative error in computing the mean may seem high, notice that the mean is sensitive to the range and shape of the potential, since we are computing this statistic at short times so most of the probability is concentrated in the boundary layer associated with the potential. In practice, experimental measurements of a quantity that depends so sensitively on the shape of a short-ranged potential are infeasible, because measurement noise is typically larger than the width of the potential [78]. In addition, the quantity of interest would usually be the particle diameter plus the mean distance, which would have a significantly smaller relative error, less than 1% for a 1m particle. A coarser statistic such as is more practical to measure, and hence is a better test for the accuracy of the sticky random walk model; here the relative errors are much smaller.
3.4 PDEs that can be solved by running a sticky random walk
It should be clear from the calculations in section 3 that the generator of is a locally consistent approximation of the generator of a SBM. How does this local consistency connect to more global results, for example about the accuracy with which can reproduce statistics of a sticky Brownian motion? In this section we present new Feynman-Kac formulae to show that from trajectories of , one can numerically solve certain PDEs with Feller’s more general boundary condition to second-order accuracy in the space step.
Consider the heat equation with Feller’s boundary condition
[TABLE]
where and are parameters satisfying and [27, 29, 45]. Special cases of this boundary condition include:
1) :
Dirichlet b.c. corresponding to a stopped Brownian motion;
2) :
Neumann b.c. corresponding to a reflecting Brownian motion;
3) :
Wentzell b.c. corresponding to an absorbed Brownian motion;444An absorbed Brownian motion is one where the Brownian motion has a fixed point at the boundary, which is consistent with what happens as the sticky parameter in (7) becomes infinite; whereas, a stopped Brownian motion corresponds to a Brownian motion that is terminated at the boundary. and,
4) :
Robin b.c. corresponding to an elastic Brownian motion.
The general case corresponds to a Brownian motion that exhibits stopping, stickiness, and reflection at various rates [45].
The following result shows how to numerically solve (23) when using the sticky random walk developed in §3. The case can be solved in a similar manner using a continuous-time random walk with absorbing boundary conditions at [math], but for notational brevity, we omit this case.
Theorem 3.2**.**
Assume , set
[TABLE]
Suppose further that (23) has a solution whose first four derivatives are continuous and bounded. Let be a sticky random walk, i.e., a Markov jump process on the grid with generator defined by (22). At every grid point , define the function
[TABLE]
where denotes expectation conditional on . Then for all and for all sufficiently small, there exists such that
[TABLE]
Although there are well-posedness and semigroup generation results for the heat equation with generalized, two-sided Feller boundary conditions in a bounded domain [24, 25], we are not aware of results for the heat equation on the half line with Feller boundary conditions that gives the required regularity results for in Theorem 3.2.
Proof 3.3**.**
Our proof will proceed in two steps. First, we show that a second-order spatial discretization of the PDE (23) using finite differences is given by the solution to the linear, infinite-dimensional system of ODEs
[TABLE]
with initial condition . Together with the regularity of , this will imply that and are close in an norm over . Second, we show that the solution to (25) admits the stochastic representation (24).
Note that another way to write (25) is to define , and write
[TABLE]
where is the generator of defined in (22). The difference between (26) and the backward equation associated with is the presence of the term , which causes to decrease in time (recall ).
For the first step, i.e. obtaining the discretization of the PDE (28), notice that the ODEs (25) for are obtained by replacing in (23) by the centered finite difference given in (20); and the ODE at is obtained by incorporating a finite difference discretization of the boundary condition into a centered finite difference approximation of at [math]. Specifically, given a function that satisfies the boundary condition in (23), use a ghost grid value combined with a centered finite difference approximation to and to obtain
[TABLE]
Using the above equation to eliminate from (20) when , gives an approximation to at the boundary as
[TABLE]
Substituting into the first term then gives the ODE in (25) for .
For the second step, define
[TABLE]
Applying Itô’s formula for jump processes (see e.g. [82]) we obtain that
[TABLE]
By (26), the right-hand side is zero. Evaluating this equation at and using the initial condition in (23) gives
[TABLE]
*as required. *
One can similarly solve Dirichlet-Poisson problems. For example, consider the boundary value problem
[TABLE]
where is a given function and are parameters satisfying and . Then we have the following result.
Theorem 3.4**.**
Assume , set and ; and suppose that (28) has a solution whose first four derivatives are continuous and bounded. Let be a sticky random walk, i.e., a Markov jump process on the grid with generator defined by (22). For every grid point , define the function
[TABLE]
where denotes expectation conditional on and is the random stopping time . Then for all sufficiently small, there exists such that
[TABLE]
A proof of this theorem is like the proof of Theorem 3.2 and therefore omitted.
4 Other characterizations of sticky Brownian motion
Interestingly, sticky boundary conditions were discovered in the pure mathematics literature, well before they were used in applied math or physics. This section summarizes some of the other ways of characterizing SBM that have been developed in the mathematical literature, and connects them to our numerical and asymptotic approach. A nice history focusing especially on Feller’s contribution to the development is given in [80]. To more easily make a connection to the existing literature, we consider in this section a traditional sticky Brownian motion, whose generator is with boundary condition . The numerical solution of this process is the same as that given in section 3, but with numerical generator , where is the generator for a root-2 sticky Brownian motion, defined in (22).
Sticky diffusion processes were discovered by Feller in the 1950s, who sought to identify the most general boundary conditions for the generator of a one-dimensional diffusion [27, 29]. For a process on with continuous sample paths that behaves like a Brownian motion in , the possible boundary conditions have the form [27, 45, 80]
[TABLE]
with , and (c.f. (23)). Feller said of his result [27]:
This is the second instance of a concrete problem with physical significance where physical intuition failed, but our abstract methods provided a clue.
Feller was referring to problems in genetics, which have certain singularities in the diffusion coefficients when a population size hits zero, but his remark could equally well apply to the sticky boundary condition ; physical intuition does not immediately show why this should be associated with stickiness, and a singularity in the transition probabilities.
Subsequently Itô & McKean showed how to construct an SBM from a time change of a reflecting Brownian motion [45]. Let be a standard reflecting Brownian motion, which can be constructed from a standard Brownian motion as . Let
[TABLE]
be the local time accumulated at [math] by over . Define
[TABLE]
Since is continuous and nondecreasing, is continuous and strictly increasing, so it has an inverse . Define
[TABLE]
Then is an SBM [45].
The process is simply a time change of a reflecting Brownian motion, making it run on clock instead of clock . When , then so the process runs at the same rate as . When , then increases faster than because of the local time, so the clock runs more slowly and slows down at [math].
To see why it slows down in a way that changes its measure at zero, let’s compute the MFPT for to leave the interval , starting at 0. Let be the first exit time of from , so that and the MFPT of is given by
[TABLE]
By a Feynman-Kac formula, the expected value can be calculated by solving the boundary value problem
[TABLE]
whose local solution at zero is . Hence, and , which is twice the mean waiting time we derived for a root-2 SBM in Lemma 2.7, and in particular, this waiting time is not diffusive like the mean waiting time of .
A different discrete approximation to a SBM was derived by Amir [1], who showed how to obtain the process as a limit of random walks. Recall that one can construct a standard Brownian motion starting from a random walk by using Donsker’s Theorem [15]. Let
[TABLE]
be a rescaled random walk, where is a sequence of independent, identically distributed random variables with . As with , the process converges in distribution to a Brownian motion [15, 26].
Amir [1] showed that one can construct a sticky (nonreflecting) Brownian motion, by modifying as follows: every time hits zero, wait there for a time interval of length , instead of . For example, one can let , for some integer , and then the process must wait timesteps each time it hits zero. As , the modified process converges to a sticky nonreflecting Brownian motion. A sticky reflecting Brownian motion is then the limit of .
Finally, we remark that an SBM solves the following SDE, which should be interpreted in an integrated sense (see [44, 22], and references therein):
[TABLE]
This equation has a unique weak solution, but no strong solution [22]. That it corresponds to the sticky boundary condition can be seen by noting that555This perspective is due to R. Varadhan, personal communication. the generator away from the origin is , and at the origin it is , so to be consistent the function must satisfy the sticky boundary condition .
It may seem quite remarkable that changing the diffusion coefficient at a single point, the origin, can have such a dramatic effect on the process. To see why this is so, consider widening the region near the origin by some amount , approximating the drift as constant in this interval, and estimating the increment over a small time interval . If , the increment is , so it takes the process a time of about to leave the interval . If , the increment has magnitude , so it takes the process a time of about to travel the length of any other interval of length . We recover the same scalings as for the time-changed formula (31), showing that the slowdown near the origin has a singular effect on its transition densities. Even though the diffusion coefficient changes at only one point, the difference between and at that point gives rise to the singular change in timescales.
5 Conclusion and Outlook
We considered a reflecting Brownian motion on a half-line with a deep but short-ranged potential energy near the origin. As the potential becomes narrower and deeper, the process approaches a “sticky” Brownian motion, which has finite probability to be found in any interval on the half-line, as well as finite probability to be found exactly at ; counterintuitively it never spends an interval of time at 0. The process is characterized by a non-classical boundary condition for its generator, involving second derivatives. We showed that simulating trajectories of a process that is close to sticky using a traditional Euler-Maruyama discretization of its SDE requires very small timesteps. This motivated us to introduce an alternative method, based on discretizing space first and constructing a continuous-time Markov chain on the set of discretization points, which allows time steps at least 2 orders of magnitude larger in parameter regimes of physical relevance (at the expense of making a small error in estimating the transition probability.) The method results in a random walk on the nonnegative integers with random holding times, with a larger holding time at [math]. The holding times give insight into why the process has a singular probability density at zero, since the holding time scales ballistically with step size at the origin, rather than diffusively.
Our motivation came from studying systems of mesoscale particles (diameters nm-m), which have attractive interactions that are very short-ranged compared to their diameters. For such particles, the structures and dynamics are often more effectively studied by considering the system in the sticky limit [42, 78, 41]. Our goal is to eventually create numerical methods to simulate such particle systems directly in the sticky limit, for which we hope to see a similarly large gain in efficiency.
Achieving this goal will require building on the ideas in this paper to handle higher-dimensional sticky diffusions with more complicated boundary conditions. There are several steps involved. The first is to create methods to handle -dimensional diffusions that are sticky on a half-space of dimension . The new ingredient here is that the diffusion can move directly along the boundary, with dynamics that are different from those in the interior. This will be feasible by discretizing the generators in the domain and on its boundary, as we have done in this paper. We expect such a method to be efficient even when is too large to solve PDEs numerically, since the generator must only be discretized locally, using two points per dimension, and not globally over the whole domain [9].
A second step is to adapt these methods to work on manifolds, since a collection of interacting sticky particles performs a diffusion on the manifold corresponding to certain fixed distance constraints [42]. It may be a challenge to retain the method’s second-order accuracy when on a manifold, however it may not be necessary to do so, since the sticky limit is an approximation anyways. Other methods have considered how to sample probability densities directly on manifolds and have shown themselves to be significantly more efficient than using short-range forces to keep a process near a manifold (e.g. [13, 64, 92].)
A third step, and perhaps the most challenging, will be to adapt the method to processes which are sticky on even lower-dimensional “corners”. For example, a -dimensional process may stick to a -dimensional boundary, from which it may stick to a -dimensional boundary, and so on. Physically this could correspond to a system of particles forming one bond, then two, then three, and so on. The number of intersecting boundaries increases as one moves down in dimension, and dealing with the whole collection of boundaries together may require further approximation.
We have focused in this paper exclusively on one-dimensional sticky Brownian motion, in order to build intuition into this unusual process, and to introduce it to the applied math community. Along the way we discussed some of the connections to the probabilistic approaches to studying sticky diffusions. We hope these ideas will be useful for other researchers studying sticky diffusions in the myriad of contexts in which they may arise, from biology to materials science to finance to operations research, and other applications yet to be imagined.
Appendix A Listings
In the MATLAB file SEM.m in Listing LABEL:list:SEM, we apply the symmetrized Euler-Maruyama scheme to the SDE (1) with being a Morse potential energy function (see Example 2.1) with parameters , , and ; and the sticky parameter set at . A single realization of a discretized Brownian motion is produced over with .
This realization of Brownian motion is used to drive symmetrized Euler-Maruyama operated at two time step sizes: and where [39]. We set the seed for MATLAB’s random number generator, arbitrarily, to be 88 using the command rng. The plotted paths illustrate that the time step size of symmetrized Euler-Maruyama has to be sufficiently small in order for the method to accurately represent the strong, short-ranged Morse potential force.
Listing LABEL:list:SRW displays the MATLAB file SRW.m which produces a realization of the sticky random walk over the time interval with initial condition , sticky parameter , and spatial step size . The simulation is terminated after the time update first exceeds . We set the seed for MATLAB’s random number generator, arbitrarily, to be 999 with the command rng. A single sample paths is plotted as a stairstep graph using the command stairs.
Acknowledgments
We wish to acknowledge Robert Kohn, Eric Vanden-Eijnden, and Srinivasa Varadhan for useful discussions that helped to improve this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Amir , Sticky Brownian motion as the strong limit of a sequence of random walks , Stochastic Processes and their Applications, (1991).
- 2[2] D. E. Apushkinskaya and A. I. Nazarov , A survey of results on nonlinear Venttsel problems , Applications of mathematics, 45 (2000), pp. 69–80.
- 3[3] D. E. Apushkinskaya and A. I. Nazarov , The Venttsel problem for nonlinear elliptic equations , Journal of Mathematical Sciences, 101 (2000), pp. 2861–2880.
- 4[4] S. Asakura and F. Oosawa , On Interaction between Two Bodies Immersed in a Solution of Macromolecules , Journal of Chemical Physics, 22 (1954), pp. 1255–1256.
- 5[5] G. Barraquand and M. Rychnovsky , Large deviations for sticky Brownian motions , ar Xiv preprint ar Xiv:1905.10280, (2019).
- 6[6] R. J. Baxter , Percus–Yevick Equation for Hard Spheres with Surface Adhesion , The Journal of Chemical Physics, 49 (1968), p. 2770.
- 7[7] M. Bossy, E. Gobet, and D. Talay , Symmetrized Euler scheme for an efficient approximation of reflected diffusions , Journal of applied probability, 41 (2004), pp. 877–889.
- 8[8] N. Bou-Rabee , Spectrwm: Spectral random walk method for the numerical solution of stochastic partial differential equations , SIAM Review, 60 (2018), pp. 386–406.
