ISRN.COMPUTATIONAL.MATHEMATICS ISRN Computational Mathematics 2090-7842 Hindawi Publishing Corporation 891029 10.1155/2013/891029 891029 Research Article A Robust and Accurate Quasi-Monte Carlo Algorithm for Estimating Eigenvalue of Homogeneous Integral Equations Mehrdoust F. Vajargah B. Fathi Radmoghaddam E. Corti D. S. Peng Y. Richter H. 1 Department of Applied Mathematics Faculty of Mathematical Science University of Guilan P.O. Box 1945, Rasht Iran guilan.ac.ir 2013 10 11 2013 2013 17 08 2013 12 09 2013 2013 Copyright © 2013 F. Mehrdoust et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

We present an efficient numerical algorithm for computing the eigenvalue of the linear homogeneous integral equations. The proposed algorithm is based on antithetic Monte Carlo algorithm and a low-discrepancy sequence, namely, Faure sequence. To reduce the computational time we reduce the variance by using the antithetic variance reduction procedure. Numerical results show that our scheme is robust and accurate.

1. Introduction

In Monte Carlo (MC) methods the random variables are simulated by computer generated pseudorandom sequences, and the numerical solution is performed by averaging over a large number of simulations. Pseudorandom numbers mimic the realizations of independent identically distributed random variables. Due to a fundamental result in probability theory, Monte Carlo methods based on such pseudorandom numbers can converge only proportionally to the square root of the number of simulations. It was noticed that the randomness of the simulating sequence is not essential for numerical integration. Deterministic sequences which fill the space uniformly can also be used. One of the most powerful methods for improving Monte Carlo simulation is to use low-discrepancy numbers . Therefore, instead of using random numbers, we can employ a deterministic sequence of numbers. Such a sequence is called a low-discrepancy sequence. The great advantage of low-discrepancy sequences is that their rate of convergence is O(N-1) rather than O(N-1/2), which greatly increases the competitiveness of Monte Carlo simulations. Using low-discrepancy sequences to carry out Monte Carlo algorithm is sometimes called quasi-Monte Carlo (QMC) algorithm . The Faure sequence is one of the well-known quasirandom sequences used in quasi-Monte Carlo applications. In [2, 3] details of Faure sequence and its various scrambling methods are described.

The problem of using Monte Carlo and quasi-Monte Carlo methods for finding an eigenpair of matrices has been extensively studied . In  a numerical method for finding the eigenvalue of the linear homogenous integral equation is proposed by applying antithetic Monte Carlo method to obtain a reliable scheme.

In this paper we present a new numerical method based on antithetic variance reduction method and quasi-Monte Carlo algorithm on scrambled Faure sequence for estimating the eigenvalue of the following linear homogenous integral equation: (1)u(x)=λDk(x,y)u(y)dy,λ0,xD. It can be written in the form of (2)u(x)=λKu(x),λ0. If u0, then λ and u are called the eigenvalue and eigenfunction of the above equations, respectively. Also, K is called the kernel of this integral equation. Throughout this paper, we suppose that the kernel K is symmetric and positive definite; that is, (3)K(x,y)=K(y,x),x,yD. And Kψ,ψ>0, for all ψ0.

Now, we consider the following continuous Markov Chain Tk with length, k: (4)x0x1xk, where xiD, i=1,2,,k. The statistical nature of constructing the chain (4) is p(x0) and p(x,y), which are the probability of starting chain from x0D and transition probability from state xD to yD, respectively .

Theorem 1.

Under the above assumptions, the random variable (5)Θn(h)=h(x0)p(x0)Wnψ(xn),   where (6)Wn=Wn-1K(xn-1,xn)p(xn-1,xn),W0=1, is unbiased estimator for Knψ,h; that is, (7)E[Θn(h)]=Knψ,h.

Proof.

See .

Theorem 2.

Under the above conditions, one has (8)λ=limnE[Θn(h)]E[Θn+1(h)]=limnKnψ,hKn+1ψ,h.

Proof.

See .

2. Monte Carlo and Quasi-Monte Carlo Methods

The Monte Carlo method was invented by Stanislaw Ulam, a Polish born mathematician who worked for John von Neumann on the United States’ Manhattan Project during World War II, in 1946 . Monte Carlo methods are based on the simulation of stochastic processes whose expected values are equal to computationally interesting quantities. MC methods offer simplicity of construction and are often designed to mirror some process whose behavior is only understood in a statistical sense. However, there are wide classes of problems where MC methods are the only known computational method of solution. Despite the universality of MC methods, a serious drawback is their slow convergence, which is based on the O(N-1/2) behavior of the size of statistical sampling errors. One generic approach to improve the convergence of MC methods has been the use of highly uniform random numbers in place of the usual pseudorandom numbers. While pseudorandom numbers are constructed to mimic the behavior of truly random numbers, these highly uniform numbers, called quasirandom numbers (or low-discrepancy sequences), are constructed to be as evenly distributed as mathematically possible. The use of quasirandom numbers in MC leads to quasi-Monte Carlo methods [7, 8]. Quasi-Monte Carlo methods are a variant of ordinary Monte Carlo methods that employ highly uniform quasirandom numbers in place of Monte Carlo’s pseudorandom numbers. QMC methods can be viewed as deterministic versions of Monte Carlo methods . Determinism enters in two ways: by working with deterministic points rather than random samples and by the availability of deterministic error bounds instead of probabilistic MC error bounds. It could be argued that most practical implementations of MC methods are, in fact, quasi-Monte Carlo methods since the purportedly random samples that are used in Monte Carlo calculation are often generated in the computer by the deterministic algorithm. In QMC methods deterministic nodes are selected in such a way that the error bound is as small as possible. The very nature of the QMC methods with its completely deterministic procedures implies that we get deterministic and thus guaranteed error bounds . In principle, it is therefore always possible to determine in advance an integration rule that yields a given accuracy. For example, for MC it is necessary to increase the number of simulations100 times to reduce the error by a factor of 10, whereas the QMC requires less (in general much less) than 100 times, and only 10 times in optimal cases. Monte Carlo methods offer statistical error estimates; however, while quasi-Monte Carlo has a faster convergence rate than normal Monte Carlo, one cannot obtain error estimates from quasi-Monte Carlo sample values by any practical way. A recently proposed method, called randomized quasi-Monte Carlo method, takes advantage of MC and QMC methods. Randomness can be brought to bear on quasirandom sequences through scrambling and other related randomization techniques in randomized QMC methods, which provide an elegant approach to obtain error estimates for quasi-Monte Carlo based on treating each scrambled sequence as a different and independent random sample. The core of randomized quasi-Monte Carlo method is to find an effective and fast algorithm to scramble (randomize) quasirandom sequences. Besides obtaining error estimates for quasi-Monte Carlo, scrambling techniques provide a natural way to parallelize quasirandom sequences. This scheme is especially suitable for distributed or grid computing. By scrambling a quasirandom sequence we can produce a family of related quasirandom sequences.

3. Quasirandom or Low-Discrepancy Sequences

Quasirandom numbers are constructed to minimize a measure of their deviation from uniformity called discrepancy. A quasirandom sequence is normally generated in the unit s-dimensional hypercube, Is=[0,1)s, and attempts to fill the hypercube as uniformly as possible. The original construction of quasirandom sequences was related to the van der Corput sequence, which is a one-dimension quasirandom sequence based on digital inversion. This digital inversion method is a central idea behind the construction of many current quasirandom sequences in arbitrary bases and dimensions. Following that, Halton  generalized the van der Corput sequence to s dimensions, and Sobol  introduced the sequences that now bear his name. As significant generalization of these methods was proposed by Faure . Niederreiter  generalized the existing construction of the Sobol and Faure sequences to arbitrary bases. These are now called Niederreiter sequences. Tezuka  further generalized Niederreiter sequences by using the polynomial arithmetic analogue of Halton sequences. The construction of quasirandom sequences is based on minimizing their discrepancy. Quasirandom sequences aim to have the fraction of their points within any subset J(ν)=[0,ν1)×[0,ν2)××[0,νs) as close as possible to the subset’s volume fraction. Based on stardiscrepancy, we expose that the following definition of a low-discrepancy sequence in [0,1)s is as follows.

Definition 3.

For any N>1 and sequence {xi}, let {xi}1iN denote the first N points of the sequence {xi}. If one has (9)DN*Cs(logN)sN, where the constant cs depends only on the dimension s, then the sequence {xi} is called a low-discrepancy sequence.

There are some variations for random and quasirandom sequences. Tezuka formulated the generalized Faure sequence, based on Halton sequence but using polynomials for reordering. According to Traub, generalized Faure method converges significantly faster than Monte Carlo and simple Faure method. In  we represent two methods that mix Faure sequence with the best scrambling Faure sequence and called them MFaure and M2Faure sequences. Figures 1, 2, and 3 represent Faure, MFaure, and M2Faure sequences for dimension 40. Figure 1 illustrates a disadvantage of the Faure sequence: the Faure construction leads to a sequence that has correlations between its individual coordinates. This leads, among others, to bad two-dimensional projections and also has its consequences when the sequence is used for numerical integration. We must stress that its performance in low dimensions is better. In Figures 2 and 3, we see the advantages of the MFaure and M2Faure sequences . In this paper, we employ M2Faure sequence in the proposed algorithm.

Projection of the first 1024 points from a 40-dimensional Faure sequence in base 41.

Projection of the first 1024 points from a 40-dimensional MFaure sequence in base 41.

Projection of the first 1024 points from a 40-dimensional M2Faure sequence in base 41.

4. Variance Reduction Techniques

As Monte Carlo simulation is slow to converge and there are various methods for increasing the speed of convergence, this essentially comes down to simulate the estimator in such a way that their variance is reduced. One simple method is antithetic sampling. With antithetic sampling one draws samples in pairs. If U is uniformly distributed, then so is 1-U. For every random, draw two paths that are therefore simulated: one with U and one with 1-U. This ensures that the mean of the drawn paths is zero, and the symmetry of the normal distribution is achieved by construction .

Assume that we want to compute E[f(X)] with X a random variable uniformly distributed on [0,1]. The Naive Monte Carlo (NMC) is as follows: (10)f-(X)=1Ni=1Nf(Xi), where Xi, i=1,,N, are independent copies of X. In the antithetic variates (AV) method we use the numbers 1-X1,,1-XN and introduce the antithetic Monte Carlo estimator (11)f-AV(X)=12N[i=1Nf(Xi)+f(1-Xi)]. We note that the AV estimator is unbiased . Suppose that σ2=var(f(X)). Then the variance of AV estimator is given by (12)f-AV(X)=σ22N+12Ncov(f(X),f(1-X)). If f(X) and f(1-X) are negatively correlated, then we have a reduction of the variance compared to Naive Monte Carlo estimator based on 2N random numbers.

5. The Proposed Algorithm (AVQMC Algorithm)

Choose a value of Markov chain length n and a value of number of Markov chain N.

Create a continuous quasirandom walk (Markov chain) x0x1xn, where xi for i=0,,n are elements of M2Faure sequence.

For each quasirandom walk s=1,,N  simulate the following random variable: (13)Θn(s,1)(h)=h(x0(s))p(x0(s))Wn(s)ψ(xn(s)).

Create y 0 y 1 y n such that yi=1-xi for i=0,,n.

Set the following random variable: (14)Θn(s,2)(h)=h(y0(s))p(y0(s))Wn(s)ψ(yn(s)).

Obtain the quasi-Monte Carlo estimation (15)Θ^n=12N{s=1NΘn(s,1)(h)+s=1NΘn(s,2)(h)}.

Print Θ ^ n λ .

End of algorithm.

6. Simulation Results

In this section we compare three approaches of Monte Carlo methods, namely, Naive Monte Carlo (NMC), antithetic variates Monte Carlo (AVMC) , and the proposed algorithm (AVQMC) methods. We run algorithms for evaluating the eigenvalue of the following examples. We compare the relative error of AVQMC and AVMC algorithms and the Naive Monte Carlo (NMC) algorithm for each example. Figures 4 and 5 illustrate the relative error against number of sample sizes with N=1000 for Examples 4 and 5, respectively. All figures show that, when the sample size is small, AVQMC and AVMC algorithms are better than NMC algorithm. Also, when the sample size is large, AVQMC is better than all, and another advantage is that relative errors of method with Faure sequence are deterministic. Also, we obtain the estimation of the eigenvalue, with standard deviation (STD) estimation for different values of the number of Markov chains (N). For each example the Monte Carlo simulation result is summarized in a figure. The numerical results in Figures 6 and 7 confirm that the AVQMC algorithm is a reliable stochastic algorithm for computing the eigenvalue of the homogeneous linear integral equations. Also, we outline the standard deviation (STD) of the unbiased Monte Carlo estimator, the approximated eigenvalue (λ¯), and the relative errors of three methods for Examples 4 and 5 in Table 1.

Relatives errors, STD, and λ^.

Method Number of simulation Example 4 Example 5
STD λ ^ Relative error STD λ ^ Relative error
NMC N = 100 0.1060 1.1526 0.1526 0.1307 1.3568 0.0656
AVMC N = 100 0.0743 1.0446 0.0446 0.0996 1.3424 0.0543
AVQMC N = 100 0.0885 1.0055 0.0055 0.1486 1.2733 4.5863 × 1 0 - 5

NMC N = 500 0.0579 1.0242 0.0242 0.0856 1.2997 0.0208
AVMC N = 500 0.0390 1.0110 0.0110 0.0554 1.2632 0.0079
AVQMC N = 500 0.0439 1.0010 0.0010 0.0681 1.2752 0.0016

NMC N = 1000 0.0447 0.9541 0.0459 0.1307 1.2972 0.0188
AVMC N = 1000 0.0743 0.9934 0.0066 0.0931 1.2673 0.0046
AVQMC N = 1000 0.0324 1.0015 0.0015 0.0497 1.2749 0.0013

Relative error against the number of sample points with N=1000 for Example 4.

Relative error against the number of sample points with N=1000 for Example 5.

Comparison between NMC, AVMC, and AVQMC methods regarding Example 4.

Comparison between NMC, AVMC, and AVQMC methods regarding Example 5.

Example 4.

Consider equation (2) with kernel K(x,y)=ex-y, D=[0,1]. We can easily show that the exact eigenvalue is 1.

Example 5.

Consider equation (2) with kernel K(x,y)=sin(x)sin(y), D=[0,π/2]. We can easily show that the exact eigenvalue is 4/π=1.2732.

7. Conclusion

In this paper we have proposed an efficient algorithm and analyzed the performance of the algorithm for computing the eigenvalue of the linear homogenous integral equations. We studied the accuracy and robustness of the proposed algorithm. The numerical results in Table 1 show that AVQMC algorithm has better improvement, in both error and convergence, than AVMC and NMC algorithms.

Dimov I. T. Gurov T. V. Monte Carlo algorithm for solving integral equations with polynomial nonlinearity: parallel implementation Pliska Studia Mathematica Bulgarica 2000 13 117 132 Fathi B. Radmoghaddam E. Optimal Faure sequence via mix Faure with the best scrambling schemes Computer Science and Its Applications 2012 2 1 2166 2924 Vandewoestyne B. Chi H. Cools R. Computational investigations of scrambled faure sequences Mathematics and Computers in Simulation 2010 81 3 522 535 2-s2.0-78649799483 10.1016/j.matcom.2009.09.007 Fathi B. Mehrdoust F. Quasi Monte Carlo algorithm for computing smallest and largest generalized eigenvalues ANZIAM Journal E 2011 52 41 58 Mehrdoust F. Fathi B. A reliable stochastic algorithm for estimating eigenvalue of homogeneous integral equations Journal of Advanced Research in Applied Mathematics 2013 5 2 13 Faure H. Discrepancy of sequences associated with a number system (in dimension s) Acta Arithmetica 1982 41 4 337 351 Niederreiter H. Random Number Generations and Quasi-Monte Carlo Methods 1992 Philadelphia, Pa, USA Society for Industrial and Applied Mathematics Spanier J. Maize E. H. Quasi-random methods for estimating integrals using relatively small samples SIAM Review 1994 36 1 18 44 2-s2.0-0028387701 Hickernell F. J. Mean square discrepancy of randomized nets ACM Transactions on Modeling and Computer Simulation 1996 6 274 296 2-s2.0-0030259017 10.1145/240896.240909 Sobol I. M. Uniformly distributed sequences with an additional uniform property USSR Computational Mathematics and Mathematical Physics 1976 16 5 236 242 2-s2.0-49349129696 Tezuka S. Polynomial arithmetic analogue of halton sequences ACM Transactions on Modeling and Computer Simulation 1993 3 2 99 107 2-s2.0-0027578551 10.1145/169702.169694 Joshi M. S. The Concepts and Practice of Mathematical Finance 2003 2nd Cambridge University Press Chi H. Scrambled Quasi-Random Sequences and their Application 2004 The Florida state university college of arts and science