Abstract
Automated Machine Learning (AutoML) typically relies on computationally expensive search-based methods to identify optimal pipelines. RankML introduces a meta-learning framework that treats pipeline selection as a ranking problem, predicting performance on new datasets without execution. By encoding pipeline topologies as sequences and utilizing a vast meta-knowledgebase of over 300,000 experiments, RankML achieves results comparable to state-of-the-art tools like TPOT in a fraction of the time.
Introduction
The search for the ideal machine learning pipeline—comprising preprocessing, feature engineering, and model selection—is a significant bottleneck in the ML workflow. Existing AutoML tools like TPOT and auto-sklearn often require hours or days to converge because they evaluate thousands of candidates through full training and testing cycles. RankML addresses this inefficiency by leveraging "meta-knowledge": the memory of what worked on similar datasets in the past. This approach shifts the paradigm from "search-from-scratch" to "instantaneous ranking."
Methodology
RankML operates in two distinct phases: an offline learning phase and an online prediction phase.
Offline Phase: Building the Meta-Knowledgebase
The foundation of RankML is a massive database of prior experiments. The researchers executed thousands of pipelines across 244 diverse datasets. For each experiment, three types of data were collected:
- Dataset Meta-features: Statistical descriptions of the data (e.g., number of instances, features, and Pearson correlations).
- Pipeline Meta-features: The structural topology of the pipeline.
- Performance Metrics: The resulting accuracy or error.
Online Phase: Rapid Pipeline Ranking
When presented with a new dataset, RankML extracts its meta-features and pairs them with candidate pipeline meta-features from the knowledge base. An XGBRanker model then predicts the performance of these candidates. Instead of searching blindly, the system provides a ranked list, allowing the user to evaluate only the top $K$ (e.g., top 10) pipelines.
Pipeline Topology as Language
A key innovation in RankML is the representation of pipeline structures. Pipelines are often complex Directed Acyclic Graphs (DAGs).
RankML converts these topologies into sequences of "words" where each primitive (e.g., StandardScaler, RandomForest) is a token. By ordering these tokens from the output back to the inputs, the model learns to recognize effective "phrases" or sub-structures that generalize across different datasets.
Experimental Results
The system was evaluated on 149 classification and 95 regression datasets. The released meta-knowledgebase contains performance data for over 142,000 classification and 171,000 regression pipelines.
Performance and Efficiency
RankML demonstrates significant speedups while maintaining or improving accuracy:
- Classification: RankML's top-10 recommendation achieved an average accuracy of 0.827, surpassing TPOT (0.816) and auto-sklearn (0.805). Crucially, RankML completed this in 3 minutes, compared to TPOT's 115 minutes.
- Regression: The time disparity was even more pronounced, with RankML requiring 1 minute versus TPOT's 53 minutes.
- Generalization: RankML produced better or comparable results to baselines in 79% to 85% of classification tasks.
Discussion and Limitations
RankML proves that meta-learning can effectively transfer experience between datasets, reducing the computational complexity of AutoML to nearly $O(1)$ for the recommendation step. However, some limitations remain:
- Cold-Start: Performance may degrade on datasets that are significantly different from those in the meta-knowledgebase.
- Hyperparameter Tuning: The current version focuses on ranking topologies rather than fine-tuning specific hyperparameters (e.g., the number of estimators in a model).
- Library Constraints: The system is currently trained on
scikit-learnprimitives; expanding to deep learning would require further data collection.
Conclusion
RankML represents a significant step toward "instant" AutoML. By transforming the search process into a ranking problem informed by historical data, it enables high-performance pipeline selection in minutes, making automated machine learning more accessible for large-scale and time-sensitive applications.
Summary updated