Computing Star Discrepancies with Numerical Black-Box Optimization Algorithms

François Clément, Diederick Vermetten, Jacob de Nobel, Alexandre D. Jesus, Luís Paquete, Carola DoerrarXiv 2023 · DOI

TL;DR

Computing the $L_\infty$ star discrepancy—a critical measure of how "regularly" points are spread in a space—is notoriously difficult (NP-hard). This paper benchmarks eight popular black-box optimization algorithms against this problem, revealing that most sophisticated solvers are surprisingly outperformed by simple random search due to the problem's jagged, multi-modal landscape. To push the boundaries of exact computation, the authors also introduce a new parallel implementation of the state-of-the-art exact algorithm, achieving up to a 17x speedup.

What Problem Does This Paper Address?

In fields like numerical integration (Quasi-Monte Carlo methods), computer vision, and financial modeling, we need sets of points that are distributed as uniformly as possible. The $L_\infty$ star discrepancy is the standard metric for this "uniformity." It measures the maximum difference between the volume of any box anchored at the origin and the proportion of points falling inside it.

The catch? Finding this maximum is a nightmare. As the number of dimensions ($d$) increases, the problem becomes computationally explosive. Exact algorithms currently hit a wall around $d=8$. While evaluating a single "box" is cheap, finding the worst box is a global optimization problem characterized by extreme multi-modality and sharp discontinuities. If you move a box boundary just a tiny bit and "catch" one more point, the discrepancy value jumps instantly.

Methods

The authors approached the problem from two angles:

  1. Black-Box Benchmarking: They treated the discrepancy calculation as a continuous optimization problem and tested 8 "off-the-shelf" solvers from the Nevergrad platform:
  2. Evolutionary/Population-based: dCMA-ES, Differential Evolution (DE), Particle Swarm Optimization (PSO), and EMNA.
  3. Mathematical/Gradient-free: NGOpt14, Cobyla, and SPSA.
  4. Baseline: Pure Random Search.
  5. Parallelizing the Gold Standard: They took the Dobkin, Eppstein, Mitchell (DEM) algorithm—the best-known exact method with a complexity of $O(n^{1+d/2})$—and developed a parallel version using OpenMP tasks to handle its recursive box-decomposition structure.

Datasets

The study utilized a benchmark suite integrated into IOHexperimenter, featuring three types of point sets (samplers):

  • Uniform i.i.d. random sampling: The standard baseline for "average" distribution.
  • Halton sequences: A common low-discrepancy sequence.
  • Sobol' sequences: Another widely used low-discrepancy sequence.

The experiments covered dimensions $d \in \{2, 3, 4, 6, 8, 10, 15\}$ and point set sizes $n$ ranging from 10 to 1000.

Key Insights and Ideas

  • The "Jagged" Landscape: Figures 1 and 2 illustrate why this problem is so hard. The landscape is not smooth; it's a collection of plateaus and sudden cliffs. Discrepancy landscapes for different samplers
  • The Random Search Paradox: In a surprising twist, simple Random Search often outperformed sophisticated algorithms like CMA-ES or PSO. This suggests that the "intelligence" in modern optimizers (like following gradients or modeling local covariance) actually hinders them here, as they get trapped in the countless local optima created by the discontinuities.
  • Dimension is the Killer: While increasing the number of points ($n$) makes the "jumps" in the landscape smaller, it doesn't significantly change the relative difficulty for optimizers. However, increasing the dimension ($d$) causes performance to crater across the board.
  • Structural Blindness: State-of-the-art black-box optimizers fail to exploit the underlying grid structure of the problem (where the maximum is guaranteed to lie on coordinates defined by the points themselves).
Figure 2: Comparison of the 3 samplers for 1000 points in 2D, and the corresponding discrepancy landscapes (instance 1 for F39, F49 and F59 respectively).

Key Results

  • Optimizer Failure: Most optimizers failed to come close to the exact discrepancy values, especially as $d$ increased. SPSA, in particular, performed exceptionally poorly. Expected running time showing SPSA failure
  • Parallel Efficiency: The parallelized DEM algorithm showed impressive scalability. For instance, in 4D with 3000 points, the algorithm went from ~50 seconds on a single thread to under 3 seconds on 32 threads—a 17.2x speedup. Table of CPU times and speedups
  • Relative Performance: Figure 4 shows that for $d=15$, almost all optimizers are stuck near a relative error of 1.0 (meaning they found essentially no improvement over a 0-discrepancy box).
Figure 3: Expected running time (ERT) of the 8 optimization algorithms on the discrepancy calculation for the uniform sampler with 100 samples (F33) in 3 dimensions. ERT is cal- culated based on 10 runs on 10 instances with a budget of 7 500. Figure generated using IOHanalyzer [WVY+22].
Table of CPU times and speedups

Limitations and Future Work

The primary limitation is that "off-the-shelf" numerical optimizers are simply not built for this type of landscape. The authors conclude that these results are currently "underwhelming" and cannot be used as reliable estimates for star discrepancy.

Future Directions: * Hybrid Approaches: Merging black-box evolutionary logic with problem-specific "snapping" routines (rounding search points to the underlying grid) might bridge the gap. * Diversity-Focused Search: Using "Quality-Diversity" or "Niching" algorithms might help solvers escape the local optima that currently trap them. * Discrete Optimization: Since the problem can be mapped to a discrete grid $[1..n]^d$, exploring evolutionary algorithms designed for discrete search spaces could be more fruitful than continuous approaches.

Summary updated

BibTeX
@misc{clement2023computing,
  author = {François Clément and Diederick Vermetten and Jacob de Nobel and Alexandre D. Jesus and Luís Paquete and Carola Doerr},
  title = {{Computing Star Discrepancies with Numerical Black-Box Optimization Algorithms}},
  year = {2023},
  eprint = {2306.16998},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.16998},
}
Figure