Actively learning level-sets of composite functions

Brent Bryan, Jeff G. Schneider

Introduction

In computationally intensive fields like cosmology or epidemiology, scientists frequently need to find the set of model parameters that are "consistent" with observed data. Mathematically, this is framed as finding a level-set: the specific region in a parameter space where a target function (such as a likelihood or a p-value) remains above or below a certain threshold.

Mapping these level-sets presents a twofold challenge:

  1. High Computational Cost: Evaluating these functions often requires running complex, time-consuming simulations. For instance, calculating the cosmic microwave background radiation using the CMBFast code is notoriously expensive.
  2. Composite Nature: The "truth" is rarely derived from a single source. It is usually a combination of multiple independent data sources (e.g., satellite data combined with supernova surveys and galaxy clusters).

Standard active learning approaches typically assume you must sample the entire target function at once. This paper introduces a smarter, more efficient framework: if our target is a sum of independent parts ($f = f_1 + f_2 + ...$), can we accelerate the process by choosing not just where to sample, but which specific sub-function ($f_i$) to evaluate?

Methodology: The Active Learning Framework

To tackle this, the authors propose an active learning framework that utilizes Gaussian Process (GP) regression—specifically a form called "ordinary kriging"—to model each individual observable function independently.

The active learning loop for composite functions.

The core innovation of their approach lies in the selection heuristic used to determine the next point to sample. While they compare several strategies, the standout performer is the Variance-MaxVarStraddle heuristic.

  • The Straddle Heuristic: Originally designed for single functions, this strategy balances exploration (sampling in regions where uncertainty is high) with exploitation (sampling near the estimated threshold boundary).
  • The Composite Innovation: The authors adapt this heuristic for composite functions. The algorithm calculates which specific pair of (parameter point, sub-function) is most likely to provide the maximum "information gain" needed to decide if a point is inside or outside the level-set.

Crucially, if one "cheap" data source already provides enough evidence to reject a parameter setting (e.g., yielding a very high value in a $\chi^2$ test), the algorithm prunes the search space and avoids wasting computational resources evaluating the more expensive data sources at that same point.

Experimental Datasets

The algorithm's efficacy was evaluated across two primary domains:

  1. Synthetic Functions: These included 2D perpendicular Gaussians and complex sinusoidal surfaces (Sin2D, SimpleSin2D, and 4-Sin2D). These synthetic tests were designed to challenge the algorithm's ability to handle discontinuous boundaries and ambiguous regions.
  2. Cosmological Data: A real-world, 8-parameter model of the universe utilizing three major datasets: Cosmic Microwave Background (CMB) data from WMAP, Supernovae (SN) surveys, and Large Scale Structure (LSS) surveys.

Key Results and Insights

The quantitative improvements demonstrated by the Variance-MaxVarStraddle heuristic were substantial across both synthetic and real-world tests.

Comparison of sampling strategies on a 2D synthetic function.
  • Drastic Efficiency Gains: On the synthetic "4-Sin2D" task, the Variance-MaxVarStraddle heuristic reached the target accuracy in just ~55 samples. In contrast, a standard variance-based approach required ~188 samples, and random sampling failed to reach the target even after 1,000 samples. The algorithm successfully concentrates its sampling efforts directly on the complex decision boundaries.
  • Exploiting Independence: By modeling $f_1, f_2, \dots$ separately rather than just modeling the sum $f$, the algorithm exploits "strong evidence" from a single source. In the cosmological example, the algorithm reduced the number of expensive CMBFast runs by a factor of five. It achieved this by checking if the computationally cheaper supernova or LSS data had already ruled out a parameter point before initiating the expensive CMB calculation.
  • Scientific Accuracy: In the 8D cosmological model, the algorithm identified a much tighter and more accurate confidence region than traditional "ad-hoc" methods (like simply intersecting the individual regions of different studies). It proved that the joint level-set is a complex surface requiring active, targeted exploration to map correctly.

Limitations and Future Work

While highly effective, the proposed framework has a few limitations that pave the way for future research:

  • Functional Independence Assumption: The method assumes the observable sub-functions are functionally independent. If the data sources are highly correlated in ways the model does not account for, the efficiency gains may diminish.
  • Computational Scaling of GPs: To handle the computational overhead of GPs (which scales cubically with the number of points), the authors used a local kriging approach, considering only the 1,000 nearest neighbors. However, managing millions of points in high-dimensional spaces (like the 8D cosmology model) still presents a computational burden for the active learner itself.
  • Pre-defined Thresholds: The algorithm requires a known, pre-defined threshold ($t$). In some scientific contexts, this threshold might be dynamic or dependent on the data itself, which would require further adaptation of the straddle heuristic.

Summary updated

BibTeX
@inproceedings{bryan2008actively,
  author = {Brent Bryan and Jeff G. Schneider},
  title = {{Actively learning level-sets of composite functions}},
  booktitle = {International Conference on Machine Learning},
  year = {2008},
  doi = {10.1145/1390156.1390167},
}
Figure