Nearly Optimal Algorithms for Level Set Estimation

Blake Mason, Lalit Jain, Subhojyoti Mukherjee, Romain Camilleri, Kevin G. Jamieson, Robert D. Nowak

Abstract

The level set estimation (LSE) problem seeks to find all points in a domain $\mathcal{X}$ where the value of an unknown function $f:\mathcal{X}\rightarrow \mathbb{R}$ exceeds a threshold $\alpha$. The estimation is based on noisy function evaluations acquired at sequentially and adaptively chosen locations. The threshold $\alpha$ can be explicit (provided a priori) or implicit (defined relative to the unknown optimal value). In this work, we provide a new approach to LSE by relating it to recent adaptive experimental design methods for linear bandits in the Reproducing Kernel Hilbert Space (RKHS) setting. We assume $f$ can be approximated by a function in the RKHS up to an unknown misspecification and provide novel algorithms—MELK and MILK—for both the explicit and implicit cases. We show that our upper bounds match existing lower bounds for threshold linear bandits, providing the first instance-dependent, non-asymptotic upper bounds on sample complexity that match information-theoretic limits.

Introduction

Level Set Estimation (LSE) is a fundamental problem in active learning and spatial statistics. The goal is to identify the region of a domain where an unknown function $f(x)$ exceeds a specific threshold $\alpha$. This has significant real-world implications: in environmental monitoring, it might involve identifying areas where pollutant levels are unsafe; in drug discovery, it could mean finding chemical compounds with a binding affinity above a certain percentage of the best-known candidate.

Traditionally, LSE has been approached using "greedy" heuristics—algorithms that pick the next point to sample based on where the current model is most uncertain. While intuitive, these methods often lack tight theoretical guarantees. They are typically analyzed through "worst-case" scenarios, which do not reflect how many samples are actually needed for a specific, individual function. This paper introduces two new algorithms, MELK and MILK, which shift the paradigm from greedy sampling to a strategy rooted in optimal experimental design.

The Problem: Explicit vs. Implicit Thresholds

The authors address two distinct versions of the LSE problem:

  1. Explicit LSE: The threshold $\alpha$ is a known constant. For example, a ship using sonar to map a harbor needs to find all areas where the water is at least 20 meters deep.
  2. Implicit LSE: The threshold is relative to the function's maximum value, such as $\alpha = (1-\epsilon)f(\mathbf{x}_\ast)$. This is common in optimization tasks where the absolute maximum is unknown, but we want to find all points that are "nearly as good" as the optimum.

In both cases, evaluations of $f(x)$ are noisy and potentially expensive, necessitating a strategy that minimizes the number of samples required to achieve a high-confidence estimation.

Methodology: Optimal Experimental Design

The core innovation of this work is the shift from picking points one-by-one to solving for an optimal sampling distribution. The authors model $f$ using a Reproducing Kernel Hilbert Space (RKHS), which provides a flexible framework for non-linear functions while maintaining mathematical tractability.

MELK and MILK

  • MELK (Misspecified Explicit Level set via Kernelization): Designed for the explicit case, MELK identifies a sampling distribution $\lambda$ that minimizes error specifically in regions near the threshold $\alpha$, where classification is most difficult.
  • MILK (Misspecified Implicit Level set via Kernelization): For the implicit case, the authors demonstrate that one does not need to accurately estimate the global maximum $f(x^*)$ first. Instead, MILK optimizes sampling to resolve pairwise differences between points, which is a more sample-efficient strategy.

Robustness to Misspecification

Real-world functions rarely fit perfectly into a mathematical model. To handle "misspecification" (where the true function deviates slightly from the RKHS model), the authors employ a Robust Inverse Propensity Scoring (RIPS) estimator. This ensures the algorithms remain reliable even when the model is an approximation rather than a perfect fit.

Key Insights

  • Working Backwards from Lower Bounds: Unlike previous research that designs a heuristic and then analyzes its performance, this work starts with the information-theoretic lower bound—the absolute minimum number of samples required by any algorithm. The authors then designed MELK and MILK to specifically mimic the optimal sampling distribution suggested by that bound.
  • Efficiency through Batching: By utilizing experimental design, these algorithms can select large batches of points to sample simultaneously. This is computationally superior to Gaussian Process (GP) methods that require expensive re-calculations of an acquisition function after every single measurement.
  • Implicit Complexity: The paper clarifies that implicit LSE is fundamentally different from explicit LSE. Treating the estimated maximum as a fixed threshold is wasteful; focusing on pairwise comparisons is the key to matching theoretical limits.

Results and Performance

The theoretical contribution of this paper is significant: the authors prove that the number of samples required by MELK and MILK (the upper bound) matches the information-theoretic limit (the lower bound) up to small logarithmic factors. This makes the algorithms "nearly optimal" in an instance-dependent sense.

Empirically, the algorithms were tested against synthetic benchmarks, including Gaussian Process samples and high-frequency cosine functions. In the "Linear Implicit" benchmark, MILK significantly outperformed LSE-imp, the previous state-of-the-art. Furthermore, both algorithms maintained high F1-scores across varying noise levels, performing as well as or better than computationally intensive variance-reduction methods like TruVar.

Limitations and Future Work

While the algorithms are theoretically optimal, they face a computational bottleneck: solving the optimal design problem (typically via the Frank-Wolfe algorithm) scales with the number of possible sampling locations. In continuous or extremely large domains, this becomes a challenge. Additionally, the current theoretical bounds contain logarithmic terms that may impact performance in very small sample regimes. Future work may focus on "shaving" these terms or extending the theory to non-stationary environments where the underlying function changes over time.

Summary updated

BibTeX
@inproceedings{mason2022nearly,
  author = {Blake Mason and Lalit Jain and Subhojyoti Mukherjee and Romain Camilleri and Kevin G. Jamieson and Robert D. Nowak},
  title = {{Nearly Optimal Algorithms for Level Set Estimation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=IBgfgFKq6Zw},
}
Figure