NeurIPS 2026QuestionsPapersAreasAboutMarkdown

CRUMB: Efficient Prior Fitted Network Inference via Distributionally Matched Context Batching

Jamie Heredge, Mattia Jacopo Villani, Pranav Deshpande, Akshay Seshadri, Niraj Kumar

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Time Series, PDEs & Probabilistic ML › Bayesian Meta-Learning and Uncertainty Modeling · Type: new method · Keywords: prior-fitted networks, context selection, maximum mean discrepancy, tabular foundation models, efficient inference

Summary

CRUMB is a three-stage inference wrapper that clusters test queries and selects distributionally matched training subsets to reduce context size, enabling efficient PFN inference on large datasets.

Explained to a 5-year-old

We have a special computer program that learns from lots of tables. When it sees new tables, it looks at all the old tables to guess answers. But looking at many old tables takes a long time. So we made a new way that groups the new tables together and picks only a few old tables that are similar, so the program can answer faster. This helps the program work better and not get confused when the new tables are different.

Explained to a 5-year-old, longer

A computer program called a prior-fitted network learns how to answer questions about tables by looking at many example tables all at once. It stores all those example tables as memory, so when a new table appears, it can compare the new one to the old ones and guess the answer. The program uses a special kind of thinking that looks at every pair of tables, which makes it slow when there are a lot of examples. To make it faster, researchers created a new plan that first groups the new tables into small clusters. Inside each group, they choose only a few old tables that are most similar to the new ones. They do this by measuring how close the new tables are to the old ones, using a simple idea called maximum mean discrepancy. After picking the similar old tables, the program runs its usual guessing process on this smaller set. This way, the program still gets useful information but does not have to look at every single old table. The new plan works with many different kinds of computer models and does not need to retrain them. It also helps the program stay accurate even when the new tables come from a slightly different distribution. By using fewer tables, the program can answer questions much quicker, which is useful when there are millions of examples. Overall, this makes the table-learning program more practical for everyday use.

For a technical reader

The system works with a type of model called a prior-fitted network that learns from a whole training set by feeding it as context. Because it compares every training example to each new query, the computation grows quadratically with the size of the training data. To solve this, the authors added a wrapper that first clusters incoming queries and then picks a small subset of training points that are distributionally similar. This selection is done by minimizing a distance measure called maximum mean discrepancy, which aligns the training distribution with the test batch. The result is faster inference without retraining the underlying model.

Problem

Prior-fitted networks (PFNs) for tabular data require supplying the entire training set as context, leading to quadratic inference cost with large datasets due to self-attention scaling.

Method

The approach clusters test queries, then for each cluster selects a small training subset that minimizes maximum mean discrepancy to match the test distribution, and finally runs exact PFN inference on the reduced context batches.

Results

The approach outperforms existing context selection strategies on the TabArena benchmark and shows resilience to covariate drift.

Contributions

It introduces a clustering-based, distributionally matched subset selection method that reduces context size while preserving predictive performance, and demonstrates its effectiveness across multiple PFN architectures and under covariate drift.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction