Abstract
This paper introduces an adaptive sampling framework to estimate the value of a smooth function $f(\mu)$ when the underlying parameter vector $\mu$ can only be accessed through noisy, coordinate-wise queries. By leveraging the function's gradient to prioritize sampling "important" coordinates, the proposed algorithms achieve up to an $n$-fold reduction in sample complexity compared to uniform sampling. Furthermore, by utilizing batched operations, the framework maintains high computational efficiency, addressing the limitations of fully sequential bandit algorithms in large-scale applications.
Introduction
In many scientific and engineering domains, evaluating a function $f(\mu)$ is a core task, yet the parameter vector $\mu$ is often unknown and only accessible via a "noisy oracle." For instance, in software reliability testing, one might need to estimate overall failure rates by sampling specific task classes. The standard approach—uniform sampling across all coordinates—is often inefficient. If a function is highly sensitive to certain components of $\mu$ and indifferent to others, computational resources are better spent refining estimates of the high-sensitivity coordinates.
While Multi-Armed Bandit (MAB) research has traditionally focused on "Best Arm Identification," this work addresses the broader problem of estimating the value of a general smooth function $f(\mu)$. This has direct applications in large-scale linear algebra, such as estimating matrix-vector product norms, and in statistical testing.
Methodology
The authors propose a family of instance-adaptive algorithms that dynamically learn the importance of each coordinate.
Gradient-Based Importance
The core motivation is derived from the first-order Taylor approximation: $f(\hat{\mu}) - f(\mu) \approx \nabla f(\mu)^\top (\hat{\mu} - \mu)$. To minimize estimation error, the sampling frequency for coordinate $i$ should be proportional to the magnitude of its partial derivative, $|\nabla_i f(\mu)|$. The theoretical "gain of adaptivity" over uniform sampling is quantified by the ratio $n \|\nabla f\|_2^2 / \|\nabla f\|_1^2$.
Adaptive Algorithms
- Algorithm 1 (Adaptive Sampling): Operates in doubling rounds. It uses previous samples to construct confidence intervals for $\mu$, estimates gradient bounds, and allocates the next batch of samples to coordinates with the highest estimated sensitivity.
- Algorithm 2 (Thresholding): A variant designed for decision-making (e.g., determining if a failure rate exceeds a threshold) rather than pure estimation.
- Algorithm 3 (Heteroskedastic Noise): A robust variant that adapts to both function sensitivity and varying, unknown noise levels (variances) across coordinates using empirical Bernstein bounds.
Batched Execution
Unlike traditional fully sequential bandit algorithms that decide on the next sample one by one, these algorithms utilize large batches. This design significantly improves "wall-clock time" on modern hardware, making the approach practical for large-scale computational budgets.
Experimental Results
The framework was evaluated on several tasks, including estimating matrix-vector product norms ($\|Ax\|_2^2$) and software failure rates.
Performance in Linear Algebra Tasks
In estimating $\|Ax\|_2^2$, the adaptive algorithm (Algorithm 1) demonstrated substantial efficiency gains. As shown in the figure below, Algorithm 1 achieves the same error levels as uniform sampling with a significantly smaller computational budget. In specific instances, this translates to a projected gain of approximately 60x.
Comparison with Sequential Baselines
The batched approach was also compared against "optimism-based" sequential algorithms. While sequential methods are theoretically sound, they are often computationally prohibitive for large budgets. The proposed method was found to be three orders of magnitude faster in wall-clock time for budgets of $T=10^6$, while simultaneously achieving lower error rates.
Conclusion
This work provides a theoretically grounded and practically efficient framework for approximate function evaluation. By combining gradient-based adaptive sampling with batched execution, the authors bridge the gap between statistical optimality and computational feasibility. Future research may extend these techniques to functions with less regularity or more complex noise distributions.
Summary updated