encyclopegia.org

Low-discrepancy sequence

In mathematics, a low-discrepancy sequence is a sequence with the property that for all values of N , its subsequence x_1, \ldots, x_N has a low discrepancy.[src] Roughly speaking, the discrepancy of a sequence is low if the proportion of points in the sequence falling into an arbitrary set B is close to proportional to the measure of B, as would happen on average (but not for particular samples) in the case of an equidistributed sequence.[src] Specific definitions of discrepancy differ regarding the choice of B (hyperspheres, hypercubes, etc.) and how the discrepancy for every B is computed (usually normalized) and combined (usually by taking the worst value).[src] Low-discrepancy sequences are also called quasirandom sequences, due to their common use as a replacement of uniformly distributed random numbers.[src] The "quasi" modifier is used to denote more clearly that the values of a low-discrepancy sequence are neither random nor pseudorandom, but such sequences share some properties of random variables and in certain applications such as the quasi-Monte Carlo method their lower discrepancy is an important advantage.[src]

In mathematics, a low-discrepancy sequence is a sequence with the property that for all values of N , its subsequence x_1, \ldots, x_N has a low discrepancy.[src] Roughly speaking, the discrepancy of a sequence is low if the proportion of points in the sequence falling into an arbitrary set B is close to proportional to the measure of B, as would happen on average (but not for particular samples) in the case of an equidistributed sequence.[src] Specific definitions of discrepancy differ regarding the choice of B (hyperspheres, hypercubes, etc.) and how the discrepancy for every B is computed (usually normalized) and combined (usually by taking the worst value).[src] Low-discrepancy sequences are also called quasirandom sequences, due to their common use as a replacement of uniformly distributed random numbers.[src] The "quasi" modifier is used to denote more clearly that the values of a low-discrepancy sequence are neither random nor pseudorandom, but such sequences share some properties of random variables and in certain applications such as the quasi-Monte Carlo method their lower discrepancy is an important advantage.[src] ==Applications== Quasirandom numbers have an advantage over pure random numbers in that they cover the domain of interest quickly and evenly.[src] Two useful applications are in finding the characteristic function of a probability density function, and in finding the derivative function of a deterministic function with a small amount of noise.[src] Quasirandom numbers allow higher-order moments to be calculated to high accuracy very quickly.[src] Applications that don't involve sorting would be in finding the mean, standard deviation, skewness and kurtosis of a statistical distribution, and in finding the integral and global maxima and minima of difficult deterministic functions.[src] Quasirandom numbers can also be used for providing starting points for deterministic algorithms that only work locally, such as Newton–Raphson iteration.[src] Quasirandom numbers can also be combined with search algorithms.[src] With a search algorithm, quasirandom numbers can be used to find the mode, median, confidence intervals and cumulative distribution of a statistical distribution, and all local minima and all solutions of deterministic functions.[src] \int_0^1 f(u)\,du \approx \frac{1}{N}\,\sum_{i=1}^N f(x_i).[src] If the points are chosen as x_i = i/N , this is the rectangle rule.[src] If the points are chosen to be randomly (or pseudorandomly) distributed, this is the Monte Carlo method.[src] If the points are chosen as elements of a low-discrepancy sequence, this is the quasi-Monte Carlo method.[src] A remarkable result, the Koksma–Hlawka inequality (stated below), shows that the error of such a method can be bounded by the product of two terms, one of which depends only on f , and the other one is the discrepancy of the set \{x_1, \dots, x_N }\ .[src] It is convenient to construct the set \{x_1, \dots, x_N }\ in such a way that if a set with N+1 elements is constructed, the previous N elements need not be recomputed.[src] The rectangle rule uses point sets which have low discrepancy, but in general the elements must be recomputed if N is increased.[src] Elements need not be recomputed in the random Monte Carlo method if N is increased, but the point sets do not have minimal discrepancy.[src] By using low-discrepancy sequences we aim for low discrepancy and no need for recomputations, but actually low-discrepancy sequences can only be incrementally good on discrepancy if we allow no recomputation.[src] ==Definition of discrepancy== The discrepancy of a set P = \{x_1, \dots, x_N }\ is defined, using Niederreiter's notation, as D_N(P) = \sup_{B\in J} \left| \frac{A(B;P)}{N} - \lambda_s(B) \right| where \lambda_s is the s -dimensional Lebesgue measure, A(B;P) is the number of points in P that fall into B , and J is the set of s -dimensional intervals or boxes of the form \prod_{i=1}^s [a_i, b_i) = \{ \mathbf{x} \in \mathbf{R}^s : a_i \le x_i where 0 \le a_i .[src] The star-discrepancy D^*_N(P) is defined similarly, except that the supremum is taken over the set J^* of rectangular boxes of the form \prod_{i=1}^s [0, u_i) where u_i is in the half-open interval [0, 1) .[src] The two are related by D^*_N \le D_N \le 2^s D^*_N .[src] \, Note: With these definitions, discrepancy represents the worst-case or maximum point density deviation of a uniform set.[src] However, also other error measures are meaningful, leading to other definitions and variation measures.[src] For instance, L^2 -discrepancy or modified centered L^2 -discrepancy are also used intensively to compare the quality of uniform point sets.[src] Both are much easier to calculate for large N and s .[src] ==The Koksma–Hlawka inequality== Let \overline{I}^s be the s -dimensional unit cube, \overline{I}^s = [0, 1] \times \cdots \times [0, 1] .[src] Let f have bounded variation V(f) on \overline{I}^s in the sense of Hardy and Krause.[src] Then for any x_1, \ldots, x_N in I^s = [0, 1)^s = [0, 1) \times \cdots \times [0, 1) , \left| \frac{1}{N} \sum_{i=1}^N f(x_i) - \int_{\bar I^s} f(u)\,du \right| \le V(f)\, D_N^* (x_1,\ldots,x_N).[src] The Koksma–Hlawka inequality is sharp in the following sense: For any point set \{x_1,\ldots,x_N\} in I^s and any \varepsilon>0 , there is a function f with bounded variation and V(f) = 1 such that \left| \frac{1}{N} \sum_{i=1}^N f(x_i) - \int_{\bar I^s} f(u)\,du \right|>D_{N}^{*}(x_1,\ldots,x_N)-\varepsilon.[src] Therefore, the quality of a numerical integration rule depends only on the discrepancy D^*_N(x_1,\ldots,x_N) .[src] ==The formula of Hlawka–Zaremba== Let D = \{1,2,\ldots,d\} .[src] For \emptyset\neq u\subseteq D we write dx_u := \prod_{j\in u} dx_j and denote by (x_u,1) the point obtained from x by replacing the coordinates not in u by 1 .[src] Then \frac{1}{N} \sum_{i=1}^N f(x_i) - \int_{\bar I^s} f(u)\,du= \sum_{\emptyset\neq u\subseteq D}(-1)^ \int_{[0,1]^ } \operatorname{disc}(x_u,1)\frac{\partial^ }{\partial x_u}f(x_u,1) \, dx_u, where \operatorname{disc}(z)= \frac{1}{N}\sum_{i=1}^N \prod_{j=1}^d 1_{[0,z_j)}(x_{i,j}) - \prod_{j=1}^d z_i is the discrepancy function.[src] ==The L 2 version of the Koksma–Hlawka inequality== Applying the Cauchy–Schwarz inequality for integrals and sums to the Hlawka–Zaremba identity, we obtain an L^2 version of the Koksma–Hlawka inequality: \left|\frac{1}{N} \sum_{i=1}^N f(x_i) - \int_{\bar I^s} f(u)\,du\right|\le \|f\|_d \operatorname{disc}_d (\{t_i\}), where \operatorname{disc}_d(\{t_i\})=\left(\sum_{\emptyset\neq u\subseteq D} \int_{[0,1]^ } \operatorname{disc}(x_u,1)^2 \, dx_u\right)^{1/2} and \|f\|_d = \left(\sum_{u\subseteq D} \int_{[0,1]^ } \left|\frac{\partial^ }{\partial x_u} f(x_u,1)\right|^2 dx_u\right)^{1/2}.[src] L^2 discrepancy has a high practical importance because fast explicit calculations are possible for a given point set.[src] This way it is easy to create point set optimizers using L^2 discrepancy as criteria.[src] ==The Erdős–Turán–Koksma inequality== It is computationally hard to find the exact value of the discrepancy of large point sets.[src] The Erdős–Turán–Koksma inequality provides an upper bound.[src] Let x_1,\ldots,x_N be points in I^s and H be an arbitrary positive integer.[src] Then D_{N}^{*}(x_1,\ldots,x_N)\leq \left(\frac{3}{2}\right)^s \left( \frac{2}{H+1}+ \sum_{0 where r(h) = \prod_{i=1}^s\max\{1,|h_i|\}\quad\text{for}\quad h=(h_1,\ldots,h_s)\in\Z^s.[src] ==The main conjectures== Conjecture 1.[src] There is a constant c_s depending only on the dimension s , such that D_{N}^{*}(x_1,\ldots,x_N)\geq c_s\frac{(\ln N)^{s-1}}{N} for any finite point set {x_1,\ldots,x_N} .[src] Conjecture 2.[src] There is a constant c'_s depending only on : s , such that: D_{N}^{*}(x_1,\ldots,x_N)\geq c'_s\frac{(\ln N)^{s}}{N} for infinite number of N for any infinite sequence x_1,x_2,x_3,\ldots .[src] These conjectures are equivalent.[src] They have been proved for s \leq 2 by W.[src] M.[src] Schmidt.[src] In higher dimensions, the corresponding problem is still open.[src] The best-known lower bounds are due to Michael Lacey and collaborators.[src] ==Lower bounds== Let s = 1 .[src] Then D_N^*(x_1,\ldots,x_N)\geq\frac{1}{2N} for any finite point set \{x_1, \dots, x_N }\ .[src] Let s = 2 .[src] W.[src] M.[src] Schmidt proved that for any finite point set \{x_1, \dots, x_N }\ , D_N^*(x_1,\ldots,x_N)\geq C\frac{\log N}{N} where C = \max_{a\geq3}\frac{1}{16}\frac{a-2}{a\log a}=0.023335\dots.[src] For arbitrary dimensions s > 1 , K.[src] F.[src] Roth proved that D_N^*(x_1,\ldots,x_N)\geq\frac{1}{2^{4s}}\frac{1}{((s-1)\log2)^\frac{s-1}{2}}\frac{\log^{\frac{s-1}{2}}N}{N} for any finite point set \{x_1, \dots, x_N }\ .[src] Jozef Beck established a double log improvement of this result in three dimensions.[src] This was improved by D.[src] Bilyk and M.[src] T.[src] Lacey to a power of a single logarithm.[src] The best known bound for s > 2 is due D.[src] Bilyk and M.[src] T.[src] Lacey and A.[src] Vagharshakyan.[src] There exists a t>0 depending on s so that D_N^*(x_1,\ldots,x_N)\geq t \frac{\log^{\frac{s-1}{2}+t}N}{N} for any finite point set \{x_1, \dots, x_N }\ .[src] A general lower bound on the average local discrepancy, \sum_{i\leq N} |x_i-i/N| , of the sequence \{x_1, \dots, x_N }\ in the unit interval can be computed using only the minimum gap size, g_{\rm min} , and the gap sizes above the average gap, g_i>1/N , \sum_{i\leq N} |x_i-i/N| \geq \frac{1}{4} \sum_{i=1}^{M}\frac{(g_i-g_{\rm min})^2}{1/N-g_{\rm min}} -\frac{M}{4}(1/N-g_{\rm min}) \, , where M is the number of gaps larger than 1/N .[src] ==Construction of low-discrepancy sequences== Because any distribution of random numbers can be mapped onto a uniform distribution, and quasirandom numbers are mapped in the same way, this article only concerns generation of quasirandom numbers on a multidimensional uniform distribution.[src] There are constructions of sequences known such that D_N^{*}(x_1,\ldots,x_N)\leq C\frac{(\ln N)^{s}}{N}.[src] where C is a certain constant, depending on the sequence.[src] After Conjecture 2, these sequences are believed to have the best possible order of convergence.[src] Examples below are the van der Corput sequence, the Halton sequences, and the Sobol’ sequences.[src] One general limitation is that construction methods can usually only guarantee the order of convergence.[src] Practically, low discrepancy can be only achieved if N is large enough, and for large given s this minimum N can be very large.[src] This means running a Monte-Carlo analysis with e.g.[src] s=20 variables and N=1000 points from a low-discrepancy sequence generator may offer only a very minor accuracy improvement .[src] ===Random numbers=== Sequences of quasirandom numbers can be generated from random numbers by imposing a negative correlation on those random numbers.[src] One way to do this is to start with a set of random numbers r_i on [0,0.5) and construct quasirandom numbers s_i which are uniform on [0,1) using: s_i = r_i for i odd and s_i = 0.5 + r_i for i even.[src] A second way to do it with the starting random numbers is to construct a random walk with offset 0.5 as in: s_i = s_{i-1} + 0.5+ r_i \pmod 1.[src] \, That is, take the previous quasirandom number, add 0.5 and the random number, and take the result modulo 1.[src] For more than one dimension, Latin squares of the appropriate dimension can be used to provide offsets to ensure that the whole domain is covered evenly.[src] ===Additive recurrence=== For any irrational \alpha , the sequence s_n = \{s_0 + n\alpha\} has discrepancy tending to 1/N .[src] Note that the sequence can be defined recursively by s_{n+1} = (s_n + \alpha)\bmod 1 \;.[src] A good value of \alpha gives lower discrepancy than a sequence of independent uniform random numbers.[src] The discrepancy can be bounded by the approximation exponent of \alpha .[src] If the approximation exponent is \mu , then for any \varepsilon>0 , the following bound holds: D_N((s_n)) = O_\varepsilon (N^{-1/(\mu-1)+\varepsilon}).[src] By the Thue–Siegel–Roth theorem, the approximation exponent of any irrational algebraic number is 2, giving a bound of N^{-1+\varepsilon} above.[src] The recurrence relation above is similar to the recurrence relation used by a linear congruential generator, a poor-quality pseudorandom number generator: r_i = (a r_{i-1} + c) \bmod m For the low discrepancy additive recurrence above, a and m are chosen to be 1.[src] Note, however, that this will not generate independent random numbers, so should not be used for purposes requiring independence.[src] The value of c with lowest discrepancy is the fractional part of the golden ratio: c = \frac{\sqrt{5}-1}{2} = \varphi - 1 \approx 0.618034.[src] Another value that is nearly as good is the fractional part of the silver ratio, which is the fractional part of the square root of 2: c = \sqrt{2}-1 \approx 0.414214.[src] \, In more than one dimension, separate quasirandom numbers are needed for each dimension.[src] A convenient set of values that are used, is the square roots of primes from two up, all taken modulo 1: c = \sqrt{2}, \sqrt{3}, \sqrt{5}, \sqrt{7}, \sqrt{11}, \ldots \, However, a set of values based on the generalised golden ratio has been shown to produce more evenly distributed points.[src] The list of pseudorandom number generators lists methods for generating independent pseudorandom numbers.[src] Note: In few dimensions, recursive recurrence leads to uniform sets of good quality, but for larger s (like s>8 ) other point set generators can offer much lower discrepancies.[src] ===van der Corput sequence=== Let n=\sum_{k=0}^{L-1}d_k(n)b^k be the b -ary representation of the positive integer n \geq 1 , i.e.[src] 0 \leq d_k(n) .[src] Set g_b(n)=\sum_{k=0}^{L-1}d_k(n)b^{-k-1}.[src] Then there is a constant C depending only on b such that (g_b(n))_{n \geq 1} satisfies D^*_N(g_b(1),\dots,g_b(N))\leq C\frac{\log N}{N}, where D^*_N is the star discrepancy.[src] ===Halton sequence=== The Halton sequence is a natural generalization of the van der Corput sequence to higher dimensions.[src] Let s be an arbitrary dimension and b 1 , ..., b s be arbitrary coprime integers greater than 1.[src] Define x(n)=(g_{b_1}(n),\dots,g_{b_s}(n)).[src] Then there is a constant C depending only on b 1 , ..., b s , such that sequence {x(n)} n≥1 is a s-dimensional sequence with D^*_N(x(1),\dots,x(N))\leq C'\frac{(\log N)^s}{N}.[src] ===Hammersley set=== Let b_1,\ldots,b_{s-1} be coprime positive integers greater than 1.[src] For given s and N , the s -dimensional Hammersley set of size N is defined by x(n)=\left(g_{b_1}(n),\dots,g_{b_{s-1}}(n),\frac{n}{N}\right) for n = 1, \ldots, N .[src] Then D^*_N(x(1),\dots,x(N))\leq C\frac{(\log N)^{s-1}}{N} where C is a constant depending only on b_1, \ldots, b_{s-1} .[src] Note: The formulas show that the Hammersley set is actually the Halton sequence, but we get one more dimension for free by adding a linear sweep.[src] This is only possible if N is known upfront.[src] A linear set is also the set with lowest possible one-dimensional discrepancy in general.[src] Unfortunately, for higher dimensions, no such "discrepancy record sets" are known.[src] For s=2 , most low-discrepancy point set generators deliver at least near-optimum discrepancies.[src] ===Sobol sequence=== The Antonov–Saleev variant of the Sobol’ sequence generates numbers between zero and one directly as binary fractions of length w, from a set of w special binary fractions, V_i, i = 1, 2, \dots, w called direction numbers.[src] The bits of the Gray code of i , G(i) , are used to select direction numbers.[src] To get the Sobol’ sequence value s_i take the exclusive or of the binary value of the Gray code of i with the appropriate direction number.[src] The number of dimensions required affects the choice of V_i .[src] ==Graphical examples== The points plotted below are the first 100, 1000, and 10000 elements in a sequence of the Sobol' type.[src] For comparison, 10000 elements of a sequence of pseudorandom points are also shown.[src] The low-discrepancy sequence was generated by TOMS algorithm 659.[src] An implementation of the algorithm in Fortran is available from Netlib.[src] ==See also== Discrepancy theory Markov chain Monte Carlo Quasi-Monte Carlo method Sparse grid Systematic sampling ==Notes== ==External links== Collected Algorithms of the ACM (See algorithms 647, 659, and 738.) Quasi-Random Sequences from the GNU Scientific Library Quasi-random sampling subject to constraints at FinancialMathematics.Com C++ generator of Sobol’ sequence SciPy QMC API Reference: scipy.stats.qmc[src]

132 sentences · 132 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Low-discrepancy sequence." encyclopegia.org, 2026, https://encyclopegia.org/wiki/low-discrepancy-sequence. Accessed 26 November 2026.

Chicago

"Low-discrepancy sequence." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/low-discrepancy-sequence.

APA

encyclopegia.org. (2026). Low-discrepancy sequence. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/low-discrepancy-sequence

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Maria Theresia Löw

stub · references available

Reinhard Löw

stub · references available

sequence

stub · references available

Just in sequence

stub · references available

sonnet sequence

stub · references available

Sequence

stub · references available

adenoma-carcinoma sequence

stub · references available

Low temperature co-fired ceramic

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1369498188 · 0.5 · snapshot enwiki-001369498188

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.