Quantile Learn-Then-Test: Quantile-Based Risk Control for Hyperparameter Optimization

Amirmohammad Farzaneh, Sangwoo Park, Osvaldo Simeone

TL;DR

Researchers have developed QLTT (Quantile Learn-Then-Test), a new framework for hyperparameter optimization that provides rigorous statistical guarantees on "tail risks." Unlike standard methods that optimize for average performance, QLTT ensures that a system meets specific performance targets (like latency or throughput) for a guaranteed fraction of users or time intervals.

What Problem Does This Paper Address?

In the world of Artificial Intelligence, we spend a lot of time on Hyperparameter Optimization (HPO)—tuning the "knobs" of a model (like learning rates or network depth) to get the best results. Traditionally, HPO focuses on minimizing average risk.

However, in critical engineering fields like wireless communications or medical imaging, "average" isn't good enough. If a 5G network has great average latency but 10% of users experience massive lag, the system is a failure. Engineers need risk control: a way to guarantee that the risk stays below a threshold for, say, 90% of all cases.

While a recent framework called Learn-Then-Test (LTT) provided a way to give statistical guarantees on average performance, it couldn't handle these specific "quantile" requirements. This paper fills that gap.

Methods

The authors introduce QLTT, which transforms HPO into a Multiple Hypothesis Testing (MHT) problem.

  1. Candidate Selection: You start with a set of potential hyperparameter configurations.
  2. The Null Hypothesis: For every configuration, the "null hypothesis" is that it fails to meet your quantile requirement (e.g., "This setting results in more than 10ms of delay for more than 10% of users").
  3. Calibration: Using a separate calibration dataset, QLTT calculates a p-value for each configuration. To do this, they leverage a sophisticated concentration inequality (specifically, a one-sided confidence interval for quantiles) to estimate how likely it is that a configuration actually meets the goal.
  4. Family-Wise Error Rate (FWER) Control: To avoid the "look-elsewhere effect" (where testing many options increases the chance of a false positive), they use techniques like Bonferroni correction or Fixed Sequence Testing.
  5. The "Safe" Set: The algorithm returns a set of hyperparameters that are statistically guaranteed (with a user-defined confidence level, like 90%) to satisfy the quantile constraint on new, unseen data.

Datasets

The researchers evaluated QLTT using the Nokia Wireless Suite, a specialized simulator for radio access scheduling.

  • Scenario: Allocating 25 downlink resource blocks to 32 users across four different Quality of Service (QoS) classes.
  • Data Split: They used 100 "episodes" (simulated scenarios) for calibration and 100 for testing.
  • Hyperparameters: They tested a grid of 256 candidate hyperparameter vectors that control how the scheduling agent prioritizes factors like queue size, packet age, and fairness.

Key Insights and Ideas

  • The "Average" Trap: The paper demonstrates that a model can be "safe" on average while being "dangerous" in the tail. In their tests, standard LTT met the average delay target but failed the 90th-percentile target, resulting in a "heavy tail" of high-latency episodes.
  • Statistical Rigor for Black Boxes: QLTT doesn't care how your AI model works. As long as you have calibration data, it can provide a mathematical guarantee on performance, making it highly applicable to "black box" AI models used in industry.
  • Reliability vs. Performance: QLTT allows designers to trade off raw performance for guaranteed reliability. By choosing the "outage rate" ($q$), a designer can decide exactly what fraction of the population they are willing to let fall outside the target threshold.

Key Results

The authors compared QLTT against the original LTT in a radio scheduling task where the goal was to keep packet delay below 10ms.

  • Quantile Control: When set to a 0.9-quantile target (meaning 90% of episodes should be under 10ms), QLTT successfully returned hyperparameters that met this goal on the test set.
  • LTT Failure: In contrast, the standard LTT method—which only looks at averages—returned configurations where the 90th-percentile delay was 10.77ms, exceeding the safety limit.
  • Consistency: Across multiple runs with different data realizations, QLTT consistently stayed below the 10ms target, whereas LTT's quantile risks frequently crossed the line, especially as the requirements became more stringent.

Limitations and Future Work

  • Discrete Search Space: Currently, the method requires a pre-defined, finite set of hyperparameter candidates. It doesn't yet support searching through a continuous space of infinite possibilities.
  • Data Requirements: Like all calibration-based methods, it requires a representative "calibration" dataset. If the calibration data doesn't match the real-world deployment environment, the guarantees may not hold.
  • Future Directions: The authors suggest extending this framework to other statistical measures, such as information measures (e.g., mutual information or entropy), which could be useful for privacy-preserving AI or complex signal processing.

Summary updated

Abstract

The increasing adoption of Artificial Intelligence (AI) in engineering problems calls for the development of calibration methods capable of offering robust statistical reliability guarantees. The calibration of black box AI models is carried out via the optimization of hyperparameters dictating architecture, optimization, and/or inference configuration. Prior work has introduced learn-then-test (LTT), a calibration procedure for hyperparameter optimization (HPO) that provides statistical guarantees on average performance measures. Recognizing the importance of controlling risk-aware objectives in engineering contexts, this work introduces a variant of LTT that is designed to provide statistical guarantees on quantiles of a risk measure. We illustrate the practical advantages of this approach by applying the proposed algorithm to a radio access scheduling problem.
BibTeX
@article{farzaneh2024quantile,
  author = {Amirmohammad Farzaneh and Sangwoo Park and Osvaldo Simeone},
  title = {{Quantile Learn-Then-Test: Quantile-Based Risk Control for Hyperparameter Optimization}},
  journal = {IEEE Signal Processing Letters},
  year = {2024},
  doi = {10.1109/lsp.2024.3486238},
}

Loading related content...

Figure