Introduction
Traditional algorithm design has long focused on worst-case analysis, ensuring that an algorithm performs reasonably well even on the most adversarial inputs. Recently, the field of algorithms with predictions has emerged to bridge the gap between worst-case guarantees and real-world performance. In this paradigm, algorithms use a machine-learned "hint" to bypass worst-case lower bounds when the hint is accurate, while safely falling back on worst-case guarantees if the hint is wrong.
However, most existing research relies on a significant assumption: the algorithm has access to exactly one predictor. In practice, data scientists rarely rely on a single model. They maintain portfolios of models featuring different architectures, hyperparameter settings, or training data subsets. Picking the absolute "best" model a priori is notoriously difficult. This paper addresses a critical question: Can we design algorithms that take a portfolio of $k$ predictions and automatically perform as well as the best one in that portfolio?
By moving beyond the single-predictor paradigm, the authors demonstrate that algorithms can effectively leverage multiple machine-learned models with negligible or logarithmic overhead in complexity.
Algorithmic Applications and Key Results
The authors tackle three fundamental algorithmic problems, developing novel techniques for each to handle multiple predictions on a per-instance basis. Unlike standard "expert" or "bandit" learning—which minimizes regret over a long sequence of instances—these algorithms must identify the best model for the specific input they are currently solving.
1. Min-Cost Perfect Matching
For min-cost bipartite matching, the algorithm uses predicted "dual values" (prices for nodes in a graph) to accelerate the classical Hungarian algorithm. To handle $k$ predictions, the algorithm makes each prediction feasible, selects the one that maximizes the dual objective function, and then proceeds with a standard primal-dual approach.
- The "Free Lunch": The authors show that as long as the number of predictors $k$ is less than $O(\sqrt{n})$, the overhead of checking all $k$ predictions is asymptotically negligible. The algorithm achieves a running time of $O(k(n+m) + m\sqrt{n} \cdot \min_{\ell} \|y^* - \hat{y}^\ell\|_1)$. Essentially, you get the benefit of $k$ models for the price of one.
2. Online Load Balancing
When assigning jobs to machines to minimize the maximum load (makespan), the algorithm maintains a set of "active" predictors. It produces a fractional assignment by averaging the suggestions of all predictors currently deemed "good" and prunes those that exceed a specific error threshold using a variation of the doubling trick.
- Logarithmic Cost of Diversity: The "cost" of using more predictors is remarkably low. The algorithm is $O(\log k)$-competitive against the best fractional assignment in the portfolio, suggesting that even a large portfolio of models provides tangible benefits with minimal impact on the competitive ratio.
3. Non-Clairvoyant Scheduling
To minimize total completion time without knowing job lengths in advance, the algorithm uses sampling to estimate job size percentiles. It then validates which of the $k$ predicted job orderings are "good" (i.e., contain few unexpectedly large jobs in the early prefix) and follows a validated sequence.
- Performance Bound: This technically complex approach achieves an expected total completion time of $(1+\epsilon)\text{OPT} + \text{poly}(1/\epsilon) \cdot \text{error of the best predictor}$.
The Scalability of Learnability
Beyond individual algorithms, the paper provides a robust theoretical framework for learnability. A key insight is that learnability is highly scalable: if a single predictor is learnable in the PAC-learning sense, then a portfolio of $k$ predictors is also learnable. The sample complexity required to learn a good portfolio of $k$ predictors is only a factor of $O(k^2)$ larger than learning a single predictor, making it a highly practical theoretical guarantee.
Limitations and Future Work
Because this is primarily a theoretical paper, it focuses heavily on proving mathematical bounds on competitive ratios and running times rather than relying on specific real-world datasets. This theoretical focus brings a few limitations:
- Theoretical Assumptions: The scheduling results rely on a "mild assumption" that no small set of jobs dominates the optimal objective value. While usually true in practice, it remains a strict theoretical constraint.
- Computational Efficiency: While $k$ predictors are sample-efficient to learn, finding the absolute optimal portfolio (the Empirical Risk Minimization problem) can be computationally hard for some problem types, often reducing to $k$-median clustering.
- Empirical Breadth: The main text lacks large-scale empirical testing across diverse real-world datasets. Testing these portfolio algorithms in production machine learning pipelines remains an open and exciting direction for future research.
Summary updated