Multi-Objective Hyperparameter Selection via Hypothesis Testing on Reliability Graphs
Amirmohammad Farzaneh, Osvaldo Simeone
TL;DR
This work addresses multi-objective hyperparameter selection under reliability constraints by modeling the hyperparameter space as a reliability graph (RG), a directed acyclic graph that encodes expected reliability relationships. RG-PT learns the RG from prior information and data using Bradley-Terry ranking and non-negative Lasso, and then applies DAGGER-based FDR-controlled multiple hypothesis testing to select reliable hyperparameters while optimizing auxiliary objectives. The method provides formal FDR guarantees and demonstrates improved efficiency and shorter, reliable prompts across language-model prompting tasks and a sequence-to-sequence translation task, outperforming Learn-Then-Test (LTT) and Pareto Testing (PT). By exploiting structured dependencies among hyperparameters, RG-PT offers practical improvements for prompt engineering and other discrete hyperparameter settings in AI systems, with potential applicability to broader multi-objective model calibration problems.
Abstract
The selection of hyperparameters, such as prompt templates in large language models (LLMs), must often strike a balance between reliability and cost. In many cases, structural relationships between the expected reliability levels of the hyperparameters can be inferred from prior information and held-out data -- e.g., longer prompt templates may be more detailed and thus more reliable. However, existing hyperparameter selection methods either do not provide formal reliability guarantees or are unable to incorporate structured knowledge in the hyperparameter space. This paper introduces reliability graph-based Pareto testing (RG-PT), a novel multi-objective hyperparameter selection framework that maintains formal reliability guarantees in terms of false discovery rate (FDR), while accounting for known relationships among hyperparameters via a directed acyclic graph. Edges in the graph reflect expected reliability and cost trade-offs among hyperparameters, which are inferred via the Bradley-Terry (BT) ranking model from prior information and held-out data. Experimental evaluations demonstrate that RG-PT significantly outperforms existing methods such as learn-then-test (LTT) and Pareto testing (PT) through a more efficient exploration of the hyperparameter space.
