Controlled Random Search Improves Sample Mining and Hyper-Parameter Optimization

Gowtham Muniraju, Bhavya Kailkhura, Jayaraman J. Thiagarajan, Peer-Timo BremerarXiv 2018

Abstract

Sampling one or more effective solutions from large search spaces is a recurring idea in machine learning, and sequential optimization has become a popular solution. Typical examples include data summarization, sample mining for predictive modeling and hyper-parameter optimization. Existing solutions attempt to adaptively trade-off between global exploration and local exploitation, wherein the initial exploratory sample is critical to their success. While discrepancy-based samples have become the de facto approach for exploration, results from computer graphics suggest that coverage-based designs, e.g. Poisson disk sampling, can be a superior alternative. In order to successfully adopt coverage-based sample designs to ML applications, which were originally developed for 2-d image analysis, we propose fundamental advances by constructing a parameterized family of designs with provably improved coverage characteristics, and by developing algorithms for effective sample synthesis. Using experiments in sample mining and hyper-parameter optimization for supervised learning, we show that our approach consistently outperforms existing exploratory sampling methods in both blind exploration, and sequential search with Bayesian optimization.

Introduction: The Need for Better Exploration

In machine learning, searching for optimal solutions—whether they are the best hyper-parameters for a neural network or representative subsets of massive datasets—requires a delicate balance between exploration (searching new areas) and exploitation (refining known good areas).

Traditionally, the "gold standard" for exploration has been discrepancy-based sampling (such as Latin Hypercube or Sobol sequences), which aims for a uniform distribution of points. However, uniformity does not necessarily prevent "clumping," where samples cluster together, leaving large gaps in the search space. The computer graphics community has long utilized Poisson Disk Sampling (PDS) to solve this. PDS ensures a minimum distance between samples, providing superior coverage and avoiding aliasing.

Comparison of standard Poisson (random) sampling versus Poisson Disk (coverage-based) sampling in spatial and spectral domains.

Extending PDS to the high-dimensional spaces common in machine learning is mathematically challenging. This research addresses these hurdles by introducing a new mathematical framework and robust synthesis algorithms designed for high-dimensional ML applications.

Methodology: Advancing Coverage-Based Designs

The authors propose three major advances to adapt coverage-based designs for machine learning:

  1. A New Parameterized Family: The core of the method is a new Pair Correlation Function (PCF). The PCF is a statistical signature describing point distribution relative to one another. While standard PDS uses a simple step function, the proposed version includes a "peak" and "damped oscillations," allowing for a finer trade-off between randomness and space-filling coverage.
The Pair Correlation Function (PCF) for standard Poisson Disk Sampling, showing the characteristic step at the minimum radius.
  1. Automatic Parameter Selection: To find the optimal sampling pattern, the authors developed a gradient-based strategy to automatically maximize the "coverage radius" (the size of the empty disk around each point) while ensuring the design is physically realizable.
  2. GD-ALR Synthesis: To generate the points, the authors introduced Gradient Descent with an Adaptive Learning Rate (GD-ALR). This algorithm operates in two phases: first pushing points apart to achieve the required coverage, then fine-tuning their positions to match the target statistical signature. This approach proves more robust in high dimensions than previous methods.

Experimental Results

The approach was evaluated across synthetic benchmarks (Alpine N.1 and Ackley functions) and real-world tasks including text classification (20-Newsgroups) and computer vision (MNIST and CIFAR-10).

  • Increased Coverage: The proposed design achieves a 25% to 40% increase in achievable coverage radius compared to conventional Poisson Disk Sampling.
  • Hyper-parameter Optimization: In tuning CNNs for CIFAR-10, the method achieved a best test accuracy of 81.03%, outperforming Quasi-Monte Carlo (80.84%) and Latin Hypercube (80.43%).
  • Blind Exploration: At low sample budgets ($N=50$), the method identified nearly twice as many local optima as standard random sampling.
  • Reliability: The results demonstrated significantly lower variance across different runs, indicating that coverage-based initialization leads to more consistent model performance.

Conclusion

This research demonstrates that the "disk" constraint—ensuring points are sufficiently far apart—is more effective for exploring complex surfaces than simple discrepancy-based methods. While generating these samples involves higher initial computational overhead, the gains in model accuracy and search efficiency, particularly when sample budgets are tight, make it a powerful tool for modern machine learning pipelines. Future work will focus on further overcoming the curse of dimensionality in spaces with hundreds of dimensions and formalizing the mathematical theory of realizability.

Summary updated

BibTeX
@misc{muniraju2018controlled,
  author = {Gowtham Muniraju and Bhavya Kailkhura and Jayaraman J. Thiagarajan and Peer-Timo Bremer},
  title = {{Controlled Random Search Improves Sample Mining and Hyper-Parameter Optimization}},
  year = {2018},
  eprint = {1809.01712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.01712},
}
Figure