Abstract
Algorithm selection is a critical task in machine learning, traditionally focused on maximizing predictive accuracy. However, this approach often ignores the significant computational costs associated with high-performing models. This paper introduces A3R, a multi-objective measure that balances accuracy and runtime. By integrating A3R into Average Ranking and Active Testing strategies, the authors demonstrate a significant acceleration in identifying top-performing algorithms, even with incomplete meta-data.
Introduction
In the current landscape of machine learning, practitioners are faced with an overwhelming number of algorithms and hyperparameter configurations. Selecting the optimal model for a new dataset—a process known as meta-learning—is often treated as a search for the highest accuracy. However, this "accuracy-only" paradigm frequently leads to recommending computationally expensive models early in the search, wasting time that could be used to evaluate multiple faster, slightly less accurate alternatives.
The A3R Measure: Balancing Performance and Time
To address this inefficiency, the authors propose the A3R measure (a refined version of the Adjusted Ratio of Ratios). A3R treats algorithm selection as a multi-objective optimization problem, penalizing slow algorithms unless they offer substantial accuracy improvements.
The A3R formula compares a candidate algorithm ($a_j$) to a reference algorithm ($a_{ref}$): $$A3R = \frac{SuccessRate(a_j) / SuccessRate(a_{ref})}{(Runtime(a_j) / Runtime(a_{ref}))^P}$$
The parameter $P$ acts as a "knob" to control the trade-off: a higher $P$ prioritizes speed, while $P=0$ reduces the measure to pure accuracy.
Selection Strategies: AR and AT
The authors integrated A3R into two primary selection frameworks:
- Average Ranking (AR): A baseline approach that ranks algorithms based on their historical performance across various datasets.
- Active Testing (AT): An iterative strategy that selects the next algorithm to test based on its likelihood of outperforming the current best, updating its knowledge in real-time.
Evaluation via Loss-Time Curves
Traditional evaluation metrics often fail to capture the efficiency of a search process. The authors advocate for the use of Loss-Time curves, which plot accuracy loss against the logarithm of time. This visualization emphasizes how quickly a system converges to a "good enough" solution.
The primary metric derived from these curves is Mean Interval Loss (MIL)—the area under the loss-time curve. A lower MIL indicates a more efficient selection process.
Key Results and Insights
The experimental results, conducted on a meta-dataset of 53 algorithms and 39 OpenML datasets, were conclusive:
- Efficiency Gains: The upgraded Average Ranking (AR) achieved an MIL of 0.531, vastly outperforming the accuracy-only version (AR0) which had an MIL of 22.11. Similarly, the upgraded Active Testing (AT) (MIL 0.736) significantly beat its accuracy-only counterpart (AT0) (MIL 3.108**).
- The Accuracy Paradox: The study revealed that accuracy-only systems can actually perform worse as they gain more data, as they tend to converge on the most accurate but slowest models, exhausting the time budget prematurely.
- Robustness: The proposed heuristic (AR*-MTA-H) proved effective even when the historical meta-dataset was up to 50% incomplete.
Conclusion
By demonstrating that "fast and good" is often superior to "slow and perfect" in the initial stages of model selection, this research provides a practical framework for developing more responsive AutoML systems. Future work will focus on automatically tuning the $P$ parameter and extending these methods to regression and unsupervised learning tasks.
Summary updated