Skip to main content
QUICK REVIEW

[Paper Review] Hyperparameter Optimization Is Deceiving Us, and How to Stop It

A. Feder Cooper, Yucheng Lu|arXiv (Cornell University)|Feb 5, 2021
Machine Learning and Data ClassificationComputer Science64 references5 citations
TL;DR

This paper introduces epistemic hyperparameter optimization (EHPO), a formal framework using modal logic to rigorously reason about uncertainty in hyperparameter tuning and prevent deceptive conclusions. It proves a defended variant of random search that guarantees consistency under bounded compute, ensuring that performance comparisons between algorithms are not misled by arbitrary hyper-hyperparameter choices.

ABSTRACT

Recent empirical work shows that inconsistent results based on choice of hyperparameter optimization (HPO) configuration are a widespread problem in ML research. When comparing two algorithms J and K searching one subspace can yield the conclusion that J outperforms K, whereas searching another can entail the opposite. In short, the way we choose hyperparameters can deceive us. We provide a theoretical complement to this prior work, arguing that, to avoid such deception, the process of drawing conclusions from HPO should be made more rigorous. We call this process epistemic hyperparameter optimization (EHPO), and put forth a logical framework to capture its semantics and how it can lead to inconsistent conclusions about performance. Our framework enables us to prove EHPO methods that are guaranteed to be defended against deception, given bounded compute time budget t. We demonstrate our framework's utility by proving and empirically validating a defended variant of random search.

Motivation & Objective

  • To address the widespread problem of hyperparameter optimization (HPO) leading to inconsistent, deceptive conclusions about algorithm performance.
  • To formalize the process of drawing conclusions from HPO as epistemic hyperparameter optimization (EHPO), treating it as a reasoning problem under uncertainty.
  • To develop a theoretically grounded method that defends against deception in HPO, ensuring consistent conclusions within a bounded time budget.
  • To provide a logical framework using modal logic to model uncertainty and potential deception in HPO outcomes.
  • To advocate for more rigorous, defensible HPO practices by making hyper-hyperparameter choices explicit and justifiable.

Proposed method

  • Formalize HPO as epistemic hyperparameter optimization (EHPO), modeling the process of drawing conclusions from HPO as a reasoning task under uncertainty.
  • Use modal logic to capture uncertainty in HPO outcomes and represent how different HPO configurations can lead to conflicting conclusions.
  • Define a logical framework that identifies conditions under which HPO results are vulnerable to deception due to arbitrary hyper-hyperparameter choices.
  • Propose a defended variant of random search that guarantees consistency in performance comparisons under a bounded time budget t.
  • Introduce a two-phase protocol: first, a coarse grid search to identify promising hyper-hyperparameters; second, a fine-grained defended EHPO on the selected subspace.
  • Demonstrate empirically that the defended EHPO method avoids deceptive conclusions, even when compared to standard HPO configurations.

Experimental results

Research questions

  • RQ1Can we formally model the risk of deception in hyperparameter optimization, where different HPO configurations lead to contradictory conclusions about algorithm performance?
  • RQ2How can we design an HPO method that is provably robust against such deception, given a fixed time budget?
  • RQ3What logical framework enables rigorous reasoning about uncertainty and consistency in HPO-based performance comparisons?
  • RQ4To what extent can a defended random search strategy prevent deceptive conclusions without assuming prior knowledge of ground-truth performance?
  • RQ5How can researchers make their HPO choices more defensible and less prone to bias from ad-hoc hyper-hyperparameter selection?

Key findings

  • The paper proves that hyperparameter deception—where different HPO configurations yield opposite conclusions about algorithm performance—is a real and formalizable risk in ML research.
  • A defended variant of random search is formally proven to be resistant to deception under a bounded time budget t, ensuring consistent conclusions.
  • The logical framework based on modal logic successfully captures uncertainty in HPO and identifies conditions under which conclusions are vulnerable to deception.
  • Empirical validation confirms that the defended EHPO method avoids deceptive outcomes, even when standard HPO configurations lead to conflicting results.
  • The two-phase protocol, combining coarse grid search with defended EHPO on selected hyper-hyperparameters, improves the defensibility and robustness of HPO choices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.