Multi-Objective Hyperparameter Selection via Hypothesis Testing on Reliability Graphs

Amirmohammad Farzaneh, Osvaldo Simeone

Introduction

In modern AI, choosing the right hyperparameters is rarely just about maximizing accuracy; it requires navigating complex trade-offs between performance and cost. For example, in prompt engineering for Large Language Models (LLMs), a highly detailed 500-token prompt might be slightly more reliable than a 50-token one, but it costs significantly more to execute.

Engineers need a way to find the "sweet spot"—the most efficient hyperparameter setting that still meets a specific reliability threshold (e.g., "at least 90% accuracy"). Existing methods like Learn-Then-Test (LTT) and Pareto Testing (PT) provide formal guarantees on the False Discovery Rate (FDR), ensuring that selected settings are truly reliable. However, they treat every hyperparameter configuration as an independent trial or a simple linear list. By failing to leverage structural knowledge—such as the fact that increasing prompt length usually has a predictable effect on reliability—these methods leave significant optimization potential on the table.

To address this, researchers introduce Reliability Graph-based Pareto Testing (RG-PT), a novel framework that balances performance against costs by encoding "common sense" relationships into a directed acyclic graph, allowing for more efficient exploration of the search space with rigorous statistical guarantees.

Methodology: Reliability Graph-based Pareto Testing (RG-PT)

The core innovation of RG-PT is the Reliability Graph (RG), a Directed Acyclic Graph (DAG) where nodes represent hyperparameter settings and edges represent expected reliability hierarchies.

RG-PT Workflow

The RG-PT workflow consists of four main steps:

  1. Pareto Front Estimation: The algorithm identifies the best trade-off candidates (e.g., settings that are either very cheap or very accurate) using a small portion of calibration data.
  2. Learning the Graph:
    • Depth Assignment: It uses the Bradley-Terry (BT) ranking model to score hyperparameters based on prior information (like "LLM-as-a-judge" feedback) and held-out data. Settings are then clustered into levels of expected reliability.
  3. Edge Learning: It applies a non-negative Lasso regression to determine which "parent" settings (expected to be more reliable) are most predictive of "child" settings.
  4. FDR-Controlling Testing: It uses an algorithm called DAGGER to perform multiple hypothesis testing on the graph. If a "parent" node is found to be unreliable, the algorithm can skip its "children," saving statistical power.
  5. Multi-Objective Selection: From the set of statistically "proven" reliable settings, the framework selects the one that minimizes the auxiliary cost (e.g., the shortest prompt).

Experimental Setup

The researchers evaluated RG-PT across a diverse range of tasks and benchmarks:

  • LLM Prompt Engineering: Used the Stanford Sentiment Treebank (SST), Semantic Textual Similarity Benchmark (STS-B), and Word-in-Context (WiC) datasets with LLaMA-3 and GPT-4.
  • Language Translation: Used the WMT16 Romanian-English dataset, balancing BLEU and ROUGE-L scores.
  • Object Detection: Utilized the MS-COCO dataset with the Detectron2 model.
  • Image Classification: Tested on Fashion MNIST using Support Vector Machines (SVM).
  • Telecommunications: Simulated radio access scheduling using the Nokia wireless suite.

Key Findings

By acknowledging that hyperparameters have structural relationships (e.g., "Setting A is likely more robust than Setting B"), RG-PT avoids wasting its "statistical budget" on redundant tests. This principled fusion of priors and data allows it to find better, more efficient solutions that flatter methods miss.

Prompt Reliability Graph and Efficiency Results
  • Efficiency: In LLM prompt engineering, RG-PT consistently identified shorter, cheaper prompts than LTT and PT while maintaining the same 90% confidence in reliability.
  • Performance: In translation tasks, RG-PT achieved higher ROUGE-L scores for the same BLEU targets compared to baseline benchmarks.
  • Reliability: Across all experiments, RG-PT successfully controlled the False Discovery Rate (FDR) below the target threshold (usually 0.1). In contrast, standard optimization methods like Bayesian Optimization (BO) and Multi-Armed Bandits (MAB) often exceeded the error budget, sometimes reaching FDRs of 0.21.
  • Robustness: Ablation studies demonstrated that even when prior information was "noisy" or "flipped," the method still maintained its formal reliability guarantees, though its efficiency (statistical power) naturally decreased.

Limitations and Future Work

While highly effective, RG-PT currently has a few limitations. The method is designed exclusively for discrete hyperparameter sets; extending this logic to continuous spaces remains an open challenge. Additionally, while the current graph construction works well, there is room to further optimize the RG structure to maximize the number of reliable settings found. Finally, while more sample-efficient than linear methods, the framework still requires a dedicated calibration dataset. Future work could explore using synthetic data to help derive the initial Reliability Graph.

Summary updated

BibTeX
@inproceedings{farzaneh2025multi,
  author = {Amirmohammad Farzaneh and Osvaldo Simeone},
  title = {{Multi-Objective Hyperparameter Selection via Hypothesis Testing on Reliability Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=BiEwLgytGu},
}
Figure