Refined bounds for algorithm configuration: The knife-edge of dual class approximability

Maria-Florina Balcan, Tuomas Sandholm, Ellen Vitercik

Abstract

Modern algorithms often rely on numerous tunable parameters to achieve peak performance. While machine learning offers a path to automate this configuration, existing theoretical guarantees on the amount of training data required—sample complexity—are often too loose for practical use. This paper introduces refined generalization bounds by analyzing the "dual function" of an algorithm's performance. We show that if these dual functions can be closely approximated by simple function classes under the $L^\infty$-norm, the required training set size can be drastically reduced. In integer programming benchmarks, our data-dependent bounds require up to 700 times less data than previous worst-case estimates.

Introduction: The Challenge of Generalization in Algorithm Configuration

Algorithm configuration involves finding parameter settings that minimize a cost metric (like runtime) across a distribution of problem instances. A critical risk in this process is "overfitting": a parameter setting might perform exceptionally well on a small training set but poorly on new, unseen instances.

To mitigate this, researchers use generalization bounds to determine the minimum number of training samples needed to ensure that empirical performance is a reliable proxy for expected future performance. However, traditional bounds often assume the worst-case complexity of the parameter space, leading to sample size requirements that are orders of magnitude larger than what practitioners typically use.

The Dual Function Perspective

The authors shift the focus from the "primal" function (performance vs. input) to the "dual" function, which maps parameter settings to performance for a fixed problem instance. While these dual functions can be incredibly complex—for example, in integer programming, they are often piecewise-constant with millions of discontinuities—they frequently exhibit a simpler underlying structure.

Visualizing dual function approximations. (a) Piecewise-constant functions with many steps, (b) functions with high-frequency oscillations, and (c) smooth functions, all being approximated by simpler classes $g_x^*$.

The core methodology involves approximating these complex dual functions with "simpler" functions, such as piecewise-constant functions with fewer steps. By measuring the Rademacher complexity of these simpler classes and employing Structural Risk Minimization (SRM), the authors derive bounds that adapt to the actual complexity of the data at hand.

The "Knife-Edge" of Approximability

A key theoretical contribution of this work is identifying a sharp dichotomy in how approximation error affects generalization.

  • $L^\infty$ Approximability: If the dual functions can be approximated such that the maximum error across all parameters is small, strong and reliable generalization bounds are possible.
  • $L^p$ Approximability ($p < \infty$): If the approximation only holds on average (allowing for large, localized error spikes), the authors prove that it is mathematically impossible to provide meaningful worst-case sample complexity bounds.

This "knife-edge" result highlights why the choice of approximation metric is fundamental to the success of automated algorithm configuration.

Empirical Results in Integer Programming

The proposed bounds were evaluated using CPLEX, a state-of-the-art integer programming solver. The task was to learn an optimal variable selection policy (branching rule) for combinatorial auction problems from the Combinatorial Auction Test Suite (CATS). Specifically, the authors used the "arbitrary" and "regions" generators to create realistic problem distributions.

The results demonstrate the power of data-dependent analysis:

  • 700x Data Reduction: To guarantee a generalization error of 0.1, the new refined bounds required approximately $10^5$ samples, whereas previous state-of-the-art bounds required over $7 \times 10^7$ samples.
  • SRM Efficiency: The Structural Risk Minimization approach, which automatically balances approximation error against function complexity, outperformed simpler baselines by up to 4.5x in terms of sample efficiency.

Conclusion and Future Directions

By moving away from worst-case assumptions and leveraging the approximability of dual functions, this work provides a more realistic theoretical foundation for algorithm configuration. While the negative results for $L^p$ norms suggest fundamental limits, future research could investigate whether specific distributional assumptions—common in real-world scenarios—might bypass these theoretical barriers, potentially explaining the empirical success of models like random forests in solver performance prediction.

Summary updated

BibTeX
@inproceedings{balcan2020refined,
  author = {Maria-Florina Balcan and Tuomas Sandholm and Ellen Vitercik},
  title = {{Refined bounds for algorithm configuration: The knife-edge of dual class approximability}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure