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

HyperFast: Instant Classification for Tabular Data

David Bonet, Daniel Mas Montserrat, Xavier Giró-i-Nieto, Alexander G. Ioannidis

Abstract

HyperFast is a meta-trained hypernetwork that generates custom, task-specific neural networks for tabular datasets in a single forward pass. By learning from thousands of diverse datasets, it eliminates the need for iterative training and hyperparameter tuning, delivering state-of-the-art classification performance in seconds. This approach addresses the scalability limitations of previous in-context learning models, providing a robust solution for varying dataset sizes and high-dimensional features.

Introduction

Deep learning has revolutionized computer vision and natural language processing, yet tabular data remains dominated by traditional methods like Gradient-Boosted Decision Trees (GBDTs). Deep learning models for tables typically require exhaustive hyperparameter tuning to be competitive. While recent "In-Context Learning" models like TabPFN allow for classification without training, they are restricted to small datasets (under 1,000 samples). HyperFast overcomes these constraints, offering a scalable architecture that works across diverse feature counts and categories without the computational overhead of traditional model fitting.

Architecture and Methodology

The core of HyperFast is a hypernetwork—a large meta-model trained to predict the weights of a smaller main network. The process involves several key stages:

  1. Initial Transformation: To handle varying feature counts, HyperFast utilizes Random Features (RF) and Principal Component Analysis (PCA) to project input data into a fixed-size, permutation-invariant representation.
  2. Weight Generation: The hypernetwork processes a labeled "support set" from the target dataset to generate weights for the main network's layers sequentially.
  3. Nearest Neighbor Bias: A retrieval-based component adds a bias to the final classification layer, allowing the model to adapt sharply to the specific distribution of the new task.
  4. Meta-Training: The hypernetwork is pre-trained on a massive collection of diverse datasets to learn "meta-features" for instant parameterization of unseen tasks.
The HyperFast architecture showing the hypernetwork modules generating weights for the main network.

Experimental Results

HyperFast was evaluated on a broad spectrum of challenges, including the OpenML-CC18 benchmark and high-dimensional genomics datasets with up to 100,000 features.

Performance and Speed

HyperFast consistently matches or outperforms state-of-the-art AutoML systems and GBDTs while being significantly faster. It generates a model and performs inference in less than a second. In "mini-tests" on small datasets, it outperformed TabPFN and surpassed tuned XGBoost models in speed. As shown in the "Big Test" results, HyperFast achieves a lower (better) average rank across various runtime budgets compared to established tools like AutoGluon.

Runtime vs. Performance on small datasets, showing HyperFast's superior rank at low time budgets.

High-Dimensional Data

In genomics tasks involving subpopulation and phenotype prediction, HyperFast outperformed traditional linear models (Lasso/Elastic Net) and GBDTs, demonstrating its ability to handle the "curse of dimensionality" better than standard approaches.

Key Insights

  • The "Secret Sauce" of Dimensionality Reduction: Ablation studies reveal that the combination of Random Features and PCA is critical; their removal leads to a significant drop in accuracy (~7%). These layers homogenize diverse datasets for consistent hypernetwork processing.
  • Decoupling Capacity from Inference: A high-capacity meta-model can be trained once to generate lightweight main models for inference, making it ideal for resource-constrained environments or real-time streaming.
  • Efficient Ensembling: HyperFast can ensemble by performing multiple forward passes with different data subsets, boosting accuracy with minimal additional cost compared to traditional model training.

Conclusion and Future Work

HyperFast represents a paradigm shift toward "foundation models" for tabular data—moving away from training models from scratch and toward instantly adapting pre-trained meta-models to new tasks. While currently focused on classification (up to 100 classes), future work aims to extend the framework to regression. Despite reliance on support set sampling, the model's speed and accuracy make it a powerful tool for instant, high-performance tabular data analysis.

Summary updated

BibTeX
@inproceedings{bonet2024hyperfast,
  author = {David Bonet and Daniel Mas Montserrat and Xavier Giró-i-Nieto and Alexander G. Ioannidis},
  title = {{HyperFast: Instant Classification for Tabular Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.28988},
}
Figure