Adaptive Partitioning Schemes for Optimistic Optimization

Raja Sunkara, Ardhendu Tripathy

TL;DR

This paper introduces a method to supercharge "Optimistic Optimization" by learning the underlying geometry of black-box functions. By using neural networks to identify low-dimensional subspaces and adaptively partitioning the search space, the authors achieve significantly faster convergence (lower regret) than standard methods. They even demonstrate a 10% improvement in the quantization quality of a 1.3B parameter Large Language Model (LLM).

The Challenge of Black-Box Optimization

In many engineering and AI tasks, practitioners must find the maximum of a "black-box" function—a complex system where the internal code is hidden and gradients are unavailable. Common examples include tuning a massive neural network's hyperparameters or running resource-intensive physical simulations.

A popular class of algorithms for tackling this is Optimistic Optimization (OO). These algorithms work by hierarchically splitting the search space into smaller and smaller regions (partitions), focusing their limited "budget" of evaluations on the most promising areas.

Hierarchical partitioning of a 2D search space in Optimistic Optimization.

However, most OO algorithms rely on a rigid default: they split the space into simple, axis-aligned rectangles. This approach hits a wall in high-dimensional spaces, a phenomenon known as the "curse of dimensionality." If a function's output only actually changes along a few diagonal directions, an axis-aligned grid wastes a massive amount of time sampling irrelevant areas. To solve this, the authors set out to create a partitioning scheme that adapts to the function's actual underlying structure.

Adaptive Partitioning Methods

The authors propose two main algorithmic flavors to move beyond fixed grids, leveraging the assumption that many complex functions are "multi-index"—meaning they primarily vary within a low-dimensional subspace ($m$) hidden inside a much larger high-dimensional space ($d$).

  1. Subspace Learning via Neural Networks: The algorithm fits a single-hidden-layer neural network to an initial set of samples. By performing a Singular Value Decomposition (SVD) on the network's weights, it identifies the most "important" directions of variation.
  2. Two-Stage vs. Interleaved Optimization:
    • Algorithm 1 (Two-Stage): The system spends a portion of its budget to learn the subspace, then runs a standard optimizer (SequOOL) within that newly learned, rotated coordinate system.
  3. Algorithm 2 (Interleaved): The system periodically updates both the neural network surrogate and the partitioning scheme as new data points are collected.
  4. Lookahead Direction Selection: Instead of splitting axes in a naive round-robin fashion, the method uses the neural network surrogate to "look ahead." It greedily chooses the split direction that most effectively narrows down the search for the global maximum.

Experimental Setup

The researchers evaluated their approach across two distinct domains:

  • Synthetic Benchmarks: A suite of standard optimization test functions (Sphere, Rastrigin, Rosenbrock, Styblinski-Tang, Hartmann-6, and Branin). These were modified into "multi-index" versions by embedding them in high-dimensional spaces (up to $d=72$) using random rotation matrices.
  • LLM Quantization: They applied their method to the OPT-1.3B model, specifically optimizing the scaling factors for Activation-aware Weight Quantization (AWQ). Performance was measured using perplexity on the WikiText-2 dataset and the Pile calibration set.

Key Insights

  • The Power of Rotation: The core breakthrough is realizing that the coordinate system matters immensely. By rotating the partitioning grid to align with the function's active "ridges," the algorithm can treat a 72-dimensional problem as if it were 2-dimensional, drastically reducing the required sample size.
  • Surrogates as Guides, Not Just Approximators: Instead of solely using a neural network to guess the function's value, the authors use it to decide how to split the search space. This makes the optimization process much more robust to small errors in the surrogate model.
  • Joint Optimization for Quantization: In LLM quantization (AWQ), practitioners usually optimize each layer independently. The authors demonstrated that treating the scaling factors of all layers as one giant high-dimensional black-box problem leads to superior global results.

Key Results

  • Theoretical Regret: The authors proved that for multi-index functions, their algorithm achieves a regret bound of $\tilde{O}(n^{-\beta/d})$ where $\beta > 1$. This is a significant mathematical improvement over the $\tilde{O}(n^{-1/d})$ bound of the state-of-the-art SequOOL algorithm.
  • Benchmark Performance: On complex functions like Rastrigin and Styblinski-Tang, the adaptive method reached zero regret (finding the exact global optimum), while baseline methods like RESOO and standard SequOOL struggled with significant error.
Regret curves on 72-dimensional synthetic benchmarks comparing the proposed adaptive method against baselines.
  • LLM Quantization: When quantizing the OPT-1.3B model, their interleaved approach achieved a perplexity of 16.68, compared to 16.92 for the standard AWQ grid search. This represents a ~10% relative improvement in recovering the performance lost during the quantization process.

Limitations and Future Work

While powerful, the method relies heavily on the assumption that the target function has a low-dimensional "multi-index" structure. If a function varies significantly across all $d$ dimensions, the computational overhead of learning the subspace might not yield a worthwhile payoff. Additionally, the two-stage version requires a "warm-up" period of random sampling to train the neural network, consuming part of the evaluation budget upfront.

Future directions suggested by the authors include extending this framework to handle noisy evaluations (where function measurements are jittery or imprecise) and exploring more complex low-dimensional structures beyond simple linear subspaces.

Summary updated

BibTeX
@inproceedings{sunkara2025adaptive,
  author = {Raja Sunkara and Ardhendu Tripathy},
  title = {{Adaptive Partitioning Schemes for Optimistic Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=rA2P4H7Dep},
}
Figure