Formalizing Preferences Over Runtime Distributions
Devon R. Graham, Kevin Leyton-Brown, Tim Roughgarden
Abstract
When trying to solve a computational problem, we are often faced with a choice between algorithms that are guaranteed to return the right answer but differ in their runtime distributions (e.g., SAT solvers, sorting algorithms). This paper aims to lay theoretical foundations for such choices by formalizing preferences over runtime distributions. It might seem that we should simply prefer the algorithm that minimizes expected runtime. However, such preferences would be driven by exactly how slow our algorithm is on bad inputs, whereas in practice we are typically willing to cut off occasional, sufficiently long runs before they finish. We propose a principled alternative, taking a utility-theoretic approach to characterize the scoring functions that describe preferences over algorithms. These functions depend on the way our value for solving our problem decreases with time and on the distribution from which captimes are drawn. We describe examples of realistic utility functions and show how to leverage a maximum-entropy approach for modeling underspecified captime distributions. Finally, we show how to efficiently estimate an algorithm's expected utility from runtime samples.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- Utilitarian Algorithm ConfigurationDevon R. Graham, Kevin Leyton-Brown, Tim RoughgardenNeurIPS 2023 · 2 citations
- Utilitarian Algorithm Configuration for Infinite Parameter SpacesDevon R. Graham, Kevin Leyton-BrownICLR 2025
- Practical, Utilitarian Algorithm ConfigurationDevon R. Graham, Eros Rojas Velez, Kevin Leyton-BrownAAAI 2026
Builds on2
- ImpatientCapsAndRuns: Approximately Optimal Algorithm Configuration from an Infinite PoolGellért Weisz, András György, Wei-I Lin, Devon R. Graham et al.NeurIPS 2020 · 7 citations
- How much data is sufficient to learn high-performing algorithms? generalization guarantees for data-driven algorithm designMaria-Florina Balcan, Dan F. DeBlasio, Travis Dick, Carl Kingsford et al.STOC 2021 · 3 citations
Related papers
- Bayes DistNet - A Robust Neural Network for Algorithm Runtime Distribution PredictionsJake Tuero, Michael BuroAAAI 2021 · 1 citation
- On ranking via sorting by estimated expected utilityClément Calauzènes, Nicolas UsunierNeurIPS 2020 · 5 citations
- Machine Learning for Online Algorithm Selection under Censored FeedbackAlexander Tornede, Viktor Bengs, Eyke HüllermeierAAAI 2022 · 3 citations
- Better Understandings and Configurations in MaxSAT Stochastic Local Search Solvers via Anytime Performance AnalysisFurong Ye, Chuan Luo, Shaowei CaiAAAI 2025 · 1 citation
- Sourcerer: Sample-based Maximum Entropy Source Distribution EstimationJulius Vetter, Guy Moss, Cornelius Schröder, Richard Gao et al.NeurIPS 2024 · 11 citations
