Optimization in First-Passage Resetting
Abstract
We investigate classic diffusion with the added feature that a diffusing particle is reset to its starting point each time the particle reaches a specified threshold. In an infinite domain, this process is non-stationary and its probability distribution exhibits rich features. In a finite domain, we define a non-trivial optimization in which a cost is incurred whenever the particle is reset and a reward is obtained while the particle stays near the reset point. We derive the condition to optimize the net gain in this system, namely, the reward minus the cost.
Diffusion is a fundamental process underlying a wide variety of stochastic phenomena that has broad applications to physics, chemistry, finance, and social sciences Chandrasekhar (1943); Van Kampen (1992); Chicheportiche and Bouchaud (2014); Rogers (2010). A fruitful recent development is the notion of resetting, in which a diffusing particle is reset to its starting point at a specified rate Evans and Majumdar (2011a, b); Evans et al. (2020). Resetting alters the diffusive motion in fundamental ways and has sparked much research on its rich consequences (see, e.g., Boyer and Solis-Salas (2014); Christou and Schadschneider (2015); Rotbart et al. (2015); Majumdar et al. (2015); Reuveni (2016); Pal and Reuveni (2017); Belan (2018); Bodrova et al. (2019)). Resetting also has natural applications to search processes, where the search begins anew if the target is not found within a certain time Kuśmierz and Gudowska-Nowak (2015); Campos and Méndez (2015); Bhat et al. (2016); Eule and Metzger (2016). For such diffusive searches, resetting leads to a dramatic effect: an infinite search time to find a target becomes finite, with the search time minimized at a critical reset rate.

In this work, we investigate first-passage resetting in which resetting occurs whenever a diffusing particle reaches a threshold location (Fig. 1). Hence the time of the reset event is determined by the state of the system itself rather than being imposed externally Evans and Majumdar (2011a, b); Evans et al. (2020). First-passage resetting typifies regenerative processes that are reset at renewals Ross (2014), which has natural applications to reliability theory Gnedenko et al. (2014). This mechanism was first envisaged by Feller Feller (1954) who proved existence and uniqueness theorems. Similar ideas were pursued in Sherman (1958), and they first appear in the physics literature in Falcao and Evans (2017). Specifically, Falcao and Evans (2017) examines two Brownian particles biased toward each other that reset to their initial positions upon encounter. This corresponds to a drift toward the origin in our semi-infinite geometry of Fig. 1. This negative drift leads to a stationary state, but the absence of drift leads to a variety of new phenomena, as discussed below. Moreover, we introduce a path decomposition that provides the spatial probability distribution in a geometric way.
When the diffusing particle is confined to the finite interval , we define an optimization problem in which there is a cost for each resetting event and an increasing reward as the particle approaches the resetting point . This scenario is inspired by a power-management problem Ajjarapu et al. (1994); Zhihong Feng et al. (2000), where the power delivered corresponds to the coordinate and a blackout corresponds to resetting. A closely related optimization arises in finance Miller and Orr (1966). In both examples, one seeks to operate almost to full capacity while avoiding saturation: in our optimization framework, the goal is to maximize the net gain—the difference between the reward and the cost.
Semi-Infinite Geometry: We first treat diffusion on the semi-infinite line with first-passage resetting (Fig. 1). The particle starts at and diffuses in the range . When is reached, the particle is instantaneously reset to the origin. Define as the probability that the particle resets for the time at time . For , this quantity is the first-passage probability for a diffusing particle to reach Redner (2001)
For the particle to reset for the time at time , it must reset for the time at time , and reset one more time at time . Because the process is renewed at each reset, is given by the renewal equation
(1) |
The convolution structure of Eq. (1) lends itself to a Laplace transform analysis because the corresponding equation in the Laplace domain is simply from which .
Using the Laplace transform of the first-passage probability , we thus obtain , where we introduce and for notational simplicity. Notice that has the same form as with . That is, the time for a diffusing particle to reset times is the same as the time for a freely diffusing particle to first reach .
In contrast to fixed-rate resetting, the spatial probability distribution in the semi-infinite geometry is non-stationary. This distribution is formally determined by
(2a) | |||
with , the probability for a particle to be at when it starts at the origin in the presence of an absorbing boundary at Feller (2008); Redner (2001); Bray et al. (2013). Equation (2a) states that for the particle to be at , it either (i) must never hit , in which case its probability distribution is just , or (ii), the particle first hits for the time at , after which the particle restarts at the origin and then propagates to in the remaining time without hitting again. The latter set of trajectories must be summed over all . An equivalent way of writing Eq. (2a) is | |||
(2b) |
The first term accounts for the particle never reaching , while the second term accounts for the particle reaching at time , after which the process starts anew from for the remaining time . Analogously to the Fokker-Planck equations, we refer to Eqs. (2a) and (2b) as the forward and backward renewal equations, respectively.
To solve for we again treat the problem in the Laplace domain. While we can find the solution from the Laplace transform of Eq. (2a), the solution is simpler and more direct from the Laplace transform of (2b):
(3) |
We now need to separately consider the cases and . In the former case, we expand the denominator in a Taylor series to give
(4a) | ||||
from which | ||||
(4b) |
The long-time limit of is particularly simple. By expanding the Laplace transform for small and then inverting this transform, we find
This linear form arises from the balance of the diffusive flux exiting at that is re-injected at .




For , in Eq. (3) is factorizable:
(5a) | ||||
and this latter form can be readily inverted to give | ||||
(5b) |
Strikingly, this closed form represents the superposition of free diffusion paths to starting from and from . This property may be derived by decomposing trajectories with resetting into a series of first-passage segments between each reset and then reflecting and translating them to obtain either a free diffusion path that starts at or at and propagates to as indicated in Fig. 2. We emphasize that this decomposition applies for any symmetric stochastic process.
A basic characteristic of regenerative processes is the number of reset events up to time . The probability for reset events is given by
From our previous result that , we immediately have
(6) |
where is the Gauss error function.
We can compute , the average number of reset events from (6), but it is quicker to express in terms of a backward renewal equation:
(7) |
Equation (7) accounts for the particle first hitting at any time , then the process is renewed over the time range , so there will be on average resets. Taking the Laplace transform of (7) then leads to
(8) |
from which we extract the long-time behavior of the average number of reset events by taking the limit. We thus find .
Optimization in the Finite Interval: Let us now view the coordinate as the operating point of a mechanical system or a power grid with , and a control mechanism that acts upon in the form of a drift. It is desirable that the system operates close to the maximum operating point; that is, near . We therefore assign a reward that is proportional to . On the other hand, when reaches the system breaks down. Each breakdown incurs a cost , after which the system is reset to the origin. The goal is to determine the optimal operation of this system, for which the objective function
(9) |
is maximized, with the number of breakdowns within a time .
As a simple model, we posit that the coordinate changes in time according to diffusion, due to demand fluctuations, with superimposed drift. From a practical viewpoint, the drift should drive the system away from the breakdown point; that is, the control mechanism forestalls breakdowns. However, optimization arises for either sense of the drift. Mathematically, we need to solve the probability distribution of the particle which obeys the convection diffusion equation
(10) |
subject to the initial and boundary conditions
Here, is the probability density, the subscripts denote partial differentiation, is the diffusion coefficient, and is the drift velocity. The delta-function term in (10) corresponds to the reinjection of the outgoing flux at to , and the initial condition corresponds to starting the system at .
This problem can be readily solved in the Laplace domain. As a preliminary, we first need to solve the simpler subproblem with no flux reinjection so that the delta-function term in (10) is absent. In this case, the concentration is De Bruyne et al. (2021)
(11a) | ||||
where the subscript 0 denotes the concentration without flux reinjection, is the Péclet number, , and . From , the Laplace transform of the first-passage probability to is | ||||
(11b) |
With reinjection of the outgoing flux, the concentration obeys the renewal equations (2). In the Laplace domain and using above, we find
(12) |
where we substitute in Eqs. (11) to obtain the final result.
On a finite interval, diffusion with first-passage resetting is ergodic and admits a steady state Grigorescu and Kang (2002); Leung and Li (2008); Ben-Ari and Pinsky (2009). In the limit, the coefficient of the term proportional to in gives the steady-state concentration in the time domain, which is
(13) |
from which the normalized first moment is
(14) |
The average number of reset events satisfies the backward renewal equation (7) and using from (11b) we find
(15a) | ||||
We now extract the long-time behavior for the average number of times that is reached by taking the limit of to give | ||||
(15b) |

Substituting these expressions for and into (9) immediately gives the objective function; representative plots are shown in Fig. 3. The salient feature is that there is an optimal operating Péclet number for each cost value. When the cost per breakdown is small, it is advantageous to run the system at positive Péclet number. Although there are many breakdowns, they are cheap, and there is a greater reward in pushing the system to the limit. Conversely, when the breakdown cost is high, the optimal operating point is at a negative Péclet number. Although there is little gain in operating the system at such a low level, the breakdown cost is so high that low-level operation is optimal.
When a mechanical system breaks down, there is downtime when repairs are effected before the system can be restarted. Such a delay, akin to the refractory period considered in Rotbart et al. (2015); Reuveni et al. (2014); Reuveni (2016); Evans and Majumdar (2011a), can be incorporated into our modeling by including a random delay after each resetting event. Thus when the particle reaches and is returned to , it waits there a random time that is drawn from the exponential distribution before moving again. Our formalism developed for instantaneous resetting can be naturally extended to resetting with delay—which might also be viewed as a so-called “sticky” Brownian motion Gallavotti and McKean (1972); Harrison and Lemoine (1981); Bou-Rabee and Holmes-Cerfon (2020) combined with resetting. The details are cumbersome, however, and we merely quote the main results. Upon including delay, the calculational steps that led to (14) now give De Bruyne et al. (2021)
(16) |
where is a dimensionless measure of the delay time. Similarly, following the calculation that led to (15b), the average number of breakdowns is
(17) |
This leads to an objective function whose qualitative features are similar to the no-delay case. The primary difference is that the optimal Péclet number and the corresponding optimal objective function both decrease as the delay time is increased. Indeed, delay reduces the number of breakdowns but also induces the coordinate to remain closer to the origin. In the limit where the delay is extremely long, the optimal Péclet number will be small and will almost not depend on the cost per breakdown, as the particle almost never hits the resetting boundary.
In summary, triggering the reset of a diffusing particle by a first-passage event leads to rich features. On the infinite line, the probability distribution is exactly calculable and can be understood in terms of a subtle path decomposition. In a finite domain , there exists an optimal bias velocity that maintains the system at maximum performance—close to the peak operating point of while minimizing the number of breakdowns.
The formalism developed here can be extended to systems with multiple degrees of freedom, such as a power grid, where the breakdown in one coordinate induces a breakdown in another coordinate. Another promising direction is to incorporate the possibility of partial versus complete repair Rausand and Høyland (2003). After partial repair, the operating range of the system is reduced, so that the next breakdown is more likely to occur sooner. On the other hand, there will be a smaller penalty associated with partial repair. This perspective may allow one to optimize both the frequency and magnitude of repair costs.
More generally, first-passage resetting may lead to intriguing statistical features in problems in control theory and management science (where fluctuations of inventory or cash fund levels are typically modeled by random walks or Brownian motion, and there generally exists a maximal capacity that one seeks to use optimally Harrison et al. (1983); Buckholtz et al. (1983)) or in biology (where allele frequencies in population genetics models evolve according to diffusion, with “killing” when a frequency reaches a limit level Tavaré (1979); Goel and Richter-Dyn (2016)).
Acknowledgements.
BBs research at the Perimeter Institute is supported in part by the Government of Canada through the Department of Innovation, Science and Economic Development Canada and by the Province of Ontario through the Ministry of Colleges and Universities. JRFs research at Columbia University is supported by the Alliance Program. SR thanks Paul Hines for helpful conversations and financial support from NSF grant DMR-1910736.References
- Chandrasekhar (1943) S. Chandrasekhar, Rev. Mod. Phys. 15, 1 (1943).
- Van Kampen (1992) N. G. Van Kampen, Stochastic processes in physics and chemistry, Vol. 1 (Elsevier, 1992).
- Chicheportiche and Bouchaud (2014) R. Chicheportiche and J.-P. Bouchaud, in First-passage Phenomena And Their Applications (World Scientific, 2014) pp. 447–476.
- Rogers (2010) E. M. Rogers, Diffusion of innovations (Simon and Schuster, 2010).
- Evans and Majumdar (2011a) M. R. Evans and S. N. Majumdar, Phys. Rev. Lett. 106, 160601 (2011a).
- Evans and Majumdar (2011b) M. R. Evans and S. N. Majumdar, J. Phys. A: Mathematical and Theoretical 44, 435001 (2011b).
- Evans et al. (2020) M. R. Evans, S. N. Majumdar, and G. Schehr, J. Phys. A: Mathematical and Theoretical (2020).
- Boyer and Solis-Salas (2014) D. Boyer and C. Solis-Salas, Phys. Rev. Lett. 112, 240601 (2014).
- Christou and Schadschneider (2015) C. Christou and A. Schadschneider, J. Phys. A: Mathematical and Theoretical 48, 285003 (2015).
- Rotbart et al. (2015) T. Rotbart, S. Reuveni, and M. Urbakh, Phys. Rev. E 92, 060101 (2015).
- Majumdar et al. (2015) S. N. Majumdar, S. Sabhapandit, and G. Schehr, Phys. Rev. E 92, 052126 (2015).
- Reuveni (2016) S. Reuveni, Phys. Rev. Lett. 116, 170601 (2016).
- Pal and Reuveni (2017) A. Pal and S. Reuveni, Phys. Rev. Lett. 118, 030603 (2017).
- Belan (2018) S. Belan, Phys. Rev. Lett. 120, 080601 (2018).
- Bodrova et al. (2019) A. S. Bodrova, A. V. Chechkin, and I. M. Sokolov, Phys. Rev. E 100, 012119 (2019).
- Kuśmierz and Gudowska-Nowak (2015) L. Kuśmierz and E. Gudowska-Nowak, Phys. Rev. E 92, 052127 (2015).
- Campos and Méndez (2015) D. Campos and V. Méndez, Phys. Rev. E 92, 062115 (2015).
- Bhat et al. (2016) U. Bhat, C. De Bacco, and S. Redner, J. Stat. Mech.: Theory and Experiment 2016, 083401 (2016).
- Eule and Metzger (2016) S. Eule and J. J. Metzger, New J. Phys. 18, 033006 (2016).
- Ross (2014) S. M. Ross, Introduction to Probability Models (Academic Press, 2014).
- Gnedenko et al. (2014) B. V. Gnedenko, Y. K. Belyayev, and A. D. Solovyev, Mathematical methods of reliability theory (Academic Press, 2014).
- Feller (1954) W. Feller, Trans. Amer. Math. Soc. 77, 1 (1954).
- Sherman (1958) B. Sherman, Ann. Math. Stat. 29, 267 (1958).
- Falcao and Evans (2017) R. Falcao and M. R. Evans, J. Stat. Mech.: Theory and Experiment 2017, 023204 (2017).
- Ajjarapu et al. (1994) V. Ajjarapu, Ping Lin Lau, and S. Battula, IEEE Transactions on Power Systems 9, 906 (1994).
- Zhihong Feng et al. (2000) Zhihong Feng, V. Ajjarapu, and D. J. Maratukulam, IEEE Transactions on Power Systems 15, 791 (2000).
- Miller and Orr (1966) M. H. Miller and D. Orr, Quar. J. Econ. 80, 413 (1966).
- Redner (2001) S. Redner, A Guide to First-Passage Processes (Cambridge University Press, 2001).
- Feller (2008) W. Feller, An introduction to probability theory and its applications, Vol. 1 (John Wiley & Sons, 2008).
- Bray et al. (2013) A. J. Bray, S. N. Majumdar, and G. Schehr, Adv. Phys. 62, 3, 225 (2015).
- De Bruyne et al. (2021) B. De Bruyne, S. Redner, and J. Randon-Furling, (2021).
- Grigorescu and Kang (2002) I. Grigorescu and M. Kang, Journal of Theoretical Probability 15, 817 (2002).
- Leung and Li (2008) Y. Leung and W. Li, Proceedings of the American Mathematical Society 136, 4427 (2008).
- Ben-Ari and Pinsky (2009) I. Ben-Ari and R. G. Pinsky, Stochastic processes and their applications 119, 864 (2009).
- Reuveni et al. (2014) S. Reuveni, M. Urbakh, and J. Klafter, PNAS 111, 12, 4391 (2014).
- Evans and Majumdar (2011a) M. R. Evans and S. N. Majumdar, J. Phys. A: Mathematical and Theoretical 52, 1, 01LT01 (2018).
- Gallavotti and McKean (1972) G. Gallavotti and H. McKean, Nagoya Mathematical Journal 47, 1 (1972).
- Harrison and Lemoine (1981) J. M. Harrison and A. J. Lemoine, Journal of Applied Probability 18, 216 (1981).
- Bou-Rabee and Holmes-Cerfon (2020) N. Bou-Rabee and M. C. Holmes-Cerfon, SIAM Review 62, 164 (2020).
- Rausand and Høyland (2003) M. Rausand and A. Høyland, System reliability theory: models, statistical methods, and applications, Vol. 396 (John Wiley & Sons, 2003).
- Harrison et al. (1983) J. M. Harrison, T. M. Sellke, and A. J. Taylor, Mathematics of Operations Research 8, 454 (1983).
- Buckholtz et al. (1983) P. G. Buckholtz, L. L. Campbell, R. D. Milbourne, and M. Wasan, Journal of Applied Probability 20, 61 (1983).
- Tavaré (1979) S. Tavaré, Theoretical population biology 16, 253 (1979).
- Goel and Richter-Dyn (2016) N. S. Goel and N. Richter-Dyn, Stochastic models in biology (Elsevier, 2016).