MotherNet: Fast Training and Inference via Hyper-Network Transformers

Andreas C. Mueller, Carlo Curino, Raghu Ramakrishnan
2/12/2026

No official code found. Best implementation: microsoft/ticl (118 stars, Apache-2.0, last commit 2025-03-06).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

microsoft/ticlCommunity100%
Apache-2.0

Tabular In-Context Learning

11822Shell, PythonJan 23, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{mueller2026mothernet,
  title  = {MotherNet: Fast Training and Inference via Hyper-Network Transformers},
  author = {Andreas C. Mueller and Carlo Curino and Raghu Ramakrishnan},
  year   = {2026},
  eprint = {2312.08598},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.08598},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.08598.svg)](https://codeofpaper.com/paper/2312.08598)

Discussion