Comparison of Sobol’ sequences in financial applications
Abstract
Sobol’ sequences are widely used for quasi-Monte Carlo methods that arise in financial applications. Sobol’ sequences have parameter values called direction numbers, which are freely chosen by the user, so there are several implementations of Sobol’ sequence generators. The aim of this paper is to provide a comparative study of (non-commercial) high-dimensional Sobol’ sequences by calculating financial models. Additionally, we implement the Niederreiter sequence (in base 2) with a slight modification, that is, we reorder the rows of the generating matrices, and analyze and compare it with the Sobol’ sequences.
keywords
Quasi-Monte Carlo method; Sobol’ sequence; Computational financeClassification:
65C05, 65D30, 65C10Comparison of Sobol’ sequences \lastnameoneHarase \firstnameoneShin \nameshortoneS. Harase \addressoneCollege of Science and Engineering, Ritsumeikan University, 1-1-1 Nojihigashi, Kusatsu, Shiga, 525-8577 \countryoneJapan \emailoneharase@fc.ritsumei.ac.jp \lastnametwo\firstnametwo\nameshorttwo\addresstwo\countrytwo\emailtwo\lastnamethree\firstnamethree\nameshortthree\addressthree\countrythree\emailthree\lastnamefour\firstnamefour\nameshortfour\addressfour\countryfour\emailfour\lastnamefive\firstnamefive\nameshortfive\addressfive\countryfive\emailfive\researchsupportedThis work was partially supported by JSPS KAKENHI Grant Numbers JP18K18016, JP26730015, JP26310211, JP15K13460. This work was also supported by JST CREST.
Acknowledgements.
1 Introduction
Monte Carlo (MC) methods are an important numerical tool for pricing many financial derivatives and calculating the Greeks. Generally speaking, these values can be expressed as mathematical expectations, and the expectations reduce to integrals over the -dimensional unit cube after a suitable change of variables, that is, for a function and . However, it is often difficult to evaluate the exact value analytically and the dimension is over hundreds or thousands, so we use MC integration:
| (1) |
where is a point set of independent random samples from the uniform distribution on . MC has a probabilistic error of , which does not depend on the dimension but is significantly slow. To improve the rate of convergence, we apply quasi-Monte Carlo (QMC) methods using low-discrepancy point sets or sequences that are more uniformly distributed than random points (see [7, 22] for the precise definition). Around the middle of the 1990s, a series of studies reported that QMC attains a higher rate of convergence than MC for certain types of high-dimensional numerical integration in finance [1, 4, 15, 23, 25]. Because of this, Sobol’ sequences have been widely used since then.
Sobol’ sequences are a class of low-discrepancy sequences originally proposed by Sobol’ [27] in 1967 and have parameters called direction numbers, which are freely chosen by the user. Thus, there are several implementations of Sobol’ sequences with distinct parameter values [2, 13, 14, 18, 28]. Some of them have been optimized with the aim of applying them to finance. A comparison of Sobol’ sequences for high-dimensional problems in finance was presented in [28], but we want to know further numerical examples, including randomization and effective dimension reduction techniques. According to [14], Joe and Kuo conducted some preliminary calculations for financial models and found that their new Sobol’ sequence [14] provided better results in some cases and, at worst, was comparable with the old sequence [13]; however, specific numerical examples were not included in their paper.
The aim of this paper is to provide a comprehensive comparative study of (non-commercial) high-dimensional Sobol’ sequences [13, 14, 18] in financial applications. Niederreiter [21, 22] proposed another class of low-discrepancy sequences, called Niederreiter sequences. Recently, Faure and Lemieux [8] described the relationships between Sobol’ and Niederreiter sequences in detail. Additionally, Faure and Lemieux [9] reported that the Niederreiter sequence (in base ) with a slight modification, i.e., reordering the rows of the generating matrices, demonstrated high performance in some applications. Motivated by their report, we also analyze the modified Niederreiter sequence and compare it with Sobol’ sequences.
In the theory of “analysis of variance” (ANOVA) decomposition [4, 10, 11, 34, 35], it is known that the integrand for certain high-dimensional problems in finance is dominated by the first few variables (low effective dimension in the truncation sense) or is well approximated by a sum of functions of at most one or two variables (low effective dimension in the superposition sense), i.e.,
| (2) |
It is believed that these are reasons why QMC succeeds in high-dimensional numerical integration even if the nominal dimension is over hundreds or thousands. The Sobol’ sequence provided by Joe and Kuo [14] was optimized so as to have good two-dimensional (2D) projections for the assumption (2). As we shall see later, if the latter condition (2) is satisfied but the former condition is not satisfied, that is, if has low effective dimension in the superposition sense but high effective dimension in the truncation sense, then such optimization seems to be effective.
The remainder of this paper is organized as follows: In Section 2, we review digital nets and sequences, the -value, which is a criterion of uniformity, and Sobol’ and Niederreiter sequences. In Sections 3 and 4, we present our main results. In Section 3, we calculate the frequency of -values of Sobol’ and Niederreiter sequences for 2D projections in high dimensions and show that the new Sobol’ sequence provided by Joe and Kuo [14] and the modified Niederreiter sequence avoid the existence of extremely large -values. In Section 4, we compare Sobol’ and Niederreiter sequences for numerical integration problems, e.g., Asian, digital, and basket options, with or without effective dimension reduction. In Section 5, we conclude this paper.
2 Preliminaries
2.1 Digital nets and digital sequences
Following [5, 7, 22], we recall a digital method to construct QMC point sets and (infinite) sequences . Sobol’ sequences are included in these classes. Let be the two-element field. We perform addition and multiplication over (or modulo ).
Definition 2.1 (Digital nets).
Let and be integers. Let be matrices over . For each , let with be the expansion in base . For each , set , where is the transpose, and . Then, the point set is called a digital net over and are called the generating matrices of the digital net .
The concept of digital nets can be extended to (infinite) sequences for generating matrices and infinite expansions and that contain only a finite number of nonzero terms. The resulting sequence is called a digital sequence and the matrices are called the generating matrices of the digital sequence.
2.2 -nets
As a quality parameter of uniformity for a point set , we recall the definition of the -value. See [5, 7, 22] for details.
Definition 2.2.
(-nets). Let , and be an integer with . A point set consisting of points in is called a -net (in base ) if every subinterval with integers and for and of volume contains exactly points of .
Definition 2.3 (-value for a -net).
The minimum that satisfies the above property is called the -value for a -net.
A point set is well distributed if the -value is small. The integration error is bounded by for when is smooth. The factor is not negligible if is large, but QMC works well for high-dimensional numerical integration in finance possibly because has low effective dimension. In the case of digital nets, the -value can be easily calculated by some algorithms [6, 26].
2.3 Sobol’ and Niederreiter sequences
Sobol’ [27] proposed a construction method for generating matrices that have a good structure of -nets. His sequences are now called Sobol’ sequences and are included in a subclass of generalized Niederreiter sequences [31, 32]. Recently, Faure and Lemieux [8] described the relationships between them in detail. From this viewpoint, Sobol’ sequences are formulated as follows:
- 1.
Let and , , be the th primitive polynomials in a list of primitive polynomials that are sorted in non-decreasing order of degree, i.e., , and so on. Let .
- 2.
For each , set polynomials such that
(3) for , in advance. These polynomials are the parameters that can be freely chosen by the user and correspond one-to one to the so-called direction numbers (see Remark 2.4 for details).
- 3.
For , consider the formal power series expansion
(4) - 4.
The first points can be viewed as a digital net generated by the upper-left submatrices of . We can prove that is a -net with the following properties (see [7, 22]):
- •
Each one-dimensional (1D) projection is a -net, which means that 1D projections have already been optimized, that is, each -value is .
- •
The -value is for any , which means that the initial dimensions have already been optimized.
- •
For any low-dimensional projection, the -value is , where is taken over the corresponding projections.
The condition (3) can be described as
| (6) |
for , and a good selection of lower terms makes us obtain -values smaller than those of the above upper bounds.
Remark 2.4.
Sobol’ [27] originally proposed a column-by-column construction for generating matrices using recurrences of columns based on primitive polynomials for each . In this construction, the upper-left submatrices of generating matrices are initial values, and were originally called the direction numbers, which exactly correspond one-to-one to the polynomials with (3). See [8] for details.
Remark 2.5.
Niederreiter [21, 22] proposed another construction method for generating matrices for low-discrepancy sequences, where is a prime power and is a finite field with elements. These sequences are called Niederreiter sequences. In the standard implementation of [3] in base , the main differences from Sobol’ sequences are that , , are taken to be irreducible polynomials (sorted in non-decreasing order of degree) instead of primitive polynomials, and are taken to be
for and , instead of polynomials with the condition (3). Note that there are no freely chosen parameters. Note that the resulting generating matrices do not have the NUT properties (see Figs. 1 and 2 in [8]), so we suffer from the leading-zero phenomenon, that is, there are too many points close to the origin at the beginning of the sequences. Additionally, note that we obtain the NUT generating matrices after reordering the rows of . According to Theorem 4.3 of [8], such NUT generating matrices are obtained by the original column-by-column construction, which implies that the primitivity of is not necessary.
3 Analysis of Sobol’ and Niederreiter sequences with NUT generating matrices
In this section, we compare high-dimensional Sobol’ and Niederreiter sequences in terms of the -values. In 1976, Sobol’ and Levitan [29] provided direction numbers in terms of Property A and Property A’ [30], which are the criteria for the equidistribution property of the 1 and 2 most significant bits, respectively. In 1988, Bratley and Fox [2] provided a FORTRAN implementation of the Sobol’ sequence using this set of direction numbers up to dimension . In our tests, we investigate the following (non-commercial) high-dimensional Sobol’ and Niederreiter sequences released after 2000:
- (a)
- (b)
Lemieux et al. [18] provided a Sobol’ sequence generator up to dimension . The direction numbers for are the same as those of Bratley and Fox [2]. The direction numbers for are optimized in terms of the resolution criterion for eight successive dimensions, see [17, Chapter 3.5.2]. We use the 2004 version and refer to this generator as Sobol’ (Lemieux).
- (c)
In 2008, Joe and Kuo [14] indicated that the 2003 version of the Sobol’ sequence generator has a bad structure (i.e., extremely large -values) for some 2D projections and searched the new direction numbers up to . Their approach was to choose the direction numbers so that (i) Property A holds for ; and (ii) the t-values of 2D projections of the point sets are minimized by proposing the search criterion . Consequently, extremely large -values are avoided. We refer to this new generator as Sobol’ (JoeKuo08).
- (d)
Recently, Faure and Lemieux [8] discussed the Niederreiter sequence (in base ) with NUT generating matrices after reordering the rows of the generating matrices. This sequence can be viewed as the Sobol’ sequence based on irreducible polynomials with non-decreasing order of degree and given by for and , so as to satisfy the condition (3). Additionally, Faure and Lemieux [9] reported that the Niederreiter sequence with NUT generating matrices already demonstrated high performance in some high-dimensional numerical integrations without optimizing the lower terms of in (6). To confirm their new findings, we implement this generator and refer to it as Niederreiter (NUT). The irreducible polynomials and direction numbers are available at https://github.com/sharase/niederreiter-nut.
In addition, Kucherenko et al. [28] released commercial software for Sobol’ sequences up to dimension with Property A for all dimensions and Property A’ for successive dimensions, but we exclude it from our tests because it requires a commercial license.
To compare the sequences (a)–(d), we assume that the integrand satisfies the condition (2). The -values of 1D projections are all , so we calculate the -values of 2D projections. Let and
denote the -value of the digital net that corresponds to the -projection (i.e., the 2D projection of dimensions and with ) of the first points. Tables 1 and 2 show the frequency of all the values of for and , respectively. Sobol’ (Lemieux) is up to dimension , and hence it is excluded in Table 2. From the tables, there exist extremely large -values for Sobol’ (Lemieux) and (JoeKuo03), but Niederreiter (NUT) tends to avoid such large -values, as well as Sobol’ (JoeKuo08). Conversely, the occurrence of small -values (e.g., 1 or 2) for Niederreiter (NUT) is more frequent than for Sobol’ sequences. This implies that Niederreiter (NUT) has high uniformity for 2D projections in high dimensions without optimizing direction numbers.
| Number of occurrences of the -value | |||||||||||
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ||
| Niederreiter (NUT) | 163 | 11321 | 23097 | 16270 | 7947 | 3495 | 1472 | 576 | 231 | 48 | |
| Sobol’ (JoeKuo08) | 214 | 8201 | 20243 | 18004 | 10275 | 4819 | 1924 | 777 | 163 | ||
| Sobol’ (Lemieux) | 204 | 8210 | 20040 | 18000 | 10092 | 4865 | 1991 | 863 | 233 | 122 | |
| Sobol’ (JoeKuo03) | 204 | 8208 | 20285 | 17854 | 9886 | 4997 | 1961 | 835 | 250 | 140 | |
| Niederreiter (NUT) | 71 | 7679 | 22265 | 17458 | 9527 | 4353 | 1954 | 864 | 332 | 79 | |
| Sobol’ (JoeKuo08) | 62 | 4752 | 17648 | 19105 | 12303 | 6334 | 2848 | 1127 | 389 | 52 | |
| Sobol’ (Lemieux) | 49 | 4757 | 17452 | 18973 | 12091 | 6408 | 2842 | 1270 | 498 | 191 | |
| Sobol’ (JoeKuo03) | 56 | 4774 | 17342 | 19027 | 12307 | 6249 | 2814 | 1276 | 467 | 215 | |
| Niederreiter (NUT) | 21 | 5119 | 19870 | 19164 | 11111 | 5373 | 2375 | 1020 | 405 | 134 | |
| Sobol’ (JoeKuo08) | 14 | 2857 | 14942 | 19442 | 14020 | 7581 | 3516 | 1551 | 557 | 140 | |
| Sobol’ (Lemieux) | 15 | 2913 | 14912 | 19155 | 13589 | 7531 | 3581 | 1690 | 705 | 329 | |
| Sobol’ (JoeKuo03) | 16 | 2864 | 14967 | 19131 | 13669 | 7414 | 3634 | 1698 | 696 | 329 | |
| Niederreiter (NUT) | 6 | 3044 | 16906 | 20478 | 13001 | 6584 | 2903 | 1115 | 434 | 130 | |
| Sobol’ (JoeKuo08) | 5 | 1771 | 12568 | 19566 | 14939 | 8566 | 4252 | 1893 | 750 | 285 | |
| Sobol’ (Lemieux) | 4 | 1815 | 12586 | 19696 | 14735 | 8257 | 4077 | 1917 | 846 | 408 | |
| Sobol’ (JoeKuo03) | 6 | 1745 | 12503 | 19418 | 15039 | 8354 | 4097 | 1902 | 890 | 390 | |
| Niederreiter (NUT) | 8 | 1804 | 14312 | 20990 | 14831 | 7440 | 3267 | 1343 | 455 | 144 | |
| Sobol’ (JoeKuo08) | 3 | 1119 | 10985 | 19412 | 15999 | 9175 | 4595 | 2087 | 830 | 335 | |
| Sobol’ (Lemieux) | 1 | 1168 | 10897 | 19421 | 15963 | 9064 | 4538 | 2028 | 854 | 380 | |
| Sobol’ (JoeKuo03) | 1 | 1075 | 10866 | 19422 | 15870 | 9236 | 4540 | 2003 | 909 | 397 | |
| Niederreiter (NUT) | 3 | 1183 | 12437 | 20942 | 15387 | 8394 | 3806 | 1594 | 636 | 189 | |
| Sobol’ (JoeKuo08) | 1 | 787 | 9470 | 19570 | 16932 | 9897 | 4736 | 1992 | 831 | 320 | |
| Sobol’ (Lemieux) | 1 | 762 | 9615 | 19188 | 16888 | 9798 | 4884 | 2052 | 868 | 325 | |
| Sobol’ (JoeKuo03) | 1 | 764 | 9526 | 19188 | 17006 | 9834 | 4790 | 2117 | 817 | 351 | |
| Number of occurrences of the -value (continued) | |||||||||||
| 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | ||
| Niederreiter (NUT) | |||||||||||
| Sobol’ (JoeKuo08) | |||||||||||
| Sobol’ (Lemieux) | |||||||||||
| Sobol’ (JoeKuo03) | |||||||||||
| Niederreiter (NUT) | 38 | ||||||||||
| Sobol’ (JoeKuo08) | |||||||||||
| Sobol’ (Lemieux) | 56 | 33 | |||||||||
| Sobol’ (JoeKuo03) | 56 | 37 | |||||||||
| Niederreiter (NUT) | 28 | ||||||||||
| Sobol’ (JoeKuo08) | |||||||||||
| Sobol’ (Lemieux) | 124 | 50 | 17 | 9 | |||||||
| Sobol’ (JoeKuo03) | 135 | 50 | 8 | 9 | |||||||
| Niederreiter (NUT) | 19 | ||||||||||
| Sobol’ (JoeKuo08) | 25 | ||||||||||
| Sobol’ (Lemieux) | 150 | 76 | 28 | 19 | 3 | 3 | |||||
| Sobol’ (JoeKuo03) | 161 | 71 | 32 | 11 | 1 | ||||||
| Niederreiter (NUT) | 24 | 2 | |||||||||
| Sobol’ (JoeKuo08) | 80 | ||||||||||
| Sobol’ (Lemieux) | 167 | 82 | 31 | 17 | 4 | 3 | 2 | ||||
| Sobol’ (JoeKuo03) | 174 | 73 | 32 | 14 | 7 | 1 | |||||
| Niederreiter (NUT) | 41 | 8 | |||||||||
| Sobol’ (JoeKuo08) | 82 | 2 | |||||||||
| Sobol’ (Lemieux) | 140 | 55 | 24 | 12 | 4 | 2 | 1 | 1 | |||
| Sobol’ (JoeKuo03) | 126 | 53 | 32 | 10 | 3 | 2 | |||||
| Number of occurrences of the -value | |||||||||||
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ||
| Niederreiter (NUT) | 1217 | 91368 | 187247 | 131306 | 64096 | 28622 | 12135 | 5079 | 1881 | 825 | |
| Sobol’ (JoeKuo08) | 1713 | 66135 | 163425 | 146133 | 81378 | 39763 | 15828 | 6864 | 1920 | 617 | |
| Sobol’ (JoeKuo03) | 1761 | 65788 | 163011 | 146129 | 80810 | 40093 | 16015 | 7134 | 2025 | 1010 | |
| Niederreiter (NUT) | 358 | 61934 | 178807 | 141504 | 77363 | 35943 | 16214 | 7030 | 2920 | 1188 | |
| Sobol’ (JoeKuo08) | 464 | 37931 | 140291 | 154369 | 99570 | 51840 | 23418 | 10403 | 3884 | 1380 | |
| Sobol’ (JoeKuo03) | 420 | 37691 | 139255 | 154868 | 99220 | 51931 | 23360 | 10514 | 4002 | 1756 | |
| Niederreiter (NUT) | 131 | 41284 | 161893 | 153405 | 87958 | 43456 | 20196 | 9017 | 3904 | 1672 | |
| Sobol’ (JoeKuo08) | 113 | 21774 | 116341 | 156401 | 113622 | 62704 | 30350 | 13787 | 5688 | 2326 | |
| Sobol’ (JoeKuo03) | 109 | 21745 | 115939 | 155545 | 112483 | 63286 | 30287 | 14127 | 5909 | 2706 | |
| Niederreiter (NUT) | 51 | 25934 | 142119 | 159612 | 101194 | 51623 | 24259 | 10993 | 4912 | 2035 | |
| Sobol’ (JoeKuo08) | 29 | 12562 | 94650 | 153576 | 123743 | 73026 | 36970 | 17348 | 7471 | 3128 | |
| Sobol’ (JoeKuo03) | 37 | 12580 | 94525 | 152964 | 123493 | 72503 | 36228 | 17522 | 7846 | 3583 | |
| Niederreiter (NUT) | 20 | 15374 | 118340 | 164947 | 114523 | 60295 | 28790 | 12922 | 5415 | 2118 | |
| Sobol’ (JoeKuo08) | 14 | 7362 | 77577 | 148682 | 130582 | 81034 | 42592 | 20643 | 9316 | 3984 | |
| Sobol’ (JoeKuo03) | 8 | 7464 | 77049 | 148627 | 131116 | 80131 | 42178 | 20536 | 9189 | 4254 | |
| Niederreiter (NUT) | 9 | 8790 | 95347 | 163784 | 127680 | 71672 | 33322 | 14166 | 5747 | 2254 | |
| Sobol’ (JoeKuo08) | 4 | 4609 | 64037 | 144019 | 137413 | 87005 | 46421 | 22518 | 10407 | 4664 | |
| Sobol’ (JoeKuo03) | 3 | 4524 | 64039 | 143480 | 137250 | 87005 | 46332 | 22273 | 10359 | 4831 | |
| Number of occurrences of the -value (continued) | |||||||||||
| 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | ||
| Niederreiter (NUT) | |||||||||||
| Sobol’ (JoeKuo08) | |||||||||||
| Sobol’ (JoeKuo03) | |||||||||||
| Niederreiter (NUT) | 432 | 83 | |||||||||
| Sobol’ (JoeKuo08) | 226 | ||||||||||
| Sobol’ (JoeKuo03) | 519 | 240 | |||||||||
| Niederreiter (NUT) | 675 | 139 | 46 | ||||||||
| Sobol’ (JoeKuo08) | 622 | 48 | |||||||||
| Sobol’ (JoeKuo03) | 1020 | 436 | 126 | 58 | |||||||
| Niederreiter (NUT) | 793 | 220 | 31 | ||||||||
| Sobol’ (JoeKuo08) | 1044 | 226 | 3 | ||||||||
| Sobol’ (JoeKuo03) | 1439 | 659 | 240 | 118 | 26 | 13 | |||||
| Niederreiter (NUT) | 767 | 234 | 31 | ||||||||
| Sobol’ (JoeKuo08) | 1497 | 446 | 47 | ||||||||
| Sobol’ (JoeKuo03) | 1834 | 805 | 331 | 153 | 61 | 32 | 4 | 4 | |||
| Niederreiter (NUT) | 751 | 218 | 33 | 3 | |||||||
| Sobol’ (JoeKuo08) | 1940 | 644 | 95 | ||||||||
| Sobol’ (JoeKuo03) | 2012 | 942 | 425 | 184 | 70 | 18 | 17 | 9 | 3 | ||
4 Comparison in financial applications
We compare Niederreiter (NUT) and Sobol’ sequences in Section 3 from the viewpoint of financial applications. In the QMC setting, we apply randomizations using linear scrambling and digital shift to point sets (see [12, 16, 17] for details). This technique preserves the -values of -nets and avoids the problem that the first point is always the origin. We apply the randomizations times, make point sets , and compute independent estimates of (1):
Further, we compute the mean and the standard error of , i.e.,
Throughout this paper, we set as the number of randomizations.
4.1 Asian option
Assume that under the risk-neutral measure the asset price follows the Black–Scholes model (i.e., geometric Brownian motion):
| (7) |
where is the risk-free interest rate, is the volatility, is a standard Brownian motion. The problem of pricing an Asian call option on the discrete arithmetic average is formulated as follows: the payoff function is given by , where is the strike price at maturity , and a time interval is discretized at equally spaced times for , where . Then, the value of the option at time 0 is given by
| (8) |
The analytical solution to (7) is given by , so it is sufficient to simulate sample paths of Brownian motion. The standard construction of Brownian motion is to generate sequentially in time: given ,
| (9) |
where are i.i.d. standard normally distributed random variables. The standard construction (9) can be written as
| (10) |
where is an lower triangular matrix. Thus, the expectation (8) can be written as
where denotes the cumulative distribution function of the standard normal distribution and for . We use the following parameters: , which were used in [34].
First, we consider the case of dimension . Figure 1 shows a summary of the standard error in scale for . In our experiments, we applied QMC methods based on Sobol’ and Niederreiter sequences (a)–(d) and crude MC methods using random number sequences from Mersenne Twister [19]. For this, we observed that Niederreiter (NUT) and Sobol’ (JoeKuo08) are more effective than the others, particularly for , which are often used in practice. Additionally, our result seems to agree with the frequency of -values for 2D projections in Table 1. Thus, it is inferred that the Asian option using the standard construction (9) has low effective dimension in the superposition sense but high effective dimension in the truncation sense.
Further, we consider the higher dimensional case . Figure 2 shows a summary of in scale. In the standard construction (9), Niederreiter (NUT) and Sobol’ (JoeKuo08) also provide better results than Sobol’ (JoeKuo03). Further, we recall dimension reduction techniques, such as the principal component analysis (PCA) construction [1] for generating Brownian motion , which enhance the efficiency of QMC methods. Here, the sampled Brownian motion is normally distributed with mean and covariance matrix , i.e., . Generally, we obtain the equivalent paths of Brownian motion:
provided we apply the change of variables with . The matrix in the standard construction (10) is the Cholesky matrix of , i.e., . Conversely, the PCA construction is a method used to choose , where are the eigenvalues and are the corresponding unit-length eigenvectors of . In our experiment, the Niederreiter (NUT) and Sobol’ sequences with PCA outperform those with the standard construction, but those with PCA have exactly the same convergence rates. Our result implies that PCA transforms the integrand so as to have low effective dimension in the truncation sense, that is, the important variables are concentrated in the first few dimensions (e.g., or ). However, for Sobol’ sequences, the lower terms of in (6) have almost no choice and are fixed in these first dimensions because the degree in (6) is sufficiently small. Thus, it seems to be difficult to expect further improvement for dimension reduction techniques as a result of changing the direction numbers for Sobol’ sequences.
We also tested the Brownian bridge (BB) construction [20] as another dimension reduction technique and observed that there is no difference among Niederreiter (NUT) and Sobol’ sequences for the convergence rates, which are better than the standard construction but worse than PCA, so we omitted the results.
4.2 Digital option
Assume that the asset price follows the Black–Scholes model (7). Papageorgiou [24] considered the following digital option:
| (11) |
where is equal to 1 if and is otherwise, . He indicated that effective dimension reduction techniques perform worse than the standard construction (9). Wang and Tan [36] and Wang [33] found that if the paths are generated by the standard construction, then the discontinuities of the payoff function of the sum of the indicator functions are aligned with the coordinate axes, so good performance is expected, but BB and PCA do not have this type of discontinuity. Thus, the standard construction is a good choice in this QMC setting. Figure 3 shows a summary of in scale. We used the parameters from [24]. Indeed, PCA is worse than the standard construction. Niederreiter (NUT) and Sobol’ (JoeKuo08) with good 2D projections are useful for such a problem. Note that this example is very simple and the value (11) can be calculated analytically.
4.3 Basket option
Following [34, 35], under the risk-neutral measure, we consider a European-style basket call option on the arithmetic average over assets , and assume that each asset satisfies
| (12) |
for a mean return parameter and volatility parameters . Assume are correlated Brownian motions with correlations , and the terminal pay off at is given by . For this, we compute the price of the basket option:
| (13) |
Note that is the number of assets, not the number of discretization steps. The solutions to (12) are given by . Here, the random vector is normally distributed with mean and covariance matrix . Let . The standard construction for generating Brownian motion is , where is the Cholesky matrix of . By contrast, the PCA chooses , where are the eigenvalues and are the corresponding unit-length eigenvectors of . Expectation (13) is expressed as
where . We set the parameters , which are taken from [34, 35], and conduct experiments on the standard and PCA constructions. Figure 4 shows a summary of in scale. Unlike the previous examples, the Niederreiter (NUT) and Sobol’ sequences using the standard (Cholesky) construction have exactly the same convergence rates. According to [34, Table 3 and 6] and [35, Table 3 and Table 5], it is inferred that the value of basket options using the standard (Cholesky) construction is determined by depending on the first few variables or depending on a high proportion to order-1 terms in (2), compared with those of Asian options.
4.4 Asian option under the Heston model
As a more complicated model, under the risk-neutral measure, we consider the pricing of an Asian call option (8) with maturity and strike written on an asset whose price process satisfies the Heston stochastic volatility model:
where is the volatility process, and are two independent standard Brownian motions, is the risk-free interest rate, is the speed of mean reversion, is the long-run mean variance, is the volatility of the volatility, is the correlation between the Brownian motions driving and . The volatility process follows a CIR process, which is always positive under the assumption . We use the Euler–Maruyama scheme with steps to discretize both and as in [17, Fig. 7.3 in Chapter 7.2.1]. Let . Then, we need -dimensional points to simulate both and for .
Figure 5 gives results for an Asian option under the Heston model with . We use the parameters , which are from [17, Chapter 7.3]. Note that Niederreiter (NUT) and Sobol’ (JoeKuo08) give better results than Sobol’ (JoeKuo03).
5 Concluding remarks
Sobol’ sequences have been used successfully in high-dimensional numerical integration in financial applications. There are several implementations of Sobol’ sequence generators with distinct direction numbers, so it is natural to assess which of them is better. Hence, we tested Sobol’ sequences for calculating financial models and observed that the Sobol’ sequence with good 2D projections [14] outperforms the previous Sobol’ sequences [13, 18], particularly in the case in which the integrands have low effective dimension in the superposition sense but high effective dimension in the truncation sense. Additionally, we implemented the Niederreiter sequence with NUT generating matrices, suggested by Faure and Lemieux [8, 9]. Surprisingly, the modified Niederreiter sequence has already had good 2D projections, and had high performance for calculating some financial models without optimizing direction numbers.
Finally, we mention the possibility of the further improvement of Sobol’ sequences. In fact, we attempted the further improvement of Sobol’ type digital nets by optimizing direction numbers in terms of the framework of generalized Niederreiter sequences based on irreducible polynomials. For example, we attempted to search direction numbers so as to have even better -values for 2D projections or better three-dimensional projections in addition to good 2D projections. The aim appears to be theoretically achieved, but we could not observe a clear difference from the Niederreiter sequence with the NUT generating matrices for calculating financial models. Perhaps, there might be a limit to the further improvement of Sobol’ sequences by optimizing direction numbers from a practical perspective. Therefore, further improvement of Sobol’ sequences is left for future work.
References
- [1] P. Acworth, M. Broadie and P. Glasserman, A comparison of some Monte Carlo and quasi-Monte Carlo techniques for option pricing, Monte Carlo and Quasi-Monte Carlo Methods 1996 (P. Hellekalek, G. Larcher, H. Niederreiter and P. Zinterhof, eds.), Lecture Notes in Statistics 127, Springer-Verlag, New York, 1998, pp. 1–18.
- [2] P. Bratley and B. L. Fox, Algorithm 659: Implementing Sobol’s quasirandom sequence generator, ACM Trans. Math. Software 14 (1988), 88–100.
- [3] P. Bratley, B. L. Fox and H. Niederreiter, Implementation and tests of low-discrepancy sequences, ACM Trans. Model. Comput. Simul. 2 (1992), 195–213.
- [4] R. E. Caflisch, W. Morokoff and A. B. Owen, Valuation of mortgage backed securities using brownian bridges to reduce effective dimension, Journal of Computational Finance 1 (1997), 27–46.
- [5] J. Dick, F. Y. Kuo and I. H. Sloan, High-dimensional integration: the quasi-Monte Carlo way, Acta Numer. 22 (2013), 133–288.
- [6] J. Dick and M. Matsumoto, On the fast computation of the weight enumerator polynomial and the value of digital nets over finite abelian groups, SIAM J. Discrete Math. 27 (2013), 1335–1359.
- [7] J. Dick and F. Pillichshammer, Digital nets and sequences. Discrepancy theory and quasi-Monte Carlo integration, Cambridge University Press, Cambridge, 2010.
- [8] H. Faure and C. Lemieux, Irreducible Sobol’ sequences in prime power bases, Acta Arith. 173 (2016), 59–80.
- [9] H. Faure and C. Lemieux, Implementation of irreducible Sobol’ sequences in prime power bases, 2018, Submitted for publication.
- [10] M. Griebel and M. Holtz, Dimension-wise integration of high-dimensional functions with applications to finance, J. Complexity 26 (2010), 455–489.
- [11] M. Holtz, Sparse grid quadrature in high dimensions with applications in finance and insurance, Lecture Notes in Computational Science and Engineering 77, Springer-Verlag, Berlin, 2011.
- [12] H. S. Hong and F. J. Hickernell, Algorithm 823: Implementing scrambled digital sequences, ACM Trans. Math. Software 29 (2003), 95–109.
- [13] S. Joe and F. Y. Kuo, Remark on Algorithm 659: implementing Sobol’s quasirandom sequence generator, ACM Trans. Math. Software 29 (2003), 49–57.
- [14] S. Joe and F. Y. Kuo, Constructing Sobol′ sequences with better two-dimensional projections, SIAM J. Sci. Comput. 30 (2008), 2635–2654.
- [15] C. Joy, P. P. Boyle and K. S. Tan, Quasi-Monte Carlo methods in numerical finance, Management Sci. 42 (1996), 926–938.
- [16] P. L’Ecuyer, Quasi-Monte Carlo methods with applications in finance, Finance Stoch. 13 (2009), 307–349.
- [17] C. Lemieux, Monte Carlo and quasi-Monte Carlo sampling, Springer Series in Statistics, Springer, New York, 2009.
- [18] C. Lemieux, M. Cieslak and K. Luttmer, RandQMC User’s Guide: A Package for Randomized Quasi-Monte Carlo Methods in C, Department of Computer Science, University of Calgary, Calgary, AB, Canada, Technical report no. 2002-712-15, 2002, Version January 13 2004.
- [19] M. Matsumoto and T. Nishimura, Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator, ACM Trans. Model. Comput. Simul. 8 (1998), 3–30.
- [20] B. Moskowitz and R. E. Caflisch, Smoothness and dimension reduction in quasi-Monte Carlo methods, Math. Comput. Modelling 23 (1996), 37–54.
- [21] H. Niederreiter, Low-discrepancy and low-dispersion sequences, J. Number Theory 30 (1988), 51–70.
- [22] H. Niederreiter, Random number generation and quasi-Monte Carlo methods, CBMS-NSF Regional Conference Series in Applied Mathematics 63, Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 1992.
- [23] S. Ninomiya and S. Tezuka, Toward real-time pricing of complex financial derivatives, Applied Mathematical Finance 3 (1996), 1–20.
- [24] A. Papageorgiou, The brownian bridge does not offer a consistent advantage in quasi-Monte Carlo integration, J. Complexity 18 (2002), 171 – 186.
- [25] S. Paskov and J. Traub, Faster valuation of financial derivatives, Journal of Portfolio Management 22 (1995), 113–120.
- [26] G. Pirsic and W. Ch. Schmid, Calculation of the quality parameter of digital nets and application to their construction, J. Complexity 17 (2001), 827 – 839.
- [27] I. M. Sobol’, On the distribution of points in a cube and the approximate evaluation of integrals, USSR Computational Mathematics and Mathematical Physics 7 (1967), 86 – 112.
- [28] I. M. Sobol’, D. Asotsky, A. Kreinin and S. Kucherenko, Construction and comparison of high dimensional Sobol’ generators, Wilmott (2011), 64–79.
- [29] I. M. Sobol’ and Levitan I. M., The Production of Points Uniformly Distributed in a Multidimensional Cube, Institute of Applied Mathematics, USSR Academy of Sciences, Technical report no. 40, 1976, (In Russian).
- [30] I.M. Sobol, Uniformly distributed sequences with an additional uniform property, USSR Computational Mathematics and Mathematical Physics 16 (1976), 236 – 242.
- [31] S. Tezuka, Polynomial arithmetic analogue of Halton sequences, ACM Trans. Model. Comput. Simul. 3 (1993), 99–107.
- [32] S. Tezuka, Uniform Random Numbers: Theory and Practice, Kluwer Academic Publishers, Norwell, MA, 1995.
- [33] X. Wang, Handling discontinuities in financial engineering: good path simulation and smoothing, Oper. Res. 64 (2016), 297–314.
- [34] X. Wang and K.-T. Fang, The effective dimension and quasi-Monte Carlo integration, J. Complexity 19 (2003), 101–124.
- [35] X. Wang and I. H. Sloan, Why are high-dimensional finance problems often of low effective dimension?, SIAM J. Sci. Comput. 27 (2005), 159–183.
- [36] X. Wang and K. S. Tan, Pricing and hedging with discontinuous functions: quasi-Monte Carlo methods and dimension reduction, Management Sci. 59 (2013), 376–389.