NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MASIF: Meta-learned Algorithm Selection using Implicit Fidelity Information

Tim Ruhkopf, Aditya Mohan, Difan Deng, Alexander Tornede, Frank Hutter, Marius Lindauer

Abstract

Selecting a well-performing algorithm for a given task or dataset can be time-consuming and tedious, but is crucial for the successful day-to-day business of developing new AI & ML applications. Algorithm Selection (AS) mitigates this through a meta-model leveraging meta-information about previous tasks. However, most of the available AS methods are error-prone because they characterize a task by either cheap-to-compute properties of the dataset or evaluations of cheap proxy algorithms, called landmarks. In this work, we extend the classical AS data setup to include multi-fidelity information and empirically demonstrate how meta-learning on algorithms’ learning behaviour allows us to exploit cheap test-time evidence effectively and combat myopia significantly. We further postulate a budget-regret trade-off w.r.t. the selection process. Our new selector MASIF is able to jointly interpret online evidence on a task in form of varying-length learning curves without any parametric assumption by leveraging a transformer-based encoder. This opens up new possibilities for guided rapid prototyping in data science on cheaply observed partial learning curves.

Introduction

Selecting the right algorithm for a specific dataset is a fundamental challenge in machine learning, often referred to as the Algorithm Selection (AS) Problem. Traditionally, data scientists rely on two main strategies, both of which have significant drawbacks. Classical AS uses "meta-features"—such as the number of features or classes—to predict performance. However, these features often lack a strong correlation with the actual performance of complex models like XGBoost or Transformers. Alternatively, learning curve approaches monitor the initial training progress to predict final outcomes. These methods are frequently "myopic," treating algorithms in isolation and relying on rigid parametric assumptions (e.g., power-law shapes) that fail when curves are noisy or intersect.

The MASIF meta-learning framework, illustrating the transition from meta-training on historical dataset-algorithm pairs to meta-testing on new datasets using partial learning curves.

MASIF (Meta-learned Algorithm Selection using Implicit Fidelity) addresses these limitations by leveraging implicit fidelity information. By observing partial training runs and applying meta-knowledge from previous tasks, MASIF makes informed, non-parametric decisions that outperform traditional selection methods.

The MASIF Architecture

The core of MASIF is a deep learning architecture designed to handle the sequential and relational nature of learning curves. The model processes multiple candidate algorithms simultaneously, allowing it to learn cross-correlations between their training behaviors.

The MASIF architecture, detailing the five-block pipeline including Transformer encoders for learning curves and guided attention mechanisms for dataset meta-features.

The pipeline consists of five primary components:

  1. Joint Transformer Encoding: Unlike methods that extrapolate curves individually, MASIF uses a Transformer-based encoder to analyze the learning curves of all candidate algorithms at once. This enables the model to recognize patterns where one algorithm might start slowly but eventually overtake others.
  2. Guided Attention: Dataset meta-features provide context, allowing the attention mechanism to focus on different stages of the learning curves based on the dataset's specific characteristics.
  3. Implicit Fidelity Representation: Rather than performing explicit regression to predict final accuracy, MASIF learns a latent representation of the curves to generate a relative ranking.
  4. Differentiable Sorting: The model is trained using a differentiable sorting loss, optimizing directly for Spearman rank correlation to ensure accurate algorithm prioritization.
  5. Temporal Data Augmentation: By training on curves of varying lengths, MASIF becomes robust to different observation windows, providing reliable recommendations whether 5% or 50% of the training is complete.

Experimental Evaluation

The authors evaluated MASIF across four diverse benchmarks to test its versatility and robustness:

  • Synthetic Dataset: Designed with "crossing" curves to specifically challenge myopic, extrapolation-based methods.
  • Task-set: A large-scale, real-world dataset containing over a thousand deep learning optimizer configurations.
  • Scikit-CC18: A collection of 16 classic Scikit-learn classifiers evaluated on 72 different datasets.
  • LCBench: A benchmark of 170 neural network configurations evaluated on various tabular datasets.

Key Insights and Results

A central contribution of MASIF is its ability to combat myopia. By using meta-knowledge as a "prior," the model can recognize when an early leader is likely to plateau, a task that is difficult for models without historical context. Furthermore, its non-parametric nature allows it to adapt to complex curve shapes, such as "double descent" or "staircase" patterns, which are common in deep learning but invisible to fixed mathematical formulas.

Empirical results demonstrate that MASIF consistently outperforms baselines like Successive Halving (SH) and LCNet. On the Task-set benchmark, it achieved significantly lower "top-1 regret." Notably, MASIF is effective even with minimal data; its rankings after seeing only 10-20% of a learning curve often match the quality of other methods that require full curves. This efficiency formalizes a budget-regret trade-off, allowing practitioners to dynamically balance compute time against the risk of selecting a sub-optimal model.

Conclusion

MASIF represents a significant step forward in automated algorithm selection by moving beyond simple dataset statistics and rigid curve fitting. By "listening" to early training progress through a Transformer-based lens, it enables guided rapid prototyping. Future work will explore integrating MASIF with more sophisticated automated schedulers and extending the framework from discrete algorithm selection to continuous hyperparameter optimization.

Summary updated

BibTeX
@article{ruhkopf2023masif,
  author = {Tim Ruhkopf and Aditya Mohan and Difan Deng and Alexander Tornede and Frank Hutter and Marius Lindauer},
  title = {{MASIF: Meta-learned Algorithm Selection using Implicit Fidelity Information}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=qfISCtxJTkX},
}
Figure