WorksPhysics and Astronomy
Stratonovich approximation for halo bias: An efficient framework within excursion set theory
Abstract
We develop an efficient framework for calculating halo multiplicity functions and bias parameters in the excursion-set approach based on the previously presented Hertz and Stratonovich approximations for the first-crossing distribution. The framework enables efficient evaluation of first-crossing distributions for a broad class of moving barriers and filter functions, from which halo biases can be calculated within the peak-background split formalism. We compare halo multiplicity functions and biases obtained from these approximations with those computed from first-crossing distributions obtained from numerically generated ensembles of excursion-set trajectories. We find close agreement between predictions based on the Stratonovich approximation and numerical results across a range of barrier parameters and filter choices, demonstrating that the approximation captures the impact of non-Markovian correlations on first-crossing statistics while substantially reducing the computational cost compared to trajectory-based calculations. Overall, this framework provides a flexible and computationally efficient tool for analyzing halo statistics in cosmological applications.
Introduction
The wealth of observational data from modern galaxy surveys provides unique opportunities for testing different cosmological models and identifying those that best describe our universe. For this purpose, galaxy-halo connection models (e.g. Wechsler & Tinker (2018)) can be used to connect the observed properties and clustering of galaxies to the properties and spatial distribution of their host dark matter halos, whose abundance and clustering are modeled within an underlying cosmological framework. Commonly used methods model the abundance and clustering of dark matter halos at a given redshift in terms of the (statistical) properties of the dark matter density fluctuation field that is linearly evolved from an initial state (e.g. Press & Schechter (1974); Bardeen et al. (1986); Peacock & Heavens (1990); Bond et al. (1991); Mo & White (1996); Sheth & Tormen (1999, 2002); Zentner (2007); Maggiore & Riotto (2010a,b); Ma et al. (2011); Corasaniti & Achitouv (2011a,b); Paranjape & Sheth (2012b); Paranjape et al. (2013a); Lapi & Danese (2014); Castorina et al. (2016); Nikakhtar & Baghram (2017)). In this context, the cosmological model dependence enters, in part, through the statistics of the initial density fluctuation field and its evolution.
One of the most widely used frameworks among such approaches is the excursion set theory (EST) (Bond et al. (1991); Lacey & Cole (1993)). The basic implementation of the EST involves calculating the smoothed linear density contrast, , at different smoothing scales , around a given point in Lagrangian space. Since there is a monotonic relationship between and the variance of the smoothed density contrast, , it is common to map to for calculations. In this manner, as one recursively reduces the smoothing scale (or equivalently increases ), the corresponding smoothed density contrast traces out a “trajectory” in the plane. This process can then be repeated for numerous other randomly chosen points in the Lagrangian space, creating an ensemble of trajectories which can then be analyzed as a stochastic process.
In the EST formalism, the first up-crossing of a positive threshold value (the collapse barrier) by a trajectory at a given scale , corresponding to a smoothing scale , is associated with the collapse of the matter enclosed within the corresponding Lagrangian volume into a virialized halo in Eulerian space. The mass of the Eulerian halo can then be related to the mass of the Lagrangian “protohalo” region, , which is determined by the smoothing scale and the filter function used to smooth the density contrast. The simplest collapse barrier is a constant barrier, , motivated by the spherical collapse model (Press & Schechter (1974); Bond et al. (1991)). A more physically motivated barrier is the Sheth-Mo-Tormen (SMT) (Sheth et al. (2001)) moving barrier, which depends on and is motivated by an ellipsoidal collapse model that accounts for tidal effects. There are also other types of barriers, such as stochastic barriers that partially incorporate the complex nature of halo formation by introducing variability/scatter in the collapse threshold (Maggiore & Riotto (2010b)).
The first crossing distribution (FCD), , is therefore a key function in the EST analyses as determines the fraction of trajectories that up-cross a given barrier for the first time within the interval . Within the EST framework, this fraction can be interpreted as the fraction of matter that has collapsed into halos of the corresponding mass interval, obtained by mapping to the halo mass scale . It is clear that halo abundance quantities, such as the halo mass function which describes the comoving number density of halos per unit mass, are proportional to and can be calculated from that (e.g. Bond et al. (1991)).
Another key quantity in cosmological studies is halo bias, which characterizes the clustering of halos relative to the underlying matter density field (e.g. Kaiser (1984); Cole & Kaiser (1989); Mo & White (1996); Sheth & Tormen (1999); Tinker et al. (2010); Corasaniti & Achitouv (2011a); Paranjape & Sheth (2012b); Lazeyras et al. (2016a,b); Desjacques et al. (2018); Castro et al. (2024)). In general, halo bias also exhibits scale dependence and non-locality, particularly beyond the linear regime (e.g. Catelan et al. (1998); Smith et al. (2007); McDonald & Roy (2009); Matsubara (2011); Baldauf et al. (2012); Chan et al. (2012); Paranjape & Sheth (2012a); Musso et al. (2012); Paranjape et al. (2013a); Sheth et al. (2013); Paranjape et al. (2013b); Castorina & Sheth (2013); Modi et al. (2017); Lazeyras & Schmidt (2018); Desjacques et al. (2018)).
One of the widely used approaches to predicting halo bias parameters on large scales is the peak-background split (PBS) formalism. The underlying idea is that long-wavelength density perturbations modulate the abundance of halos by effectively modifying the background density in which small-scale density fluctuations evolve and eventually collapse to form halos ([32] (Kaiser 1984; ); Bardeen et al. 1986; ); Cole & Kaiser 1989; ); Catelan et al. 1998; ); Sheth & Tormen 1999)). In particular, when combined with the excursion set theory, the PBS formalism provides a convenient framework for calculating Lagrangian halo bias parameters at different orders from the FCD. It is worth noting that the PBS formalism yields accurate predictions when implemented exactly (Desjacques et al. (2018)), as demonstrated by Lazeyras et al. (2016b).
The closed-form expression of the first crossing distribution is not known for arbitrary barrier and filter functions. Exceptions include the case of Markovian trajectories (e.g. Bond et al. (1991); Sheth (1998)), i.e. trajectories with uncorrelated steps (walks), and completely correlated trajectories (Paranjape et al. (2012)). Assuming Gaussian linear density fluctuations, Markovian trajectories can be generated by applying a “sharp-” smoothing filter, which corresponds to a Top-Hat filter in Fourier space. However, in more realistic scenarios, where filters like real-space Top-Hat, Gaussian and other ones are used, the trajectories become non-Markovian (e.g. Peacock & Heavens (1990); Bond et al. (1991)). The problem becomes even more complicated when a generic barrier is considered in conjunction with such trajectories to make the analyses consistent with more realistic descriptions of the halo formation process.
Given the complexity of non-Markovian stochastic processes with generic barriers, various methods and frameworks have been proposed for approximating the first crossing distribution (e.g. Peacock & Heavens (1990); Maggiore & Riotto (2010a,b); Ma et al. (2011); Corasaniti & Achitouv (2011b,a); Paranjape et al. (2012); Musso & Sheth (2012); Farahi & Benson (2013); Musso & Sheth (2014a); Nikakhtar et al. (2018); Verza et al. (2024)). In this work, we adopt the Hertz and Stratonovich approximations introduced by Nikakhtar et al. (2018) to develop a computationally efficient framework for estimating FCDs for generic barriers, which are subsequently used to calculate halo bias parameters within the PBS formalism. We validate the framework by comparing its predictions with those obtained from a numerical evaluation of FCDs, based on large ensembles of excursion set trajectories generated using the Cholesky method (Nikakhtar et al. (2018)).
This paper is organized as follows: § 2 reviews the Hertz and Stratonovich approximations and uses them to develop an efficient framework for calculating FCDs for generic barriers and smoothing filters. § 3 then discusses how halo bias parameters can be efficiently calculated within the PBS formalism. We subsequently use the framework to compute halo multiplicity functions and biases based on the Hertz and Stratonovich approximations, considering different smoothing filters and barrier. We then compare these predictions with their numerical counterparts. Finally, we conclude this work in § 4.
First crossing distribution in Hertz and Stratonovich approximations
The FCD, , can be obtained by calculating the fraction of trajectories that up-cross a barrier for the first time within the interval . However, a useful first step towards computing the FCD would be to first calculate the fraction of trajectories that up-cross the barrier at that interval, regardless of whether they have had previous up-crossings. For this purpose, following the arguments in (Musso & Sheth (2012); Baghram et al. (2019)), for a moving barrier , one can compute the probability that a trajectory, , satisfies the following conditions: and . The second condition can be expressed as: , where and . Assuming that trajectories start from and at , the probability that a trajectory up-crosses the barrier within the interval can then be written as:
where with . Assuming that linear matter density fluctuations are Gaussian, and obey Gaussian statistics with and is a joint Gaussian distribution. Now, one can calculate the “rate” of up-crossing the barrier at , , which is the probability that a trajectory up-crosses the barrier per unit , by dividing the result in (1) by and integrating over all slopes that are larger than the slope of the barrier, i.e. . In other words:
The next step in calculating the FCD is to subtract from all contributions corresponding to trajectories that have up-crossed the barrier before (see e.g. Verzichethaguina et al. (2006); Musso & Sheth (2014b); Nikakhtar et al. (2018); Baghram et al. (2019)). For this purpose, it is useful to define rate functions for multiple up-crossings, , which correspond to the joint probability that a trajectory up-crosses the barrier at . These rate functions can be expressed by generalizing Eq. (2):
where is a multivariate Gaussian distribution.
To calculate the rate functions, one needs to evaluate auto/cross correlations of and fields. For the correlations we have:
where is the linear matter power spectrum, denotes the smoothing scale and is the Fourier transform of the smoothing filter function. The variance is obtained as the special case of this correlation function in the limit . From this relation, one can obtain a monotonic mapping between and , and vice versa, since . The correlations involving the slope variable, , can also be evaluated using the following relations:
which lead to
Having obtained the rate functions at different orders, corresponding to different numbers of up-crossings, one can obtain the FCD from using the inclusion-exclusion principle (Baghram et al. (2019)). The final result is an infinite sum whose first term is and the subsequent terms involve integrals of rate functions at different orders. This sum can be expressed as:
It is generally difficult to evaluate this expression exactly. However, the sum can be approximated by treating the contribution of the first few terms exactly and approximating the contributions of the higher order terms. In this work, we use two approximations of this kind, referred to as the Hertz and Stratonovich approximations, which were presented in Nikakhtar et al. (2018). To discuss these further, it is useful to express the FCD in the following way (Verechtchaguina et al. (2006)):
with denoting a derivative with respect to and
where ’s are cumulant functions. For instance, in our case with generic barriers, we have , , etc.
The Hertz approximation
The idea behind the Hertz approximation (Hertz (1909); Nikakhtar et al. (2018)) (see also Musso & Sheth (2014b)) is that the up-crossings at different points are independent of each other. Under this assumption, the multivariate probability distribution in Eq. (3) can be factorized as . Consequently, this results in the factorization of the rate functions. Therefore, from Eq. (3), the rate functions in this approximation can be written as:
Now, this result can be inserted into Eq. (9) to obtain the FCD in the Hertz approximation:
Since the integration limits of each integral in this expression are and , the integrals are identical and depend only on . In other words:
Therefore, Eq. (13) can be re-expressed as:
which, in comparison with Eq. (10), implies that:
Considering Eq. (11), this approximation implies that all cumulant functions vanish except .
Stratonovich approximation
The Hertz approximation was the first step toward estimating the sum in Eq. (9). In terms of the cumulant functions, it includes only the contribution of the first cumulant, while approximating higher order terms as zero. The Stratonovich approximation (Stratonovich (1967); Nikakhtar et al. (2018)) improves upon this estimate by incorporating the contributions of the first two terms exactly and approximating the higher order terms based on these two terms. This approximation can be applied to the cumulant functions as:
where
This expression can then be inserted into Eq. (11) and the sum can be evaluated, leading to the Stratonovich approximation for the function (Nikakhtar et al. (2018)):
where
Finally, to find the FCD in Stratonovich approximation, , one can use Eq. (10) with .
Calculation of the first crossing distribution
Following the previous parts, the two key functions for calculating the FCD in Hertz and Stratonovich approximations are and rate functions which can be obtained from Eq. (3). To find closed-form expressions for them, we make use of the fact that in Eq. (3) is a multivariate Gaussian distribution. Hereafter, for simplicity in writing, we drop the explicit dependence of Gaussian distributions on parameters: .
For , one can first write . Considering the properties of conditional Gaussian distributions and also using and , one obtains
where
with:
The integral in Eq. (21) can be done analytically. Starting from Eqs. (21) and (22), since is usually a well-behaved function, especially in ranges that are relevant for cosmological analyses, we can apply the change of variable at each . Therefore, we need to integrate:
Now, defining , can be written as:
One can now apply another change of variables, and re-write the integrals as:
The first integral can then be written as:
where . The second integral can also be written as:
where we have used the definition of the error function. Now, using and combining this result with (27) we find the following relation for :
which, according to Eq. (24) and the definition of , leads to the following relation for the rate function:
The next step is to calculate the rate function, which is more involved. However, as will be shown below, the final expressions are compact and straightforward to evaluate. From Eq. (3), we need to consider the multivariate Gaussian distribution function which can be expressed as with being a conditional bivariate Gaussian distribution. This means that we can write the expression for as:
where
The joint Gaussian distribution in Eq. (31) has a relatively simple expression. It can be obtained from the following relation:
with
The exponent of the bivariate Gaussian can then be expanded to yield:
where .
Since in Eq. (32) is a conditional bivariate Gaussian distribution, we first briefly review the properties of conditional Gaussian distributions. Consider a vector of Gaussian random variables, , where and are themselves vectors of Gaussian random variables. Then, one can write with:
For such vectors, the conditional distribution is also a Gaussian, , with the following mean and variance:
For the conditional bivariate Gaussian distribution relevant to our calculations, , we have , and . Therefore, using Eqs. (37) and (38) for , one can write:
where and, using ,
with
In these expressions, we also have and . From these matrices, one can obtain the elements of and introduced in (40). The final results are:
These equations provide everything needed to fully determine the conditional bivariate Gaussian distribution in Eq. (39). The next step is obtaining a closed-form expression for the function. From Eqs. (32) and (39), one can re-write the integral as:
where . By applying the following change of variables:
and defining:
after some algebra, the integral takes the following form:
Now, we define
and the integral is further simplified as
.
Note that the expression inside the parentheses is the probability density function (PDF) of a standard bivariate Gaussian distribution, which is a well-known function in statistics. Referring to this expression as , the integrand of can be expanded:
Here, the last integral gives the probability . Similarly, the first three integrals correspond to different “moments” of the standard bivariate Gaussian PDF over the desired region. Such moments have already been calculated in the mathematical literature. Here we use the results of Rosenbaum (1961), which, after some algebra, lead to the following expression for the first three terms:
where and are, respectively, the PDF and cumulative distribution function (CDF) of a one-dimensional standard Gaussian distribution. The probability integral appears here again in the last term. This can be expressed as:
Therefore, for the integral we have:
where is the CDF of a standard bivariate Gaussian distribution with correlation coefficient . From this expression and (56) for the first three terms of , one can obtain the final expression as:
Finally, since we had defined , this results in:
based on which the rate function was presented in Eq. (31). We recall that and denote, respectively, the PDF and CDF of a one-dimensional standard Gaussian distribution and denotes the CDF of a standard bivariate Gaussian distribution. All these functions are well-known and have been implemented in most standard computational packages. The five parameters in this expression are:
where , , , and can be found in Eqs (44) - (48). These are functions that, in general, depend on , , and where each of and can be 1, 2.
Summary of the calculation steps
We are now able to calculate the FCD based on the Hertz and Stratonovich approximations for any given smoothing filter, barrier function, and set of cosmological parameters. The first step is to calculate the correlation functions from Eqs (4), (7) and (8) for a given filter function. The next step is to calculate the rate function using Eq. (30). Next, the rate function can be calculated using Eq. (31), where the expressions appearing in this equation are given by Eqs (35) and (60). Given the forms of these expressions, all steps are computationally straightforward and can be performed efficiently. Finally, after calculating the and rates, one can use Eqs (16) and (19) to obtain the functions in Hertz and Stratonovich approximations, respectively, and calculate the corresponding FCDs from Eq. (10). All these steps are also numerically straightforward and computationally efficient.
Halo multiplicity function and bias approximations
After calculating the FCD for a given barrier and filter function following the steps outlined in the previous subsection, one can readily determine the corresponding halo multiplicity function — a quantity widely used to calculate halo abundances. Halo multiplicity function is usually expressed as , where denotes the peak height parameter and is the critical overdensity for collapse (halo formation threshold). The function can be calculated from the FCD using the relation , which implies that is a normalized distribution with an interpretation similar to that of , but for intervals. Considering the relation between and , one obtains
where .
One motivation for using instead of is the fact that early models predicted the multiplicity function to be universal, i.e. absorbing the cosmology and redshift dependence into the peak height parameter (e.g. Press & Schechter (1974); Sheth & Tormen (1999); Jenkins et al. (2001)). However, later studies based on higher-resolution N-body simulations demonstrated that universality is not exact (e.g. Warren et al. (2006); Reed et al. (2007); Tinker et al. (2008); Crocce et al. (2010)). Furthermore, EST-based predictions for for arbitrary choices of smoothing filter and barrier functions are not guaranteed to be universal either. Nonetheless, using is still useful as it is near-universal in many cases and, more generally, can provide an efficient framework for modeling departures from universality (e.g. Despali et al. (2016)). The relation between the halo multiplicity function and the halo mass function, the comoving number density of a halos per unit log interval, can be written as:
where denotes the average comoving matter density.
In addition to the multiplicity function and halo mass function, one can also estimate the halo bias from the FCD for a given collapse barrier, 1, and a chosen smoothing filter. In general, the parameters of the barrier, including those determining its shape, can be calibrated against N-body simulations (e.g. Sheth et al. (2001); Verza et al. (2024)). Here, we focus on the calculation of halo bias using the PBS formalism (see the references in Section 1). Given that halo bias can be interpreted as the response of halo abundance to a long-wavelength background density fluctuation, and considering the abundance formula in Eq. (64), one can calculate the Lagrangian bias parameters within the EST framework by studying the conditional function , which is the FCD for trajectories conditioned on crossing the point , where is the long-wavelength background density fluctuation and its variance. In fact, the Lagrangian halo density contrast can be written as
where is the unconditional FCD. At large scales where , one can obtain local Lagrangian bias parameters by expanding the conditional FCD in terms of . In other words:
which leads to
These Lagrangian bias parameters can then be transformed into Eulerian bias parameters at different orders using appropriate transformation relations (e.g. Catelan et al. (1998); Matsubara (2011); Abidi & Baldauf (2018)).
For uncorrelated (Markovian) steps, the conditional FCD in Eq. (65) can be replaced with an unconditional FCD with appropriate shifts in and the barrier (e.g. Paranjape & Sheth (2012a)). In fact, for Markovian excursion set trajectories that first up-cross a barrier of the general form, , the conditional FCD, , can be replaced with an unconditional FCD, which is obtained from the FCD of trajectories for a barrier modified as with (here we assume that no trajectories, or only a negligible number of trajectories, have crossed the barrier at ). At the large scale limit () for , can be simply approximated as for a barrier shifted as . This implies that in the Markovian case, the local bias parameters at large scales can be obtained from an equation similar to Eq. (67), but with the conditional FCD replaced by the unconditional one described above and the derivatives taken with respect to instead of . In other words, for uncorrelated trajectories, the large scale Lagrangian local bias parameters can be attributed to the response of the function to variations of the .
The situation, however, becomes different for correlated (non-Markovian) trajectories. Following (Paranjape & Sheth (2012a); Musso et al. (2012); Desjacques et al. (2018)), for non-Markovian trajectories, the large scale () Lagrangian bias parameters can be well approximated as:
Here, and also can be calculated from Eq. (4) for Lagrangian radii (corresponding to ) and (corresponding to ). The ratio is an quantity which becomes equal to 1 for Markovian trajectories (sharp-k filter). The parameters, which are distinguished from other bias parameters that are multiplied by scale-dependent quantities that become negligible at limit, can be obtained from
This relation is motivated by the first order bias relation for non-Markovian trajectories in the presence of a moving barrier derived in Paranjape & Sheth (2012a), as well as by the bias relations at different orders for non-Markovian trajectories in the presence of a constant barrier derived in Musso et al. (2012); Desjacques et al. (2018). Eqs. (68) and (69) recover the correct limits both for a constant barrier and when non-Markovian contributions become negligible.
Finally it is worth noting that these biases are real space bias parameters. In general, scale dependent contributions to bias parameters give rise to -dependent terms in their Fourier space relations. The large scale limit of the halo bias in Fourier space can then be recovered in the limit . Considering the full -dependent expression for the halo bias in Fourier space in Musso et al. (2012), at linear order one can write: in the limit . This implies that can be interpreted as the Fourier space Lagrangian linear bias parameters on large scales.
The framework provided in this work for calculation of the FCD (summarized in subsection 2.4) can be used to efficiently calculate the parameters and obtain the corresponding Lagrangian bias parameters from Eq. (68). The procedure for obtaining the parameters from Eq. (69) can be described as follows:
For a given barrier of the form and a given filter function, one can first calculate the unconditional FCDs for a range of values of around the desired fiducial value. This provides, at each , a range of values of corresponding to different values of at and around the fiducial value.
After calculating the corresponding functions, one can evaluate their derivatives with respect to at any using straightforward numerical procedures, and obtain the corresponding values from Eq. (69).
Then, the results can be inserted into Eq. (68) to obtain the corresponding bias parameters.
This procedure can be used to obtain the large scale bias parameters for general choices of the barrier and filter functions. However, in some cases, these parameters can be calculated from more universal expressions. Following the discussions and results in Desjacques et al. (2018) on the derivation of the Lagrangian bias parameters based on the exact implementation of the PBS formalism through the separate-universe approach, under certain conditions and assumptions, one can find:
One of the key assumptions underlying the derivation of this relation is the universality of the multiplicity function, . That is, all the cosmological dependence is assumed to be encapsulated in the peak height parameter , with no additional dependence on the critical density, . In addition, although this relation is derived for a constant barrier, it can also be extended to a moving barrier, , provided that the barrier is assumed to remain unchanged in the presence of a long-wavelength fluctuation (Desjacques et al. (2018)). It should, however, be noted that this is, in general, an approximation since physical effects governing the behavior of a moving barrier (e.g. tidal effects) can potentially be influenced by a background fluctuation.
Testing the framework
In this part, we compare predictions for mass functions, multiplicity functions and biases based on the Hertz and Stratonovich approximations with those calculated based on numerically generated excursion-set trajectories. For the bias parameters, one can use Eqs. (68) and (69) for a given filter and barrier functions and calculate the parameters as summarized above. However, since our aim is to assess the performance of the Hertz and Stratonovich approximations by comparing their predictions with results from numerically generated large ensembles of excursion set trajectories (Monte Carlo-based results), we will be sufficient for our purpose to use the bias relation from Eq. (70). This also has the advantage of allowing us to generate Monte Carlo-based results for comparisons much more efficiently. However, in general, for non-Markovian trajectories, the multiplicity function is not guaranteed to be universal. Nevertheless, Eq. (70) should provide a reasonable approximation for a broad class of barriers. This is particularly likely to be the case for barriers for which the quantity , on which the FCD depends strongly, can be expressed entirely as a function of .
One example is the constant barrier . Another example is the family of SMT barriers, which can be written in the general form (Sheth et al. (2001)):
where is usually treated as a fixed value, while , and are model parameters that can be fitted to simulation data. For the FCDs obtained with these classes of barriers, one can obtain from Eq. (63) and approximate the bias parameters from Eq. (70). Ultimately, one can obtain Eulerian bias parameters using proper transformations. Here, for comparisons, we focus on the first order Eulerian bias parameter which is obtained from: . The reason we focus on the first order bias is that, besides being the most important contribution at large scales, it is also more suitable for comparisons with our Monte Carlo-based results. This is because even a small numerical fluctuation in the Monte-Carlo based multiplicity functions can get significantly amplified upon differentiation, making comparisons with our predictions for higher order bias terms difficult.
We consider both a constant barrier and the SMT barriers given by Eq. (71), using different values of the parameters , , . For the smoothing filters, we consider Top-Hat, Gaussian and (Musso & Sheth (2021)) filters, which are defined in Fourier space as
where denotes the spherical Bessel function of order and , with being the Lagrangian smoothing scale.
For the numerical trajectory-based calculation of the FCD for a given smoothing filter and barrier function, we first generate logarithmically spaced values of and then calculate the corresponding values using the chosen filter function. We generate linear matter power spectra using the Core Cosmology Library (CCL)2 (Chisari et al. (2019)). The values are calculated over a suitable range, with a resolution sufficient for our comparisons. We then generate a large ensemble of excursion set trajectories ( for this work) in the – plane using the Cholesky method (Nikakhtar et al. (2018)).
Next, we identify the locations of the first up-crossings of the trajectories using an appropriate interpolation method to improve the accuracy of the crossing point determinations. After identifying the first up-crossing points using the initial large set of values (densely sampled), we consider a new, smaller, set of values to calculate the FCD based on the first up-crossing points of the large set. For instance, for a given bin, , the corresponding FCD value is calculated as
where , is the number of trajectories that have up-crossed the barrier for the first time within that bin, is the total number of trajectories and . The reason we use the midpoint, , as the point at which the corresponding FCD is evaluated is that, by definition, is equal to the integral of over the bin interval and, therefore, provides a better approximation for this integral. Also for comparisons in this work, we consider the following cosmological parameters for a flat CDM universe: , , , and .
We first compare halo mass functions obtained from Eq. (64) using predicted and numerically computed (trajectory-based) FCDs. Figure 1 shows the halo mass functions predicted from the Stratonovich approximation for the FCD, compared with their counterparts obtained based on numerically computed FCDs from Cholesky-generated trajectories. For this plot, we consider a top-hat filter and an SMT barrier, at two redshifts. Since the filter is top-hat in real space, the halo masses can be calculated from , where is the volume of a sphere with Lagrangian radius . One of the advantages of the
Figure 1. halo mass functions calculated from Eq. (64), based on first crossing distributions calculated from the Stratonovich approximation (blue solid lines) and numerically generated excursion set trajectories using Cholesky method (red points), at two redshifts. The botton panels show the percent difference between the Stratonovich and numerical results. The range of halo masses are chosen such that the statistical errors of the numerical values are sub-percent.
Stratonovich approximation over more recent approximations for the FCD (e.g. Verza et al. (2024)) is that it maintains consistently high accuracy in the large (low mass) regime with relative errors at the sub-percent or levels.
Figure 2 shows the multiplicity functions and biases obtained based on Hertz and Stratonovich approximations, as well as those calculated based on numerically generated excursion set trajectories using the three different smoothing filters defined in Eqs. (72)–(74), for a constant barrier . For comparison, the figure also shows the multiplicity function and bias obtained from a Markovian model. For the Markovian multiplicity function, we use the result based on the Press–Schechter model (Press & Schechter (1974)),
Figure 2. Halo multiplicity functions and biases obtained from different approaches for different smoothing filters, assuming a constant barrier . The predictions are based on the Hertz (green dashed lines) and Stratonovich (blue solid lines) approximations, compared with their numerical counterparts based on numerically generated excursion set trajectories using the Cholesky method (red points) and also Markovian multiplicity function and bias results based on Eqs (76) and (77) (black dotted line).
and for the Markovian bias, we use the Mo and White result (Mo & White [32]),
It is clear from this figure that non-Markovian effects become increasingly important as decreases (or, equivalently, as increases, corresponding to smaller halo mass scales), and that the Stratonovich approximation provides the best agreement with the numerical results in capturing such effects. Figure 3 and Figure 4 show the results for SMT barriers with different values of the parameters , and . Again, one can see that the Stratonovich approximation provides the best agreement with the numerical predictions across all filter functions and barrier parameter values.
Figure 3. Halo multiplicity functions and biases obtained from different approaches for different smoothing filters, assuming an SMT moving barrier with the parameters specified in the title.
Figure 4. Similar to Figure 3, but for different values of the SMT barrier parameters.
Regarding the comparison between the Hertz and Stratonovich approximations across all figures, the performance of the Hertz approximation deteriorates as decreases. This is expected because smaller values of correspond to the larger- regime, where the probability of finding trajectories with multiple up-crossings increases. Following the arguments in § 2, the Hertz approximation is expected to perform worse than the Stratonovich approximation in correcting for the contributions of such multiple up-crossings. Regarding the Stratonovich approximation itself, we can see that it performs better at small for SMT barriers with larger values of the parameters , and . This is because the probability of multiple up-crossings becomes smaller with such barriers compared to the constant barrier or SMT barriers with smaller parameter values. However, overall, the results across all figures indicate that the Stratonovich approximation performs best based on comparisons with the numerical results and captures the non-Markovian effects most accurately.
Conclusions
In this work, we presented an efficient method for calculating halo multiplicity functions and bias parameters based on the previously presented Hertz and Stratonovich approximations for the first crossing distribution within the excursion set framework. The procedure for calculating the first crossing distribution for a generic barrier and smoothing filter is summarized in Subsection 2.4. In § 3, we discussed how halo bias parameters can, in general, be obtained in a numerically efficient manner using the framework presented in this work. We then showed examples of halo mass functions, multiplicity functions and biases calculated based on the Hertz and Stratonovich approximations, compared with numerical trajectory-based results in Figure 1–Figure 4. Figure 1 (mass function comparisons) corresponds specifically to the Stratonovich approximation. The multiplicity function and bias comparisons considered three different smoothing filters, together with constant and SMT moving barriers with different parameter values. In all cases, the Stratonovich approximation showed the best agreement with the numerical results. Furthermore, the Stratonovich approximation maintains consistently high accuracy even at large values of the parameter (corresponding to the low-mass halo regime) where non-Markovian effects become increasingly important.
Given the accuracy of the Stratonovich approximation for calculation of the first crossing distribution, as well as the flexibility and computational efficiency of the framework presented in this work, this framework could provide an efficient tool for training differentiable emulators of halo abundances and bias parameters for use in cosmological analyses. Developing such emulators can be an interesting avenue for future work.
Acknowledgments
The authors acknowledge the use of AI-based tools, including ChatGPT (OpenAI) and Claude (Anthropic), for assistance with improving the clarity and readability of the manuscript. SB is partially supported by the Abdus Salam International Center for Theoretical Physics (ICTP) under the regular associateship scheme. Moreover, SB is partially supported by the Sharif University of Technology Office of Vice President for Research under Grant No. QB050522.
Data Availability
No external datasets were used in this work. All codes developed for the implementation of the framework are available upon request. This paper has been typeset from a TeX/LaTeX file prepared by the author.
References
- [32]Mo H. J., White S. D. M., 1996, MNRAS, 282, 347



