LGDec 14, 2023

MotherNet: Fast Training and Inference via Hyper-Network Transformers

arXiv:2312.08598v220 citationsh-index: 5ICLR
Originality Highly original
AI Analysis

This addresses the need for fast and efficient foundation models for classification on arbitrary tabular datasets, offering a novel approach that eliminates per-dataset fine-tuning and hyperparameter tuning, though it is incremental in improving upon existing hypernetwork and meta-learning methods.

The paper tackles the problem of slow inference time in meta-learning approaches for tabular data by introducing MotherNet, a hypernetwork that generates trained child neural networks via in-context learning in a single forward pass, outperforming gradient descent-trained neural networks on small datasets and matching TabPFN and Gradient Boosting while being highly efficient at inference.

Foundation models are transforming machine learning across many modalities, with in-context learning replacing classical model training. Recent work on tabular data hints at a similar opportunity to build foundation models for classification for numerical data. However, existing meta-learning approaches can not compete with tree-based methods in terms of inference time. In this paper, we propose MotherNet, a hypernetwork architecture trained on synthetic classification tasks that, once prompted with a never-seen-before training set generates the weights of a trained ``child'' neural-network by in-context learning using a single forward pass. In contrast to most existing hypernetworks that are usually trained for relatively constrained multi-task settings, MotherNet can create models for multiclass classification on arbitrary tabular datasets without any dataset specific gradient descent. The child network generated by MotherNet outperforms neural networks trained using gradient descent on small datasets, and is comparable to predictions by TabPFN and standard ML methods like Gradient Boosting. Unlike a direct application of TabPFN, MotherNet generated networks are highly efficient at inference time. We also demonstrate that HyperFast is unable to perform effective in-context learning on small datasets, and heavily relies on dataset specific fine-tuning and hyper-parameter tuning, while MotherNet requires no fine-tuning or per-dataset hyper-parameters.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes