Privileged Zero-Shot AutoML

Nikhil Singh, Brandon Kates, Jeff Mentch, Anant Kharkar, Madeleine Udell, Iddo DroriarXiv 2021

Introduction

Automated Machine Learning (AutoML) aims to democratize data science by automatically selecting the optimal algorithms and hyperparameters for a given dataset. However, traditional AutoML frameworks like AutoSklearn often require evaluating hundreds of pipelines, a process that can take hours. Furthermore, these systems typically ignore "privileged information"—the textual descriptions of datasets and algorithms that human experts use to narrow down choices. This paper introduces a zero-shot AutoML system that leverages natural language embeddings and Graph Neural Networks (GNNs) to predict high-quality machine learning pipelines in milliseconds, achieving competitive accuracy with a three-order-of-magnitude reduction in computation time.

Methodology

The proposed architecture formulates pipeline selection as a node prediction task on a graph of datasets. The system integrates both structured data and unstructured text to inform its recommendations.

System Architecture

As illustrated in the system overview, the process begins by extracting two types of features from a dataset: standard statistical meta-features and high-dimensional text embeddings of the dataset's description (using a pre-trained T5 Transformer). These features are fused and mapped onto a k-Nearest Neighbors (k-NN) graph where nodes represent datasets and edges represent similarity.

Overview of the Zero-shot AutoML pipeline architecture, from dataset embedding to GNN-based recommendation.

Graph-Based Learning

A 3-layer Graph Attention Network (GAT) performs message passing between nodes. During the training phase, the network learns to predict the best-performing pipeline—defined as a combination of a feature processor and an estimator—using ground-truth labels generated by exhaustive searches from existing AutoML systems (AutoSklearn and TensorOBOE).

Zero-Shot Prediction

For a new, unseen dataset, the system embeds its description and meta-features, connects it to the existing graph, and uses the trained GAT to instantly recommend a pipeline. This "zero-shot" approach requires no model training during the search phase. The specific pre-processing steps are detailed in the algorithm below:

Algorithm 1: The pre-processing steps for training the zero-shot model using existing AutoML results.

Experimental Setup

The authors evaluated the system using a corpus of 182 datasets sourced from OpenML, specifically chosen for their inclusion of textual descriptions. The model's search space consisted of 34 Scikit-learn primitives, including various estimators (e.g., Random Forest, XGBoost) and feature processing techniques (e.g., PCA, Standard Scaling).

Results and Discussion

The zero-shot approach demonstrated significant performance gains in terms of efficiency:

  • Speed: The system predicts a pipeline in a median time of 0.15 seconds, compared to the 300-second limit given to baseline AutoML tools— a speedup of approximately 2000x.
  • Accuracy: The method achieved a median accuracy of 0.92, remaining highly competitive with AutoSklearn (0.96) and matching TensorOBOE (0.92).
  • Impact of Text: Ablation studies confirmed that text is a powerful meta-feature. A version of the model using only text descriptions (no statistical meta-features) still achieved a respectable median accuracy of 0.77, while the full model (0.92) significantly outperformed the version using only meta-features (0.86).

Conclusion and Future Work

This research demonstrates that leveraging privileged textual information allows AutoML systems to mimic human intuition and find high-quality models nearly instantaneously. While currently limited to a fixed set of Scikit-learn primitives and basic hyperparameter tuning, future iterations could scale the training data, incorporate more complex search spaces, and extend the methodology to non-tabular data like images and audio.

Summary updated

BibTeX
@misc{singh2021privileged,
  author = {Nikhil Singh and Brandon Kates and Jeff Mentch and Anant Kharkar and Madeleine Udell and Iddo Drori},
  title = {{Privileged Zero-Shot AutoML}},
  year = {2021},
  eprint = {2106.13743},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.13743},
}
Figure