원시데이터 수집 시스템
선정목록으로

Heuristic approaches to obtain low-discrepancy point sets via subset selection

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. François Clément — Sorbonne Université, CNRS, LIP6, Paris, France|||RO - Recherche Opérationnelle (France)
  2. Carola Doerr — Sorbonne Université, CNRS, LIP6, Paris, France|||RO - Recherche Opérationnelle (France)
  3. Luís Paquete — University of Coimbra, CISUC, Department of Informatics Engineering, Portugal|||Universidade de Coimbra [Coimbra] (Palácio dos Grilos Rua da Ilha 3000-214 Coimbra - Portugal)
DOI
10.1016/j.jco.2024.101852
저널
Journal of Complexity
발행년도
2024
발행기관
Elsevier BV
피인용수
6
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jco.2024.101852
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4392882198

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Building upon the exact methods presented in our earlier work [J. Complexity, 2022], we introduce a heuristic approach for the star discrepancy subset selection problem. The heuristic gradually improves the current-best subset by replacing one of its elements at a time. While the heuristic does not necessarily return an optimal solution, we obtain very promising results for all tested dimensions. For example, for moderate sizes 30≤n≤240, we obtain point sets in dimension 6 with L∞ star discrepancy up to 35% better than that of the first n points of the Sobol' sequence. Our heuristic works in all dimensions, the main limitation being the precision of the discrepancy calculation algorithms. We provide a comparison with a recent energy functional introduced by Steinerberger [J. Complexity, 2019], showing that our heuristic performs better on all tested instances. Finally, our results and complementary experiments also give further empirical information on inverse star discrepancy conjectures.

본문 83,937자

본문 펼치기
## Heuristic Approaches to Obtain Low-discrepancy Point Sets via Subset Selection François Clément <sup>a</sup>, Carola Doerr <sup>a</sup>, Luís Paquete <sup>b</sup> _aSorbonne_ _Université,_ _CNRS,_ _LIP6,_ _Paris,_ _France_ _bUniversity_ _of_ _Coimbra,_ _CISUC,_ _Department_ _of_ _Informatics_ _Engineering,_ _Portugal_ Abstract Building upon the exact methods presented in our earlier work [J. Complexity, 2022], we introduce a heuristic approach for the star discrepancy subset selection problem. The heuristic gradually improves the current-best subset by replacing one of its elements at a time. While the heuristic does not necessarily return an optimal solution, we obtain very promising results for all tested dimensions. For example, for moderate sizes 30 _≤_ _n_ _≤_ 240, we obtain point sets in dimension 6 with _L∞_ star discrepancy up to 35% better than that of the first _n_ points of the Sobol’ sequence. Our heuristic works in all dimensions, the main limitation being the precision of the discrepancy calculation algorithms. We provide a comparison with a recent energy functional introduced by Steinerberger [J. Complexity, 2019], showing that our heuristic performs better on all tested instances. Finally, our results and complementary experiments also give further empirical information on inverse star discrepancy conjectures. _Keywords:_ Low discrepancy point sets, Subset selection, Information-based complexity. 1. Introduction Discrepancy measures are designed to quantify how regularly a point set is distributed in a given space. Many discrepancy measures exist, one of the most common ones being the _L∞_ star discrepancy. The _L∞_ star discrepancy of a point set _P_ _⊆_ [0 _,_ 1] <sup>_d_</sup> measures the worst absolute difference between the Lebesgue measure of a _d_ -dimensional box anchored in (0 _, . . .,_ 0) and the proportion of points that fall inside this box. The _L∞_ star discrepancy gained significant attention because of the Koksma-Hlawka inequality [21, 22] which bounds the error made in numerical integration. While Quasi-Monte Carlo integration is their main application [7], point sets of low _L∞_ star discrepancy are also used for one-shot optimization [4], design of experiments [29], computer vision [27], and financial mathematics [14]. Throughout this paper, we write _n_ for the number of points of a _d_ -dimensional point set. We write _sequence_ for an infinite series of points and _set_ for a finite one, both are closely linked as results on sequences in dimension _d_ correspond to those on sets in dimension _d_ +1 [28]. Well-known constructions such as Sobol’, Halton, Hammersley, or digital nets achieve discrepancies of order log <sup>_d−_</sup> <sup>1</sup> ( _n_ ) _/n_ for _sets_ of _n_ elements in dimension _d_ (see [25] for a detailed description). This becomes log <sup>_d_</sup> ( _n_ ) _/n_ for a fixed _sequence_ for which we consider all possible _n_, see [28] for details. However, the driving focus behind the construction of these sequences is to obtain the optimal _<u>asymptotic</u>_ order for the _L∞_ star discrepancy. While random points whose star discrepancy scales in - _d/n_ [9] – are not as good in the asymptotic setting, they often outperform low-discrepancy sequences for practical applications where the number of samples _n_ might be too small to reach the asymptotic advantage [1]. The lack of low-discrepancy constructions adapted to specific _n_ and _d_ combinations led us to introduce the Star Discrepancy Subset Selection Problem (SDSSP) in [5]. We showed that the SDSSP is an NP-hard _Email_ _addresses:_ `francois.clement@lip6.fr` (François Clément), `Carola.Doerr@lip6.fr` (Carola Doerr), `paquete@dei.uc.pt` (Luís Paquete) _Preprint_ _submitted_ _to_ _Elsevier_ _March_ _11,_ _2024_ problem and proposed two exact methods, a branch-and-bound algorithm and an MILP formulation, to solve it for low _n_ and _d ∈{_ 2 _,_ 3 _}_ . In this specific setting, we obtained point sets of much better discrepancy than the known low-discrepancy sets of the same size (Sobol’, Halton, and Faure for example), with only the Fibonacci sequence being competitive for specific point set sizes in dimension 2. Our contribution : Extending [5], we provide in this work a heuristic to solve the problem in much higher dimensions, as well as with a higher number of points. We introduce a swap-based heuristic, which attempts to replace a point of the chosen subset by one currently not chosen, using the box with the worst local discrepancy to guide our swap-choice. A further brute-force check is then used to guarantee that the final point set is a local minimum. This approach is able to obtain point sets of much smaller discrepancy than the known constructions for all dimensions for which the discrepancy can be reliably computed, hence significantly improving on the range of settings that can be handled by the exact methods presented in [5]. With different instantiations of the heuristic, we obtain point sets that are between 10 and 40% better than the initial Sobol’ set of the same size. Initial experiments also show that choosing a subset of size _k_ close to the initial point set size _n_ leads to better results, especially when the dimension _d_ and the target set size _n_ increase, which was also observed with exact methods. We also compare our method with the energy functional on the points’ position introduced by Steinerberger [31], which is minimized by gradient descent to obtain a point set with low discrepancy. His approach can be used on any point set in any dimension but he provides results mostly for dimensions 2 and 3. We give a detailed comparison of his method with ours as well as some extended testing in higher dimensions in Section 4.4. We show that not only can we clearly outperform the results obtained by this approach, but also combining the two methods allows us to build point sets whose discrepancy is competitive with that of the Sobol’ sequence. This can be done with any starting point set, it does not require a good number-theoretic construction. We note that the sets obtained this way are not as good as those obtained by using subset selection on the Sobol’ sequence. Finally, our experiments provide numerous discrepancy values for the Sobol’ sequence for varying _n_ and _d_ . It is conjectured in [26] that _n_ = 10 _d_ points are required to obtain a discrepancy of 0 _._ 25 in dimension _d_ . Our results in Section 4.3 show that the Sobol’ sequence seems to come close to a discrepancy of 0 _._ 2 with _n_ = 10 _d_ points in all tested dimensions. Furthermore, our improved sets obtained via subset selection come closer to _n_ = 7 _d_ points required to reach a discrepancy of 0 _._ 25. Related work : Despite the extensive research on optimal asymptotic constructions, there is little similar work attempting to build point sets directly. Apart from the mentioned work by Steinerberger [31], the most similar work was by Doerr and de Rainville in [11] where they optimize, using evolutionary algorithms, the permutations used to build generalized Halton sequences. Their work had a very similar goal but was limited to improving one specific sequence. Structure of the paper: We recall in Section 2 some important results on the _L∞_ star discrepancy. In particular, we give a brief reminder on the structure of the _L∞_ star discrepancy function, describe the two main methods of computing it and recall the main results on the Star Discrepancy Subset Selection problem. In Section 3 we introduce the new heuristics to solve the problem in higher dimensions. Section 4 will describe our numerical evaluation and the quality of the obtained point sets, as well as a comparison with Steinerberger’s energy functional. Availability of code : Our code and obtained point sets are available at `[https://github.com/frclement/](https://github.com/frclement/SDSSP_Heuristics)` `[SDSSP_Heuristics](https://github.com/frclement/SDSSP_Heuristics)` . 2. The _L∞_ Star Discrepancy _2.1._ _General_ _Results_ _on_ _the_ _Star_ _Discrepancy_ The _L∞_ star discrepancy of a point set represents the worst absolute difference between the proportion of points that fall inside a box and the proportion of volume taken by this box. Formally, the _L∞_ star discrepancy of a point set _P_ _⊆_ [0 _,_ 1] <sup>_d_</sup> is defined as (1) ���� _,_ _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>) :=</sup> sup _q∈_ [0 _,_ 1] <sup>_d_</sup> _<u>|P</u>_ _<u>∩</u>_ <u>[0</u> _<u>, q</u>_ <u>)</u> _<u>|</u>_ ���� _|P_ _|_ _−_ _λ_ ( _q_ ) _|P_ _|_ 2 where _λ_ ( _q_ ) is the Lebesgue measure of the box [0 _, q_ ). For the asymptotic order of the _L∞_ star discrepancy, there exist several sequences reaching an order of _O_ (log <sup>_d_</sup> ( _n_ ) _/n_ ). These are known as _low-discrepancy_ _sequences_ and exhibit the best _asymptotic_ _L∞_ star discrepancy known today. However, the best lower bound for the star discrepancy in dimension _d_ states that there exist constants _c, C_ depending only on the dimension such that _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>_c_</sup> <sup>log</sup> <sup>_C_</sup> <sup>+(</sup> <sup>_d−_</sup> <sup>1)</sup> <sup>_/_</sup> <sup>2(</sup> <sup>_n_</sup> <sup>)</sup> <sup>_/n_</sup> <sup>[3].</sup> <sup>It</sup> <sup>is</sup> there exist constants _c, C_ depending only on the dimension such that _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>_c_</sup> <sup>log</sup> <sup>_C_</sup> <sup>+(</sup> <sup>_d−_</sup> <sup>1)</sup> <sup>_/_</sup> <sup>2(</sup> <sup>_n_</sup> <sup>)</sup> <sup>_/n_</sup> <sup>[3].</sup> <sup>It</sup> <sup>is</sup> conjectured that, in any dimension _d_, there exists a constant _cd_ such that _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>_cd_</sup> <sup>log</sup> <sup>_d−_</sup> <sup>1(</sup> <sup>_n_</sup> <sup>)</sup> <sup>_/n_</sup> <sup>for</sup> <sup>any</sup> conjectured that, in any dimension _d_, there exists a constant _cd_ such that _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>_cd_</sup> <sup>log</sup> <sup>_d−_</sup> <sup>1(</sup> <sup>_n_</sup> <sup>)</sup> <sup>_/n_</sup> <sup>for</sup> <sup>any</sup> point set _P_ _⊆_ [0 _,_ 1] <sup>_d_</sup> of size _n_ . This would give us a matching bound to the low-discrepancy sets mentioned previously. The difference with the _O_ (log <sup>_d_</sup> ( _n_ ) _/n_ ) bound is due to the set/sequence distinction. However, this conjecture has only been proven to hold in dimensions 1 and 2 [30]. More detailed bounds can be found in [7]. Despite being defined as a continuous problem over all possible anchored boxes, calculating the star discrepancy can be treated as a discrete problem [24]. First, we notice that any closed anchored box in [0 _,_ 1] <sup>_d_</sup> can be obtained as the limit of a sequence of bigger open boxes that contain the same number of points. The only exception is [1 _, . . .,_ 1] and this closed box cannot give the worst discrepancy value as its local discrepancy is 0. Following the notation introduced in [5], we define _D_ ( _q, P_ ) to be the number of points of _P_ that fall inside the open anchored box [0 _, q_ ) and _D_ ( _q, P_ ) the number of points of P that fall inside the closed anchored box [0 _, q_ ]. We define the two following functions: _δ_ ( _q, P_ ) := _λ_ ( _q_ ) _−_ <sup><u>1</u></sup> _n_ _n_ <sup><u>1</u></sup> <sup>_D_</sup> <sup>(</sup> <sup>_q, P_</sup> <sup>)</sup> and _δ_ ( _q, P_ ) := _n_ <sup><u>1</u></sup> _n_ <sup><u>1</u></sup> <sup>_D_</sup> <sup>(</sup> <sup>_q, P_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_λ_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> <sup>_._</sup> (2) The local discrepancy in a point _q_ _∈_ [0 _,_ 1] <sup>_d_</sup> is given by the maximum of _δ_ ( _q, P_ ) and _δ_ ( _q, P_ ). It is also not necessary to consider all possible values for _q_ . Indeed, we can define for all _j_ _∈{_ 1 _, . . ., d}_ the grid Γ( _P_ ) := Γ1( _P_ ) _× . . . ×_ Γ _d_ ( _P_ ) and Γ( _P_ ) := Γ1( _P_ ) _× . . . ×_ Γ _d_ ( _P_ ) _,_ (3) with Γ _j_ ( _P_ ) := _{x_ <sup>(</sup> _j_ <sup>_i_</sup> <sup>)</sup> <sup>_|i ∈_</sup> <sup>1</sup> <sup>_, . . ., n}_</sup> and Γ _j_ ( _P_ ) := Γ _j_ ( _P_ ) _∪{_ 1 _},_ (4) As shown in more detail in [10], the star discrepancy computation reduces to the following discrete problem _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>) = max</sup> <u>max</u> _q∈_ Γ( _P_ ) _δ_ ( _q, P_ ) _,_ _q∈_ maxΓ( _P_ ) <sup>_δ_</sup> <sup>(</sup> <sup>_q, P_</sup> <sup>)</sup> _._ (5) _2.2._ _Star_ _Discrepancy:_ _Problem-Specific_ _Algorithms_ The decision version of the star discrepancy computation has been shown to be NP-hard [18], and even W[1]-hard [15]. Directly solving the discrete problem introduced above would require calculating _O_ ( _n_ <sup>_d_</sup> ) local discrepancies, which can be reduced to _O_ ( _n_ <sup>_d_</sup> _/_ ( _d_ !)) by noticing that only specific boxes can reach the maximal discrepancy value. A box [0 _, q_ ) (or [0 _, q_ ]) can obtain the maximal discrepancy value only if for all _i_ _∈{_ 1 _, . . ., d}_ there exists a point _p_ _∈_ _P_ such that _p_ _∈_ [0 _, q_ ] and _pi_ = _qi_ (where we write _q_ = ( _q_ 1 _, . . ., qd_ )). These specific boxes [0 _, q_ ) and [0 _, q_ ] are called _critical_ _boxes_ . In Figure 1, the critical boxes are visible as the intersection points of the grid lines. Critical boxes are defined for both open and closed boxes, the difference being that for open boxes the points defining its edges will not be inside the box. The best known exact algorithm to compute the star discrepancy value of a given point set, proposed by Dobkin, Eppstein and Mitchell in [8], runs in time _O_ ( _n_ <sup>1+</sup> <sup>_d/_</sup> <sup>2</sup> ). Based on a space decomposition originally used to solve Klee’s measure problem, the algorithm carefully builds _O_ ( _n_ <sup>_d/_</sup> <sup>2</sup> ) disjoint boxes covering [0 _,_ 1] <sup>_d_</sup> . The algorithm then finds the worst discrepancy in each box in linear time via dynamic programming, giving the stated complexity. We will be writing _DEM_ _algorithm_ to refer to this algorithm from now on. On the heuristics side, the best known algorithm was proposed in [19]. It is built on top of an iterative search heuristic called _Threshold_ _Accepting_ ; we will hence refer to this algorithm as the _TA_ _heuristic_ . The algorithm walks along the grid structure, evaluates local discrepancy values of some of the grid points, and outputs the largest value seen. It therefore always outputs a lower bound for the discrepancy of the point set under consideration. Based on the results presented in [19], this bound reliably matches the true discrepancy 3 Figure 1: Local discrepancy values for a random point set of 15 points (red dots) in dimension 2 value until somewhere between dimensions 12 and 20 for a few hundred points. For larger settings, we do not have any means to estimate the tightness of the returned lower bound. A more detailed description of these algorithms and other attempts to compute the star discrepancy can be found in Chapter 10 in [10]. _2.3._ _The_ _Star_ _Discrepancy_ _Subset_ _Selection_ _Problem_ _(SDSSP)_ We recall the _star_ _discrepancy_ _subset_ _selection_ _problem_ _(SDSSP)_ introduced in [5]. Given a point set _P_ _⊆_ [0 _,_ 1] <sup>_d_</sup> of size _|P_ _|_ = _n_ and an integer 0 _< k_ _≤_ _n_, find a subset _P_ <sup>_∗_</sup> of P such that _|P_ <sup>_∗_</sup> _|_ = _k_ and _d∞_ ( _P_ <sup>_∗_</sup> ) is minimal among all other subsets of _P_ of size _k_ . This comes down to solving the problem arg min _P_ <sup>_∗_</sup> _⊆P_ _|P_ <sup>_∗_</sup> _|_ = _k_ max <u>max</u> _q∈_ Γ( _P_ <sup>_∗_</sup> ) which is equivalent to arg min _P_ <sup>_∗_</sup> _⊆P_ _|P_ <sup>_∗_</sup> _|_ = _k_ max <u>max</u> _q∈_ Γ( _P_ ) _δ_ ( _q, P_ <sup>_∗_</sup> ) _,_ _q∈_ maxΓ( _P_ <sup>_∗_</sup> ) <sup>_δ_</sup> <sup>(</sup> <sup>_q, P ∗_</sup> <sup>)</sup> _δ_ ( _q, P_ <sup>_∗_</sup> ) _,_ _q∈_ maxΓ( _P_ ) <sup>_δ_</sup> <sup>(</sup> <sup>_q, P ∗_</sup> <sup>)</sup> _,_ (6) _._ (7) It was shown that the decision version of this problem is NP-hard. The SDSSP problem is also non-monotonic: the best solution for _k_ <sup>_′_</sup> _< k_ is not necessarily contained in the one for _k_, see [5] for an example in dimension 1. We introduced in [5] two exact methods to solve the problem. The first is an MILP formulation. It relies on introducing two constraints for each grid point (one for the open box and one for the closed box associated to each grid point), and binary variables to represent the points. The discrepancy of the obtained subset is the objective to minimize. We then solve the MILP with the SCIP solver [2]), but only for dimension 2, due to solver limitations. The solver works quite well in 2 _d_ for up to 140 points but is very quickly limited by the runtime as well as by the size of the file describing all the constraints. It performs better when _k_ and _n_ are close, since the linear relaxation is a tighter bound (the relaxation is integral for _k_ = _n_ ). In 3 _d_, we are not able to solve the problem with the MILP formulation. The second approach, based on a combinatorial branch-and-bound method, considers the points in a sorted order in one dimension and at each branching step to either accept or reject a point in the subset. At each step of the branch-and-bound, we update local discrepancy values associated with well-chosen grid points to obtain a lower bound on the final discrepancy value. The branch-and-bound algorithm also successfully 4 solves the problem in 2 and 3 dimensions for up to 140 points, but could not finish within the 30 minutes cutoff on larger instances. For the evaluated instances, the MILP and the branch-and-bound return subsets of up to 50% smaller _L∞_ star discrepancy than standard low-discrepancy sets of the same size (Sobol’, Halton,...). 3. A Heuristic Approach for the Star Discrepancy Subset Selection Problem To generalize the results of SDSSP to higher dimensions and to larger point sets, we introduce in this section a general method and several instantiations of it. The main working principle of this method is to keep the best subset found so far and, at each step, to attempt replacing some of the points inside this subset with some of the currently not chosen ones. The point set with the best discrepancy is then kept: either the initial one or the set obtained after the swaps. In case of a tie, the initial set is kept. For _j_ _∈{_ 1 _, . . ., n}_, we call _j-swap_ the simultaneous replacement of _j_ points inside the set with _j_ points outside the set. The main idea is to keep a current subset and to improve it via well-chosen 1-swaps. During a first step, we only consider the points defining the worst local discrepancy box as candidates to be removed from the chosen subset. That is, if the discrepancy of the current subset _P_ <sup>_∗_</sup> is attained in _q_ _∈_ [0 _,_ 1] <sup>_d_</sup>, up to _d_ points _x ∈_ _P_ <sup>_∗_</sup> _∩_ [0 _, q_ ] with _xi_ = _qi_ for some _i ∈{_ 1 _, . . ., d}_ are considered to be replaced by a point _y_ _∈_ _P_ _\ P_ <sup>_∗_</sup> . If no improving 1-swap is found, we then consider all remaining 1-swaps during the second step. At any point, if an improving 1-swap is found, we go back to the beginning of the first step with our new point set. We note that our current choices for the heuristic are strongly influenced by the cost of discrepancy calculations. A single run with the brute-force check can require thousands of discrepancy calculations, each with a cost of _O_ ( _k_ <sup>_d/_</sup> <sup>2+1</sup> ) for the DEM algorithm. Choosing carefully which swap to try should be a key focus in designing heuristics to tackle this problem. For ease of explanation, we will only consider the case when a closed box reaches the maximal local discrepancy value, the open box case is treated very similarly. A slightly simplified pseudo-code is provided in Algorithm 1. In our experiments, to compare the performance of both discrepancy calculation methods in the context of subset selection, we will highlight which of the DEM algorithm and TA heuristic are used in the experiments. Initialization. Let _P_ _⊆_ [0 _,_ 1] <sup>_d_</sup> with _|P_ _|_ = _n_ be the input point set and _k_ _≤_ _n_ the target size. For each coordinate _i_ _∈{_ 1 _, . . ., d}_, let _πi_ be the permutation ordering the points _P_ _∪_ (1 _, . . .,_ 1) by their _i_ -th coordinate. In other words, _pπi_ (1) _,i_ _≤_ _pπi_ (2) _,i_ _≤_ _. . . ≤_ _pπi_ ( _n_ +1) _,i_ = 1. The algorithm is initialized with a randomly selected subset _P_ 1, for which the discrepancy _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>1)</sup> <sup>and</sup> the corner _a_ = ( _a_ 1 _, . . ., ad_ ) of the closed box _B_ 1 = [0 _, a_ ] defining this discrepancy value are computed. To improve this subset, points in _B_ 1 _∩_ _P_ 1 must be replaced by points in _P_ _\_ ( _B_ 1 _∩_ _P_ 1), otherwise the local discrepancy for _B_ 1 will at best stay the same. Since the maximum local discrepancy can only be reached for a critical box, in every dimension _j_ _∈{_ 1 _, . . ., d}_ there exists _pπj_ ( _cj_ ) with _cj_ _∈{_ 1 _, . . ., n_ + 1 _}_ such that _pπj_ ( _cj_ ) = _aj_ and _pπj_ ( _cj_ ) _∈_ _B_ 1. These points will be called _edge_ _points_, written in the _c_ [0 _, . . ., d −_ 1] table in the code. Step 1: Breadth-first search. A dimension _j_ _∈{_ 1 _, . . ., d}_ is picked at random and the heuristic checks if _pπj_ ( _cj_ +1) is in _P_ 1. If it is not, we compute the discrepancy of ( _P_ 1 _\{pπj_ ( _cj_ ) _}_ ) _∪{pπj_ ( _cj_ +1) _}_ . If this discrepancy is _strictly_ lower than that of _P_ 1, the chosen subset is changed to _P_ 2 := ( _P_ 1 _\{pπj_ ( _cj_ ) _}_ ) _∪{pπj_ ( _cj_ +1) _}_ . There is a new critical box _B_ 2 returned during the discrepancy computation and we go back to the beginning of Step 1. If _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>2)</sup> <sup>_≥_</sup> <sup>_d∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>1)</sup> <sup>or</sup> <sup>if</sup> <sup>_p_</sup> _πj_ ( _cj_ +1) <sup>is</sup> <sup>in</sup> <sup>_P_</sup> <sup>1,</sup> <sup>dimension</sup> <sup>_j_</sup> <sup>+ 1</sup> <sup>mod</sup> <sup>_d_</sup> <sup>is</sup> <sup>then</sup> <sup>considered,</sup> <sup>where</sup> <sup>we</sup> do the same operations. This continues until either we have found a better subset or all dimensions have been considered. If all dimensions are checked without finding an improvement, the heuristic goes back to the first dimension considered. It then does the same operations, but with _pπj_ ( _cj_ +2) rather than _pπj_ ( _cj_ +1) for all _j_ _∈{_ 1 _, . . ., d}_ . This continues until either we find a new subset with better discrepancy or until we have tried all possible swaps between _pπj_ ( _cj_ ) and _pπj_ ( _bj_ ), with _j_ _∈{_ 1 _, . . ., d}_, _bj_ _∈{cj_ + 1 _, . . ., n_ + 1 _}_, and _pπj_ ( _bj_ ) _∈/_ _P_ 1. In the first case, we go back to the beginning of Step 1 with our new point subset and new worst box. Step 2: Brute-force check. If none of the swaps were successful, the heuristic tries all remaining valid swaps until either a better subset is found (in which case we go back to Step 1) or until we can 5 The algorithm is initialized with a randomly selected subset _P_ 1, for which the discrepancy _d_ <sup>_∗_</sup> <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>2)</sup> <sup>_≥_</sup> <sup>_d∗_</sup> _∞_ <u>Algorithm</u> <u>1</u> <u>Pseudocode</u> <u>of</u> <u>our</u> <u>heuristic</u> <u>subset</u> <u>selection</u> <u>strategy</u> <u>with</u> _<u>nbiter</u>_ <u>restarts</u> Input : _P_, _d_, _n_, _k_ . Let _c_ [0 _, ..., d −_ 1] be the critical box table. Let _πj_ be an ordering of _P_ _∪{_ 1 _, . . .,_ 1 _}_ in dimension _j_, for all _j_ _∈{_ 0 _, . . ., d −_ 1 _}_ . _dmin_ = _∞_, _Pmin_ = _∅_ for _it_ = 0 to _nbiter −_ 1 do Select _Pk_ randomly from _P_, _|Pk|_ = _k_ while _Pk_ is not a local minimum do found=False for _i_ = 0 to _n −_ 1 _−_ min( _c_ [0] _, . . ., c_ [ _d −_ 1]) do for _j_ = 0 to _d −_ 1 do if _πj_ ( _cj_ ) + _i < n_ then <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_Pk_</sup> <sup>)</sup> <sup>_> d_</sup> _∞_ <sup>_∗_</sup> if _d_ <sup>_∗_</sup> if _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_Pk_</sup> <sup>)</sup> <sup>_> d_</sup> _∞_ <sup>_∗_</sup> <sup>(</sup> <sup>_Pk\{p_</sup> _πj_ ( _c_ [ _j_ ]) <sup>_} ∪{p_</sup> _πj_ ( _c_ [ _j_ ]+ _i_ ) <sup>_}_</sup> <sup>)</sup> <sup>then</sup> _Pk_ = _Pk\{pπj_ ( _c_ [ _j_ ]) _} ∪{pπj_ ( _c_ [ _j_ ]+ _i_ ) _}_ Update _c_ [0 _, . . ., d −_ 1], found=True break if found=True then break if found=False then Try all remaining swaps until one improves the set or all have been tested ( _Pk_ is a local minimum). if _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_Pk_</sup> <sup>)</sup> <sup>_< dmin_</sup> <sup>then</sup> _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_Pk_</sup> <sup>)</sup> <sup>_< dmin_</sup> <sup>then</sup> _dmin_ = _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_Pk_</sup> <sup>)</sup> _dmin_ = _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_Pk_</sup> <sup>)</sup> _Pmin_ = _Pk_ Return( _Pmin, dmin_ ) guarantee that our current point set is a local minimum. The valid swaps to check are of two types. They can either involve an edge point: for any _j_ _∈{_ 1 _, . . ., d}_, _pπj_ ( _cj_ ) is swapped with _pπj_ ( _bj_ ) for any _bj_ such that _bj_ _∈{_ 1 _, . . ., cj_ _−_ 1 _}_ and _pπj_ ( _bj_ ) _∈/_ _P_ 1. Or they swap a point strictly inside the box with one outside: _pπj_ ( _aj_ ) such that _aj_ _∈{_ 1 _, . . ., cj_ _−_ 1 _}_ and _pπj_ ( _aj_ ) _∈_ _P_ 1 is swapped with _ph_ _∈/_ _P_ 1 _∪_ _B_ 1 with _h ∈{_ 1 _, . . ., n}_ . Restarts. Multiple runs of the heuristic with different starting positions are performed, to limit the influence of the initial subset. _3.1._ _Variants_ _of_ _the_ _Algorithm_ Rather than the current breadth-first search, we also tried a _depth-first_ search where all swaps involving _pπj_ ( _cj_ ) for a given _j_ were done before moving to the next dimension. This did not give any noticeable improvements, and we expect our current method to perform better as it should swap points that are on average closer, with less risk of unbalancing our subset. Efficiently finding the optimal swap and the correct number of swaps to perform at once are both open questions. Another possible modification of our algorithm would be to allow changes in the current set if the new discrepancy is equal to, and not only strictly smaller, than the current one (“ _plateau_ _moves_ ”). However, this less demanding selection strategy results in much worse empirical performance for our settings. We attribute this performance loss to the fact that one can keep the same discrepancy value while breaking the structure in other areas of the point set (for example, moving two points inside the worst box). This leads to the algorithm making the general structure of the point set worse while not changing the overall discrepancy value but blocking future improvements. These issues could possibly be mitigated by considering other information for tie-breaking, but we did not experiment with such ideas. Non-guaranteed Optimality of Our Heuristic: While Section 4 will show the algorithm’s promising performance, we note that we cannot have any theoretical guarantee for the optimality of the returned set. As the proposition in Appendix A shows, it is possible to return a local optimum that is not a global 6 Figure 2: Two subsets for _k_ = 8 taken from the first _n_ = 10 points of the Sobol’ sequence in dimension 2. The ten initial points are shown, with those present in both subsets shown as blue circles. The points shown as red squares and the blue points form a local optimum for 1-swap with discrepancy 0.234. The black triangles plus the blue points correspond to the global optimum of discrepancy 0.203. Neither of the two sets can be improved via 1-swaps. Intuitively, replacing the lower red square by the lower black triangle would create an overfilled box at the bottom, whereas replacing it by the upper triangle would create an overfilled box on the left. optimum. While the example shown in the proof is quite specific, such examples appear even for low _n_ in dimension 2 in our experiments. An example is illustrated in Figure 2. 4. Experimental Study In this section, we study the performance of our heuristic in different dimensions and slightly different instantiations. We also consider how the performance evolves when two of the problem’s parameters are fixed, for example _d_ and _k_ or _d_ and _n_ . All experiments are done on the Sobol’ sequence as it gave the best discrepancy values before using subset selection. Our methods nevertheless work on any sequence or set, they only depend on the quality of the initial set to provide good results (hence our choice of Sobol’). Indeed, subset selection on random sets provides sets with much better discrepancy than the initial random set, but not as good as known low-discrepancy sets and sequences (see Section 4.4). We also use our discrepancy calculations to provide more empirical evidence regarding conjectures on the _inverse_ _star_ _discrepancy,_ i.e., the number of points required in a given dimension to obtain a set of discrepancy less than a given threshold. We show in Section 4.3 that _n_ = 10 _d_ points seem to be sufficient to reach a discrepancy of 0.2. We conjecture that _n_ = 7 _d_ is a closer estimate to the inverse star discrepancy of 0.25. Finally, we provide in Section 4.4 a detailed comparison with Steinerberger’s energy functional and a potential application of the combination of the two methods. _4.1._ _Experimental_ _Setup_ All the different parts of the code were done in C. The Sobol’ sequence generation was done with the GNU Scientific Library, using the procedure `gsl_qrng_sobol` . Whenever randomness was required (for the first chosen subset and the dimension choice in Step 1 of the heuristics), `rand()` was used and initialized with `srand(1)` . The heuristics were implemented by us, with the exception of the two methods for calculating the star discrepancy (DEM algorithm and TA heuristic) which were provided to us by Magnus Wahlström and are available at [6]. The experiments were run on a Debian/GNU Linux 11 computer, with a Quad Core Intel Core i7-6700 processor and 32 GB RAM. `gcc` 10.2.1 was used with the `-O3` compilation flag. Experiments were run with four types of heuristic instantiations, either with the TA heuristic or the DEM algorithm, each with or without the brute-force check. The instantiations will be referred to as TA_BF, TA_NBF, DEM_BF or DEM_NBF, starting with TA if it is the TA heuristic and ending with BF if it did the brute-force check, 7 Figure 3: Performance of the different instantiations in dimension 3, from left to right: TA_BF, TA_NBF, DEM_BF and DEM_NBF. Different colors indicate a change of the initial set size (red for _n_ = 100, blue for _n_ = 150, green for _n_ = 200 and yellow for _n_ = 250), and the black curve corresponds to the Sobol’ sequence (it is the same in all four plots). The plot includes the _k_ = _n_ case for all four different _n_, the rightmost point in this color. NBF otherwise. Discrepancy values from DEM instantiations are exact but those from the TA ones are only lower bounds. They should nevertheless be relatively reliable below dimension 10. We considered points in dimensions _{_ 4 _,_ 5 _,_ 6 _,_ 8 _,_ 10 _,_ 15 _,_ 25 _}_ . Unless specified otherwise, all ground sets are taken from the Sobol’ sequence. Initial experiments were run for _n_ _∈{_ 100 _,_ 150 _,_ 200 _,_ 250 _}_ and _k_ _∈_ _{n −_ 10 _, n −_ 20 _, n −_ 30 _, n −_ 40 _, n −_ 50 _, n −_ 60 _, n −_ 70 _}_, with a maximum of 10 runs for each instance. Further experiments to refine the parameter choices or get more precise results were done with slightly different values of _n_ and _k_ (but still of the same order of magnitude). They will be described for the relevant results. Each heuristic experiment was given a 1 hour cutoff, with the best value found so far returned if the heuristic had not finished by then. More precisely, if all 10 runs could finish in one hour then the value returned is the best of those, but for the larger instances the value returned may be the best value found in the first unfinished run. _4.2._ _Experiment_ _Results_ We describe here our experimental results, from general tests to have a global view on the performance of the heuristic, to finding the optimal parameters. The end of the section includes a brief discussion on comparisons with both sets and random subset selection. General tests: Figures 3 and 4 show the performance of our different instantiations in dimensions 3 and 6, respectively. Plots change color to highlight when we are changing the ground set from which these points are selected (i.e., when we increment the previous _n_ by 50). Whenever a heuristic was not able to terminate, we plot the best discrepancy value obtained during the run. Figure 3 shows the performance of the different instantiations compared to the Sobol’ sequence (black) in dimension 3. DEM_BF is the best performing version of the heuristic, with DEM_NBF outperforming it only for the two smallest instances. For _k_ _≥_ 70, DEM_BF improves over the Sobol’ set of the same size by between 17 and 27%. DEM_NBF is also performing better with a 14% decrease in the discrepancy on average. However, the TA variants are struggling: TA_NBF improves the Sobol’ sequence by only 8% on average and TA_BF improves it by 2%, both being worse than the Sobol’ set of similar size for numerous instances. In dimension 3, the DEM algorithm is much faster than the TA heuristic which has a similar runtime regardless of the dimension. This allows the DEM instantiations to run multiple instances within the 1 hour time limit. For example, TA_BF does not finish even once for _n_ = 200 and _k_ = 130, whereas DEM_BF takes around 41 seconds for a single run. For _n_ = 150 and _k_ = 80, DEM_BF finishes a run in 6 seconds, DEM_NBF in 0.8 seconds and TA_NBF in 500 seconds. Figure 4 shows that all 4 instantiations have relatively similar performances in dimension 6, all 4 having the best performance on at least one instance. On each instance, the best performing heuristic gives a 10 to 35% improvement on the discrepancy of the Sobol’ sequence of the same size. Even taking the worst performing one, with the exception of 30 points for the TA_BF heuristic, we have a 7 to 30% improvement. We note that from _n_ _≥_ 120 and _n −_ _k_ _≥_ 30 onwards, both _BF instantiations are often (or always for DEM_BF) unable to finish a single run. We introduced the subset selection problem largely because in 8 Figure 4: Performance of the different instantiations in dimension 6, from left to right: TA_BF, TA_NBF, DEM_BF and DEM_NBF. Different colors indicate a change of the initial set size (red for _n_ = 100, blue for _n_ = 150, green for _n_ = 200 and yellow for _n_ = 250), and the black curve corresponds to the Sobol’ sequence (it is the same in all four plots). The plot includes the _k_ = _n_ case for all four different _n_, the rightmost point in each color. higher dimensions a smaller number of samples might not guarantee that low-discrepancy sets would have enough points to reach the asymptotic regime. The tests in dimensions 3 and 6 show that subset selection is more effective in dimension 6, despite the instantiations running fewer tries. For example, DEM_BF does not finish a single run in dimension 6 but it does 10 separate runs in dimension 3. This seems to confirm our hypothesis that subset selection will perform better in higher dimensions, for which an exponential number of points is required to reach the asymptotic bounds. Fixed _n_ or _k_ : Given these initial results, further tests were done only on the DEM_BF and TA_NBF instantiations. In lower dimensions, the DEM algorithm is faster than the TA heuristic. Each heuristic run is fast enough to allow for a brute-force check and the DEM_BF instantiation gives us the best possible subsets with our method. It also guarantees the correctness of the discrepancy value. For higher dimensions, both the DEM algorithm and the brute-force check become too expensive, TA_NBF is the only reliably fast instantiation. We now fix the dimension (here _d_ = 6) and the resulting point set size ( _k_ = 90) to find the best ground set size _n_ to obtain higher quality point sets. In Figure 5, we see that DEM_BF performs well for all different values of _n_, whereas TA_NBF works better for _n −_ _k_ close to 20. The first 90 points of the Sobol’ sequence have discrepancy 0.126, and only a single instance for TA_NBF fails to improve this value. The best instances, for DEM_BF with _n −_ _k_ _∈{_ 10 _,_ 20 _,_ 30 _}_, give a 20% improvement over the Sobol’ sequence. These values for _n −_ _k_ are linked to our results on exact methods in [5], where the greatest discrepancy improvements were also observed for _n −_ _k_ = 20. For _n_ 1 _>_ _n_ 2 and a fixed _k_, the optimal subset selection solution for _n_ 1 is better than the one for _n_ 2. However, we observe that increasing _n_ is not a good strategy for our heuristic, in particular for TA. We expect this to come from a larger search space which cannot be well explored by the heuristic and from the existence of a large number of sub-optimal local optima. We then performed a similar experiment with fixed _n_ and varying _k_ to verify that our results were coherent, this time in dimension 5. The results are shown in Figure 6. We first note that the increase in discrepancy when _k_ decreases is expected as we have smaller point sets. The heuristic performs well for all different values of _k_, with both instantiations always outperforming the Sobol’ sequence. DEM_BF improves the Sobol’ sequence discrepancy by between 12 and 33% and TA_NBF by 2 to 26%. Once again, TA_NBF performs much better when the difference between _n_ and _k_ is small whereas DEM_BF seems to be much more reliable for all values. The discrepancy of the point sets obtained with the heuristics behaves less erratically than the initial Sobol’ sequence as the new point sets avoid discrepancy spikes for specific point set sizes. The noticeable improvement obtained by going from 200 to 195 points suggests that removing very few carefully chosen points could also lead to large discrepancy improvements. While we expect this to happen because our heuristics perform better (the search space is much smaller), this could be a promising direction for cheaper methods of improving low-discrepancy point sets. Best results: Figure 7 gives the best values obtained by TA_NBF and DEM_BF for _k_ = _n −_ 20 and _k_ = _n −_ 30, which should be the best conditions for our heuristic given the previous results. We notice 9 0.140 0.135 0.130 0.125 0.120 0.115 0.110 0.105 0.100 TA_NBF DEM_BF Sobol 90 points 100 120 140 160 180 200 Initial point set size n 0.12 0.11 0.10 0.09 0.08 0.07 0.06 0.05 Sobol DEM_BF TA_NBF 100 120 140 160 180 200 k Figure 5: Best discrepancy obtained for different values of _n_, _k_ fixed to 90, and _d_ = 6, with a cutoff time of 1 hour. Figure 6: Discrepancy obtained for different values of _k_, _n_ fixed to 200 and _d_ =5. that there is very little difference between both algorithms, with _k_ = _n −_ 20 or _k_ = _n −_ 30. In all cases, our heuristic is clearly outperforming the Sobol’ sequence, the discrepancy value for 170 points of Sobol’ is reached at 120 or 130 points for all our point sets. Our heuristic improves the Sobol’ sequence’s discrepancy by 8 to 30% depending on the instantiation choice. For each choice of _k_ and _n_, the worst instantation improves by between 8 and 25% the discrepancy, whereas the best performing one improves by 15 to 30%. While the plots here show results in dimension 6, our experiments show that our heuristic performs well for all dimensions for which we can compute the discrepancy. We note that results become poorer for much larger _n_ : if _n_ = 500 and _k_ = 480, the benefit of using subset selection becomes quite small. Appendix B gives a greater set of values obtained during our experiments. Comparison with low-discrepancy point sets : We note that subset selection is not limited to lowdiscrepancy sequences but can also be used with a low-discrepancy set. One can obtain an _n_ -point set in dimension _d_ + 1 from a low-discrepancy sequence in dimension _d_ by taking the first _n_ points and adding _i/n_ as the _d_ + 1-th coordinate of the _i_ -th point. Figure 8 shows the results obtained by using subset selection on the obtained sets in dimension 6, starting from the Sobol’ sequence. The results are similar as those in the sequence case: _k_ = _n −_ 20 and _k_ = _n −_ 30 give the best results, while the improvement in the discrepancy value is up to 33%. Finally, the discrepancy values between the set version of Sobol’ obtained with the _d_ -dimensional sequence and the _d_ + 1-dimensional sequence are quite similar. This suggests that subset selection on _sequences_ provides point sets better than low-discrepancy _sets_ . Comparison with random subset selection: Finally, we note that selecting the best subset from a large number of random subsets does not work well. This had been tested extensively when comparing with the exact case in [5], and remains true here. We only provide some simple examples. For _n_ = 100 and _k_ = 80 in dimensions 4 and 5, 100 000 random subsets give us a best discrepancy of respectively 0.081502 and 0.099460, roughly 10% worse than the DEM with brute force instantiation. This becomes even worse when _n −_ _k_ increases and the number of possible subsets increases: for _n_ = 100 and _k_ = 60 in dimension 4 the best random subset has discrepancy 0.105830, against 0.087650 with subset selection. While these values do not seem too bad, the main cost of our algorithm is calculating discrepancies. In our experiments, the values were obtained with between 10 000 and 20 000 discrepancy evaluations in the brute force cases and 1 000 and 2 500 evaluations without brute force: far less than the 100 000 required with random subsets to 10 Figure 8: Performance of the two subset selection instantiations on Sobol’ sets in dimension 6. Subset selection was done for _k_ = _n−_ 20, _n−_ 30 and _n−_ 50 and _n ∈{_ 50 _,_ 100 _,_ 150 _,_ 200 _,_ 250 _}_ . 0.15 0.14 0.13 0.12 0.11 0.10 0.09 0.08 0.07 TA_NBF k=n-20 TA_NBF k=n-30 DEM_BF k=n-20 DEM_BF k=n-30 Sobol 80 100 120 140 160 Point set size 0.18 0.16 0.14 0.12 0.10 0.08 0.06 TA DEM Sobol set 50 75 100 125 150 175 200 225 Number of points Figure 7: Best discrepancy values obtained with our heuristic for _d_ = 6 and k= _n −_ 20 or _k_ = _n −_ 30 obtain half or a third of the improvement. _4.3._ _Improvements_ _for_ _the_ _Inverse_ _Star_ _Discrepancy_ Obtaining point sets with better star discrepancy naturally leads to improvements for the inverse star discrepancy problem: given a discrepancy target _ε_, what is the minimal _n_ such that there exists a point set _P_ such that _|P_ _|_ = _n_ and _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_P_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_ε_</sup> <sup>?</sup> <sup>Table</sup> <sup>1</sup> <sup>shows</sup> <sup>the</sup> <sup>improvement</sup> <sup>in</sup> <sup>inverse</sup> <sup>star</sup> <sup>discrepancy</sup> <sup>by</sup> <sup>using</sup> the subset selection approach. For applications where the evaluation of each point can take a whole day of calculations, the 12 to 46% gain is substantial. These values were obtained by only taking results from our previous experiments (either in figures or in the tables in Appendix B). We did not try to find the smallest values to reach these discrepancy targets. It is likely that our results could be further improved by a more targeted search. Adapting parameters to the desired instance, increasing the number of runs or removing the 1-hour cutoff are possible options to obtain better results. We note that the star discrepancy of some known sequences may have been theoretically overestimated, or most likely simply never calculated. In [26], Open Problem 42 lists three open questions with targets for the inverse star discrepancy, as well as a conjecture that _n_ = 10 _d_ would be a sufficient number of points to reach _d_ <sup>_∗_</sup> _∞_ <sup>=</sup> <sup>0</sup> <sup>_._</sup> <sup>25.</sup> <sup>The</sup> <sup>open</sup> <sup>questions</sup> <sup>had</sup> <sup>been</sup> <sup>solved</sup> <sup>by</sup> <sup>Hinrichs</sup> <sup>[20]</sup> <sup>for</sup> <sup>the</sup> <sup>first,</sup> <sup>and</sup> <sup>later</sup> <sup>by</sup> <sup>Doerr</sup> and de Rainville [11] for all three, each time by building a new point set. Our experiments on the Sobol’ sequence show that _n_ = 7 _d_ points are sufficient at least for lower dimensions (smaller than 10). Figure 9 shows how the discrepancy of the Sobol’ sequence evolves for specific dimensions, as well as a comparison with our subset selection sets. All three open problems seem to be solved by taking a few hundred points rather than the thousands suggested, confirming de Rainville and Doerr’s results without requiring a new set construction. For example, in dimension 15, 146 points have a discrepancy of 0.198, in dimension 30 320 points have a discrepancy of 0.193 and in dimension 25 1205 points have a discrepancy of 0.0996 which can then be lifted to a 50-dimensional point set with discrepancy smaller than 0.2 using Hinrichs’ lifting procedure [20]. We acknowledge that these discrepancy values may not be exact as we used the TA heuristic to compute them. However, there is such 11 Table 1: Number of points necessary to reach target discrepancies for subset selection and Sobol’ in dimensions 4 and 5 <u>Dimension</u> <u>Target</u> <u>discrepancy</u> <u>Sobol’</u> _<u>n</u>_ <u>subset</u> <u>selection</u> _<u>n</u>_ _d_ = 4 0.30 15 10 0.25 17 15 0.20 28 20 0.15 45 30 0.10 89 50 <u>0.05</u> <u>201</u> <u>170</u> _d_ = 5 0.30 17 10 0.25 26 20 0.20 38 25 0.15 52 40 0.10 112 70 <u>0.05</u> <u>255</u> <u>210</u> a large margin both in discrepancy value and number of points that we believe the Sobol’ sequence to solve the three problems posed in [26]. Figure 10 shows the number of points of the Sobol’ sequence that are needed to reach discrepancy less than or equal to 0.2 depending on the dimension. This number of points should not be seen as an exact value, but as an upper-bound (with the TA imprecision caveat). Indeed, we found this via binary search to avoid having to compute discrepancy values for all possible _n_ . However, since the star discrepancy of the Sobol’ sequence is not monotonous in _n_ (see Figure 7), it is possible we have missed better point sets. Nevertheless, we observe a linear relation between the dimension and the number of points, close to _n_ = 10 _d_ . This reinforces our impression that even the _n_ = 10 _d_ conjecture from [26] is overestimating the number of points necessary to reach discrepancy _≤_ 0 _._ 25. _4.4._ _Comparison_ _with_ _the_ _Energy_ _Functional_ In [31], Steinerberger introduced the following functional for a point set _X_ = ( _xi_ ) _i∈{_ 1 _,...,N_ _}_ _d_ �(1 _−_ log(2 sin( _|xm,k −_ _xn,k|π_ ))) _._ (8) _k_ =1 _E_ [ _X_ ] := 1 _≤m,n≤N_ _m_ = _̸_ _n_ This expression was derived from the Erdős-Koksma-Turán inequality [12, 13, 23], modified to allow the use of gradient descent for optimization. Starting with a given point set of any kind, he applied standard gradient descent until convergence to obtain a new point set which should be better distributed and hopefully have lower discrepancy. He provided a number of examples in dimension 2, while underlining that specific point sets could not be improved by his functional. We ran more extensive experiments in higher dimensions, especially in a setting where _n_ is not necessarily far larger than _d_ . We implemented the functional in C. Figure 11 shows our results and compares the obtained point sets with the results obtained via our subset selection approach. While the energy functional manages to improve in most cases the discrepancy of the input point set, it is much less effective than subset selection. In particular, it is sometimes unable to improve the Sobol’ sequence, for example for _d_ = 5 and _k_ = 100. Subset selection is therefore more effective than the functional at creating a new point set with lower discrepancy. Furthermore, the functional cannot be applied to our new point sets to obtain better point sets. Applying the energy functional optimization to our own low-discrepancy point sets makes them noticeably worse, removing a large part of the initial gain of subset selection. Figure 12 gives the discrepancies of point sets obtained by DEM_BF or TA_NBF ( _n_ is the nearest multiple of 50 in each line), to which we apply the energy functional to obtain the point sets for the third column. The Sobol’ point sets are added as a comparison point in the last column. We observe that the functional makes the point sets noticeably worse, sometimes 12 300 250 200 150 100 50 Sobol Subset selection 5 10 15 20 25 30 Dimension Figure 9: Discrepancy values obtained for the Sobol’ sequence in different dimensions, compared with the values obtained by subset selection (dashed lines, using the TA heuristic). Figure 10: Number of points needed to obtain a discrepancy of 0.2 in different dimensions. Subset Selection Energy functional Dimension Set size Sobol' <mark>3</mark> <mark>4</mark> <mark>5</mark> <mark>6</mark> <mark>8</mark> <mark>10</mark> <u>abs.</u> <u>Δ to Sobol'</u> <u>abs.</u> <u>Δ to Sobol'</u> <u><mark>50</mark></u> <u><mark>0.075719</mark></u> <u><mark>22.00 %</mark></u> <u>0.092855</u> <u><mark>4.35 %</mark></u> <u><mark>0.097075</mark></u> <u><mark>100</mark></u> <u><mark>0.047100</mark></u> <u><mark>22.25 %</mark></u> <u>0.060519</u> <u><mark>0.09 %</mark></u> <u><mark>0.060575</mark></u> <u><mark>150</mark></u> <u><mark>0.038961</mark></u> <u><mark>13.10 %</mark></u> <u>0.041204</u> <u><mark>8.10 %</mark></u> <u><mark>0.044834</mark></u> <u><mark>50</mark></u> <u><mark>0.097189</mark></u> <u><mark>27.59 %</mark></u> <u>0.13805</u> <u><mark>-2.86 %</mark></u> <u><mark>0.134218</mark></u> <u><mark>100</mark></u> <u><mark>0.061478</mark></u> <u><mark>33.67 %</mark></u> <u>0.08828</u> <u><mark>4.76 %</mark></u> <u><mark>0.092688</mark></u> <u><mark>150</mark></u> <u><mark>0.053195</mark></u> <u><mark>13.84 %</mark></u> <u>0.061526</u> <u><mark>0.34 %</mark></u> <u><mark>0.061738</mark></u> <u><mark>50</mark></u> <u><mark>0.118428</mark></u> <u><mark>28.44 %</mark></u> <u>0.157522</u> <u><mark>4.81 %</mark></u> <u><mark>0.165488</mark></u> <u><mark>100</mark></u> <u><mark>0.077755</mark></u> <u><mark>35.58 %</mark></u> <u>0.128515</u> <u><mark>-6.47 %</mark></u> <u><mark>0.120707</mark></u> <u><mark>150</mark></u> <u><mark>0.064438</mark></u> <u><mark>13.97 %</mark></u> <u>0.080885</u> <u><mark>-7.99 %</mark></u> <u><mark>0.074899</mark></u> <u><mark>50</mark></u> <u><mark>0.139858</mark></u> <u><mark>37.99 %</mark></u> <u>0.210873</u> <u><mark>6.51 %</mark></u> <u><mark>0.225548</mark></u> <u><mark>100</mark></u> <u><mark>0.100891</mark></u> <u><mark>18.93 %</mark></u> <u>0.127619</u> <u><mark>-2.55 %</mark></u> <u><mark>0.124451</mark></u> <u><mark>150</mark></u> <u><mark>0.079571</mark></u> <u><mark>12.39 %</mark></u> <u>0.095112</u> <u><mark>-4.72 %</mark></u> <u><mark>0.090827</mark></u> <u><mark>50</mark></u> <u><mark>0.173767</mark></u> <u><mark>30.09 %</mark></u> <u>0.24854</u> <u><mark>0.00 %</mark></u> <u><mark>0.248547</mark></u> <u><mark>100</mark></u> <u><mark>0.125779</mark></u> <u><mark>21.78 %</mark></u> <u>0.160022</u> <u><mark>0.48 %</mark></u> <u><mark>0.160793</mark></u> <u><mark>150</mark></u> <u><mark>0.095667</mark></u> <u><mark>10.35 %</mark></u> <u>0.133886</u> <u><mark>-25.46 %</mark></u> <u><mark>0.106714</mark></u> <u><mark>50</mark></u> <u><mark>0.209863</mark></u> <u><mark>29.58 %</mark></u> <u>0.301397</u> <u><mark>-1.14 %</mark></u> <u><mark>0.298001</mark></u> <u><mark>100</mark></u> <u><mark>0.146189</mark></u> <u><mark>29.73 %</mark></u> <u>0.216883</u> <u><mark>-4.24 %</mark></u> <u><mark>0.208052</mark></u> <u><mark>150</mark></u> <u><mark>0.124148</mark></u> <u><mark>17.25 %</mark></u> <u>0.158246</u> <u><mark>-5.48 %</mark></u> <u><mark>0.150029</mark></u> Figure 11: Comparison of the energy functional and subset selection. The functional is applied to the Sobol’ set of the same size, the subset selection results are taken from our general experiments with _n −_ _k_ = 50 for DEM_BF or TA_NBF. Also showing percentage improvement of subset selection and the energy functional compared to the Sobol’ sequence. 13 Subset Selection Energy functional Dimension Set size Sobol' <mark>4</mark> <mark>5</mark> <mark>6</mark> <mark>8</mark> <mark>10</mark> <u>abs.</u> <u>Δ to Sobol'</u> <u>abs.</u> <u>Δ to Sobol'</u> <u><mark>50</mark></u> <u><mark>0.097189</mark></u> <u><mark>27.59 %</mark></u> <u>0.116502</u> <u><mark>13.20 %</mark></u> <u><mark>0.134218</mark></u> <u><mark>100</mark></u> <u><mark>0.061478</mark></u> <u><mark>33.67 %</mark></u> <u>0.089109</u> <u><mark>3.86 %</mark></u> <u><mark>0.092688</mark></u> <u><mark>150</mark></u> <u><mark>0.053195</mark></u> <u><mark>13.84 %</mark></u> <u>0.075875</u> <u><mark>-22.90 %</mark></u> <u><mark>0.061738</mark></u> <u><mark>50</mark></u> <u><mark>0.118428</mark></u> <u><mark>28.44 %</mark></u> <u>0.15563</u> <u><mark>5.96 %</mark></u> <u><mark>0.165488</mark></u> <u><mark>100</mark></u> <u><mark>0.077755</mark></u> <u><mark>35.58 %</mark></u> <u>0.093182</u> <u><mark>22.80 %</mark></u> <u><mark>0.120707</mark></u> <u><mark>150</mark></u> <u><mark>0.064438</mark></u> <u><mark>13.97 %</mark></u> <u>0.071634</u> <u><mark>4.36 %</mark></u> <u><mark>0.074899</mark></u> <u><mark>50</mark></u> <u><mark>0.139858</mark></u> <u><mark>37.99 %</mark></u> <u>0.181417</u> <u><mark>19.57 %</mark></u> <u><mark>0.225548</mark></u> <u><mark>100</mark></u> <u><mark>0.100891</mark></u> <u><mark>18.93 %</mark></u> <u>0.109322</u> <u><mark>12.16 %</mark></u> <u><mark>0.124451</mark></u> <u><mark>150</mark></u> <u><mark>0.079571</mark></u> <u><mark>12.39 %</mark></u> <u>0.109322</u> <u><mark>-20.36 %</mark></u> <u><mark>0.090827</mark></u> <u><mark>50</mark></u> <u><mark>0.173767</mark></u> <u><mark>30.09 %</mark></u> <u>0.202708</u> <u><mark>18.44 %</mark></u> <u><mark>0.248547</mark></u> <u><mark>100</mark></u> <u><mark>0.125779</mark></u> <u><mark>21.78 %</mark></u> <u>0.156435</u> <u><mark>2.71 %</mark></u> <u><mark>0.160793</mark></u> <u><mark>150</mark></u> <u><mark>0.095667</mark></u> <u><mark>10.35 %</mark></u> <u>0.133956</u> <u><mark>-25.53 %</mark></u> <u><mark>0.106714</mark></u> <u><mark>50</mark></u> <u><mark>0.209863</mark></u> <u><mark>29.58 %</mark></u> <u>0.2843</u> <u><mark>4.60 %</mark></u> <u><mark>0.298001</mark></u> <u><mark>100</mark></u> <u><mark>0.146189</mark></u> <u><mark>29.73 %</mark></u> <u>0.216883</u> <u><mark>-4.24 %</mark></u> <u><mark>0.208052</mark></u> <u><mark>150</mark></u> <u><mark>0.124148</mark></u> <u><mark>17.25 %</mark></u> <u>0.154398</u> <u><mark>-2.91 %</mark></u> <u><mark>0.150029</mark></u> Figure 12: Applying the energy functional to our subset selection point sets. These point sets were obtained with _k_ = _n −_ 50, see Appendix B. Also showing percentage improvement of subset selection and subset selection+energy functional compared to the Sobol’ sequence of the same size. even worse than the Sobol’ point set of corresponding size. This also shows that the energy functional cannot be used as a surrogate for the discrepancy, the point sets obtained with the energy functional approach have much lower energy than those found by subset selection. Impact of the ground set on the quality of the obtained point sets. Despite this, the energy functional has one clear advantage over our method (apart from the runtime), in that it can take any point set as starting position. While this is not impossible for subset selection, the quality of the starting set strongly limits the quality of the resulting set with our method. For example, Figure 13 compares the effectiveness of subset selection, the energy functional and a combination of the two on random point sets generated in Python with the `random` module. For each ( _n, d_ ) pair, 50 random instances are generated. The Sobol’ sets are added as a comparison, the energy functional should be compared to the _n_ points line (red) and the two others to the _n −_ 20 line (blue). The sets obtained with only subset selection are a lot worse than the low-discrepancy sets, and in the majority of cases worse than those with only the energy functional. However, the combination of the two methods is always at least competitive with the Sobol’ set of similar size, and even better in the vast majority of cases. This suggests a new method of computing low-discrepancy point sets, without requiring any knowledge of existing sequences or number theory: starting from any random set, applying successively the energy functional and then subset selection generates good low-discrepancy point sets. It also shows that while the discrepancy of the point sets obtained with the energy functional is not always as good as it could be, the point set created is regular enough to be used as a starting point for subset selection. 5. Conclusion and Future Work Building on our previous paper on subset selection, we introduced a heuristic that allowed us to obtain better point sets in all dimensions for which the star discrepancy can be computed, with on average a 20% lower discrepancy than the initial point set. The obtained point sets were compared with known lowdiscrepancy sequences as well as with an energy functional by Steinerberger. We also provided some initial guidance on the optimal choice of parameters from the problem, with _k_ = _n −_ 20 being a good baseline, where _k_ is the subset size and _n_ the input set size. There are also a remaining number of open questions, both on our current heuristic and more general aspects of the problem. Firstly, we have only considered 1-swaps so far. It is likely that heuristics would 14 Figure 13: A comparison of subset selection (middle in each plot), the energy functional (left in each plot) and the combination of the two methods for random points (right in each plot). This is done in dimensions 2 (left), 3 (middle) and 4 (right) and with an initial _n_ = 70 (top), _n_ = 120 (middle) and _n_ = 170 (bottom). The horizontal lines represent the discrepancy values of the Sobol’ sets of relevant size, _n_ (red) and _n −_ 20 (blue) in each plot. perform better with more change possibilities at each step. The proposition in Appendix A.1 shows it would not bring better theoretical guarantees and it would entail more computations, but the heuristic would have a better capacity to explore the possible subsets. The second step is also very expensive: determining a limited set of pairs to check before initiating a restart rather than testing all combinations is likely to improve the heuristics. Secondly, this problem has shown the limits of current algorithms to compute the star discrepancy. They are expensive and can only give lower bounds when _n_ and _d_ get too high. Some sort of surrogate to replace the star discrepancy evaluations would be extremely useful, as well as interesting in itself to better understand the star discrepancy behavior. As we have shown, Steinerberger’s functional would not be good enough for such purposes. A slightly less ambitious goal could be to find a better upper bound for the star discrepancy. Current upper bounds can be obtained either via Thiémard’s approach [32] or bracketing covers [16], neither of which are fast enough for our purposes (despite recent improvements on the cover size in [17]). Improvements for these algorithms would lead to more precise information on the inverse star discrepancy. Our experiments already seem to show that known sequences perform better than expected, but faster and more precise algorithms would help us refine these conjectures. _Acknowledgments._ We thank Magnus Wahlström for providing his implementations of both the DEM algorithm and the TA heuristic. We also thank Stefan Steinerberger for providing his implementation in Mathematica of the energy functional and for interesting comments on it and on the inverse star discrepancy. We also thank Florian Pausinger for suggesting to compare our subset selection sets with low-discrepancy sets and not just sequences. Our work is financially supported by ANR-22-ERCS-0003-01 project VARIATION, 15 by the CNRS INS2I project IOHprofiler, by Campus France Pessoa project 49173PH, and by national funds through the FCT - Foundation for Science and Technology, I.P. within the scope of the project CISUC UID/CEC/00326/2020. Appendix A. Existence of Local Minima Proposition Appendix A.1. _Let_ _k-SDSSP-j_ _be_ _the_ _problem_ _of_ _obtaining_ _the_ _minimal_ _star_ _discrepancy_ _subset_ _of_ _size_ _k_ _by_ _only_ _doing_ _improving_ _j-swaps._ _For_ _every_ _d_ _≥_ 2 _,_ _there_ _exist_ _point_ _sets_ _P_ _in_ _dimension_ _d_ _for_ _which_ _the_ _k-SDSSP-j_ _has_ _local_ _minima_ _which_ _are_ _not_ _global_ _minima_ _if_ _n ≥_ 2 _k_ _and_ _j_ _< k,_ _or_ _n <_ 2 _k_ _and_ _j_ _< n −_ _k._ 1 <u>•</u> <u>•</u> Top curve: _xy_ = 1 _−_ _α_ Bottom curve: _xy_ = 1 _−_ 1 _/k_ Largest empty boxes for _PA_ and _PB_ 1 Figure A.14: An illustration of the different points of the proof of Proposition Appendix A.1: the _qi_ are in red, _pi_ in blue if _i_ _<_ _k_ + 1 and green otherwise. The lower curve corresponds to _xy_ = 1 _−_ 1 _/k_, the upper one to _xy_ = 1 _−_ _α_ . They are not up to scale for readability. The red lines represent how blue points are built, whereas the blue and green boxes are the discrepancy-defining boxes for _PA_ and _PB_ respectively. The _L∞_ star discrepancy of _PA_ is 1 _−_ _α_ while that of _PB_ is 1 _−_ _α_ _−_ _δp_ 2 _,_ 1. However, it is impossible to transition from _PA_ to _PB_ without changing the whole set at once. _Proof._ We first consider a base case for _j_ = _k_ _−_ 1, _d_ = 2, and _n_ = 2 _k_ . Its extension to all the other combinations of _d_, _j_, and _n_ will be described afterwards. Base case: We construct a point set _P_ _⊆_ [0 _,_ 1] <sup>2</sup> of size 2 _k_ and let _j_ = _k −_ 1, represented in Figure A.14. To build _P_, we first consider a very small constant _α_ and a set of _k_ + 1 points ( _qi,_ 1 _, qi,_ 2) that satisfy _qi,_ 1 _qi,_ 2 = 1 _−_ _α_ . We assume the indices to be sorted such that for all _i_, _qi,_ 1 _< qi_ +1 _,_ 1. We further require that _qi,_ 1 _qi_ +1 _,_ 2 _>_ 1 _−_ 1 _/_ (2 _k_ ). These points are the red triangles in Figure A.14. We then use these _k_ + 1 points to build the first _k_ points of _P_, the set _PA_ := _{_ ( _qi,_ 1 _, qi_ +1 _,_ 2) : 1 _≤_ _i_ _≤_ _k}_ := _{_ ( _pi,_ 1 _, pi,_ 2) : _i_ _∈{_ 1 _, . . ., k}}_ given by blue squares in Figure A.14. From each point _pi_ in _PA_ with _i_ _≥_ 2, we can build a point _pk_ + _i_, with _pk_ + _i,_ 1 := _pi,_ 1 and _pk_ + _i,_ 2 := _pi,_ 2 _−_ _δ_, where _δ_ is a small positive constant strictly upper-bounded by min _i∈{_ 1 _,...,k−_ 1 _} |pi,_ 2 _−_ _pi_ +1 _,_ 2 _|_ and such that _pk_ + _i,_ 1 _pk_ + _i,_ 2 _≥_ 1 _−_ 1 _/k_ . _pk_ +1 is such that _pk_ +1 _,_ 2 = _p_ 1 _,_ 2 _−_ _δ_ and _pk_ +1 _,_ 1 = _p_ 1 _,_ 1 _−_ _γ_, where _γ_ is strictly positive smaller than _p_ 1 _,_ 1 and such that _pk_ +1 _,_ 1 _pk_ +1 _,_ 2 _≥_ 1 _−_ 1 _/k_ . The set formed by these points is defined as _PB_, represented by green discs in Figure A.14. We first note that for any subset _Pk_ of _P_ of size _k_, the _L∞_ star discrepancy of _Pk_ will be given by the largest box in [0 _,_ 1] <sup>_d_</sup> containing no points of _Pk_ . Any open box containing points will have local discrepancy at most 1 _−_ 1 _/k_ (the maximal volume minus the minimal number of points) and any closed box containing points will have local discrepancy at most 1 _−_ (1 _−_ 1 _/k_ ) = 1 _/k_ (the maximal number of points minus the minimal volume of a box containing a point). On the other hand, the largest empty box will always have volume at least 1 _−_ 1 _/k_ (all the points are above the curve _xy_ = 1 _−_ 1 _/k_, see Figure A.14) and thus local discrepancy at least 1 _−_ 1 _/k_ . We now show that _PA_ is a local optimum but not a global one. First of all, _PA_ has discrepancy exactly 1 _−_ _α_, obtained for one of the _k_ + 1 empty boxes whose top-right corner is either ( _p_ 1 _,_ 1 _,_ 1), (1 _, pk,_ 2) or 16 ( _pi_ +1 _,_ 1 _, pi,_ 2) for _i_ _∈{_ 1 _, . . ., k −_ 1 _}_ . By definition of _j_ -swaps, we replace _j_ of the points inside _PA_ by points in _PB_ (since _PA ∪_ _PB_ = _P_ ). Let _PC_ be our new point set, _|PA ∩_ _PC|_ = 1. Let _pi_ be the point in _PA ∩_ _PC_ . There are now two different cases to consider: - If _pk_ + _i_ is not in _PC_, then the box with upper-right corner in ( _pi_ +1 _,_ 1 _, pi,_ 2) is still empty. None of the other points could be inside since we have _p_ 1 _,_ 2 _≥_ _pk_ +1 _,_ 2 _≥_ _p_ 2 _,_ 2 _≥_ _. . ._ _≥_ _pk,_ 2 _≥_ _p_ 2 _k,_ 2 and the first coordinates are ordered in the reverse order. The discrepancy of _PC_ is therefore at least that of _PA_ . - If _pk_ + _i_ is in _PC_, then there exists _h_ _∈{_ 1 _, . . ., k}_ such that _ph_ and _pk_ + _h_ are not in _PC_ . The box with upper-right corner in ( _ph_ +1 _,_ 1 _, ph−_ 1 _,_ 2) (with _ph_ +1 _,_ 1 = 1 if _h_ + 1 _> k_ and _ph−_ 1 _,_ 2 = 1 if _h_ = 1) has to be empty. By the ordering given above, this empty box will have a volume greater than that of _ph_ +1 _,_ 1 _ph,_ 2, the discrepancy of _PA_ . By the above, _PA_ is a local minimum. However, for _PB_, the largest empty boxes will have volume _pk_ + _i_ +1 _,_ 1 _pk_ + _i,_ 2 for _i_ _∈{_ 1 _, . . ., k_ _−_ 1 _}_ . By construction _pk_ + _i_ +1 _,_ 1 = _pi_ +1 _,_ 1 and _pk_ + _i,_ 2 _<_ _pi,_ 2. Since the discrepancy of _PB_ is given by the largest empty box, we can conclude that _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_PB_</sup> <sup>)</sup> <sup>_< d∗_</sup> _∞_ <sup>(</sup> <sup>_PA_</sup> <sup>),</sup> <sup>_PA_</sup> <sup>is</sup> <sup>hence</sup> <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_PB_</sup> <sup>)</sup> <sup>_< d∗_</sup> _∞_ discrepancy of _PB_ is given by the largest empty box, we can conclude that _d_ <sup>_∗_</sup> _∞_ <sup>(</sup> <sup>_PB_</sup> <sup>)</sup> <sup>_< d∗_</sup> _∞_ <sup>(</sup> <sup>_PA_</sup> <sup>),</sup> <sup>_PA_</sup> <sup>is</sup> <sup>hence</sup> a local minimum for the _k_ -SDSSP- _j_ problem, but not a global one. Higher dimensions: Taking the same point set with 1’s added for all the coordinates in dimensions greater than 2 gives the exact same proof. More points _n >_ 2 _k_ : We can add all the _n −_ 2 _k_ new points to the region above the curve _xy_ = 1 _−_ _α_ . Taking any of these never reduces the volume of the largest empty box, thus a local/global minimum in the base case is still a local/global optimum. Fewer swaps _j_ _<_ _k −_ 2 : A local optimum for _j_ = _k −_ 2 swaps is still a local optimum for _j_ _<_ _k −_ 2 swaps, the global optimum is unchanged. Fewer points _n <_ 2 _k_ : The same construction is no longer possible and at least 2 _k −_ _n_ points have to be shared between any two sets. If _j_ _≥_ _n_ _−_ _k_ then there are no local optima which are not also global optima, as any subset can be transformed to any other in a single step. If we remove the first 2 _k −_ _n_ points from _P_ (this is less than _n_, we are removing only points from _PA_ ), we want the set _PLO_ := _{pi_ : _i ∈{_ 2 _k −_ _n_ + 1 _,_ 3 _k −_ _n}}_ to be a local minimum. We note that we are keeping the numbering from the base case, i.e, the points in _P_ are numbered from 2 _k −_ _n_ + 1 to 2 _k_ . This requires us to be unable to switch all the _n −_ _k_ “unshared” points to those in _PB_ (note that _p_ 1 and _pk_ +1 no longer have a special role as _p_ 1 no longer exists), therefore _j_ _< n −_ _k_ . The proof is then the same. 17 Appendix B. Computational Results We include in this Appendix some of the discrepancy values obtained with the different methods. Unless they are in bold, values from TA sets were verified with the DEM algorithm. This could lead to higher discrepancy values than those obtained during the subset selection heuristic, and possibly that this heuristic missed better sets because of those mistakes. The corrected values for the TA heuristics only include those from _concluded_ runs. A large number of the bold values simply correspond to sets where the best run was interrupted and the stored set was clearly poorer. Table B.2: Discrepancy values obtained in dimension 4 for the different heuristics, the DEM_NBF version was not run for _n ≥_ 200. <u>Set</u> <u>size</u> <u>Subset</u> <u>size</u> _<u>k</u>_ <u>DEM_BF</u> <u>DEM_NBF</u> <u>TA_BF</u> <u>TA_NBF</u> _n_ = 50 _k_ = 50 0.13422 0.13422 0.13422 0.13422 40 0.12236 0.12520 0.13406 0.14090 30 0.14020 0.14924 0.15431 0.15471 <u>20</u> <u>0.17660</u> <u>0.18494</u> <u>0.17883</u> <u>0.20066</u> _n_ = 100 _k_ = 100 0.092688 0.092688 0.092688 0.092688 90 0.070093 0.075315 0.076933 0.075315 80 0.071985 0.082731 0.084182 0.08625 70 0.078701 0.087342 0.09545 0.088841 60 0.087650 0.095528 0.103849 0.100801 <u>50</u> <u>0.097189</u> <u>0.110063</u> <u>0.119433</u> <u>0.118624</u> _n_ = 150 _k_ = 150 0.061738 0.061738 0.061738 0.061738 140 0.052081 0.054116 0.056260 0.054268 130 0.051702 0.057176 0.060173 0.060173 120 0.056405 0.062694 0.065592 0.065592 110 0.059261 0.063807 0.067161 0.070707 <u>100</u> <u>0.061478</u> <u>0.068499</u> <u>0.077275</u> <u>0.077275</u> _n_ = 200 _k_ = 200 - 0.050215 0.050215 0.050215 190 - 0.045960 0.054374 0.045960 180 - 0.046837 - 0.046848 170 - 0.048267 0.054912 0.052956 160 - 0.051588 0.065464 0.054244 <u>150</u> <u>-</u> <u>0.053195</u> <u>-</u> <u>0.055839</u> _n_ = 250 _k_ = 250 - 0.038216 0.038216 0.038216 240 - 0.036286 0.040657 0.037994 230 - 0.037675 0.040731 0.040603 220 - 0.037972 - 0.043796 210 - 0.039900 - 0.042615 <u>200</u> <u>-</u> <u>0.043015</u> <u>-</u> <u>0.046989</u> _n_ = 500 _k_ = 500 - 0.022901 - 0.022901 490 - 0.021662 - 0.021187 480 - 0.021572 - 0.022823 470 - 0.021211 - 0.024016 460 - 0.022744 - 0.025268 <u>450</u> <u>-</u> <u>0.023916</u> <u>-</u> <u>0.027314</u> 18 Table B.3: Discrepancy values obtained in dimension 5 for the different heuristics, the DEM_NBF version was not run for _n ≥_ 200. The - in the DEM column indicate that not a single run finished within the time limit. <u>Set</u> <u>size</u> <u>Subset</u> <u>size</u> _<u>k</u>_ <u>DEM_BF</u> <u>DEM_NBF</u> <u>TA_BF</u> <u>TA_NBF</u> _n_ = 50 _k_ = 50 0.165488 0.165488 0.165488 0.165488 40 0.138741 0.149003 0.148836 0.147256 30 0.161715 0.171163 0.17149 0.17149 <u>20</u> <u>0.211900</u> <u>0.214233</u> <u>0.234375</u> <u>0.23438</u> _n_ = 100 _k_ = 100 0.120707 0.120707 0.120707 0.120707 90 0.086374 0.092956 0.090522 0.091191 80 0.090923 0.095958 0.099937 0.097624 70 0.099563 0.105703 0.109832 0.116787 60 0.107044 0.117161 0.125410 0.118965 <u>50</u> <u>0.118428</u> <u>0.129599</u> <u>0.135023</u> <u>0.134716</u> _n_ = 150 _k_ = 150 0.074899 0.074899 0.074899 0.074899 140 0.064423 0.054116 0.054163 0.054268 130 0.064549 0.057176 0.060173 0.060173 120 0.068790 0.062694 0.063046 0.063046 110 0.073173 0.063807 0.067161 0.067161 <u>100</u> <u>0.077755</u> <u>0.068499</u> <u>0.077275</u> <u>0.077275</u> _n_ = 200 _k_ = 200 - 0.058292 0.058292 0.058292 190 - 0.053908 0.059209 0.053496 180 - 0.055425 0.061967 0.058496 170 - 0.059826 0.067392 0.062506 160 - 0.061195 0.075936 0.065796 <u>150</u> <u>-</u> <u>0.064438</u> <u>-</u> <u>0.067725</u> _n_ = 250 _k_ = 250 - 0.053507 0.053507 0.053507 240 - 0.044187 0.048002 0.048310 230 - 0.046281 0.046463 0.046463 220 - 0.048236 0.053760 0.052865 210 - 0.049783 - 0.055719 <u>200</u> <u>-</u> <u>0.052454</u> <u>0.062576</u> <u>0.055284</u> _n_ = 500 _k_ = 500 - 0.029117 - 0.029117 490 - 0.028160 - 0.029485 480 - 0.029255 - 0.030663 470 - 0.030951 - 0.031702 460 - - - 0.034878 <u>450</u> <u>-</u> <u>-</u> <u>-</u> <u>0.036084</u> 19 Table B.4: Discrepancy values obtained in dimension 6 for the different heuristics, the DEM_NBF version was not run for _n ≥_ 200. Other - correspond to unfinished runs. <u>Set</u> <u>size</u> <u>Subset</u> <u>size</u> _<u>k</u>_ <u>DEM_BF</u> <u>DEM_NBF</u> <u>TA_BF</u> <u>TA_NBF</u> _n_ = 50 _k_ = 50 0.225548 0.225548 0.225548 0.225548 40 0.162600 0.166336 0.166522 0.169385 30 0.186518 0.197138 0.197326 0.194999 <u>20</u> <u>0.232082</u> <u>0.246097</u> <u>0.26041</u> <u>0.253279</u> _n_ = 100 _k_ = 100 0.124451 0.124451 0.124451 0.124451 90 0.100532 0.102214 0.100660 0.11364 80 0.109108 0.114143 0.113169 0.114344 70 0.120823 0.120817 0.133813 0.120032 60 0.128823 0.134782 0.140478 0.131683 <u>50</u> <u>0.139858</u> <u>0.149740</u> <u>0.161732</u> <u>0.150491</u> _n_ = 150 _k_ = 150 0.090827 0.090827 0.090827 0.090827 140 - 0.081020 0.078646 0.082801 130 - 0.085759 0.078646 0.084272 120 - 0.089289 0.091492 0.090094 110 - 0.090785 0.103782 0.097381 <u>100</u> <u>-</u> <u>0.100891</u> <u>0.104589</u> <u>0.107580</u> _n_ = 200 _k_ = 200 - 0.087784 - 0.087784 190 - 0.068581 0.078203 0.065424 180 - 0.070267 0.077221 0.065122 170 - - 0.081820 0.071578 160 - 0.077993 - 0.072786 <u>150</u> <u>-</u> <u>0.084923</u> <u>-</u> <u>0.079571</u> _n_ = 250 _k_ = 250 - 0.088941 - 0.088941 240 - 0.064764 - 0.057167 230 - - - 0.060105 220 - - - 0.064285 210 - - - 0.062227 <u>200</u> <u>-</u> <u>0.073417</u> <u>-</u> <u>0.068424</u> _n_ = 500 _k_ = 500 - 0.040529 - 0.040529 490 - - - 0.036165 480 - - - 0.034287 470 - - - 0.038244 460 - - - 0.042268 <u>450</u> <u>-</u> <u>-</u> <u>-</u> <u>0.035382</u> 20 Table B.5: Discrepancy values obtained in dimension 8, 10, 15 and 25 for TA. DEM_NBF could finish only for the smallest _k_ in dimension 8 and is omitted here. None of the values were verified with the exact algorithm . <u>Set</u> <u>size</u> <u>Subset</u> <u>size</u> _<u>k</u>_ <u>TA_NBF</u> _<u>d</u>_ <u>= 8</u> <u>TA_NBF</u> _<u>d</u>_ <u>= 10</u> <u>TA_NBF</u> _<u>d</u>_ <u>= 15</u> <u>TA_NBF</u> _<u>d</u>_ <u>= 25</u> _n_ = 50 _k_ = 50 0.248547 0.298001 0.388598 0.483923 40 0.207029 0.293720 0.340869 0.459241 30 0.236120 0.270010 0.342629 0.459946 <u>20</u> <u>0.293341</u> <u>0.339852</u> <u>0.404245</u> <u>0.522859</u> _n_ = 100 _k_ = 100 0.160793 0.208052 0.258440 0.339362 90 0.137759 0.167185 0.233544 0.316399 80 0.140670 0.168474 0.232660 0.316893 70 0.147338 0.177223 0.238510 0.329086 60 0.156791 0.193031 0.253804 0.342430 <u>50</u> <u>0.173767</u> <u>0.209863</u> <u>0.274870</u> <u>0.367155</u> _n_ = 150 _k_ = 150 0.106714 0.150029 0.193065 0.273853 140 0.100294 0.126767 0.175397 0.251457 130 0.099135 0.124570 0.175082 0.255210 120 0.106236 0.136273 0.177053 0.250421 110 0.116722 0.142494 0.190030 0.263972 <u>100</u> <u>0.125779</u> <u>0.146189</u> <u>0.204310</u> <u>0.282990</u> _n_ = 200 _k_ = 200 0.095888 0.120527 0.167833 0.228047 190 0.085177 0.107770 0.150436 0.218568 180 0.084830 0.107667 0.145002 0.215581 170 0.091665 0.118012 0.150607 0.208230 160 0.097845 0.110122 0.157870 0.220264 <u>150</u> <u>0.095667</u> <u>0.124148</u> <u>0.163522</u> <u>0.229887</u> _n_ = 250 _k_ = 250 0.078968 0.097270 0.163522 0.207971 240 0.070861 0.089403 0.141638 0.194531 230 0.076617 0.094512 0.126737 0.192541 220 0.076390 0.096894 0.127134 0.194215 210 0.084471 0.098762 0.129550 0.198693 <u>200</u> <u>0.079550</u> <u>0.105629</u> <u>0.144049</u> <u>0.201951</u> _n_ = 500 _k_ = 500 0.047839 0.061573 0.086172 0.147068 490 0.047199 0.060665 0.082243 0.135416 480 0.046720 0.061057 - 470 0.049966 - - 460 - 0.063294 - <u>450</u> <u>0.053917</u> <u>0.066657</u> <u>-</u> <u>-</u> 21 References [1] Bergstra, J., Bengio, Y., 2012. Random search for hyper-parameter optimization. Journal of Machine Learning Research 13, 281–305. URL: `[http://jmlr.org/papers/v13/bergstra12a.html](http://jmlr.org/papers/v13/bergstra12a.html)` . [2] Bestuzheva, K., Besançon, M., Chen, W.K., Chmiela, A., Donkiewicz, T., van Doornmalen, J., Eifler, L., Gaul, O., Gamrath, G., Gleixner, A., Gottwald, L., Graczyk, C., Halbig, K., Hoen, A., Hojny, C., van der Hulst, R., Koch, T., Lübbecke, M., Maher, S.J., Matter, F., Mühmer, E., Müller, B., Pfetsch, M.E., Rehfeldt, D., Schlein, S., Schlösser, F., Serrano, F., Shinano, Y., Sofranac, B., Turner, M., Vigerske, S., Wegscheider, F., Wellner, P., Weninger, D., Witzig, J., 2021. The SCIP Optimization Suite 8.0. Technical Report. Optimization Online. URL: `[http://www.optimization-online.org/DB_](http://www.optimization-online.org/DB_HTML/2021/12/8728.html)` `[HTML/2021/12/8728.html](http://www.optimization-online.org/DB_HTML/2021/12/8728.html)` . [3] Bilyk, D., Lacey, M., Vagharshakyan, A., 2008. On the small ball inequality in all dimensions. J. Funct. Anal. 254, 2470–2502. doi: `[https://doi.org/10.1016/j.jfa.2007.09.010](http://dx.doi.org/https://doi.org/10.1016/j.jfa.2007.09.010)` . [4] Cauwet, M., Couprie, C., Dehos, J., Luc, P., Rapin, J., Rivière, M., Teytaud, F., Teytaud, O., Usunier, N., 2020. Fully parallel hyperparameter search: Reshaped space-filling, in: Proc. of International Conference on Machine Learning (ICML), PMLR. pp. 1338–1348. URL: `[http://proceedings.mlr.](http://proceedings.mlr.press/v119/cauwet20a.html)` `[press/v119/cauwet20a.html](http://proceedings.mlr.press/v119/cauwet20a.html)` . [5] Clément, F., Doerr, C., Paquete, L., 2022. Star discrepancy subset selection: Problem formulation and efficient approaches for low dimensions. Journal of Complexity 70, 101645. doi: `[10.1016/j.jco.2022.](http://dx.doi.org/10.1016/j.jco.2022.10164)` `[10164](http://dx.doi.org/10.1016/j.jco.2022.10164)` . [6] Clément, F., Vermetten, D., de Nobel, J., Jesus, A.D., Paquete, L., Doerr, C., 2023. Reproducibility files and additional figures. `[https://doi.org/10.5281/zenodo.7630260](https://doi.org/10.5281/zenodo.7630260)` . [7] Dick, J., Pillichshammer, F., 2010. Digital Nets and Sequences. Cambridge University Press, Cambridde. [8] Dobkin, D., Eppstein, D., Mitchell, D.P., 1996. Computing the discrepancy with applications to super sampling patterns. ACM Trans. Graph. 15, 354–376. [9] Doerr, B., 2014. A lower bound for the discrepancy of a random point set. Journal of Complexity 30, 16–20. doi: `[10.1016/j.jco.2013.06.001](http://dx.doi.org/10.1016/j.jco.2013.06.001)` . [10] Doerr, C., Gnewuch, M., Wahlström, M., 2014. Calculation of discrepancy measures and applications in: W. Chen, A. Srivastav, G. Travaglini (eds.). A Panorama of Discrepancy Theory, Springer, 621–678. [11] Doerr, C., de Rainville, F.M., 2013. Constructing low star discrepancy point sets with genetic algorithms, in: Proc. of Genetic and Evolutionary Computation Conference (GECCO), ACM. pp. 789–796. [12] Erdős, P., Turán, P., 1948a. On a problem in the theory of uniform distribution i. Nederl. Akad. Wetensch. 51, 1146–1154. [13] Erdős, P., Turán, P., 1948b. On a problem in the theory of uniform distribution ii. Nederl. Akad. Wetensch. 51, 1262–1269. [14] Galanti, S., Jung, A., 1997. Low-discrepancy sequences: Monte-Carlo simulation of option prices. J. Deriv, 63–83. [15] Giannopoulos, P., Knauer, C., Wahlström, M., Werner, D., 2012. Hardness of discrepancy computation and _ϵ_ -net verification in high dimension. Journal of Complexity 28, 162–176. [16] Gnewuch, M., 2008. Bracketing numbers for axis-parallel boxes and applications to geometric discrep ancy. Journal of Complexity 24, 154–172. 22 [17] Gnewuch, M., 2024. Improved bounds for the bracketing number of orthants or revisiting an algorithm of thiémard to compute bounds for the star discrepancy URL: `[https://arxiv.org/abs/2401.00801](https://arxiv.org/abs/2401.00801)` . [18] Gnewuch, M., Srivastav, A., Winzen, C., 2009. Finding optimal volume subintervals with k points and calculating the star discrepancy are NP-hard problems. J. Complex. 25, 115–127. [19] Gnewuch, M., Wahlström, M., Winzen, C., 2012. A new randomized algorithm to approximate the star discrepancy based on Threshold Accepting. SIAM J. Numerical Analysis 50, 781–807. doi: `[10.1137/](http://dx.doi.org/10.1137/110833865)` `[110833865](http://dx.doi.org/10.1137/110833865)` . [20] Hinrichs, A., 2013. Discrepancy, integration and tractability, in: Dick, J., Kuo, F.Y., Peters, G.W., Sloan, I.H. (Eds.), Monte Carlo and Quasi-Monte Carlo Methods 2012, Springer Berlin Heidelberg, Berlin, Heidelberg. pp. 129–172. [21] Hlawka, E., 1961. Funktionen von beschränkter Variation in der Theorie der Gleichverteilung. Ann. Mat. Pum Appl. 54, 325–333. [22] Koksma, J., 1942-3. A general theorem from the theory of the uniform distribution modulo 1. Mathe matica B (Zutphen) 1, 7–11. [23] Koksma, J.F., 1950. Some theorems on diophantine inequalities. Math. Centrum Amsterdam Scriptum 5. [24] Niederreiter, H., 1972. Discrepancy and convex programming. Ann. Mat. Pura Appl. 93, 89–97. [25] Niederreiter, H., 1992. Random number generation and Quasi-Monte Carlo methods. SIAM CBMS NSF Regional Conference Series in Applied Mathematics (SIAM, Philadelphia) . [26] Novak, E., Woźniakowski, H., 2010. Tractability of Multivariate problems, volume 2. Eur. Math. Soc. Publ. House . [27] Paulin, L., Bonneel, N., Coeurjoly, D., Iehl, J.C., Keller, A., Ostromoukhov, V., 2022. MatBuilder: Mastering sampling uniformiy over projections. ACM Transactions on Graphics (proceedings of SIGGRAPH) . [28] Roth, K.F., 1954. On irregularities of distribution. Mathematika 1, 73–79. doi: `[https://doi.org/10.](http://dx.doi.org/https://doi.org/10.1112/S0025579300000541)` `[1112/S0025579300000541](http://dx.doi.org/https://doi.org/10.1112/S0025579300000541)` . [29] Santner, T., Williams, B., Notz, W., 2003. The Design and Analysis of Computer Experiments. Springer Series in Statistics, Springer. [30] Schmidt, W.M., 1972. Irregularities of distribution vii. Acta. Arith 21, 45—-50. [31] Steinerberger, S., 2019. A non-local functional promoting low-discrepancy point sets. Journal of Com plexity 54, 101410. [32] Thiémard, E., 2001. An algorithm to compute bounds for the star discrepancy. Journal of Complexity 17, 850–880. 23

섹션 본문 90문단 · 48,973자

(제목 없음)

1Building upon the exact methods presented in our earlier work [J.Complexity, 2022], we introduce a heuristic approach for the star discrepancy subset selection problem.The heuristic gradually improves the current-best subset by replacing one of its elements at a time.While we prove that the heuristic does not necessarily return an optimal solution, we obtain very promising results for all tested dimensions.For example, for moderate point set sizes 30 ≤ n ≤ 240 in dimension 6, we obtain point sets with L ∞ star discrepancy up to 35% better than that of the first n points of the Sobol' sequence.Our heuristic works in all dimensions, the main limitation being the precision of the discrepancy calculation algorithms.We also provide a comparison with a recent energy functional introduced by Steinerberger [J.Complexity, 2019], showing that our heuristic performs better on all tested instances.

Introduction

2Discrepancy measures are designed to quantify how regularly a point set is distributed in a given space.Many discrepancy measures exist, one of the most common ones being the L ∞ star discrepancy.The L ∞ star discrepancy of a point set P ⊆ [0, 1] d measures the worst absolute difference between the Lebesgue measure of a d-dimensional box anchored in (0, . . ., 0) and the proportion of points that fall inside this box.The L ∞ star discrepancy gained significant attention because of the Koksma-Hlawka inequality [19,20] which bounds the error made in numerical integration.While Quasi-Monte Carlo integration is their main application [6], point sets of low L ∞ star discrepancy are also used for one-shot optimization [4], design of experiments [28], computer vision [26], and financial mathematics [13].

3Throughout this paper, we write n for the number of points of a d-dimensional point set.We write sequence for an infinite series of points and set for a finite one, both are closely linked as results on sequences in dimension d correspond to those on sets in dimension d+1 (see [22]).Well-known sequences and constructions such as Sobol', Halton, Hammersley, or digital nets achieve discrepancies of order log d−1 (n)/n for the first n elements of the sequence in dimension d (see [24] for a detailed description).However, the driving focus behind the construction of these sequences is to obtain the optimal asymptotic order for the L ∞ star discrepancy.While random points -whose star discrepancy scales in d/n [8] -are not as good in the asymptotic setting, they often outperform low-discrepancy sequences for practical applications where the number of samples n might be too small to reach the asymptotic advantage [1].

4The lack of low-discrepancy constructions adapted to specific n and d combinations led us to introduce the Star Discrepancy Subset Selection Problem (SDSSP) in [5].We showed that the SDSSP is an NP-hard problem and proposed two exact methods, a branch-and-bound algorithm and an MILP formulation, to solve it for low n and d ∈ {2, 3}.In this specific setting, we obtained point sets of much better discrepancy than the known low-discrepancy sets of the same size (Sobol', Halton and Faure for example), with only the Fibonnacci sequence being competitive for specific point set sizes in dimension 2.

5Our contribution: Extending [5], we provide here a heuristic to solve the problem in much higher dimensions, as well as with a higher number of points.We introduce a swap-based heuristic, which attempts to replace a point of the chosen subset by one currently not chosen, using the box with the worst local discrepancy to guide our swap-choice.A further brute-force check is then used to guarantee that the final point set is a local minimum.This approach is able to obtain point sets of much smaller discrepancy than the known constructions for all dimensions for which the discrepancy can be reliably computed, hence significantly improving on the range of settings that can be handled by the exact methods presented in [5].

6With different instantiations of the heuristic, we obtain point sets that are between 10 and 40% better than the initial Sobol' set of the same size.Initial experiments also show that choosing a subset of size k close to the initial point set size n leads to better results, especially when the dimension d and the target set size n increase, which was also observed with exact methods.Our results lead to clear improvements for the inverse star discrepancy, with the number of points required to obtain L ∞ star discrepancy lower than a given threshold being sometimes divided by 2.

7Finally, we also compare our method with the energy functional on the points' position introduced by Steinerberger [30], which is minimized by gradient descent to obtain a point set with low discrepancy.His approach can be used on any point set in any dimension but he provides results mostly for dimensions 2 and 3. We give a detailed comparison of his method with ours as well as some extended testing in higher dimensions in Section 4.4.We show that not only can we clearly outperform the results obtained by this approach, but also combining the two methods allows us to build point sets whose discrepancy is competitive with that of the Sobol' sequence.This can be done with any starting point set, it does not require a good number theoretic construction.We note that the sets obtained this way are not as good as those obtained by using Subset Selection on the Sobol' sequence.

8Related work: Despite the extensive research on optimal asymptotic constructions, there is little similar work attempting to build point sets directly.Apart from the mentioned work by Steinerberger [30], the most similar work was by Doerr and de Rainville in [10] where they used evolutionary algorithms to optimize the permutations used to build generalized Halton sequences.Their work had a very similar goal but was limited to improving one specific sequence.

9Structure of the paper: We recall in Section 2 some important results on the L ∞ star discrepancy.In particular, we give a brief reminder on the structure of the L ∞ star discrepancy function, describe the two main methods of computing it and recall the main results on the Star Discrepancy Subset Selection problem.In Section 3 we introduce the new heuristics to solve the problem in higher dimensions.Section 4 will describe our numerical evaluation and the quality of the obtained point sets, as well as a comparison with Steinerberger's energy functional.

10Availability of code: Our code and obtained point sets are available at https://github.com/frclement/SDSSP_Heuristics.

General results on the star discrepancy

11The L ∞ star discrepancy of a point set represents the worst absolute difference between the proportion of points that fall inside a box and the proportion of volume taken by this box.Formally, the L ∞ star discrepancy of a point set P ⊆ [0, 1] d is defined as

12where λ(q) is the Lebesgue measure of the box [0, q).For the asymptotic order of the L ∞ star discrepancy, there exist several sequences reaching an order of O(log d (n)/n).These are known as low-discrepancy sequences and exhibit the best asymptotic L ∞ star discrepancy known today.However, the best lower bound for the star discrepancy in dimension d states that there exist constants c, C depending only on the dimension such that d * ∞ (P ) ≥ c log C+(d−1)/2 (n)/n [3].It is conjectured that in any dimension d there exists a constant c d such that any n-point set verifies d * ∞ (P ) ≥ c d log d−1 (n)/n.This would give us a matching bound to the low-discrepancy sets mentioned previously.The difference with the O(log d (n)/n) bound is due to the set/sequence distinction: for sequences we have to consider all the different sets of increasing sizes that make the sequence.The relation between the two settings was shown by Roth in [27].However, the above-mentioned conjecture has only been proven to hold in dimensions 1 and 2 [29].More detailed bounds can be found in [6].

13Despite being defined as a continuous problem over all possible anchored boxes, calculating the star discrepancy can be treated as a discrete problem [23].First, we notice that any closed anchored box in [0, 1] d can be obtained as the limit of a sequence of bigger open boxes that contain the same number of points.The only exception is [1, . . ., 1] and this closed box cannot give the worst discrepancy value as its local discrepancy is 0. Following the notation introduced in [5], we define D(q, P ) to be the number of points of P that fall inside the open anchored box [0, q) and D(q, P ) the number of points of P that fall inside the closed anchored box [0, q].We define the two following functions:

14The local discrepancy in a point q ∈ [0, 1] d is given by the maximum of δ(q, P ) and δ(q, P ).It is also not necessary to consider all possible values for q.Indeed, we can define for all j ∈ {1, . . ., d} the grid

15with Γ j (P ) := {x

16As shown in more detail in [9], the star discrepancy computation reduces to the following discrete problem

17δ(q, P ), max q∈Γ(P )

18δ(q, P ) .

19(5)

Star discrepancy: problem-specific algorithms

20The decision version of the star discrepancy computation has been shown to be NP-hard [16], and even W [1]-hard a few years later [14].Directly solving the discrete problem introduced above would require calculating n d local discrepancies, this can be reduced to O(n d /(d!)) by noticing that only boxes whose outer edges (i.e not involving 0) have at least one point on them can reach the worst discrepancy value.These specific boxes are called critical boxes.In Figure 1, the critical boxes are visible as the intersection points of the grid lines.Critical boxes are defined for both open and closed boxes, the difference being that for open boxes the points defining its edges will not be inside the box.

21The best known exact algorithm to compute the star discrepancy value of a given point set runs in O(n 1+d/2 ), it was proposed by Dobkin, Eppstein and Mitchell in [7].Based on a space decomposition originally used to solve Klee's measure problem, the algorithm carefully builds O(n d/2 ) disjoint boxes covering [0, 1] d .For each of these boxes B i , it is then possible to formulate a dynamic programming problem whose solution corresponds to the box with the worst local discrepancy whose corner is in B i .Each of these dynamic programming problems can be solved in linear time, leading to the stated overall complexity.We will be writing DEM algorithm to refer to this algorithm from now on.

22On the heuristics side, the best known algorithm is a Threshold Accepting algorithm by Gnewuch, Wahlström and Winzen [17], building upon an initial work by Winker and Fang [32].Threshold Accepting is quite similar to Simulated Annealing: at each step, a neighbouring candidate point in Γ(P ) is selected.If the local discrepancy is not worse than that of the current "incumbent" plus a threshold then it is selected, and it is discarded otherwise.The threshold gradually decreases during the run of the algorithm, to allow for exploration initially before guaranteeing stability.A dynamic choice of the neighbourhood structure is introduced in [17].The number of coordinates that can be changed is increased over time, while the maximal length of steps in each of these coordinates is decreased.Finally, the algorithm uses a problemspecific rounding procedure based on critical boxes referred to as snapping.Using the DEM algorithm as a baseline to validate their results, Gnewuch et al. showed that their algorithm was returning correct values whenever the DEM algorithm was functioning.Based on their results, it seems to be reliable enough until somewhere between dimensions 12 and 20 for a few hundred points.We will be calling this heuristic TA heuristic in this paper.A more detailed description of these algorithms and other attempts to compute the star discrepancy can be found in Chapter 10 in [9].

The star discrepancy subset selection problem (SDSSP)

23We recall the star discrepancy subset selection problem (SDSSP) introduced in δ(q, P * ), max

24which is equivalent to arg min

25δ(q, P * ), max q∈Γ(P ) δ(q, P * ) .

26It was shown that the decision version of this problem is NP-hard.The SDSSP problem is also non-monotonic: the best solution for k < k is not necessarily contained in the one for k, see [5] for an example in dimension 1.

27We introduced two exact methods to solve the problem [5].The first is an MILP formulation which relies on introducing two constraints for each grid point: one for the open box and one for the closed box associated to each grid point.A binary variable can be associated to each point in P and the points inside each box are known in advance regardless of the subset, therefore each constraint can be defined knowing only P .Each constraint lower-bounds our objective by the local discrepancy.Minimizing this objective as well as adding a constraint forcing that k points need to be taken gives us the optimal star discrepancy for a subset of size k of P .We then solve the MILP with a solver (in this case SCIP [2]), but only for dimension 2 due to solver limitations.The solver works quite well in 2d for up to 140 points but is very quickly limited by the runtime as well as by the size of the file describing all the constraints.It performs better when k and n are close, since the linear relaxation is a tighter bound (the relaxation is integral for k = n).In 3d, we are not able to solve the problem with the MILP formulation.

28The second approach, based on a combinatorial branch-and-bound method, considers the points in a sorted order in one dimension and at each branching step to either accept or reject a point in the subset.At each step of the branch-and-bound, we update local discrepancy values associated with well-chosen grid points to obtain a lower bound on the final discrepancy value.More precisely, for each box, given the already accepted and rejected points, we determine the best possible final local discrepancy by assuming that the remaining points are optimally picked for this box, which gives us a lower bound for the discrepancy value that can be obtained for this box.The upper bound is initialized with a greedy heuristic which builds a subset by taking points one by one, greedily minimizing the star discrepancy at each step.The upper bound is then updated whenever we find a better solution.The branch-and-bound algorithm also successfully solves the problem in 2 and 3 dimensions for up to 140 points, but could not finish within the 30 minutes cutoff on larger instances.Nevertheless, the MILP and the branch-and-bound return subsets of up to 50% smaller L ∞ star discrepancy than standard low-discrepancy sets of the same size (Sobol', Halton,...).

A Heuristic Approach for the Star Discrepancy Subset Selection Problem

29To generalize the results of SDSSP to higher dimensions and to larger point sets, we introduce in this section a general method and several instantiations of it.The main working principle of this method is to keep the best subset found so far and, at each step, to attempt replacing some of the points inside this subset with some of the currently not chosen ones.The point set with the best discrepancy is then kept: either the initial one or the set obtained after the swaps.In case of a tie, the initial set is kept.For j ∈ {1, . . ., n}, we call j-swap the simultaneous replacement of j points inside the set with j points outside the set.

30The main idea is to keep a current subset and to improve it via well-chosen 1-swaps.During a first step, we only consider the points defining the worst local discrepancy box as candidates to be removed from the chosen subset.That is, if the discrepancy of the current subset P * is attained in q ∈ [0, 1] d , up to d points x ∈ P * ∩ [0, q] with x i = q i for some i ∈ {1, . . ., d} are considered to be replaced by a point y ∈ P \ P * .If no improving 1-swap is found, we then consider all remaining 1-swaps during the second step.At any point, if an improving 1-swap is found, we go back to the beginning of Step 1 with our new point set.

31We note that our current choices for the heuristic are strongly influenced by the cost of discrepancy calculations.A single run with the brute-force check can require thousands of discrepancy calculations, each with a cost of O(k d/2+1 ) for the DEM algorithm.Choosing carefully which swap to try should be a key focus in designing heuristics to tackle this problem.For ease of explanation, we will only consider the case when a closed box reaches the maximal local discrepancy value, the open box case is treated very similarly.

32Initialization.Let P ⊆ [0, 1] d with |P | = n be the input point set and k ≤ n the target size.For each coordinate i ∈ {1, . . ., d}, let π i be the permutation ordering the points P ∪ (1, . . ., 1) by their i-th coordinate.In other words, p πi(1),i ≤ p πi(2),i ≤ . . .≤ p πi(n+1),i = 1.

33The algorithm is initialized with a randomly selected subset P 1 , for which the discrepancy d * ∞ (P 1 ) and the corner a = (a 1 , . . ., a d ) of the closed box B 1 = [0, a] defining this discrepancy value are computed.To improve this subset, points in B 1 ∩ P 1 must be replaced by points in P \(B 1 ∩ P 1 ), otherwise the local discrepancy for B 1 will at best stay the same.Since the discrepancy maximum can only be reached for a critical box, in every dimension j ∈ {1, . . ., d} there exists p πj (cj ) with c j ∈ {1, . . ., n + 1} such that p πj (cj ) = a j and p πj (cj ) ∈ B 1 .These points will be called edge points.

34Step 1: Breadth-first search.A dimension j ∈ {1, . . ., d} is picked at random and the heuristic checks if p πj (cj +1) is in P 1 .If it is not, we compute the discrepancy of (P 1 \{p πj (cj ) })∪{p πj (cj +1) }.If this discrepancy is strictly lower than that of P 1 , the chosen subset is changed to P 2 := (P 1 \{p πj (cj ) }) ∪ {p πj (cj +1) }.There is a new critical box B 2 returned during the discrepancy computation and we go back to the beginning of

35) is in P 1 , dimension j + 1 mod d is then considered, where we do the same operations.This continues until either we have found a better subset or all dimensions have been considered.If all dimensions are checked without finding an improvement, the heuristic goes back to the first dimension considered.It then does the same operations, but with p πj (cj +2) rather than p πj (cj +1)

36Largest empty boxes for P A and P B Top curve:

37An illustration of the different points of the proof of Proposition 3.1: the q i are in red, p i in blue if i < k + 1 and green otherwise.The lower curve corresponds to xy = 1 − 1/k, the upper one to xy = 1 − α.They are not up to scale for readability.The red lines represent how blue points are built, whereas the blue and green boxes are the discrepancy-defining boxes for P A and P B respectively.The L∞ star discrepancy of

38. However, it is impossible to transition from P A to P B without changing the whole set at once.

39for all j ∈ {1, . . ., d}.This continues until either we find a new subset with better discrepancy or until we have tried all possible swaps between p πj (cj ) and p πj (bj ) , with j ∈ {1, . . ., d}, b j ∈ {c j + 1, . . ., n + 1}, and p πj (bj ) / ∈ P 1 .In the first case, we go back to the beginning of Step 1 with our new point subset and new worst box.

40Step 2: Brute-force check.In the second case, the heuristic tries all remaining valid swaps until either a better subset is found and we go back to Step 1 or we can guarantee our current point set is a local minimum.The valid swaps to check are of two types.They can either involve an edge point: for any j ∈ {1, . . ., d}, p πj (cj ) is swapped with p πj (bj ) for any b j such that b j ∈ {1, . . ., c j − 1} and p πj (bj ) / ∈ P 1 .Or they swap a point strictly inside the box with one outside: p πj (aj ) such that a j ∈ {1, . . ., c j − 1} and p πj (aj ) ∈ P 1 is swapped with p h / ∈ P 1 ∪ B 1 with h ∈ {1, . . ., n}.Restarts.Multiple runs of the heuristic with different starting positions are performed to limit the influence of the initial subset.The discrepancy computations are done with the DEM algorithm in low dimensions (d ≤ 7) and with the TA heuristic for all other dimensions, both algorithms returning the discrepancy value and the box reaching it.In our experiments, to compare the performance of both discrepancy calculation methods in the context of Subset Selection, we will highlight which algorithm is used.

41Rather than the current breadth-first search, we also tried a depth-first search where all swaps involving p πj (cj ) for a given j were done before moving to the next dimension.This did not give any noticeable improvements, and we expect our current method to perform better as it should swap points that are on average closer, with less risk of unbalancing our subset.Efficiently finding the optimal swap and the correct number of swaps to perform at once are both open questions.

42While our empirical evaluation of these heuristics will prove promising performance (Section 4), we nevertheless start with a somewhat negative result about the global convergence of our heuristics.Proposition 3.1.Let k-SDSSP-j be the problem of obtaining the minimal star discrepancy subset of size k by only doing improving j-swaps.For every d ≥ 2, there exist point sets P in dimension d for which the k-SDSSP-j has local minima which are not global minima if n ≥ 2k and j < k, or n < 2k and j < n − k.

43Proof.We first consider a base case for j = k − 1, d = 2, and n = 2k.Its extension to all the other combinations of d, j, and n will be described afterwards.

44Base case: We construct a point set P ⊆ [0, 1] 2 of size 2k and let j = k − 1, represented in Figure 2. To build P , we first consider a very small constant α and a set of k + 1 points (q i,1 , q i,2 ) that satisfy q i,1 q i,2 = 1 − α.We assume the indices to be sorted such that for all i, q i,1 < q i+1,1 .We further require that q i,1 q i+1,2 > 1 − 1/(2k).These points are the red triangles in Figure 2. We then use these k + 1 points to build the first k points of P , the set P A := {(q i,1 , q i+1,2 ) : 1 ≤ i ≤ k} := {(p i,1 , p i,2 ) : i ∈ {1, . . ., k}} given by blue squares in Figure 2. From each point p i in P A with i ≥ 2, we can build a point p k+i , with p k+i,1 := p i,1 and p k+i,2 := p i,2 − δ, where δ is a small positive constant strictly upper-bounded by min i∈{1,...,k−1} |p i,2 − p i+1,2 | and such that p k+i,1 p k+i,2 ≥ 1 − 1/k.p k+1 is such that p k+1,2 = p 1,2 − δ and p k+1,1 = p 1,1 − γ, where γ is strictly positive smaller than p 1,1 and such that p k+1,1 p k+1,2 ≥ 1 − 1/k.The set formed by these points is defined as P B , represented by green discs in Figure 2.

45We first note that for any subset P k of P of size k, the L ∞ star discrepancy of P k will be given by the largest box in [0, 1] d containing no points of P k .Any open box containing points will have local discrepancy at most 1 − 1/k (the maximal volume minus the minimal number of points) and any closed box containing points will have local discrepancy at most 1 − (1 − 1/k) = 1/k (the maximal number of points minus the minimal volume of a box containing a point).On the other hand, the largest empty box will always have volume at least 1 − 1/k (all the points are above the curve xy = 1 − 1/k, see Figure 2) and thus local discrepancy at least 1 − 1/k.

46We now show that P A is a local optimum but not a global one.First of all, P A has discrepancy exactly 1 − α, obtained for one of the k + 1 empty boxes whose top-right corner is either (p 1,1 , 1), (

47has to be empty.By the ordering given above, this empty box will have a volume greater than that of p h+1,1 p h,2 , the discrepancy of P A .

48By the above, P A is a local minimum.However, for P B , the largest empty boxes will have volume p k+i+1,1 p k+i,2 for i ∈ {1, . . ., k − 1}.By construction p k+i+1,1 = p i+1,1 and p k+i,2 < p i,2 .Since the discrepancy of P B is given by the largest empty box, we can conclude that d * ∞ (P B ) < d * ∞ (P A ), P A is hence a local minimum for the k-SDSSP-j problem, but not a global one.

49Higher dimensions: Taking the same point set with 1's added for all the coordinates in dimensions greater than 2 gives the exact same proof.

50More points n > 2k: We can add all the n − 2k new points to the region above the curve xy = 1 − α.Taking any of these never reduces the volume of the largest empty box, thus a local/global minimum in the base case is still a local/global optimum.

51Fewer swaps j < k − 2: A local optimum for j = k − 2 swaps is still a local optimum for j < k − 2 swaps, the global optimum is unchanged.

52Fewer points n < 2k: The same construction is no longer possible and at least 2k − n points have to be shared between any two sets.If j ≥ n − k then there are no local optima which are not also global optima, as any subset can be transformed to any other in a single step.If we remove the first 2k − n points from P (this is less than n, we are removing only points from P A ), we want the set P LO := {p i : i ∈ {2k − n + 1, 3k − n}} to be a local minimum.We note that we are keeping the numbering from the base case, i.e, the points in P are numbered from 2k − n + 1 to 2k.This requires us to be unable to switch all the n − k "unshared" points to those in P B (note that p 1 and p k+1 no longer have a special role as p 1 no longer exists), therefore j < n − k.The proof is then the same.

53While the above point set should not arise often, in practice experiments confirm the existence of many local minima for 1-swaps, even for very few points (n = 10) and k close to n.An example is shown in Figure 3. Finally, we have ignored so far the possibility of swapping points when the discrepancy values are equal (and not just when strictly inferior).We call this type of exchange a plateau move.Should plateau moves be allowed, the proof above would no longer hold, as all sets have the same discrepancy barring the optimal one.Any swaps would always be kept until P B is reached.If the swaps are chosen randomly, the expected time taken would correspond to the expected number of steps to go from (0, . . ., 0) (k times) to (1, . . ., 1) with j swaps at each step.We expect the result to still be valid with plateau moves, but the proof will need to involve three different discrepancy values and the simple "empty box" worst value will not be sufficient.

54In practice, plateau moves were forbidden as they were found to greatly limit the performance of the heuristic.While discrepancy is a global property, only the worst local discrepancy explicitly influences the global L ∞ star discrepancy value.It is therefore possible to make a point set worse for future steps while keeping the same discrepancy value, for example by swapping two points both inside the worst critical box or two points outside it.Further work is necessary to verify if good tie-breakers could be used, for example the second-worst local discrepancy value or the discrepancy of some well-chosen projections of our sets.

Experimental Study

55In this section, we study the performance of our heuristic in different dimensions and slightly different instantiations.We also consider how performance evolves when two of the problem's parameters are fixed, for example d and k or d and n.Finally, we provide a detailed comparison with Steinerberger's energy functional and a potential application of the combination of the two methods.

Experimental setup

56All the different parts of the code were done in C. The Sobol' sequence generation was done with the GNU Scientific Library, using the procedure gsl_qrng_sobol.Whenever randomness was required (for the first chosen subset and the dimension choice in Step 1 of the heuristics), rand() was used and initialized with srand(1).The heuristics were implemented by us, with the exception of the two methods for calculating the star discrepancy (DEM algorithm and TA heuristic) which were provided to us by Magnus Wahlström.The experiments were run on a Debian/GNU Linux 11 computer, with a Quad Core Intel Core i7-6700 processor and 32 GB RAM.gcc 10.2.1 was used with the -O3 compilation flag.Experiments were run with four types of heuristic instantiations, either with the TA heuristic or the DEM algorithm, each with or without the brute-force check.They are available at https://github.com/frclement/SDSSP_Heuristics.The instantiations will be referred to as TA_BF, TA_NBF, DEM_BF or DEM_NBF, starting with TA if it is the TA heuristic and ending with BF if it did the brute-force check, NBF if not.We considered points in dimensions {4, 5, 6, 8, 10, 15, 25}, all ground sets are taken from the Sobol' sequence.Initial experiments were run for n ∈ {100, 150, 200, 250} and k ∈ {n − 10, n − 20, n − 30, n − 40, n − 50, n − 60, n − 70}, with a maximum of 10 runs for each instance.Further experiments to refine the parameter choices or get more precise results were done with slightly different values of n and k (but still of the same order of magnitude).They will be described for the relevant results.Each heuristic experiment was given a 1 hour cutoff, with the best value found so far returned if the heuristic had not finished by then.More precisely, if all 10 runs could finish in one hour then the value returned is the best of those, but for the larger instances the value returned may be the best value found in the first unfinished run.

Experiment results

57Figures 4 and 5 show the performance of our different instantiations in dimensions 3 and 6, respectively.Plots change color to highlight when we are changing the ground set from which these points are selected (i.e., when we increment the previous n by 50).Whenever a heuristic was not able to terminate, we plot the best discrepancy value obtained during the run.

58Figure 4 shows the performance of the different instantiations compared to the Sobol' sequence (black) in dimension 3. DEM_BF is the best performing version of the heuristic, with DEM_NBF outperforming it only for the two smallest instances.For k ≥ 70, DEM_BF improves over the Sobol' set of the same size by between 17 and 27%.DEM_NBF is also performing better with a 14% decrease in the discrepancy on average.However, the TA variants are struggling: TA_NBF improves the Sobol' sequence by only 8% on average and TA_BF improves it by 2%, both being worse than the Sobol' set of similar size for numerous instances.In dimension 3, the DEM algorithm is much faster than the TA heuristic which has a similar runtime regardless of the dimension.This allows the DEM instantiations to run multiple instances within the 1 hour time limit.For example, TA_BF does not finish even once for n = 200 and k = 130, whereas DEM_BF takes around 41 seconds for a single run.For n = 150 and k = 80, DEM_BF finishes a run in 6 seconds, DEM_NBF in 0.8 seconds and TA_NBF in 500 seconds.

59Figure 5 shows that all 4 instantiations have relatively similar performances in dimension 6, all 4 having the best performance on at least one instance.On each instance, the best performing heuristic gives a 10 to 35% improvement on the discrepancy of the Sobol' sequence of the same size.Even taking the worst performing one, with the exception of 30 points for the TA_BF heuristic, we have a 7 to 30% improvement.We note that from n ≥ 120 and n − k ≥ 30 onwards, both _BF instantiations are often (or always for DEM_BF) unable to finish a single run.We introduced the subset selection problem largely because in higher dimensions a smaller number of samples might not guarantee that low-discrepancy sets would have enough points to reach the asymptotic regime.The tests in dimensions 3 and 6 show that subset selection is more effective in dimension 6, despite the instantiations running fewer tries.For example, DEM_BF does not finish a single run in dimension 6 but does 10 separate runs in dimension 3.This seems to confirm our hypothesis that subset selection will perform better in higher dimensions, for which an exponential number of points is required to reach the asymptotic bounds.

60Given these initial results, further tests were done only on the DEM_BF and TA_NBF instantiations.In lower dimensions, the DEM algorithm is faster than the TA heuristic.Each heuristic run is fast enough to allow for a brute-force check and the DEM_BF instantiation gives us the best possible subsets with our method.It also guarantees the correctness of the discrepancy value.For higher dimensions, both the DEM algorithm and the brute-force check become too expensive, TA_NBF is the only reliably fast instantiation.

61We now fix the dimension (here d = 6) and the resulting point set size (k = 90) to find the best ground set size n to obtain higher quality point sets.In Figure 6, we see that DEM_BF performs well for all different values of n, whereas TA_NBF works better for n − k close to 20.The first 90 points of the Sobol' sequence have discrepancy 0.126, and only a single instance for TA_NBF fails to improve this value.The best instances, for DEM_BF with n − k ∈ {10, 20, 30}, give a 20% improvement over the Sobol' sequence.These values for n − k are linked to our results on exact methods in [5], where the greatest discrepancy improvements were also observed for n − k = 20.

62For n 1 > n 2 and a fixed k, the optimal subset selection solution for n 1 is better than the one for n 2 .However, we observe that increasing n is not a good strategy for our heuristic, in particular for TA.We expect this to come from a larger search space which the heuristic cannot explore well and from more sub-optimal local optima our heuristic could converge towards.

63We then performed a similar experiment with fixed n and varying k to verify that we obtained coherent results, this time in dimension 5.The results are shown in Figure 7.We first note that the increase in discrepancy when k decreases is expected as we have smaller point sets.The heuristic performs well for all different values of k, with both instantiations always outperforming the Sobol' sequence.DEM_BF improves the Sobol' sequence discrepancy by between 12 and 33% and TA_NBF by 2 to 26%.Once again, TA_NBF performs much better when the difference between n and k is small whereas DEM_BF seems to be much more reliable for all values.The discrepancy of the point sets obtained with the heuristics behaves less erratically than the initial Sobol' sequence as the new point sets avoid discrepancy spikes for specific point set sizes.The noticeable improvement obtained by going from 200 to 195 points suggests that removing very few carefully chosen points could also lead to large discrepancy improvements.While we expect this to happen because our heuristics perform better (the search space is much smaller), this could be a promising direction for cheaper methods of improving low-discrepancy point sets.

64Figure 8 gives the best values obtained by TA_NBF and DEM_BF for k = n − 20 and k = n − 30, which should be the best conditions for our heuristic given the previous results.We notice that there is very little difference between both algorithms, and with k = n − 20 or k = n − 30.In all cases, our heuristic is clearly outperforming the Sobol' sequence, the discrepancy value for 170 points of Sobol' is reached at 120 or 130 points for all our point sets.Our heuristic improves the Sobol' sequence's discrepancy by 8 to 30% depending on the instantiation choice.For each choice of k and n, the worst instantation improves by between 8 and 25% the discrepancy, whereas the best performing one improves by 15 to 30%.While the plots here show results in dimension 6, our experiments show that our heuristic performs well for all dimensions for which we can compute the discrepancy.We note that results become poorer for much larger n: if n = 500 and k = 480, the benefit of using subset selection becomes quite small.Appendix A gives a greater set of values obtained during our experiments.

Improvements for the inverse star discrepancy

65Obtaining point sets with better star discrepancy naturally leads to improvements for the inverse star discrepancy problem: given a discrepancy target ε, what is the minimal n such that there exists a point set P such that |P | = n and d * ∞ (P ) ≤ ε? Table 1 shows the improvement in inverse star discrepancy by using a subset selection approach.For applications where the evaluation of each point can take a whole day of calculations, the 15 to 50% gain is substantial.These values were obtained by only taking results from our previous experiments (either in figures or the tables in Appendix Appendix A).We did not try to find the smallest values to reach these discrepancy targets.It is likely that our results could be further improved by a more targeted search.Adapting parameters to the desired instance, increasing the number of runs or removing the 1 hour cutoff are possible options to obtain better results.

66We note that the star discrepancy of some known sequences may have been theoretically overestimated, or most likely simply never calculated.In [25], Open Problem 42 lists some open questions with targets for the inverse star discrepancy, as well as a conjecture that n = 10d would be a sufficient number of points to reach d * ∞ = 0.25.The open questions had been solved by Hinrichs [18] for the first, and later by de Rainville and Doerr [10] for all three, each time by building a new point set.Our experiments on the Sobol' sequence show that n = 7d points are sufficient at least for lower dimensions (smaller than 10).Figure 9 shows how the discrepancy of the Sobol' sequence evolves for specific dimensions, as well as a comparison with our subset selection sets.

67All three open problems seem to be solved by taking a few hundred points rather than the thousands suggested, confirming de Rainville and Doerr's results without requiring a new set construction.For example, in dimension 15, 146 points have a discrepancy of 0.198, in dimension 30 320 points have a discrepancy of 0.193 and in dimension 25 1205 points have a discrepancy of 0.0996 which can then be lifted to a 50-dimensional point set with discrepancy smaller than 0.2 using Hinrichs' lifting procedure [18].We acknowledge that these discrepancy values may not be exact as we used the Threshold Accepting heuristic, which does not give us any correctness guarantee.However, there is such a large margin both in discrepancy value and number of points that we believe the Sobol' sequence to solve these problems.It is also possible to use subset selection to improve these values even further.

68Figure 10 shows the number of points of the Sobol' sequence that are needed to reach discrepancy less than or equal to 0.2 depending on the dimension.This number of points should not be seen as an exact value, but as an upper-bound.Indeed, we found this via binary search to avoid having to compute discrepancy values for all possible n.However, since the star discrepancy of the Sobol' sequence is not monotonous in n (see Figure 8), it is possible we have missed better point sets.Nevertheless, we observe a linear relation between the dimension and the number of points, close to n = 10d.This reinforces our impression that even the n = 10d conjecture from [25] is overestimating the number of points necessary to reach discrepancy ≤ 0.25.

Comparison with the energy functional

69In [30], Steinerberger introduced the following functional for a point set

70This expression was derived from the Erdős-Koksma-Turán inequality ( [11,12,21]), modified to allow the use of gradient descent for optimization.Starting with a given point set of any kind, he applied standard gradient descent until convergence to obtain a new point set which should be better distributed and hopefully have lower discrepancy.He provided a number of examples in dimension 2, while underlining that specific point sets could not be improved by his functional.We ran more extensive experiments in higher dimensions, especially in a setting where n is not necessarily far larger than d.We implemented the functional in C.

71Table 2 shows our results and compares the obtained point sets with the results obtained via our subset selection approach.While the energy functional manages to improve in most cases the discrepancy of the input point set, it is much less effective than Subset Selection.In particular, it is sometimes unable to improve the Sobol' sequence, for example for d = 5 and k = 100.Subset selection is therefore more effective than the functional at creating a new point set with lower discrepancy.Furthermore, the functional cannot be applied to our new point sets to obtain better point sets.Applying the energy functional optimization to our own low-discrepancy point sets makes them noticeably worse, removing a large part of the initial gain of subset selection.Table 3 gives the discrepancies of point sets obtained by DEM_BF or TA_NBF (n is the nearest multiple of 50 in each line), to which we apply the energy functional to obtain the point sets for the third column.The Sobol' point sets are added as a comparison point in the last column.We observe that the functional makes the point sets noticeably worse, sometimes even worse than the Sobol' point set of corresponding size.This also shows that the energy functional cannot be used as a surrogate for the discrepancy, the point sets obtained in column 3 in Table 3 had much lower energy than those in the second column.Despite this, the energy functional has one clear advantage over our method (apart from the runtime), in that it can take any point set as starting position.While this is not impossible for subset selection, the quality of the starting set strongly limits the quality of the resulting set with our method.For example, Figure 13 compares the effectiveness of Subset Selection, the energy functional and a combination of the two on random point sets generated in Python with the random module.For each (n, d) pair, 50 random instances are generated.The Sobol' sets are added as a comparison, the energy functional should be compared to the n points line (red) and the two others to the n − 20 line (blue).The sets obtained with only subset selection are a lot worse than the low-discrepancy sets, and in the majority of cases worse than those with only the energy functional.However, the combination of the two methods is always at least competitive It also shows that while the discrepancy of the point sets obtained with the energy functional is not always as good as it could be, the point set created is regular enough to be used as a starting point for subset selection.

Conclusion and Future Work

72Building on our previous paper on subset we introduced a heuristic that allowed us to obtain better point sets in all dimensions for which the star discrepancy can be computed, with on average a 20% lower discrepancy than the initial point set.The obtained point sets were compared with known lowdiscrepancy sequences as well as with an energy functional by Steinerberger.We also provided some initial guidance on the optimal choice of parameters from the problem, with k = n − 20 being a good baseline, where k is the subset size and n the input set size.

73There are also a remaining number of open questions, both on our current heuristic and more general aspects of the problem.Firstly, we have only considered 1-swaps so far, it is likely that heuristics would perform better with more change possibilities at each step.Proposition 3.1 shows it would not bring better theoretical guarantees and it would entail more computations, but the heuristic would have a better capacity to explore the possible subsets.The second step is also very expensive: determining a limited set of pairs to check before initiating a restart rather than testing all combinations is likely to improve the heuristics.

74Secondly, this problem has shown the limits of current algorithms to compute the star discrepancy.They are expensive and can only give lower bounds when n and d get too high.Some sort of surrogate to replace the star discrepancy evaluations would be extremely useful, as well as interesting in itself to better understand the star discrepancy behaviour.As we have shown, Steinerberger's functional would not be good enough for such purposes.A slightly less ambitious goal could be to find a better upper bound for the star discrepancy.Current upper bounds can be obtained either via Thiémard's approach [31] or bracketing covers [15], neither of which are fast enough for our purposes.functional and for interesting comments on it and on the inverse star discrepancy.Our work is financially supported by ANR-22-ERCS-0003-01 project VARIATION, by the CNRS INS2I project IOHprofiler, and by Campus France Pessoa project 49173PH.

Figure 1 :

75Figure 1: Discrepancy values for a random point set of 15 points in dimension 2

[ 5 ]

76. Given a point set P ⊆ [0, 1] d of size |P | = n and an integer 0 < k ≤ n, find a subset P * of P such that |P * | = k and d ∞ (P * ) is minimal among all other subsets of P of size k.This comes down to solving the problem arg min P * ⊆P |P * |=k max max q∈Γ(P * )

Figure 3 :

77Figure 3: Two k = 8 subsets taken from the first n = 10 points of the Sobol' sequence in dimension 2. The ten initial points are shown, with those present in both subsets shown as blue circles.The points shown as red squares and the blue points form a local optimum for 1-swap with discrepancy 0.234.The black triangles plus the blue points correspond to the global optimum of discrepancy 0.203.Neither of the two sets can be improved via 1-swaps.

Figure 4 :

78Figure 4: Performance of the different instantiations in dimension 3, from left to right: TA_BF, TA_NBF, DEM_BF and DEM_NBF.Different colors indicate a change of the initial set size (red for n = 100, blue for n = 150, green for n = 200 and yellow for n = 250), and the black curve corresponds to the Sobol' sequence (it is the same in all four plots).The plot includes the k = n case for all four different n, the rightmost point in this color.

Figure 5 :

79Figure 5: Performance of the different instantiations in dimension 6, from left to right: TA_BF, TA_NBF, DEM_BF and DEM_NBF.Different colors indicate a change of the initial set size (red for n = 100, blue for n = 150, green for n = 200 and yellow for n = 250), and the black curve corresponds to the Sobol' sequence (it is the same in all four plots).The plot includes the k = n case for all four different n, the rightmost point in each color.

Figure 6 :Figure 7 :

80Figure 6: Best discrepancy obtained for different values of n, k fixed to 90, and d = 6, with a cutoff time of 1 hour.

Figure 8 :

81Figure 8: Best discrepancy values obtained with our heuristic for d = 6 and k=n − 20 or k = n − 30

Figure 9 :

82Figure 9: Discrepancy values obtained for the Sobol' sequence in different dimensions, compared with the values obtained by subset selection (dashed lines).

Figure 10 :

83Figure 10: Number of points needed to obtain a discrepancy of 0.2 in different dimensions.

Figure 13 :

84Figure 13: A comparison of Subset Selection (middle in each plot), the energy functional (left in each plot) and the combination of the two methods for random points (right in each plot).This is done in dimensions 2 (left), 3 (middle) and 4 (right) and with an initial n = 70 (top), n = 120 (middle) and n = 170 (bottom).The horizontal lines represent the discrepancy values of the Sobol' sets of relevant size, n (red) and n − 20 (blue) in each plot.

851, p k,2 ) or (p i+1,1 , p i,2 ) for i ∈ {1, . . ., k − 1}.By definition of j-swaps, we replace j of the points inside P A by points in P B (since P A ∪ P B = P ).Let P C be our new point set, |P A ∩ P C | = 1.Let p i be the point in P A ∩ P C .There are now two different cases to consider: • If p k+i is not in P C , then the box with upper-right corner in (p i+1,1 , p i,2 ) is still empty.None of the other points could be inside since we have p 1,2 ≥ p k+1,2 ≥ p 2,2 ≥ . . .≥ p k,2 ≥ p 2k,2 and the first coordinates are ordered in the reverse order.The discrepancy of P C is therefore at least that of P A .

86• If p k+i is in P C , then there exists h ∈ {1, . . ., k} such that p h and p k+h are not in P C .The box with upper-right corner in (p h+1,1 , p h−1,2 ) (with

Table 1 :

87Number of points necessary to reach target discrepancies for Subset Selection and Sobol' in dimensions 4 and 5

Table 2 :

88Comparison of the Energy functional and Subset Selection.The functional is applied to the Sobol' set of the same size, the subset selection results are taken from our general experiments with n − k = 50 for DEM_BF or TA_NBF.

Table 3 :

89Figure 11: Percentage improvement of Subset Selection and the Energy functional compared to the Sobol' sequence, associatedTable2.Applying the Energy functional to our Subset Selection point sets.These point sets were obtained with k = n − 50, see Appendix A. ' set of similar size, and even better in the vast majority of cases.This suggests a new method of computing low-discrepancy point sets, without requiring any knowledge of existing sequences or number theory: starting from any random set, applying successively the energy functional and then subset selection generates good low-discrepancy point sets.

Table A .

905: Discrepancy values obtained in dimension 5 for the different heuristics, only the _NBF version were run for n ≥ 200.The -in the DEM column indicate that not a single run finished.Table A.7: Discrepancy values obtained in dimension 8, 10, 15 and 25 for TA.DEM_NBF could finish only for the smallest k in dimension 8 and is omitted here.Set size Subset size k TA_NBF d = 8 TA_NBF d = 10 TA_NBF d = 15 TA_NBF d = 25

참고문헌 24건

  1. A Panorama of Discrepancy Theory Lecture notes in mathematics · Springer Nature · 2014 10.1007/978-3-319-04696-9
  2. Digital Nets and Sequences 2010 10.1017/cbo9780511761188
  3. Irregularities of distribution, VII Acta Arithmetica · Polish Academy of Sciences · 1972 10.4064/aa-21-1-45-50
  4. Hardness of discrepancy computation and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si9.gif" display="inline" overflow="scroll"><mml:mi>ε</mml:mi></mml:math>-net verification in high dimension Journal of Complexity · Elsevier BV · 2011 10.1016/j.jco.2011.09.001
  5. An Algorithm to Compute Bounds for the Star Discrepancy Journal of Complexity · Elsevier BV · 2001 10.1006/jcom.2001.0600
  6. Funktionen von beschränkter Variatiou in der Theorie der Gleichverteilung Annali di Matematica Pura ed Applicata (1923 -) · Springer Science+Business Media · 1961 10.1007/bf02415361
  7. Bracketing numbers for axis-parallel boxes and applications to geometric discrepancy Journal of Complexity · Elsevier BV · 2007 10.1016/j.jco.2007.08.003
  8. Discrepancy and convex programming Annali di Matematica Pura ed Applicata (1923 -) · Springer Science+Business Media · 1972 10.1007/bf02412017
  9. Computing the discrepancy with applications to supersampling patterns ACM Transactions on Graphics · Association for Computing Machinery · 1996 10.1145/234535.234536
  10. Low-Discrepancy Sequences The Journal of Derivatives · 1997 10.3905/jod.1997.407985
  11. On irregularities of distribution Mathematika · Wiley · 1954 10.1112/s0025579300000541
  12. Random search for hyper-parameter optimization 2012
  13. A New Randomized Algorithm to Approximate the Star Discrepancy Based on Threshold Accepting SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2012 10.1137/110833865
  14. Finding optimal volume subintervals with k points and calculating the star discrepancy are NP-hard problems Journal of Complexity · Elsevier BV · 2008 10.1016/j.jco.2008.10.001
  15. A lower bound for the discrepancy of a random point set Journal of Complexity · Elsevier BV · 2013 10.1016/j.jco.2013.06.001
  16. Some theorems on diophantine inequalities Stichting Mathematisch Centrum. Zuivere Wiskunde · 1950
  17. A nonlocal functional promoting low-discrepancy point sets Journal of Complexity · Elsevier BV · 2019 10.1016/j.jco.2019.06.001
  18. On the Small Ball Inequality in all dimensions Journal of Functional Analysis · Elsevier BV · 2007 10.1016/j.jfa.2007.09.010
  19. The SCIP Optimization Suite 7.0 2020
  20. Monte Carlo and Quasi-Monte Carlo Methods 2012 Springer proceedings in mathematics & statistics · Springer International Publishing · 2013 10.1007/978-3-642-41095-6
  21. Star discrepancy subset selection: Problem formulation and efficient approaches for low dimensions Journal of Complexity · Elsevier BV · 2022 10.1016/j.jco.2022.101645
  22. The Design and Analysis of Computer Experiments Springer series in statistics · Springer Science+Business Media · 2003 10.1007/978-1-4757-3799-8
  23. MatBuilder ACM Transactions on Graphics · Association for Computing Machinery · 2022 10.1145/3528223.3530063
  24. Random Number Generation and Quasi-Monte Carlo Methods Society for Industrial and Applied Mathematics eBooks · Society for Industrial and Applied Mathematics · 1992 10.1137/1.9781611970081